Hi,
I started some SHELLY installation at home, it works pretty fine so far.
Now I would like to trigger a Plug S according to values I get from a MQTT topic I subscribe to.
I have solar panels and battery (Zendure, connected to my SHELLY Pro 3EM) that I can get the power generated by the solar panels and the % of storage in the battery from a MQTT topic I can subscribe (checked with MQTT Explorer and it works).
I would like to switch the Plug S on if the power generated is above a threshold and/or if the % of the battery is close to 80-85%.
I cannot get the power generated anyway else as it is fully controlled by the Zendure system especially the % of the battery (I see the values in the Zendure App) and it is in DC current with only solar cables between the panels and the Zendure controler so no SHELLY PM can be connected somewhere inside.
Is it possible with just a script or do I need another service ? (I don't have a home automation server like Home Assistant and for the time being I would prefer not building one ^^)
Thanks in advance for your help !