VZM31 to VZM36 Binding Issue

I have 3 VZM31s that are bound to VZM36s, and all 3 are experiencing an issue where they will turn themselves back on after they are turned off by the controller (Home Assistant / z2m). If I turn them off at the light switch, they will stay off. If I turn them off using my HA dashboard, or using a 3rd party Zigbee button controller (via HA automation), then they will turn themselves back on within ~1 minute. The log in HA just says “Master Bedroom Light turned on”–which confirms either the switch or the fan/light module is tuning itself on, as opposed to an automation misconfiguration.

Has anyone else noticed this?

I had an issue like that where device A was controlled by device B, and if I changed the state of device A from the hub, device B would revert that change.

So, if you have the 36 controlled by the 31, and you update the state with the 31 it would stay, but if you update the state of only the 36 direct from the hub you could have a situation where the 31 sets it back to the state it was supposed to be in.

Make sure they are in a group, and control the group direct, not the device. Also set the switch to control the group.

Good call, I think this is exactly what is happening. After updating the VZM31s to firmware 3.04, changes to the VZM36 are no longer bound back to the VZM31. Turning off the VZM36 leaves the VZM31 on, and then eventually the Adaptive Lighting service changes the brightness on the VZM31, which turns the VZM36 back on at the new brightness.

If I disable adaptive lighting then the issue goes away, but the 31 and 36 fall out of sync. The issue persists after downgrading Adaptive Lighting to previous releases.

So this does seem to be a bug with firmware 3.04, and I think you’re right that using group bindings would be a viable workaround here. I’ll try that later tonight and report back.

The issue persists when using Zigbee groups, which I think makes sense as it’s essentially the same scenario. If changes from the VZM36 are not syncing back to the VZM31, then you’d expect the same to happen when replacing the VZM36 with a Zigbee group.

@rohan you seem to be the resident VZM/Z2M expert.. do you have the ability to test this? If you don’t have a VZM36, I think the same would apply when bound to a generic Zigbee light.

I do have the ability to test this, but I’ve never tried to bind a VZM36 or bulb back to the switch. My recommendation is that you use Zigbee groups to do this instead:

  1. Setup a zigbee group for the lights. Add the VZM36 and the VZM31 endpoint 1 to the group.
  2. Bind VZM31 endpoint 2 to the group
  3. Control only the group via your home automation system + Adaptive lighting. Literally never touch the light entity corresponding to the VZM36 directly and things will remain properly in sync.

I do something similar to expose a zigbee group as well to control the fan endpoint of the VZM36.

Thanks Rohan. I had overlooked the second half of step 1 when creating the Zigbee group. After correcting this, it is working properly.