Gira Homeserver 4 Logic module to poll power values from Kostal Smart Energy Meter (KSEM) G1 / G2 via Modbus TCP.
Developed for the GIRA HomeServer 4.12. Could work with prior versions. Licensed under the LGPL to keep all copies & forks free!
❗ If you fork this project and distribute the module by your own CHANGE the Logikbaustein-ID because 14181 is only for this one and registered to @SvenBunge !! ❗
If something doesn't work like expected: Just open an issue. Even better: Fix the issue and fill a pull request.
Download a release and install the module / Logikbaustein like others in Experte. You find the module in the category "Energiemanagement". Just enter the IP address of the KSEM and wire the output to your communication objects.
The latest version of the module is also available in the KNX-User Forum Download Section
This module fetches power / grid information of the Kostal Smart Energy Meter (KSEM).
For further questions use the Promotion Thread of the KNX User Forum (German)
- No output is SBC (send-by-change) - all are fired every interval
- Download Schnittstelleninformation from GIRA Homepage
- Decompress zip, use
HSL SDK/2-0/framework
Folder for development. - Checkout this repo to the
projects/hs_kostalKSEM_ModbusTCP
folder - Run the generator.pyc (
python2 ./generator.pyc hs_kostalKSEM_ModbusTCP
) - Import the module
release/14181_kostalKSEM_ModbusTCP.hsl
into the Experte Software - Use the module in your logic editor
You can replace step 4 with the ./buildRelease.sh
script. With the help of the markdown2 python module (pip install markdown2
) it creates the documentation and packages the .hslz
file. This file is also installable in step 5 and adds the module documentation into the Experte-Tool.
- pymodbus 2.5.3 - https://github.com/riptideio/pymodbus
The shipped libraries may distributed under a different license conditions. Respect those licenses as well!