PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

Hey siri "close the blind" does open ! #256

Open niko44 opened 1 year ago

niko44 commented 1 year ago

I think since the last update, the issue 250 is still open :/

When i say "Hey Siri, close the blinds", i hear that a command is send to the module but in fact is "open" which is sent, so the blind still open and they don't close anymore. But if they are closed and I say "hey siri, open the blind" they open...

If I play with app Home on the screen of my iPhone or by the Homebridge-ui it's work like a charm. The pb is just with Siri.

For information :

Thks in advance

fredprod commented 1 year ago

I fixed using this https://github.com/domoticz/domoticz/issues/5371#issuecomment-1282290529

niko44 commented 1 year ago

I fixed using this domoticz/domoticz#5371 (comment)

I knew this post and the fix has already been merged into v2.1.46 of homebridge-edomoticz plugin but I don't know why since the last updates (iOS may be) the close command dictated to Siri sends open instead. Indeed this correction was operational at the beginning but it seems that it is not enough any more unfortunately.

benoitma commented 1 year ago

Same here, close commands to homebridge (via Siri but not the ios home app) always result in an "Open" command sent to domoticz. I'm using homebridge-edomoticz v2.1.46 with "Use legacy blind support" param to 0 and Domoticz 2023.1

PatchworkBoy commented 1 year ago

What version of iOS specifically are folk seeing this issue with?

if it works one way with Siri, and the other way with Home app, then Apple have broken something at their end which suggests we’re talking public beta stream of iOS… and I’m not chasing round what apple monotonously breaks then unbreaks then rebreaks on the beta branches. Instability is the risk of using betas.

There is no way to differentiate where a command originated (Siri vs App) within Homebridge for it to be handled any differently. Only Apple can cause the command to be issued differently for each case.

benoitma commented 1 year ago

16.3.1 on my iphone Added a few logs here : https://github.com/PatchworkBoy/homebridge-edomoticz/blob/master/lib/domoticz_accessory.js#L722 and the "pos" variable is always set to 100 when opening or closing from siri.

PatchworkBoy commented 1 year ago

Mooching about, Apple have been flipping back and forth on HomeKit architecture - new arch 16.2, reverted to old for 16.3.x, and are re switching back to new arch for 16.4 release which should resolve matters. 16.4 public beta may resolve in meantime (or may not)… but sounds like Apple have caused a conflict somewhere that only they can fix if Siri Vs Home trigger things differently as it stands.