iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Can't pair Matter device (works on HomeKit)

Open c10l opened this issue 1 year ago • 0 comments

iOS device model, version and app version

Model Name: iPhone 15 Pro Software Version: 17.3 App version: 2024.1 (2024.535)

Home Assistant Core Version

2024.1.6

Describe the bug

Initial pairing of Matter device fails.

The same device pairs fine via Apple Home, everything else being the same.

This is a Meross MSS315 Matter over WiFi smart plug.

To Reproduce

Plug device in, factory reset by holding power button for 5-10s. Open Home Assistant companion app, go to Settings -> Devices & Services Press + Add Integration Select Add Matter Device Scan QR code on device Press Add to "Home Assistant" Wait until it fails

The flow on Apple Home is similar, though the button reads Add to "Home" and it actually works.

Expected behavior

Pairing works and device is added to Home Assistant.

Screenshots

73619C9E-292D-4B8D-B69F-685A1D950339_1_102_o 818133EC-FDC2-4B53-8AA2-9C17FBA8F1DC_1_102_o 6E875A41-3FBE-4D9A-9DDE-0D3FA64A9BC4_1_102_o A89C2302-D3A7-424F-A956-91865D238597_1_102_o

Additional context

The only relevant log I found after exporting the app's logs was this:

[Error] [com.apple.root.user-initiated-qos.cooperative] [MatterWrapper.swift:53] commission > Matter pairing failed: Error Domain=com.apple.MatterSupport Code=1 "(null)"

There are no logs on the Matter Server add-on outside of the ones that happen when the server is brought up.

The device doesn't even get to the point where it tries to connect to the WiFi. This was verified by tailing hostapd logs on the access point / router.

c10l avatar Feb 05 '24 18:02 c10l