Publish Modbus data from Sigenergy to MQTT, with optional Home Assistant Auto-Discovery and PVOutput updating
Project description
sigenergy2mqtt is a bridge between the Modbus interface of the Sigenergy energy system and the MQTT lightweight publish/subscribe messaging protocol.
In addition, sigenergy2mqtt has several optional features:
- It can auto-discover Sigenergy devices and their device IDs without having to specify the host IP address.
- It can publish the appropriate messages to allow Home Assistant to automatically discover the Sigenergy devices, simplifying Home Assistant configuration.
- Production and consumption data can automatically be uploaded to PVOutput.
- It can directly publish the Modbus data to an InfluxDB (v1/2) time series database for long-term storage and analysis.
Pre-requisites
- Sigenergy ESS or PV Inverter, with Modbus-TCP enabled by your installer
- MQTT broker such as Mosquitto, either standalone or installed as an app to Home Assistant
Installation
Follow the installation guides for supported environments:
Configuration
When parsing configuration options, sigenergy2mqtt looks at the configuration sources in the following order:
This means, for example, that the options specified in the configuration file can be overridden by environment variables and command line options.
The combined reference for CLI flags, environment variables, and YAML configuration keys can be found here.
1 Not applicable to the Home Assistant App
MQTT Publish and Subscribe Topics
The topics that are published and subscribed to by sigenergy2mqtt can be found here.
Disclaimer
sigenergy2mqtt was developed for my own use, and as such has only been tested in my single-phase environment without AC or DC chargers, although I have developed a testing environment in software that emulates the chargers and three phase implementations. If you find a problem, please raise an issue.
Thanks
sigenergy2mqtt was inspired the Home Assistant integrations developed by TypQxQ.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sigenergy2mqtt-2026.4.4.tar.gz.
File metadata
- Download URL: sigenergy2mqtt-2026.4.4.tar.gz
- Upload date:
- Size: 322.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3be98bfd891468a3d8507048d1142a02694149105b0b701a36b8a32fb534a503
|
|
| MD5 |
f584f5f91629f1739ea09d2c85f6643f
|
|
| BLAKE2b-256 |
bbd91ddf4573bc9683c3a3c3eb1fe073205e3976f99a30ca8453996e911ce2a1
|
Provenance
The following attestation bundles were made for sigenergy2mqtt-2026.4.4.tar.gz:
Publisher:
publish-pypi.yml on seud0nym/sigenergy2mqtt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigenergy2mqtt-2026.4.4.tar.gz -
Subject digest:
3be98bfd891468a3d8507048d1142a02694149105b0b701a36b8a32fb534a503 - Sigstore transparency entry: 1231478680
- Sigstore integration time:
-
Permalink:
seud0nym/sigenergy2mqtt@06b2018c0746f5a2938e445f4d4448bbb5065c46 -
Branch / Tag:
refs/tags/2026.4.4 - Owner: https://github.com/seud0nym
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@06b2018c0746f5a2938e445f4d4448bbb5065c46 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sigenergy2mqtt-2026.4.4-py3-none-any.whl.
File metadata
- Download URL: sigenergy2mqtt-2026.4.4-py3-none-any.whl
- Upload date:
- Size: 381.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
152a340bf9d06aac0d31763dbd0e75d33c7ef264eeebb07b349f99405a8950e9
|
|
| MD5 |
c8db4530f76f2187c15898d5184e9b4e
|
|
| BLAKE2b-256 |
a63d3dc585ba9aba23f2c4920f254d0c60d92943d3b92488acbc6d9ed7016e4c
|
Provenance
The following attestation bundles were made for sigenergy2mqtt-2026.4.4-py3-none-any.whl:
Publisher:
publish-pypi.yml on seud0nym/sigenergy2mqtt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigenergy2mqtt-2026.4.4-py3-none-any.whl -
Subject digest:
152a340bf9d06aac0d31763dbd0e75d33c7ef264eeebb07b349f99405a8950e9 - Sigstore transparency entry: 1231478694
- Sigstore integration time:
-
Permalink:
seud0nym/sigenergy2mqtt@06b2018c0746f5a2938e445f4d4448bbb5065c46 -
Branch / Tag:
refs/tags/2026.4.4 - Owner: https://github.com/seud0nym
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@06b2018c0746f5a2938e445f4d4448bbb5065c46 -
Trigger Event:
release
-
Statement type: