rstrouse / ESPSomfy-RTS

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

Controlling blinds with integrated tilt #237

Closed perfrankling closed 6 months ago

perfrankling commented 6 months ago

I have blinds controlled by Somfy Telis 4 remotes. To tilt the blinds, the remote sends "Step Up" and "Step down" commands. Following an "Up" movement, the tilt will be at 0% and following a down movement, the tilt will be at 100%.

When looking at the ESPSomfy RTS home screen and controlling the blinds with the original remote, the % tilt and display of the position of the blind is correct.

However, when trying to control a blind from ESPSomfy RTS, I cannot get it to behave the way I expect. The "Tilt type" is set to "Integrated".

  1. In the Virtual Remote, the Step Up and Step Down buttons have no effect
  2. On the home screen, when I choose (for example) "40%" target position", with a "50%" tilt, with the starting blind position being 0% (at the top), it will move to 40%, briefly stop, but then seems to move to the "My" position, which for me is 100% with 75% tilt.

As far as I know, there is a "Stop" command in the RTS protocol - at least my Somfy RS485 RTS box can send it. It would be great to be able to send it from ESPSomfy RTS.

rstrouse commented 6 months ago

When the motor is at rest the my button is the stop button. It is the same command.

Also, I suspect the Telis 4 does not send step commands. This is a function of the Modulis style remotes. Most likely you have the motor set to euro mode in which case the up/down buttons only make the motor move a little bit. A long press on them will send them to the end stops. You can select euro-tilt to match this behavior or change the settings in the motor.

perfrankling commented 6 months ago

This is my remote and what it sends.

To stop the blinds, I would need to use StepUp or StepDown, if there is no separate "Stop" command. Sending "My", you never know whether the blinds stop or move to the "My" position.

Log from Telis 4 20240113_174311433_iOS 20240113_174306708_iOS

rstrouse commented 6 months ago

Yep that is a modulis remote. Set the bit length to 80 bits for the motor and it will send the same step up/down commands from the virtual remote.

perfrankling commented 6 months ago

That was it! I should have seen the 80 bits in the log already.

EDIT: Now I found the instructions for the "My" handling!

Thanks for all of this!

rstrouse commented 6 months ago

You are welcome. Closing this issue as I believe you are squared away.