Hello everyone,
Maybe someone already faced it or can help me, or as a suggestion to improve the cloud API endpoints.
I have integrated a Shelly 1 to my garage door, and everything is working as expected, open/close simulating the push button, but I wanted to go further and I have added a reed switch to know if the door is opened (indicated in the app with a blue coloration in the power button icon) or closed. But, the API endpoints available for Shelly 1 has a property for turn = "on" or "off", which does not mean that the door is opened or closed, but just to trigger the switch on/off of the relay. So, is there a way, knowing now by a sensor/reed switch that the door is opened or closed to trigger an action like "open door" (if closed) or "close door" (if opened)?
Thank you in advance for any suggestion.