I have a questions about pairing a matter over wifi device with the matter-binding without the use of Google Home or someting else. As far as I know the process of matter pairing starts with bluetooth. When I try to pair the device with “Actions” → “Pair Matter Device” and take a look to the trace log of the binding I can’t see that bluetooth is used. Also when I start btmon (Bluetooth monitor) on the openHAB Server I can’t see something happens.
Is something wrong in my configuration of the matter binding or is there another way to pair the device?
What is the best practise to pair a matter over wifi device with the matter binding? As I said I don’t want to use another hub.
ipv6 and mDNS should be ok, at least that’s how it looks with avahi-browse. The device code is printed on the device and, of course, the device is in pairing mode.
What do you mean with “OH server matter add-on”? Do you mean the matter binding? I used the binding action “pair matter device” and got the response “No device discovered using identifier …..“
My approach to troubleshooting was to check if the fault was with the bluetooth part of the pairing or the ipv6 part. Because I had read that the first step in matter pairing is bluetooth and then wlan or thread. Furthermore, the device is announced via Bluetooth during pairing mode.
So I thought the matter binding talk at first via bluetooth with the device.
The first step with Bluetooth is to exchange the Wi-Fi access data. When the matter binding don’t talk via bluetooth to the device I probably have to use another tool to bring the device into the wlan. And then the binding might be able to find the device.
I have a Brennenstuhl WA3600 XS03. I think it will work just as well with the app from Brennenstuhl.
But it is just another acount you have to sign in.
My goal was to do it only with openHAB.
That was my first thought too. But I think that only works if you have a “virgin” device and have the originally matter-number from the device and to scan at the first use (plug in) of the poweroutlet.
In my nous app there is a function to share the device with “third-party-users”(OH). If you use this function, you get a matter-number which is valid for a while (mine gives you 5 minutes) to link to your system by pairing. I only need it for (re-)generating this number. (perhaps you have a “dummy-e-mail-address” for such purposes)
I didn’t find another way, although I tried a lot of possibilities.
My setUp:
.things:
Thing matter:controller:01 "Matter Controller" @ "Arbeitszimmer" [nodeId="0"] //controller
Thing matter:node:01:nousa8m01 "Nous_A8M" (matter:controller:01) [nodeId="generated by OH", pollInterval=1800] {
Channels:
Type wifinetworkdiagnostics-rssi : 0#wifinetworkdiagnostics-rssi
Type onoffcontrol-onoff : 1#onoffcontrol-onoff
Type electricalpowermeasurement-activepower : 1#electricalpowermeasurement-activepower // manually added - do not work
Type electricalpowermeasurement-activecurrent : 1#electricalpowermeasurement-activecurrent // manually added - do not work
Type electricalpowermeasurement-voltage : 1#electricalpowermeasurement-voltage // manually added - do not work
}
I managed to integrate the Switchbot smartlock with the Switchbot Matter hub, but I had to use the Switchbot app to do the initial setup, connect it to the Wi-Fi, and enable the Matter protocol.
Once the device was connected to Wi-Fi, I was able to pair it from Openhab.
Openhab probably still lacks the initial setup step via Bluetooth.
I believe that’s the case for you, but I can’t really explain it.
Because the usual process for pairing Matter over Wi-Fi devices, as far as I know, is that the Wi-Fi access data is transmitted via Bluetooth, and only then can the device connect to the local Wi-Fi network and be discovered by the Matter controller.