My quite old installation: 12 curtains, each with own (wired) controller + central manual switch (two buttons: Up and Down) with 13th (wired) controller.
Recently I changed the central controller to Shelly 2PM Gen3. No big issue. Then I created automation for opening curtains in the morning and closing them at the end of the day. Everything is fine.
Now I intend to install next 3 Shelly 2PM Gen3 controllers in windows on the south side of my house. And then define some automation to close partially curtains when sun is shining (integration with lux meter).
Now my issue: These 3 south controllers cannot be switched on/of centrally wired. I would need to switch them on/of via HA. Expected functionality:
Clicking the central switch (with Shelly 2PM Gen3 as a controller) will open/close all other controllers: wired controllers via wire (it’s working now) and Shelly controllers via a script. How to trigger such a script? We have short click, long click, clicking opposite button etc. All is supported by Shelly internal logic and is working fine. I see on the Shelly dashboard in HA as well controller status: Opened, Closed, Opening, Closing. Nice. But: I see in HA in Shelly 2PM Gen3 device only Input0 anf Input1 entities (that reflect which one manual button is clicked). To trigger my script, I would need to have the Output0 and Output1 entities (that are not present on the entity list of the Shelly device) or I would need the status entity. Status is presented on the Shelly dashboard. So, it is somehow possible to get the status from the Shelly.
Any hint, how to approach the issue? Some scripts in the Shelly language in the controller? Change to an MQTT device and define MQTT communication (on Shelly side and on HA side)? Flashing Shelly to add two new entities (Output0 and Output1 that correspond to some pins)?