jmaferreira / homebridge-garage-door-shelly1

Homebridge plugin for a simple web-based garage
MIT License
9 stars 4 forks source link

Multiple close commands should not open the garage door #12

Open sdebruyn opened 1 year ago

sdebruyn commented 1 year ago

If the plugin has been configured with a URL to get the state, it should first check that state to see if it has to perform an action or not. If my garage door is closed (and that is confirmed with the state URL), then the close command should not be called again.

At the moment the above is not the case, it triggers the close command again. For most Shelly1 users, that would open the door again.

Use case: automations. I would like to have simple automations without having to convert them to Shortcuts with If/Else blocks to first check the garage door state myself.

rinoronie commented 2 months ago

I have same problem