MQTT client for Trannergy solar inverter (PVL5400). Written in Python 3.x This program might also work for Ginlong and Omnik inverters. The inverter has to be connected to the LAN network where this script is running.
Includes Home Assistant MQTT Auto Discovery.
systemd/trannergy-mqtt.service
to /etc/systemd/system
trannergy-mqtt.service
to your install location (default: /opt/iot/trannergy
)config.rename.py
to config.py
and adapt for your configuration (minimal: mqtt ip, username, password)sudo systemctl enable trannergy-mqtt
sudo systemctl start trannergy-mqtt
The are 2 clients integrated:
(I could not think of a better name)
Use http://mqtt-explorer.com/ to test & inspect MQTT messages
Tested under Linux; there is no reason why it does not work under Windows.
GPL v3
1.2.6
1.2.5:
1.2.4:
1.2.2: