Page 1 of 1
Aqara zigbee doorsensors versus homekit
Posted: Monday 22 September 2025 17:10
by remko2000
I've noticed that the ZigBee door sensors in Domoticz aren't transmitting their status correctly to HomeKit via HomeBridge. Only when I manually shut down and restart HomeKit does the status transmit correctly. IIn domoticz the status is updated immediately.
Is there anything I can do about this? It's not helpful for security if this takes minutes. My Zwave door contacts work instantly in HomeKit (via Domoticz/HomeBridge).
I've read it might be a mqtt setting?
This are my settings in de domoticzplugin homebridge:
Code: Select all
{
"name": "Domoticz",
"server": "xxxxxxxx",
"port": "8080",
"roomid": 2,
"mqtt": true,
"ssl": false,
"dimFix": 0,
"legacyBlinds": 0,
"platform": "eDomoticz"
}
Setting in zigbee2mqtt: Homeassistant discovery topic ' zigbeeAD' (basetopic = zigbee2MQTT)
Setting in Domoticz: MQQT for zigbee (autodiscovery client gateway with lan interface) 'zigbeeAD'
Re: Aqara zigbee doorsensors versus homekit
Posted: Wednesday 24 September 2025 15:32
by remko2000
Someone have an idea? I'm increasingly thinking it's an MQTT problem. Zwavemqtt works instantly between Domoticz and HomeKit/HomeBridge.
In Domoticz, I refer to 'zigbeeAD' under auto discovery.
The MQTT settings for zigbee2mqtt (YAML file):
mqtt:
base_topic: zigbee2MQTT
server: mqqt://10.0.1.122
I suspect that MQTT in/out isn't working properly, causing new ZigBee devices to be properly discovered in Domoticz, but the sensorstatus aren't being instantly passed on via MQTT. Does anyone have any clues to a solution?
Re: Aqara zigbee doorsensors versus homekit
Posted: Wednesday 24 September 2025 20:07
by waltervl
You have to check the messages with an application like MQTT Explorer.
And are you on the latest Zigbee2mqtt version?
Re: Aqara zigbee doorsensors versus homekit
Posted: Thursday 25 September 2025 11:57
by remko2000
yes I'm on the latest version (I've struggling to update but suceeded).I'll try this days to monitoring my mqtttraffic with mqtt explorer.
Re: Aqara zigbee doorsensors versus homekit
Posted: Saturday 27 September 2025 10:21
by remko2000
I've monitoring the traffic of one of my zigbee doorsensor (name is 0x00158d000ad849f6)
At topic ' zigbee2MQTT/0x00158d000ad849f6' I get back when I open the door:
Code: Select all
{"battery":100,"contact":true,"device_temperature":23,"linkquality":131,"power_outage_count":12,"trigger_count":0,"voltage":3025}
Is this right?
Re: Aqara zigbee doorsensors versus homekit
Posted: Sunday 28 September 2025 0:16
by waltervl
Depends on the config topic for this device. I would expect a state topic to be defined
Re: Aqara zigbee doorsensors versus homekit
Posted: Wednesday 01 October 2025 12:08
by remko2000
No seperate state topic only 'contact: true/false'. Strange thing is that the status of this sensor in domoticz instant change when open/close door but in homekit and homebridge I have to refresh before the status changes. How can I solve this?
Re: Aqara zigbee doorsensors versus homekit
Posted: Sunday 12 October 2025 15:42
by remko2000
It's really annoying that ZigBee devices don't update directly in HomeKit/HomeBridge.
Communication between ZigBee2MQTT and Domoticz is instant but to homekit and homebridge not (I have to refresh before the correct status is displayed).

- setting zigbee2mqtt
- Schermafbeelding 2025-10-12 om 15.50.12.png (157.74 KiB) Viewed 43 times

- mqtt settings
- Schermafbeelding 2025-10-12 om 15.51.49.png (138.02 KiB) Viewed 42 times

- domoticz
- Schermafbeelding 2025-10-12 om 15.53.22.png (198.1 KiB) Viewed 41 times