yenoiwesa / homebridge-connexoon

A homebridge plugin to integrate Somfy blinds with the Connexoon RTS hub
Apache License 2.0
27 stars 2 forks source link

Setting blind to 50% doesn't actually do anything #29

Closed zkrige closed 3 years ago

zkrige commented 3 years ago

If my blind is closed and I set it to 50%, the blind doesn't move

[2021/02/12, 15:05:33] [My Connexoon Hub] Get Lounge blind target position
[2021/02/12, 15:05:33] [My Connexoon Hub] Get Lounge blind current position
[2021/02/12, 15:05:33] [My Connexoon Hub] Get Lounge blind target position success: 0
[2021/02/12, 15:05:33] [My Connexoon Hub] Get Lounge blind current position success: 0
[2021/02/12, 15:05:36] [My Connexoon Hub] Set Lounge blind target position with value: 50
[2021/02/12, 15:05:37] [My Connexoon Hub] Set Lounge blind target position success: 50
[2021/02/12, 15:05:57] [My Connexoon Hub] Polling for Connexoon accessory state
jdebardi commented 3 years ago

Have you set the 'My' position using the Somfy remote first?

zkrige commented 3 years ago

ah brilliant - thank you. Is it only possible to set it to "my" position, as opposed to an arbitrary position (eg 33% or 25%)

jdebardi commented 3 years ago

Yes, as the Somfy RTS blinds only natively support the open, my and close positions, only these 3 can be mapped into Homekit (as 100%, 50%, 0%).

zkrige commented 3 years ago

thank you very much

yenoiwesa commented 3 years ago

Note that you can set the My position of your blinds to whatever position you like, I just always map it to 50% (or rather "middle position") in the plugin.

You can also remove the My command altogether from your command array (as explained in the README) and the blind will have only two positions, open and closed, like a switch.

yenoiwesa commented 3 years ago

@zkrige are you happy to close this issue now that your problem is resolved?

zkrige commented 3 years ago

perfect - thank you