Page 1 of 1

Z2M device status

Posted: Wednesday 17 August 2022 13:14
by Dave21w
If you have a device like a lamp (in my case an ikea bulb) and that bulb apart from being connected to z2m also has a switch that is bound to it directly should the bulb still report its state of change to z2m even if it was turned on/off directly with it's own switch ?

TIA
Dave

Re: Z2M device status

Posted: Wednesday 17 August 2022 14:35
by waltervl
Zigbee2MQTT has a setting for availability_timeout (default false). If set to true it will check if the device is still available (power connected and in contact with Zigbeecontroller). If not it will report it. I do not know what Domoticz is doing with this information.
See https://www.zigbee2mqtt.io/guide/config ... figuration

With the ZigbeeforDomoticz plugin (aka Zigate) that I use the device will be reported as unavailable (Red colored widget in Domoticz)

Edit: After rereading your question I think you meant something else: What happens if you switch a bulb with a directly paired/binding remote control.
I think you will create a group when you pair a remote switch with a bulb. See https://www.zigbee2mqtt.io/guide/usage/groups.html

Re: Z2M device status

Posted: Wednesday 17 August 2022 17:37
by Dave21w
Many thanks for your reply "waltervl"
I must appologise as english is my first language and I don't think my description was very good. Your edited assumption is correct, I have an ikea bulb that is paired to z2m and I have completed the bind process so it is also directly connected to an ikea button, tunring the lamp on and off with the button does not appear to change the bulb state in z2m. If I need to create a group for this that would also mean I would need to pair the ikea button with z2m as well which is fine however I though the whole "bind" option was so you didn't have to have button paired to the coordinator that basically did nothing in z2m.