darrylb123 / ESP32_SMA-Inverter-MQTT

Arduino project to read SMA Inverter data via ESP32 bluetooth
MIT License
6 stars 4 forks source link

ESP32_SMA-Inverter-MQTT

Arduino Project to read SMA Inverter data via ESP32 bluetooth and post to MQTT for consumption by Home Assistant.

It is tested with my 2x SB3000TL-20 and 1x SB1600TL-10 with a plugin SMA bluetooth module. Please let me know when you have tested the software on other SMA Inverters.

The starting point for this project was the code posted by "ESP32_SMA-Inverter-MQTT" by and "SBFspot" and "ESP32_to_SMA" on github. Forked from the great work of Darryl Bond and of Lupo135. Many thanks for the work on these projects!

COMPILE:

A working VSCode installation must be installed with the PlatformIO plugin installed

SETUP:

To first configure:

Home Assistant

The device performs Home Assistant auto-discovery via MQTT The inverter is added as a device, while all the inverter parameters are defined in Home Assistant entities. The entity label begins with the topic preamble and inverter serial. Device name: SMA-21005XXXXX Entity label: sma_21005XXXXX_grid_relay_status

NOTES:

TODO: