Add support for Matter Binding feature

Hello,

Could you add support for Matter Binding feature in Home Assistant?

Matter standard offers another method: automation through so-called bindings. End devices (endpoints) in a Matter installation communicate directly with each other. They exchange information – for example, by radio – and do not need a control center as an intermediary. Typical examples of this direct communication without a hub are:

  • Light switches/dimmers that control one lamp or a group of lamps.
  • Temperature sensors that control one or more heating regulators.

What is a Matter Binding?

Regards

I consider direct bindings quite important and use them frequently with my Zigbee devices. My family members all should be able to turn on a light even if the HA server is rebooting or having an issue that requires some attention.

3 Likes

Here are the steps to implement binding:

2 Likes

How are you interacting with the bulb and switch to modify the ACLs and their bindings? What tools do I need?

In other words, let’s say I have a Home Assistant server with the Matter add-on installed, and I have my switch and bulb connected to this Matter fabric. Let’s also assume I have a workstation connected to this same network where the Matter fabric is hosted. How do I interact with the endpoint devices (or python matter server) to configure the binding? Do I need to SSH to anywhere, or just use the add-on somehow? I don’t see anything in the Home Assistant Matter add-on GUI.

How are you interacting with the bulb and switch to modify the ACLs and their bindings? What tools do I need?

I haven’t tried doing this with the home assistant matter server, but I was able to establish a Matter Binding using chip-tool, creating a separate fabric for the lights and a switch which were controlled by chip-tool, and then using chip-tool to update the ACLs on the lights, and add the bindings to the switch.

I pretty much followed this thread here: Multiple Matter/Thread Dimmers should control one load. The basics are:

  • install chip-tool
  • share the devices that you’ll be interacting with from home assistant to chip-tool
  • update the ACL of the lights to allow them to receive operate commands for OnOff and LevelControl (very important to write the entire ACL here and not just the new entries, including the already present ACL, or you’ll lock chip-tool out of being able to control the lights)
  • write the binding to the switch, telling it which bulbs it should give OnOff and LevelControl commands to

That said, I’m another strong +1 for Home Assistant support for Matter Bindings. They’re almost an absolute requirement for me to have smart bulbs in the house. It would be amazing to have a UI support Matter Binding.

1 Like

Thanks for those WS messages, @lboue .

@EyeBrowse I just wrote a script to do this and put the details over here: Matter Bindings [script] Hope that helps.

1 Like