rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
430 stars 32 forks source link

MY simulation #290

Closed rgr101 closed 1 month ago

rgr101 commented 4 months ago

First of all, thank you so much for this great application!

We have a total of 22 RTS drives, two of which are shutters that cannot set a MY position, and this is very annoying. I was thinking that it would be relatively easy to implement a "pseudo-MY" function in ESPSomfyRTS for such drives by assigning a specific target position to the shutter as the MY position and simulating the MY behavior based on this value. This could even be used to retrofit awnings or blinds with a MY position. (Of course, something similar could also be realized individually in a higher level system like HA (or in my case Loxone) using the Target command, but this would require repeated additional efforts...)

By using Somfy, you're just used to their genious "MY comfort"... ;)

alka79 commented 2 months ago

Hi, Let me +1 this request. I have 11 old shutters that do no have the My function. The middle remote button only acts as Stop. Pressing the middle button when the shade is not moving has no effect at all on the motor.

ESPSomfy drives these old shutters pretty well, including set to a percentage position with the slider, but of course not the 'My position' feature.

As rgr101 mentions, it is possible to work around in HA automations either by setting a position or using scenes.

However, I was thinking : Let's imagine we can flag such old shutter in the shade settings. Then ESPSomfy would know that instead of sending the 'My' command code, it has to send commands to set the shade to the 'My percentage' position stored in the settings. Of course, if the shade is currently moving, ESPSomfy would send a usual 'My' code that would act as Stop. That would do it to have the 'My' feature in the ESPSomfy webUI.

Knowing that ESPSomfy captures the linked remotes commands, we can take it a step further. Normally, when a 'My' button is pressed by a linked remote (including physical button), ESPSofmy would only record the event and update the shade position. But for an old shutter, ESPSomfy could do more and actually send the commands to set the shade to the appropriate position. This would bring the 'My' feature to shutters that don't have it and make my significant other very happy (she only trusts the physical buttons placed next to she shutters ;) ).

Thanks for considering,

rstrouse commented 2 months ago

I have added this function in the v2.4.3 pre-release. There is now a checkbox on the shade definition for a simulated favorite.

EDIT: Because you didn’t ask it will allow you to set the my position using the remote as well by holding down the my button.

rstrouse commented 1 month ago

@rgr101 I have added this functionality to v2.4.3 and will be releasing it this weeken.

rgr101 commented 1 month ago

Just installed - amazing !!!! This works really great !!! 👍🙏🙏🙏

Nickduino commented 1 month ago

EDIT: Because you didn’t ask it will allow you to set the my position using the remote as well by holding down the my button.

This is bloody brilliant!

rgr101 commented 1 month ago

EDIT: Because you didn’t ask it will allow you to set the my position using the remote as well by holding down the my button.

This is bloody brilliant!

Indeed!!

Nickduino commented 1 month ago

EDIT: Because you didn’t ask it will allow you to set the my position using the remote as well by holding down the my button.

...could the position be remote-dependant?

rstrouse commented 1 month ago

...could the position be remote-dependant?

Because you asked. Sure!