PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 43 forks source link

Domoticz Motion Sensor not working in Homebridge #272

Closed vgr28 closed 1 year ago

vgr28 commented 1 year ago

Domoticz 2023.2,

Sensor will be found, but the switch status will not be changend in Homebridge according to the domoticz status.

Maybe someone can support......

PatchworkBoy commented 1 year ago

Make sure you’ve got MQTT configured and running correctly… else updates are only reflected in Home app when you do pull-to-refresh. MQTT is required for realtime updating between Domoticz and Homebridge.

vgr28 commented 1 year ago

I did the MQTT update based on the example with my MQTT server IP. But did not work....., on MQTT Explorer i can see the motion output....

"mqttenable": 1, "mqttserver": "127.0.0.1", "mqttport": "1883", "mqttauth": 0,

PatchworkBoy commented 1 year ago

Are you seeing…

IMG_4223

…in Homebridge output / log?

vgr28 commented 1 year ago

No,

image
vgr28 commented 1 year ago

Now it's running. Problem, I did not do the configuration based with the config. page, only with the config. example.

"mqttenable": 1, "mqttserver": "127.0.0.1", "mqttport": "1883", "mqttauth": 0, "mqttuser": "", "mqttpass": ""

only with this it's not running. If I do the config by the config. page than "mqtt": true will be added and it's running.

Maybe the config example should be updated.

PatchworkBoy commented 1 year ago

Which config example are you looking at where…?

vgr28 commented 1 year ago

https://plugins.hoobs.org/plugin/homebridge-edomoticz

image
PatchworkBoy commented 1 year ago

🤷🏼 - nothing to do with me. That site isn’t pulling latest README.md

The only official instructions are the front page of this repo.

https://github.com/PatchworkBoy/homebridge-edomoticz