yenoiwesa / homebridge-connexoon

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

Difference in iOS 17 controlling blind #89

Open davidliamfranks opened 12 months ago

davidliamfranks commented 12 months ago

Hello. I have been using your plugin for over a year to control my Somfy blinds and it has been great. You kindly helped me in early January by supporting the MY setting on my RTS blinds which were different as they use “favourite”.

anyway, all has been well but since using iOS 17 betas since beta 1 I have noticed that in HomeKit the blinds on the slider used to have 3 positions 0% / 50% / 100% and the GUI would lock in the 3 positions if that makes sense.

now I have to precisely move the slider to 50% to get the “MY” setting.

do you know why that is? I assume Apple have changed something? Maybe HomeKit now thinks it’s got more range than just the 3 settings.

I was thinking maybe the intervention may need some tweaking to support some iOS 17 changes?

many thanks, David

davidliamfranks commented 12 months ago

Actually just as I submitted the issue it I then went and tried it on an iPad still on iOS 16 and it’s fine on that. So something has changed with iOS 17 and the Home app slider for blind control is not locking to 0% / 50% / 100% anymore :(

yenoiwesa commented 11 months ago

Hi @davidliamfranks,

Thanks for reporting this and sorry for the late answer, but today with the public release of iOS 17 I was able to confirm that this is indeed broken, not only through this plugin but others too.

However the same slider steps are not broken for other accessory types, such as fan speed. I maintain the homebridge-daikin-airbase plugin, and this one has the fan slider still working correctly: you can now move the slider to any position, but it readjusts with an animation to the closest allowed step.

My guess is that Apple was able to drop support for Window Covering target steps because they had never certified any HomeKit accessory with this limited capability. All HomeKit compatible shades brands I know support moving the shade to any position.

I did a quick Google search and could not find any other reference of this issue so far on the web. At the moment, I don't think there is anything I can do to fix the issue. I could potentially do the calculation to move back the slider to the closest position by updating its value in the plugin directly, but this seems wrong knowing the API technically supports passing the values I provide.

You can anyway still access fixed positions right now thanks to Scenes and Shortcuts, where you can define them to reach 50%. 0 and 100% can easily be access through a click of the shade icon on the Home tile for the accessory. And there is also Siri of course. Sorry that's not much help.

davidliamfranks commented 11 months ago

No problem – I appreciate you looking.

I had a look at the home assistant integration for the blinds (which is not as good as its multiple accessories for different features and a bit messy).

But for the positions I think its doing what you don’t want it to do where you could move the slider to 45% and it would recalculate after to 50% - I agree it’s a bit of a bodge and feels wrong, but at the same time not too bad for more basic blinds with only 3 steps/modes.

Either way I appreciate your help and looking.

yenoiwesa commented 11 months ago

Good to know that the Home Assistant integration does something like this.

I might reluctantly implement the same then. I will have a look when time allows.