Skip to content

Repository files navigation

Solar-Assistant-MQTT-client

Solar-Assistant (https://solar-assistant.io/) is software to monitor and control Solar Systems. Many Inverters and Batteries are supported. It runs on a Raspberry PI or Certain Orange PI's. Solar-assistant include a MQTT broker. By communicating with this broker you can monitor and control many solar systems via MQTT and Python. The Paho mqtt client library is used.

PYTHON VERSION: 3 (2 not tested)

SolarMAX_gridMIN.py: This script is used to Set the Max Grid Charge current to make sure that the grid is not over used while solar power is available.

GoToBattery_SwitchGridOff.py: This is a creative mode to switch the AC supply to the inverter off and force it into Solar/Battery mode. It basicly reduce the To Battery Baterry Voltage below the current voltage.

BatHealth.py: Some measures usefull for battery health.

Gen_Reading_all_messages.py: Reading topics and payloads for all messages.

pub_to_cayenne.py: A bridge between the Solar-assistant and Cayenne mqtt Brokers.

HANDY TOOLS

-MQTT Explorer

-https://pypi.org/project/paho-mqtt/#installation

MQTT Explorer can assist to get mqtt topics MQTT_explorer_output

Codoe tested on the 5KW Sacolar (Growatt SPF) Inverter monitored via USB CP2102 UART BRIDGE and Battery Compatable with PBMS tools (15 cell P15S100A) monitored via USB Serial RS232/RS485 My inverter and BMS is not directly connected. Inverter setting 5: USE

About

Solar-Assistant (https://solar-assistant.io/) is software to monitor and control Solar Systems. Many Inverters and Batteries is supported. It runs on a Raspberry PI or Certain Orange PI's. Solar-assistant include a MQTT broker. By communicating with this broker you can monitor and control many solar systems via MQTT and Python. Paho mqtt client.

Topics

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages