Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save esbenr/35ff1a2ae8d00df3006bfca2f256b406 to your computer and use it in GitHub Desktop.
Save esbenr/35ff1a2ae8d00df3006bfca2f256b406 to your computer and use it in GitHub Desktop.
1. Create a group in z2m groups.yaml, containing the lights you want to control.
'2':
friendly_name: light_living_room
retain: false
optimistic: true
transition: 2
devices:
- '0xccccccfffeb9bbcf'
- '0xccccccfffebac1e0'
- '0x000b57fffe89ed06'
- '0x000b57fffe39fb68'
- '0x90fd9ffffe18aa71'
- '0x680ae2fffe3a5064'
- '0xd0cf5efffec63ffe'
- '0x000b57fffe8de46b'
2. Restart Zigbee2MQTT
3. Bind the switch to the group:
a. Hold down the switch (to make it connect to z2m)
b. Send topic: "zigbee2mqtt/bridge/bind/Living room Switch 2" Payload: "light_living_room"
c. Release the switch
d. Check log to verify that the bind
e. Link: https://www.zigbee2mqtt.io/information/binding.html
4. Unbind the switch from the coordinator
a. Topic: "zigbee2mqtt/bridge/unbind/Living room Switch 2" Payload: "coordinator"
b. Check log to verify that the unbind
c. Link: https://zigbee2mqtt.discourse.group/t/binding-example/980/2
5. Unbind the switch from the default group
a. Topic: "zigbee2mqtt/bridge/unbind/Living room Switch 2" Payload: "default_bind_group"
b. Check log to verify that the unbind
c. Link: https://www.zigbee2mqtt.io/devices/E1743.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment