Page 1 of 1

Siri acts with wrong state when state is changed by Domoticz

Posted: Wednesday 27 December 2017 15:02
by aukedejong
Domoticz: v3.8153
Homebridge: 0.4.33
homebridge-edomoticz: 2.0.11
Z-wave Fibaro modules
Zwave.me USB stick
RaspberryPi

The problem is that Siri doesn't know the state changes not done by Siri itself.
I like to run around in my house and tell Siri to switch lights on and off. But when I leave home or go to bed, I turn everything off by a triple click on a Fibaro dimmer.
When I come home I have to tell Siri first to turn off the lights, then on again, before the lights turn on.

Is there a way to fix this?

Thanks.

Re: Siri acts with wrong state when state is changed by Domoticz

Posted: Friday 05 January 2018 16:38
by rjblake
Did you install Mosquitto and change the MQTT Parameter to "1" in your config.json and configure MQTT interface in Domoticz? If this is running correctly, states of devices are synchronised across Domoticz and Homekit.

Re: Siri acts with wrong state when state is changed by Domoticz

Posted: Friday 05 January 2018 20:01
by aukedejong
MQTT fixed it.
Thanks rjblake!!

Now, when I switch a light, or change the dim level, I see the result almost instantly on my iPhone.

For others having the same 'problem'.
Only three steps are needed:
- Install Mosquitto, there are plenty tutorials.
- Add the MQTT hardware in domoticz, see Domoticz wiki
- Set mqtt parameter to 1 in homebridge's config.json

I did restart Homebridge, but I'm not sure it's really needed.