Skip to main content

sigenergy2mqtt

Dynamic YAML Badge Docker Image Version PyPI - Version Python Version from PEP 621 TOML Coverage - Tests Coverage - Total Maintenance

sigenergy2mqtt is a bridge between the Sigenergy energy system and the MQTT lightweight publish/subscribe messaging protocol.

In addition, sigenergy2mqtt has several optional features:

  1. It can auto-discover Sigenergy devices and their device IDs without having to specify the host IP address.
  2. It can publish the appropriate messages to allow Home Assistant to automatically discover the Sigenergy devices, simplifying Home Assistant configuration.
  3. Production and consumption data can automatically be uploaded to PVOutput.
  4. It can directly publish the Modbus data to an InfluxDB (v1/2) time series database for long-term storage and analysis.
  5. It can use the Sigenergy Cloud API for cloud-only operations like Instant Manual Control and operational mode selection.

Pre-requisites

  • Sigenergy ESS or PV Inverter, with Modbus-TCP enabled by your installer or through the mySigen app
  • 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:

  1. Configuration File
  2. Environment Variables
  3. Command Line Options1
  4. Home Assistant App Configuration

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

Cloud Access

The official Sigenergy Cloud API is designed for applications that work as a backend service, and which are not deployed to local customer infrastructure as sigenergy2mqtt is. Whilst they are currently working on making the changes that would support local deployment, it is not yet available.

However, there is an unofficial Cloud API that provides access to the Cloud features, which is what has now been incorporated into sigenergy2mqtt until the official API is available. There is no documentation for this API, and features have been discerned through observing web app network traffic.

To use the Cloud API in sigenergy2mqtt, it is strongly recommended that you use delegated access created through the mySigen app. Navigate to Settings → System Settings → System Share, and add another email address (not your primary mySigen login email address) with "View and Edit" permission. When you receive the invitation email, log in and set your password. Use this new email address and password when configuring Cloud access in sigenergy2mqtt. Only use this delegated email for the sigenergy2mqtt Cloud connection, and for no other purpose, because too many sessions cause connections to be dropped.

Screenshots

Dashboard

dashboard

Diagnostics

diagnostics

MQTT Publish and Subscribe Topics

The topics that are published and subscribed to by sigenergy2mqtt can be found here.

Disclaimers

sigenergy2mqtt was developed for my own use, and as such has only been fully tested in my single-phase environment without AC or DC chargers, although I have developed a testing environment in software that emulates charger, three phase implementations and the Cloud API. If you find a problem, please raise an issue.

AI Tools & Usage

This project uses AI tools to assist development, under human direction and review:

  • Code Generation & Scaffolding: VS Code / Antigravity IDE AI assistants, Claude and Codex for unit tests, issue investigation/resolution and new features.
  • Code Quality & Refinement: Greptile for automated PR code reviews and Snyk for automated security reviews.

All AI-assisted code and suggestions are reviewed, tested, and validated by maintainer prior to merging.

Contributors may use AI tools, provided PRs are verified and include tests.

Metadata

Release files for sigenergy2mqtt 2026.11.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sigenergy2mqtt 2026.11.11
File Size Uploaded Provenance Actions
sigenergy2mqtt-2026.11.11.tar.gz 632.5 kB With provenance Details for sigenergy2mqtt-2026.11.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sigenergy2mqtt 2026.11.11
File Interpreter ABI Platform Actions
sigenergy2mqtt-2026.11.11-py3-none-any.whl Python 3 none any Details for sigenergy2mqtt-2026.11.11-py3-none-any.whl

Total release size: 1.4 MB

Release files / sigenergy2mqtt-2026.11.11.tar.gz

Download URL sigenergy2mqtt-2026.11.11.tar.gz
Size 632.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5b72934cb2202967d1ff507c5705eb6ffe72f09ec28995afb81de61acfd77516
BLAKE2b-256 checksum
How to use checksums
f5e9cbd34e23484eeac637a09c2fdd08e3b89b6b160541d6e05169eed8c1c2e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / sigenergy2mqtt-2026.11.11-py3-none-any.whl

Download URL sigenergy2mqtt-2026.11.11-py3-none-any.whl
Size 729.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0caa52d86b08ca86bb595d2082c5a917812dee14545f0935cb9c886b825ae6b9
BLAKE2b-256 checksum
How to use checksums
127f67b087b1442417e52390509cab3952345b5b95ae9669d16a3ea1ab4e1bb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for sigenergy2mqtt 2026.11.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sigenergy2mqtt-2026.11.11.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.11.11 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page