Shelly 1 Open/Close action, Cloud API

  • 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.

    • Offizieller Beitrag

    use the new option of the external switch function and the add-on for the Shelly1

    With Actions or via scenes you can use the commands for opening and closing

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    13629-ar768-magnetkontakt-png

  • use the new option of the external switch function and the add-on for the Shelly1

    With Actions or via scenes you can use the commands for opening and closing

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    13629-ar768-magnetkontakt-png

    Hi, how does it work? I cannot find any documentation about this.

    I attached a picture, with the setting but nothing changed the prior behavior on/off. I can see in your picture you have already set "Flipping the switch turns output ON/OFF", what does it do exactly? kind of confusing.

  • I have the shelly 1 as in the attached picture.

    The contact sensor (reed switch) closed when the door is completed opened, indicating in the App the switch button is Open (with a blue pipe in the icon, see image).

    And now with your suggestion, I get EXT SWITH (above the button), but I don't see any difference or improvement from setting this EXTERNAL SWITCH option in the app to Shelly. So, not sure how this works.

  • Dieses Thema enthält 3 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.