Configuration Unifi for Matter

Try this firewall rule

Hello everyone,

I’m having an issue adding Matter and Thread devices to Home Assistant and wanted to check if anyone else has experienced something similar or has an idea what might be causing this.

Setup:

  • UniFi Cloud Gateway
  • Multiple VLANs configured
    • iPhone / clients: VLAN 10
    • Servers: VLAN 20
  • Home Assistant is running virtualized on Proxmox and is located in the server VLAN (20)

Problem:
When I try to add Matter or Thread devices using the Home Assistant app on my iPhone (VLAN 10), I initially see “Connecting” followed by “Configuring”. After some time, the process fails with a message saying that the device could not be added.

I have already created the firewall rule described here (mDNS / required ports, etc.).

Observation:
Adding devices only works if I use an SSID that is also assigned to the server VLAN (20) — in other words, when the iPhone and Home Assistant are in the same network.

Questions:

  • Have you seen similar issues with UniFi + VLANs + Matter/Thread?
  • Could this be related to mDNS, specific ports, or Matter onboarding in general across VLAN boundaries?
  • Are there any additional UniFi or Home Assistant settings required for this scenario?

Thanks in advance for any hints or ideas! :raised_hands:

Best regards,
Anthony

May be look at this

Having different VLAN will not work.I think it’s possible if you know well what to do under unifi to specify rules etc. As I’m new in Unifi, I don’t know already how to achieve this.

The IPs+port can be found under HA - system - network - zeroconf browser.
Under unifi, I disable IGMP snooping which was a game changer for stability.
Under HA, I activate the beta of the Matter server add-on (which is better than python version)

Still no joy here. Just getting a ‘spinning wheel’ trying to add my matter devices.

I have:

Checked the Home Assistant network settings - IPv6 set to automatic.

Applied UniFi IPv6 settings - as posted previously

Also checked that Multicast DNS and IGMP Snooping are unchecked

Deleted and re-installed the matter integration

Re-booted Home Assistant

I am currently running the Matter App (previously add-on) version 8.2.2.

Home assistant is at version 2026.2.0 (running on Proxmox)

I see this in the logs (though I don’t know what this means):

2026-02-07 13:50:20.833 (Dummy-2) CHIP_ERROR [chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33
2026-02-07 13:50:54.583 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:48059i with Node: <0000000000000000, 0> S:0 M:184171204] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2026-02-07 13:51:02.684 (Dummy-2) CHIP_ERROR [chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33
2026-02-07 13:51:32.839 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:48060i with Node: <0000000000000000, 0> S:0 M:184171205] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2026-02-07 13:51:44.534 (Dummy-2) CHIP_ERROR [chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33

Turn them on:

image

Mine works.

1 Like

Great… that was it… Thanks mate.