Power plugs can't connect to Thread network (SkyConnect + Thread + Matter)

I have installed the following AddOns:

  • Matter Server
  • OpenThread Border Router - here you have to select the SkyConnect stick under Device

The following are installed under Integrations:

  • Matter
  • Open Thread Border Router
  • Thread

Restart Home Assistant once after installation.

You need the following information for web socket communication:

  • Settings → Devices and services → Thread → Configure → press the “i” symbol → Active dataset TLVs: 0e080000000000010000000300000f35060004001fffe00208e34cb63b988011600708ed1dd37a69db4a4d0510f34b8d065cf2fd3cb2bbdd3551b94ca4030e686f6d652d617383697374616e740152bf9f0410f2c39e3949ca653fab5ca0b1dd3740b20c0402a0f7f8
  • Matter Device Code from the sticker on the Thread device: 3283-601-5270 the hyphens must be removed
  • IP-Adress of the Home Assistant Host
    Settings → System → Network → Network adapter: 192.168.178.11

To send something via the web socket, I used the Chrome AddOn Web Socket King Client is used and the Chrome Browser. Postman or similar tools also work in a very similar way.

Start the corresponding tool in my case Web Socket King Client in Chrome.
The top input line (to the left of Connect) should contain the following:

ws://192.168.178.11:5580/ws

(our determined IP address + port)
Press Connect

The message to be sent is entered in the field below:

{
    "message_id": "1",
    "command": "set_thread_dataset",
    "args": {
        "dataset": "0e080000000000010000000300000f35060004001fffe00208e34cb63b988011600708ed1dd37a69db4a4d0510f34b8d065cf2fd3cb2bbdd3551b94ca4030e686f6d652d617383697374616e740152bf9f0410f2c39e3949ca653fab5ca0b1dd3740b20c0402a0f7f8"
    }
}

The determined Active dataset TLVs are entered here (the long character string).

Press Send

Replace the code from just now with the second message in which the Matter Device Code must be sent:

{
    "message_id": "2",
    "command": "commission_with_code",
    "args": {
        "code": "32836015270"
    }
}

Press Send

The OUTPUT window should then display a message with (or similar):

{
“message_id”: “2”,
“error_code”: 0,
}

The new Matter / Thread device should appear immediately in the Home Assistant.
Settings → Devices & services → Matter → 1 Device →

2 Likes