rstrouse / ESPSomfy-RTS-HA

Control your somfy shades in Home Assistant
The Unlicense
102 stars 9 forks source link

Open/close tilt commands #63

Open perfrankling opened 1 month ago

perfrankling commented 1 month ago

When using the "Close cover tilt" and "Open cover tilt" buttons in the HA interface (or the corresponding services "Cover: Close tilt" and "Cover: Open tilt"), the cover acts as if the "Close cover" or "Open cover" buttons/services had been issued, and ESPSomfyRTS (and HA) loses track of the correct position, only indicating that the tilt has changed, even though the cover keeps travelling towards completely open or completely closed position.

This is not a problem when using "Cover: Set tilt position" to 0% or 100% (or other percentages).

The services "ESPSomfy RTS: Tilt Close" and "ESPSomfy RTSL Tilt Open" do not work for me. I get "Failed to call service espsomfy_rt.tilt_close. Unkonwn error"

rstrouse commented 1 month ago

It sounds like you need to add a repeat to your motors. This can happen if the motor is slow to reset between commands.

EDIT: I set up a scenario to try this out and I now know where this is going wrong. I need to intercept the Cover: services which I did for the tilt but unfortunately the service endpoint changed on me at some point and I missed it.

rstrouse commented 1 month ago

Unfortunately, there is an error on the cover tilt services. I will fix this in the next release.

perfrankling commented 1 month ago

That is what I thought. The "Cover: Set tilt position" works every time - which should be equivalent to "Cover: Open tilt" and "Cover: Close tilt" when using 0% and 100%.