Hi all
Background - I've flashed a handful of switches with Tasmota and installed a Deye inverter with PV to drive most of the house's load. In addition, i have a specific 3kva backup on a specific plug point. I also have a Pi running Domoticz and Mosquitto.
My intention is to capture the data from the Deye, and, based on that information, switch certain switches on or off. More specifically, if utility power is down, and load is exceeding PV, turn off the plug point driving the 3kva backup.
The Deye uses Solarman app/web - however this is only updated ~60 seconds or so. A potential solution would be to use the RS485 port to connect to a RS485-to-TTL connected to a ESP32 module, transmitting the RS485 feed to Mosquitto.
Is this the easiest solution - or am i missing something?
Background - I've flashed a handful of switches with Tasmota and installed a Deye inverter with PV to drive most of the house's load. In addition, i have a specific 3kva backup on a specific plug point. I also have a Pi running Domoticz and Mosquitto.
My intention is to capture the data from the Deye, and, based on that information, switch certain switches on or off. More specifically, if utility power is down, and load is exceeding PV, turn off the plug point driving the 3kva backup.
The Deye uses Solarman app/web - however this is only updated ~60 seconds or so. A potential solution would be to use the RS485 port to connect to a RS485-to-TTL connected to a ESP32 module, transmitting the RS485 feed to Mosquitto.
Is this the easiest solution - or am i missing something?