Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MY simulation #290

Closed
rgr101 opened this issue Feb 26, 2024 · 8 comments
Closed

MY simulation #290

rgr101 opened this issue Feb 26, 2024 · 8 comments

Comments

@rgr101
Copy link

rgr101 commented Feb 26, 2024

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
Copy link

alka79 commented Apr 17, 2024

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
Copy link
Owner

rstrouse commented May 4, 2024

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
Copy link
Owner

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

@rgr101
Copy link
Author

rgr101 commented May 14, 2024

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

@Nickduino
Copy link

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
Copy link
Author

rgr101 commented May 17, 2024

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
Copy link

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
Copy link
Owner

...could the position be remote-dependant?

Because you asked. Sure!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants