https://github.com/nielsbasjes/modbus-schema
Making Modbus devices easier to use by using a standardized form of modbus mapping
https://github.com/nielsbasjes/modbus-schema
modbus modbus-library modbus-mapping
Last synced: about 1 year ago
JSON representation
Making Modbus devices easier to use by using a standardized form of modbus mapping
- Host: GitHub
- URL: https://github.com/nielsbasjes/modbus-schema
- Owner: nielsbasjes
- License: apache-2.0
- Created: 2025-04-28T20:16:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-28T11:18:40.000Z (about 1 year ago)
- Last Synced: 2025-06-28T12:26:34.394Z (about 1 year ago)
- Topics: modbus, modbus-library, modbus-mapping
- Language: Kotlin
- Homepage: https://modbus.basjes.nl/
- Size: 592 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: .github/SECURITY.md
Awesome Lists containing this project
- open-sustainable-technology - Modbus Schema Toolkit - A set of Kotlin/Java libraries and tools to turn meaningless binary Modbus values (from Electricity meters, Heatpumps, Solar Inverters (PV) and SunSpec based devices) into meaningful values, make the modbus queries efficient and expose the values to MQTT (Home Assistant), InfluxDB and GraphQL. (Energy Systems / Building Energy Monitoring)
README
# What is this?
This is a specification and a library that makes reading data from Modbus devices a lot easier.
# Modbus Schema Toolkit
This is part of the Modbus Schema Toolkit I ([Niels Basjes](https://niels.basjes.nl)) created that makes retrieving data from Modbus based devices a lot easier.
I have split this into 4 projects:
- [Modbus Schema](https://github.com/nielsbasjes/modbus-schema):
- A toolkit and schema definition
- [](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://github.com/nielsbasjes/modbus-schema/actions) [](https://central.sonatype.com/namespace/nl.basjes.modbus)
[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/nl/basjes/modbus/modbus-schema-parent/README.md)
[](https://github.com/nielsbasjes/modbus-schema/stargazers)
- [Modbus Devices](https://github.com/nielsbasjes/modbus-devices):
- The actual schemas of a few devices.
- [](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://github.com/nielsbasjes/modbus-devices/actions)
[](https://central.sonatype.com/namespace/nl.basjes.modbus.devices)
[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/nl/basjes/modbus/devices/modbus-devices-parent/README.md)
[](https://github.com/nielsbasjes/modbus-devices/stargazers)
- [SunSpec Device](https://github.com/nielsbasjes/sunspec-device):
- Generate the Modbus Schema for the specific SunSpec you have
- [](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://github.com/nielsbasjes/sunspec-device/actions)
[](https://central.sonatype.com/namespace/nl.basjes.sunspec)
[](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/nl/basjes/sunspec/sunspec-device-parent/README.md)
[](https://github.com/nielsbasjes/sunspec-device/stargazers)
The documentation can be found here https://modbus.basjes.nl/
All of this was created by [Niels Basjes](https://niels.basjes.nl/).
# License
I'm publishing this under the Apache 2.0 license because I believe this can be part of making this planet a bit more in control of the energy consumption.
I also believe that making this open for all to use is the best way to achieve this.
But do not underestimate how much work went into this. From my first attempts to releasing the first version took me about 5 years of spending my spare time.
So what I want to see in return is a little bit of gratitude from the people who use this.
If you are a home user/hobbyist/small business then a simple star on the projects you use is enough for me. Seeing that people use and like the things I create is what I'm doing this for.
What also really helps are bug reports, dumps from real devices I do not have and discussions on things you think can be done better.
Despite there not being any obligation (because of the Apache 2.0 license); If you are a big corporation where my code really adds value to the products you make/sell then I would really appreciate it if you could do a small sponsor thing. Buy me lunch (€10), Buy me a game (€100) or what ever you think is the right way to say thank you for the work I have done.
[](https://github.com/sponsors/nielsbasjes)
Modbus Schema Toolkit
Copyright (C) 2019-2025 Niels Basjes
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.