aarons22 / homebridge-bond

Homebridge plugin for Bond
MIT License
63 stars 31 forks source link

Somfy Shades - "My" button should toggle state of shades. #206

Open waffledork opened 2 years ago

waffledork commented 2 years ago

Is your feature request related to a problem? Please describe. When the "My" command is used, the shade still maintains its current state, whether that's "Open" or "Closed". The reason that people set up a My Position is because they want to limit how far their shade closes and/or opens.

For example, we have shades that could go all the way to the floor (if we close them) but we set up a My Position to stop them at knee-level because we have frosted glass at the bottom anyway and it prevents our cats from playing with the shades. However, we still consider the shades to be "Closed" in these instances.

Describe the solution you'd like When the "My" button is pressed, I would like the shade to toggle. If it was "Open", it should now be "Closed". If it was "Closed" when the "My" button is pressed, the state should now read "Open".

This will provide Somfy shade owners with more flexibility in defining what constitutes as "Open" and "Closed".

Describe alternatives you've considered I use Home Assistant (Bond Bridge works fantastically with it!) and I have a toggle that keeps track of whether my shade is open or closed. I have an automation set up to toggle that toggle when the "My" button is used. While this is a viable workaround, I think it makes sense to have Bond Bridge toggle the shade's state when the "My" button is pressed.

Additional context Here is the page from Somfy's website showing how to set the My Position: https://www.somfysystems.com/en-us/blog/post/how-to-set-the-my-position

And here is a screenshot of the "My" button in the Bond app:

Bond App

Thank you for all your help!