#thread-archived
1 messages ยท Page 10 of 1
does thread not auto configure those creds?
and there should be some options with default thread network and so on
The thread credentials in our Matter add-on are only necessasry when we do onboarding from our Matter Server directly. But that is not exposed the user interface currenlty.
So when i click configure on the thread ad-on
i see Prefered network > Home-assistant, Other networks => OpenThread-c9d1 => 1 border router
when i click the 3 dots in the corner, i see download diagnostics, add dataset from TLV, add an openthread border router
thats it
i can see mine are also not set. Thought they still would sync though
So, the way Matter comissioning works with Google (roughtly)
- Your phone connects via Bluetooth to the device
- encrypted PASE session is established (using QR code/pin)
- Your Google phone sets up the Thread network on your device (presumably, in your case, the Thread network information have previously been shared via Home Assistant Thread credentials sharing)
- Your Google phone adds your device to a temporary Matter fabric
- Your Google phone tires to communicate with your device through Thread to establish a CASE session
- Your Google phone shares the device with Home Assistant
I guess step 5 fails in your case. The Matter server is not in the picture at that point.
I think the problem is that the preferred network is another one than the one configured on the otbr
i think its failing to set up the thread network on my phone
Aren't there also still some problems with changing the credentials after they have been synced once?
That kinda/sorta sounds like the Thread device can't connect on a Thread network level? ๐ค Thread credentials missmatch? ๐ค
posibly
The thing is with the Google Play store Thread network API's is that once a preferred network is configured you can't really change it on your phone. So maybe credentials from an earlier attempt are stored? On your phone, when you go to Settings > Companion app > Troubleshooting > Sync Thread credentials, what is it saying?
i think he first needs to set the preferred network to the one of the border router
its just stuck on Syncing
oh wait it said updated now
Your phone named it right in the error no? So sounds as if the phone does try to add your Thread device to a Thread network with the name "glacier-thread"
That is bad ๐
Try again, it says updated again, correct?
I don't mind. But yeah I know the problem ๐ข
whats the problem?
Yeah I have superpowers ๐ ๐
Once sec..
I tried to find references to Google sample code, but couldn't. In short, the problem is that changing the Thread credentials don't work.
What you can do is sestting the one you uses on your phone as preferred in Home Assistant (double check until you get that "uses the same network" above)
If you don't have thoses credentials (anymore) or somehow the compare just won't work, you can reset your phone, but it has side effects.
Reset as in factory reset? or just HA?
The Thread network credentials are stored as part of "Google Play Services"
Not it is possible to delete data specificlaly. Go to Apps > All Apps
Find "Google Play services" > Storage & cache > then select "Clear storage"
It will clear out things like your credit cards in your wallet
(I discovered that once next day standing at the checkout in a store ๐ )
that shoule be fine
all of my banks support wallet integration its easy to reconnect them
I think I also had to uninstall and reinstall Home Assistant App when I tried it back then. YMMV
Just make sure before you sync the first time, that the correct Thread crednetials are set as preferred on Core side ๐
yeah thats the next thing
thankyou @sick swan problem resolved. google play was caching a previous version of the thread credentials.
now to figure out why my nanoleaf bulb dosent like my thread network
:grumble:
they have a problematic fimware
just try a few times
just says Can't connect to your device, Check you device instructions.
they close the commissioning window after some time, maybe you just need to power cycle it.
who does that 
all matter devices
interesting
also still no dice
power cycled it and it dosent want to work
as in connection mode power cycle
5 on /off cycles in 3 seconds each
flashed red
yeah thats whay i did
That isually indicates that the device is ready and in pairing mode
as in, advertises via BLE
yup, i get the notification that the device wants to pair
it asks to scan the qr code, i scan it and it blazes through the whole process
just to show cant connet to your device
check your device instructions
So the error you had before was earlier?
I mean the one even earlier
about not beeing able to connect to Thread network. That one was earlier right? So it seems to connect to the Thread network now?
yeah, it seems to connect, but then something happens it it just falls over
You can check on the OTBR if the device appears (using ot-ctl child list)
There are are also some caveats with OTBRs (see https://github.com/home-assistant-libs/python-matter-server/#requirements-to-communicate-with-thread-devices-through-thread-border-routers)
I guess the device goes back to pairing state... You have to check continously during commissioning if it appears (and then disappears again)
ok
just double checking, these sysctl changes need to be made to the border router?
net.ipv6.conf.ens18.accept_ra_rt_info_max_plen=64
net.ipv6.conf.all.forwarding=0```
i added these 3 lines
the network interface for the lan side is indeed ens18, i doublechecked
๐ค
I think its for the "other side" (so the device which want to communicate through Thread.
Any case, it shouldn't hurt.
yeah it still didnt work
I think what I would try here is shutdown your OTBR, and install the OpenThread Border Router add-on. This really should work. Since you have the credentials in the store, it should be straight forward to configure the Add-on OTBR with the same credentials.
ok, how can i back up the creds so i dont have to do the whole google play dance again
@sick swan if you have a second
They are in the HA Thread storage now
ah ok
so shut down the current otbr vm, then how am i attaching my coprocessor to ha? just plug it in and hope home assistant recognises it?
It won't autodetect
You'll have to install the "OpenThread Border Router" add-on from the add-on store and configure to use the serial port your nRF dongle is exposing (I think /dev/ttyACM0 by default)
instead of a url to an api like i have right now?
The integration should get autodetected when you sstart the add-on
But you'll have to deletee the one you have now
ok
no openthread border router adon, do i need hacs
HACS is not needed
i dont see any openthread addon
found the repo
but it isnt showing up in my home assistant instance
found it, had to enable advanced mode
how can i access the HAOS bash console?
You can get access to the OS shell via port 22222, see here https://developers.home-assistant.io/docs/operating-system/debugging#ssh-access-to-the-host
Do note the warning there though ๐
No route to host? How do you access the web interface then?
did you setup the ssh keys as documented?
yeah
but its not important right now
ok
otbr addon has been started
logs look good
thread has picked up the openthread border router hass plugin too
still no dice
Same error? On the phone?
yeah
Hi all.
I have an issue with setting up thread
everything seems to be ok, but when I try to add a device I get can't connect to thread network home-assistant.
I am using usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230830091610-if00 as a device with Openthread RCP flashed on it.
That's pretty similar to what LiteLotus was just looking at. should read up the past couple days of chat here
the strange thing is today I've set it up just fine on HA yellow
now I'm trying on my other HA instance ...
for me that issue ended up being the credentials saved in the comissioning device were incorrect, if your bridge hasnt changed and/or you havent set up your thread network again since, it might not be that
but the conversation chain above will at least give you some places to look
im still having no luck with my device
im tempted to throw in the towel for now and take a break
yeah then your credentials will be incorrect
But same phone to commission with?
youll need to reset you google play services
yeah
it is connected to another HA instance now
yeah
the credentials get stored on the device for commisioning
when the thread network changes, the credentials dont
causing a mismatch
even though it is completely different HA instance ?
yup
just be aware, resetting google play services causes other things to become invalid, like google wallet cards
and some bank apps
I can try from an iphone?
but yeah, clear both the cache and storage from your device
you should be able to
as long as that iphone hasnt been used to commision thread devices
it was not
then gove it a go
does iphone have support for that?
yeah
trying now
uses homekit over thread, so i would assume it would be able to use matter
yeah if it dosent detect the border router, your out of luck
trying to clear GPS
now it says Matter is currently unavailable
should I reboot the phone ?
reboot it or give it a while
thread is stored in GPS if what i understand is correct
so it will need a sec to rebuild / replace it
what if it gets it from the cloud with the old creds?
as long as that old border router dosent exist anymore, neither do the creds
then there are no creds to grab
waiting for it to reboot or be available again ..
you'll also want to sync your HA thread network again
how ?
go into settings > companion app > troubleshooting> sync thread
in the home assistant app on android
lets see
it seems to hand at the same place
otbr-agent[176]: 00:00:32.731 [W] Platform------: [netif] Failed to process request#6: File exists
otbr-agent[176]: 00:00:25.571 [W] Platform------: [netif] Failed to process request#5: Operation not supported
is this normal ?
no clue, thats a question for someon with more knowledge than myself
one more thing
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::e859:52ff:feb4:8de5/veth18db442/35
is this normal ?
I think it is related as thread needs ipv6
managed to do it
comissioned directly from HA
follow this guide with the websocket stuff
basically this is what you need
and it wors
this is the 1st one you need
var socket = new WebSocket("ws://192.168.30.128:5580/ws");
socket.addEventListener("message", (eventa) => {
console.log("Message from server ", event.data);
});
socket.addEventListener("open", (event) => {
console.log("WebSocket is open");
var message = {
"message_id": "1",
"command": "set_thread_dataset",
"args": {
"dataset": "0e080000000000020000000300001435060004001fffe00208cbde9f033aa599b30708fd2ddd645495f0b2051007993e3ad39a91be7b2ebd7594af046a030e686f6d652d617373697374616e740102b1830410b3961d49319d749942263146b2d6aba30c0402a0f7f8"
}
};
socket.send(JSON.stringify(message));
});
replace dataset with yours
and also address
var socket = new WebSocket("ws://192.168.30.128:5580/ws");
socket.addEventListener("message", (eventa) => {
console.log("Message from server ", event.data);
});
socket.addEventListener("open", (event) => {
console.log("WebSocket is open");
var message = {
"message_id": "2",
"command": "commission_with_code",
"args": {
"code": "1261-990-9698"
}
};
socket.send(JSON.stringify(message));
});
here you replace address and code with pairing code of the device
@patent nymph Please use a code share site to share code or logs, for example:
- https://dpaste.org/ (select YAML for the language, and consider picking a longer expiry)
- http://pastie.org/ (select YAML for the language)
- https://paste.debian.net/ (you guessed it, select YAML as the language)
Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.
(rather than flooding the channel ๐ )
@tribal knoll do you have more than one networks at home ?
no, i could if i wanted tho
I've managed to add it with the phone also
just needed to be on a wifi which is in the same subnet
I think you're dealing with nanoloeaf essentials as well ?
did you try the websocket method ?
not yet
would you mind taking me through your method
i know you posted the code above
buti dont want to make any mistakes
just replace the urls with yours
and the dataset
you can get it from the thread i button
that url is for the thread border router?
no
for Matter Server
and for it to work you may need to enable the port in the configuration of matter server
also do you use multiprotocol or strictly matter ?
can you open http://your-ha-ip:5580/ws
?
also do you enable ipv6 on the interface of HA ?
yup and yup
because this is more importand than the sysctl thing
paste what you get in the browser
should be something like this
{
"fabric_id": 2,
"compressed_fabric_id": 7383086655979279088,
"schema_version": 4,
"min_supported_schema_version": 2,
"sdk_version": "2023.10.2",
"wifi_credentials_set": false,
"thread_credentials_set": false
}
oh yeah, just use the console
i keep forgetting every browser is a js engine
if i do it in the browser console, it tries to upgrade the ws to wss
from the console
you should try only this
var socket = new WebSocket("ws://192.168.30.128:5580/ws");
socket.addEventListener("message", (eventa) => {
console.log("Message from server ", event.data);
});
to get any result
replace your url
yeah i replaced my url, but it comes back as failed because it ends up trying to connect via wss instead of ws
blah
Hello people ๐ !
I have a request of help
From an Android phone with the home assistant companion app, I try to add the Matter device Smart Plug S4EU (Matter over Thread) from ONVIS : https://www.onvistech.com/product_details/S4EU
But I have failed to generate device credentials error
This home assistant companion app is connected to a a Home Assistant Supervised with the enabled plugins Silicon Labs Multiprotocol, Matter Server, Zigbee2MQTT, Open Thread Border Router and Thread
I have this logs for :
- Silicon Labs Multiprotocol: https://dpaste.org/gV2TT
- Matter Server: https://dpaste.org/tKW0i
I use a ZBDongle-E flashed with the Multi-PAN (RCP)
Only my phone has Bluetooth enabled
My phone and my computer share the same wifi network
Do is it a problem with my device? Or with the Matter Server which is perhaps not yet ready?
Your help will be appreciated a lot
I was just going to ask the same question. The option is there in today's release to add them, but I keep getting "You don't have credentials available on your iCloud Keychain" after Error Message: Failed to retrieve all active boarder router records.
I have a Skyconnect...just want thread not zigbee. How do I flash the proper thread only firmware?
@patent nymph be aware that the route you are advising here is experimental and hidden for a reason. It will require bluetooth on the HA host as well as the device to be commissioned ion close range of the bluetooth adapter. It will also break the bluetooth integration of HA. Just keep that in mind while walking this experimental route. There is a reason we have not yet exposed the websocket commands.
For now I highly encourage you to just use your Android phone for Matter device commisioning instead of hacking around your way around the websocket api.
@pliant badge see the Matter channel's pinned post first please, you have several red flags in your setup.
Just install the OpenThread Border Router add-on from the add-on store
Thank's, I will
@spring bramble ok I want to try apple credential sharing, but do NOT want HA as a OTBR.
Do you actually have any Thread border routers from apple in your home ? Such as the apple homepod mini, ATV 4K or Homepod gen 2 ?
Ah, in that case I think you just can press the button and that's it.
I have 4 homepod mini's, 1 appletv with thread and 4 appletvs without thread.
ya I get the credential error too
I haven't this redflag: #matter-archived message
Use the HA Companion app on iPhone or Android to commission a Wi-Fi based Matter device (using the phone to do the bluetooth commissioning to te device).
Is it exactly what I trying to do
Please, do can you point out to me what redflags you see on my plan?
Supervised --> NOT supported
ZB Dongle E --> Not officially supported
MultiPAN --> Unstable, not recommended
Thank's ๐
Maybe just fire up a VM with HAOS and try to reproduce the issue there ?
thats a good point
how unsupported is my setup?
HAOS in a VM with a nordic nrf548xx dongle
im running OTBR as a home assistant addon now
Not supported does not mean it could potentially work. It just means we might ask you to reproduce something on the supported installs if you run into issues.
has anyone had a "cant reach device" error?
says make sure that you are connected to wifi
this one is new
and I was all excited for Apple credential sharing....then it's broken LOL
now im back to "cant connect to your device"
this time i tried doing it through the nanoleaf app, but even though it says its connected, nothing else can see it
dosent show up as a matter device on HA, nothing in google home
nada
just says its connected in the app
even though it isnt
ngl, starting to feel like nanoleaf scammed me
Could just be the pairing window closed
i would agree if i hadnt just reset it
literally came up with the connect matter device window and i clicked add device
its clearly broadcasting
im going to bed, ive had enough of this
see you tomorrow probably
I have a supported config with 20 or so NL bulbs and it doesn't work anymore either if it makes you feel better lol
ok, now im really pissed, i tried it from my GF's phone just to see if there was any difference AND THERE WAS!
it got so much further and then after saying "adding device to home assistant" it just hangs there and eventually says "something went wrong"
and prompts me to close the matter connection
inconsistent, lacking docs and most importantly impossible to debug. this is infuriating
On it
@spring bramble Whenever this get merged we can give it a try again:
https://github.com/home-assistant/iOS/pull/2473
Would be much better if there was some information about what parts worked and what didn't and what to test. Maybe need some sort of test functionality in the HA companion app
are we able to add skyconnect thread radio to hass yet?
No, technically you can but it is very experimental and according to some very frustrating so my short answer is no.
There is information: that you need to wait. If you insist on trying this out already (while it is not yet ready) you are on your own. We keep telling everybody that the way to use Thread based Matter devices TODAY in a stable fashion is by using existing Thread border routers by Apple or Google. In the meanwhile we're working on getting HA itself working reliable in all paths to act as a fully functional BR but we're not there yet.
I think you should just tone down now as you choose to ignore multiple comments that you are trying to do something that is not yet ready. So choosing that path means that you are confronted with missing docs, unsupported configs, unreliable stuff etc. etc. Its a consequence of the choice you made. If you want something stable/working today, pick one of the documented and tested routes.
Hi all, Iโm looking to add an eve energy plug to my setup and understood that energy metering is now supported. Does anyone know how often changes are reported by the plug?
every 30 seconds and quickly after toggle of the relay
btw: this is the thread channel. use the matter channel for matter related questions
Thanks Marcel! Wasnโt sure if I should have asked here or in the matter channel (as the plug talks thread), but will use matter channel in the future. Thanks again!
The plug "talks" matter over the "thread radio" ๐
Learning every day ๐
I know that, just at that point there was no other way. For some reason it is working fine with phone now, but this route is useful for troubleshooting though.
Just to be sure:
The only real tested route at the moment is using an external OTBR, right?
Since I fail to get my Nuki 4 via SkyConnect on HAOS to work, I'll probably buy a nest or sth for the moment. I thought my setup was already a supported solution when I bought the Nuki ๐
Yes, that is the most stable and tested route. We're still working on using HA as OTBR but it is not yet considered stable and has a few downsides. In january we'll do a blog update about the current state and the roadmap. Still, if we even can get the thread radio working reliable within the HA server, a thread border router in the neighbourhood of your devices (like a nest hub or homepod) is always going to perform better, especially if you have multiple of them.
Do note that there is no requirement to actually add your devices to apple home or google home. We can just use the network infrastructure and only add the devices to HA (so they're not shared with google) - you just us etheir hardware for the thread access
Thanks for clarifying that, wasn't sure if I have to share my devices with google.
Since you also use this smart lock, do you know if a Nuki Bridge can act as OTBR (at least for the Nuki)?
No, the Nuki bridge is just for bridging bluetooth to wifi, notheing else/more
@spring bramble what is the most compatible/reliable hub for thread/matter ?
your right, i let my frustration get the better of me, thats my bad
apple, apple, apple, apple, apple
that is if you have ios
and pockets full of money to burn, but thats typical of apple honestly, reliable and well built but hella overpriced and cult like
which apple deivce ? Home Pod ?
Homepod mini is the most reliable in my experience
so the mini supports thread/matter ?
ya
No worries,we all have that sometimes.
I agree, I picked up some homepod minis rather cheap second hand on ebay and works like a charm. In my experience also better than the google nest hub which seems to be unstable from time to time
I have a Home Pod 2023 model (not mini) laying around does it also work ?
ya
Yes a Homepod 2 you mean ? That works
all currently on market homepods support thread, and therefore are a matterhub
The Google Nest Wifi Pro also had thread bodrer router builtin which is interesting
Also Samsung is releasing products with the BR builtin such as their latest TV and soundbar
In a few years you have BR's spread over your house and have a super redundant thread network. If only all these vendors could inter operate so instead of 999 thread networks they form one
would be good if thread br's could act as relays instead of trying to be their own network
the reason I went the HA route was that I have full control over the setup
oh you will, just not yet
I have fixed all the issues I've had, so currently it is working just fine ๐
So just a word of warning for those that have NL shapes, the latest update says it improves the border router, well that's a lie. It completely destroyed my thread network (couldn't even add devices anymore). After reconstructing part of it and doing some testing, it's really causing problems routing (lots of case errors). Avoid 9.3.2 firmware, or better yet never connect it to your thread network if possible
Where are the patch notes? Iโm yet to see anything?
I have updated, but itโs seems alright atm
ah ok is there a written guide on adding thread homekit devices (like eve switches) to HA using border routers such as the apple tv?
Hey thread credential sharing is still broken with the fresh 2023.488 build. It's stuck in a loop asking for home network access (which I allow, and is allowed in settings), and the 'failed to retriece all active border router records" message.
I have to force quit the companion app to get out of the loop
found the homepod and also found one mini
so how to add them to HA to be used as border router ?
no, that would also require exchanging credentials and would mitigate one of the biggest advantages of thread.
is it really that hard to just switch from acting like a router to acting like a client?
apples threat shit is not working good as well ๐
when I add something it stays in no responce
state
but why? If you have the credentials you might just as well just be a router
@patent nymph Apple border routers are rock solid. If you are seeing unresponsive devices then it's probably your network or faulty firmware on the device (like nano leaf).
I have two Apple TVs which are my border routers and Matter on HA and in the Apple Home app are rock solid. I have 20 thread/matter devices.,,
@patent nymph Check out my 3 part series on Thread/Matter/HA: https://www.derekseaman.com/2023/10/part-1-smart-home-matter-and-thread-deep-dive.html
maybe
yeah fact that it is a nanoleaf device
but it does not work
with apple can I use home assistant to add devices or I have to go via the home app ?
mine is a nanoleaf too, and i just cant get it to connect
I was able to connect mine, but not to apple homekit
to HA with Sonoff stick flashed for thread only
and now with the Downlight it is the same
again nanoleaf
it pairs with Apple Home, but it is shown as not reachable
i just restored the setup with HA+OTBR+Sonoff Dongle Plus V2 and after waiting like 20-30 minutes for everything to settle I was able to add it no issues ...
and it works
Nano Leaf firmware is currently garbage. I don't have any NL devices, but it's widely known they suck. Beta firmware is in the works, but nonone knows when it will drop and if it will be stable.
sure it seems so
because it resets the light when turned off from power ๐
but it is working with OTBR and not working with HomePod ๐
i don't know the range of the homepod though
but the HA is further away than the homepod and still works just fine
lol, i cant even get mine working with the otbr
"something went wrong"
and then i check the matter logs and i see this
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 188, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 230, in commission_on_network
raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission on network failed for node 12023-12-07 14:06:32 core-matter-server matter_server.server.client_handler[126] ERROR [139790075868240] Error handling message: CommandMessage(message_id='4df5545060164f8bbd35872618729f9c', command='commission_on_network', args={'setup_pin_code': 74287396})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 188, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 230, in commission_on_network
raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission on network failed for node 1
2023-12-07 14:06:32 core-matter-server chip.CTL[126] ERROR Mdns discovery timed out
how far is it ?
strange
have you tried to start from scratch on the HA side ?
remove everything thread related and install and configure
I havent, but I can try
try
I did this at least 20 times
until it started working properly
remove also matter stuff
anyone got info on this? im new to hass
I updated the latest iOS beta, can someone test if you can retrieve Thread credentials now?
@old niche Test flight hasn't noticed the new version yet
Do you see 2023.12 (2023.488)?
yes I got that notice a couple of hours ago
So in this version you still donโt see your credentials? It should have a permission dialog too now
as mentioned above (in the iOS channel) I'm in an endless local network access loop with .488
someone else echoed they see an endless loop too
Sorry I missed your previous message, Iโll check that
it's like the companion app isn't correctly recognizing it has the local network right
Thatโs weird, we donโt directly ask for that, we use the ThreadNetwork framework to ask for credentials, so it may be a bug there. Anyway, Iโll be back when I have some news
When you say โloopโ you mean that you are tapping โretryโ right? You can still get out of the screen if you donโt tap retry, correct?
ya allow/retry loop
in settings-> privacy/security the HA app has local network permission
Iโve been out of the loop on thread development for the past few months
Is there a way to join a Sky connect to the apple thread network yet?
@rapid umbra well the 2023.12 iOS app has that feature...but it's currently broken
BUT, it's only credential sharing. That's separate from being a border router. That's still not production ready
I hope @old niche is able to fix the credential sharing in short order. The code is there..just hit a snag. So maybe in the next few days it could work?
something weird just happend
as my thread network was working just fine suddenly it stopped
and now all devices are not available
otbr-agent[417]: 00:01:46.790 [N] MeshForwarder-: Dropping rx frag frame, error:Drop, len:96, src:0x4c00, dst:0xd000, tag:57451, offset:688, dglen:1070, sec:yes
this started appearing in the logs
nanoleaf is able to extract your thread network credentials. Maybe look at the entitlements they have
We have the same entitlement, the issue lies on Apple's API, there are more people facing similar issues:
https://developer.apple.com/forums/thread/718467?page=2
Currently the API succeeds consistently on my devices, now I'm trying to find out what problem can it be that it doesn't succeed for other iCloud accounts.
I setup an iPhone 11 from scratch and I was able to successfuly retrieve credentials
Any volunteers to test 2023.12 (2023.490)?
Yep... .490 is working for me
I was able to import credentials after hitting the "Allow" prompt
I can re try later today
.490 worked here where as the previous version just looped as others reported
So with a skyconnect and credentials, not using HA OTBR , will HA talk directly to the thread network via IPv6 on the skyconnect?
I think skyconnect is not even needed if you already have a BR from apple but @spring bramble can confirm how it would work
testing after a minute
worked for me as well
but now what ๐
i changed the BR from apple to default one
will see now
Its also working for me now on a 12 Pro with 17.1.2 and a 14 with iOS 17.2
https://ibb.co/Tmc2RfH
Thatโs a satisfying view ๐
Let me know if one of them tries to fight the other for first place on that list
And if devices jump off the ship waiting for there life vests
They are both in the same network, so I donโt think that matters
And I have been running this for I think over a month now
Without problems
That was the same with my Skyconnect and it was always swapping places
Has the google ever been first on that list when you check?
yep I've managed to add a device to HA without OTBR via the iphone HA app
it seems to work great, don't know why the HomeKit app does not work with this lights but HA works just fine
It is now, but I donโt think that this has any relevance
Gotcha, im just trying to understand it better.
ok
uninstalled all the addons, and deleted the services
im gonna go for a from scratch reinstall
see if i can get this working
Installing OpenThread Border Router. configurations are set to /dev/serial/by-id/usb-Nordic_Semiconductor_nRF528xx_OpenThread_Device_F498ED3EBA87-if00 for the device, Baudrate set to 115200. log is set to debug.
Harware flow control, and firewall are enabled, autoflashing is disabled.
thread and matter integrations got autodetected immediately, enabling them.
matter integration auto installed the matter addon.
(resetting GPS while i wait for those to install)
Matter integration errored during setup. Invalid flow specified.
debugging
using Matter 5.0.1. appearsto have installed fine, checking log
some data appears to have persisted. removing and attempting to clear.
Adding Matter again
again, Invalid flow specified.
seems to have installed correctly, logs are fresh, no persisted data
(logs have been set to debug)
syncing thread settings, and factory resetting bulb and attempting connection
bulb broadcasting, Thread credentials synced. attempting to connect
wish me luck
Disregard, getting a Matter is unavailable notification on the commissioning device.
getting nothing but matter is unavailable.
restarting home assistant
starting the whole process again. going to do the same settings
got the same matter message, switching it to the beta, see if i see any difference
the error with the flow is somehow "normal"
mine works just fine with this error
is there somewhere a thread network map like Z2MQTT where you can see what is connected to what ?:)
there is one in the OpenThread Border Router application
however its disabled by default
not using it anymore
taking the "non nuclear but still in the megatonne range option" of reverting to a post install backup of HA.
nvm, tsar bomba being released. full home assistant reinstall incomming
there is something wrong with your network
wish i could figure out what.
after a fresh re-install of home assistant and doing nothing but setting up matter and thread, im getting Matter is not available when i try and add a matter device
before the update to 5.0.1, i could bring up the commisioning system but since the update thats all i get.
how could i fix it if it was?
factory resetting it is what i went with
gonna give that a try
do you have another phone to try
this is the second phone
interesting, that didnt happen the last couple times i reset gps.
ill try again in the morning
couldnt wait, had to try the factory reset, same message
๐คทโโ๏ธ
It always did that way, the credentials import into HA is only needed if we want to join other BR's to the existing Apple network. Adding the SkyConnect to the Apple network is something I won't yet recommend due to fact we do not yet support TREL and Apple does. So unless the SkyConnect sits in a much better place towards your devices than your Homepod(s), I wouldnt use it yet for Thread if you have an existing Thread network from Apple
Yes, in a year ahead or so. All that stuff is on the wish list but we have limited capacity so it will take time to implement
What are the reasons that HA does not already support TREL? Itโs only one command on the command line, if I remember right... Are you afraid that it impacts functioning Apple or Google Thread setups? With Thread 1.3.1 TREL gets mandatory, whenever that version comes to production. ๐
Itโs just timeโฆ on the backlog to implement. I think weโll get there soon
Ok, thanks for the information. ๐
This channel is meant only for questions related to the Thread radio protocol. Please use #matter-archived for anything else that matters. ๐
I have a HomeKit Thread QingPing sensor. When i try the usual install procedure (add to Apple Home, remove accessory, add into HA HomeKit Devices integration, it says the device is already paired. The device pairs with BT then Thread; how can i add this device into HA? DEFINITELY not Matter (has HomeKit code)
So some battery powered devices have an unpairing bug. You canโt unpair over thread.
The 2 options are either (a) pairing to Apple home and make sure itโs connected by thread. turn all your border routers off and make sure the sensor is connected to Apple home by Bluetooth. Now unpair. Then turn the Brs back on.
Or (b) apparently there is a beta release of the iOS app that can sync the keys out of iOS.
So if you can do that you pair it directly to Bluetooth in ha
Then there is a button to migrate it to thread
(B) will be preferred when itโs out of beta
(A) should work but making sure the Bluetooth connection is up is very important. When you remove a device from apple home it always โworksโ but I might leave the device in a paired stage. So itโs important to have a connection and to be near it with your phone
The eve app has an โidentifyโ feature which can help
I have a more casual question someone can hopefully speak to. I see references to thread supporting an "unlimited" number of devices, but there's finite bandwidth (250 kbit/s) so how can that be?
Adding more BRs doesn't increase the bandwidth available on a particular thread channel
So with TREL you can actually ease the pressure on the thread channel.
If without TREL it takes 4 hops to get from a BR to your device over the mesh, that means that one packet is transmitted 4 times. If you can reduce the hops, you reduce the number of transmissions.
TREL does that - your BR can re-route packets via WiFi to a much much closer BR so the packet only has one โhopโ on the thread spectrum right at the end.
But i think the answer to your question is likely more boring than that, and that it just means there is no theoretical limit or bound defined by the protocol.
Like the protocol doesnโt require a state table that has an unbounded size to track all peers in the mesh.
Also, unlike fx Bluetooth, thread is not a flooding mesh, so the message is only send to the device that is supposed to recieved the message.
Ahhh ok that makes sense. A few months ago it was paired in HA so it must have been on Bluetooth when that happened.
This device often falls back to Bluetooth after initially pairing with Thread. I have 3 OTBRs (2x HomePod 2nd gen, AppleTV 128Gb Ethernet). The distance from device to nearest OTBR is 15 ft. AppleTV is Ethernet connecting and home hub. What causes the continuous disconnection of Thread back to Bluetooth?
@vapid shell can you clarify the (B) option - which iOS and what is the key swap?
The beta of the HA iOS companion app will have a โsync thread credentialsโ button. That will download the โkeysโ for you Apple thread network into HA.
HA can then push them over homekit Bluetooth to put devices on the mesh by itself
Iโd probably blame the firmware on the device. But if you are seeing that on Apple only itโs not something I have any insight into.
For that device thread doesnโt add much value when you have Bluetooth coverage. Homekit has a pretty good power efficient and fast way to push sensor updates over Bluetooth.
So maybe itโs just decided to prefer it
Looks like belkins thread switches are out now
Any idea if they would work on HA? They talk only about homekit but thread is thread sooo
Otherwise I've got twenty inovelli switches coming to try out
(March)
Ok this worked. Made sure it was bluetooth and unpaired and it worked- thanks
Worked for me on 490 (iPhone 15pm iOS 17.2 rc+homepod2 17.2rc)
But I didnโt notice any changes after the import, I had indirectly shared Apple thread network key (extracted from NL) with HA before and able to use Appleโs thread network as a โpreferredโ
I had been using SkyConnect MultiProtocol for a few months now. I literally only have one bulb (a NanoLeaf). that uses Matter over Thread. A few days ago it stopped working and now I cant seem to be able to add the bulb anymore. I have tried deleting everything and re-adding but for the life of me I always get stuck in the "can't connect to thread network home-assistant check that your device can work with this network type and try again." error.
Where should I be looking for relevant logs to understand why it fails to pair the bulb?
I had nothing but pain with nano leaf bulbs and multiprotocol
Swapped to thread only and it all worked
Bulbs still drop off occasionally but that's apparently a nano leaf problem
๐
I tried that too. I have a total of 6 nanoleaves and not a single one connects. How do I make sure my config is correct? I am using the open thread border router add on that supposedly reflashed the SkyConnect so that it's Thread only.
For support for matter devices use the matter channel please, thanks
Hi all... Hi have a SkyConnect USB dongle.
I would like to install the Zigbee+Thread firmware...
When I try to do it from the web installer:
https://skyconnect.home-assistant.io/firmware-update/
the web installer freeze during the connect process. I see: "connecting" but it never connects
any idea?
What browser are you using?
chrome on two different PCs
Did you get a notification of the website to allow accessing your USB devices?
sure
I clicked connect to PORT9 (the one from skyconnect) and then it shows the "connecting" loader... and it hangs there
Weird. But as far as I understood you don't need to flash it via the flasher. You can configure it from HomeAssistant and just tick the box for using multiprotocol. It will reflash then
I see no options to do it in HA, how can I do it?
Using docker, not HA OS... in any case the web installer should work ๐ฆ
You might need to flash manually then, see here
There's instructions for how to do so
Please make sure to read the pinned posts in #matter-archived before you get too far into this, if you havenโt already. There are some notes on what you are trying and it should help set your expectations on reliability and functional limitations. (You are kinda already hitting 2 red flags from there).
It is Matter over Thread.
Yes but we have a seperate channel for matter. This channel is only for the Thread radio communication itself (and yeah its confusing)
@spring bramble it might be helpful to add some more context to the existing pinned post;
E.g. This channel is for discussing thread communication issues (setting up OTBR in HA, debugging thread communication issues, etc). Debugging and discussion of Matter over Thread devices should be in #matter-archived
Great! But where do users discuss issues/questions with HomeKit over Thread? ๐
Maybe we need more channels and new names:
- Matter (over Thread, WiFi, Ethernet, Bridge)
- HomeKit (over Thread, WiFi, Ethernet, Bridge)
- Open Thread Border Router
IMO we still need only one channel for all. ๐
You forgot HomeKit over Bluetooth :p which is currently #bluetooth-archived
any way to delete an empty Preferred Thread Network? Trying to use the Apple one but run into some problems (see here https://discord.com/channels/330944238910963714/1183359080623001630 )
How do I check what firmware my SkyConnect dongle is running? I want it to be Thread only. I have no zigbee devices.
You can check if you have the multiprotocol addon installed or not.
You can also look in integrations to see if you have ZigBee and/or open thread border router
It's configured with ZigBee only out of the box
I am testing the matter-server and otbr container with a skyconnect dongle for a while now. Dongle is flashed. otbr advertises over mdns. I switched from containers to kvm hassos to have the networking a bit easier. But I wantd to askโฆ is it normal that the advertised port of the otbr is closed?
dns-sd -B _meshcop._udp local shown:
Home Assistant Silicon Labs Multiprotocol #D2C0
and dns-sd -L "Home Assistant Silicon Labs Multiprotocol #D2C0" _meshcop._udp local shows:
.. can be reached at homeassistant.local.:49154 (interface 15)
but the port is not used/listened on.
or in other wordsโฆ is the border router a service reachable via tcp connection or is the traffic for the thread ipv6 network sent directly to that host and the border router has iptables rules to get them?
I was curious and tried this out on my setup which uses the SiLabs Multiprotocol AddOn as the OTBR and ended up with the same results (port not open). I'm by far not an expert on Thread, but my understanding is that meshcop is used for commissioning a device and the commissioner device can be internal to a Thread network (usually BLE is used for commissioning using a mobile device) or external to Thread in which case I think port 49154 would be used by the external commissioner to reach the BR (as Joiner Router) via tcp/ip and the BR in turn relays DTLS session packets with the joining device. Why the port is not open, I don't know. Perhaps its a build option to turn it off so as to only use internal commissioning??
@sick swan did you see this post above ?
In OTBR world, from what I understand, mDNS is mainly used to tell the network that there is a BR and which Thread network it routes to (see all the TXT records). The API of the OTBR itself (e.g. how to configure it etc.) depends on the particular implementation. There is no common protocol on a TCP/IP port. So the port which is announced by the _meshcop._udp service is really a dummy port (see also https://github.com/openthread/ot-br-posix/blob/main/src/border_agent/border_agent.cpp#L77 and https://github.com/openthread/ot-br-posix/blob/main/src/border_agent/border_agent.cpp#L434-L438).
IPv6 wise the OTBR is just like a regular router: It announces the network it is able to route using IPv6 Neighbor Discovery Protocol (particularly the Routing Option) to announce what network he can route. Then IP traffic can transparently flow between the networks.
To on-board a Thread device to the Thread network several mechnism exist. The OpenThread reference implementation has some commissioning logic which I think involve the OTBR itself. But it is not actively used/supported afaik. Matter has its very own commissioning logic which supports Thread. HomeKit has a Thread commissioning flow. Both of these just need a Thread dataset from however operates the Thread border router. Android and Apple iOS have mobile app APIs to get the credentials for their routers. We have our Thread credentials store for that.
The OpenThread Border Router reference implementation has (example) API's bulit-in to configure: A local only D-Bus API and a HTTP based REST API. In Home Assistant we use the latter to configure the OTBR (setting network settings etc). All that information is then stored in the Thread store in Home Assistant and transferred to whoever wants to commissions a device to the Thread network (currently Matter compaignion apps and HomeKit integration make use of the Thread credentials).
@sick swan since you are knowledgeable about the OTBR can you comment on the firewall? I usually keep it off because it seems kinda buggy. Sometimes it enters a perpetual startup/teardown loop for the firewall. Not really a problem to keep it turned off, but just curious
@inner torrent the add-on is based on the upstream firewall script at https://github.com/openthread/ot-br-posix/blob/27ed99f3751f738bc7647256d3f54f2af54d72f3/script/otbr-firewall
There are some tricky things around firewall: The OTBR runs in host network, and it applies iptable rules to the host network stack. These survive through a add-on restart (that is why a add-on restart continues to show problems).
In theory, rules get applied on startup (as indicated by the Setup OTBR firewall... message) and removed on shutdown (as indicated by OTBR firewall teardown completed.). Afaik, the shutdown (as executed in the finish script of the s6 init system inside the container) should always execute. It seems that sometimes this isn't the case for you then? ๐ค
Which add-on are you using? The pure OTBR or the SiLabs Multiprotocol one?
Skyconnect with thread only
No I'll have some case where it will startup fine then later get stuck in a firewall startup/teardown loop some time (hours) later.
I haven't looked into it too much because it seems it can just be left off but was just curious about it
Hm, I see. Question is what happens exactly before it gets into that startup/teardown loop ๐ค
I remember I have seen such thigns in earlier version, but the scripts received some tuning/hardining over time. I have not encountered that issue recently
@sick swan thx for the explanationโฆ makes sense. I have another question. Does the IOS HA companion app store/retrive/sync the IOS keychain border router information with the HA thread store?
I am asking bc I set up otbr and afterwards had a nanoleaf shape border router and they could have ended up beeing in the same thread network if both apps would sync the credentials and prefered network via the ios api. But it did not happen.
Yes such features got recently added. You have to sync manually in the app: https://github.com/home-assistant/iOS/pull/2478
Afaik, the iOS API's (and Android is very similar in that regard) does not allow to write default credentials if there is already a Apple BR known by the iOS ecosystem.
But once you synced the credentails, you can reconfigure the OTBR to use the Apple credentials (at least in theeory this should all work ๐ )
@unreal island so the latest version of the add-on should no longer restart if otbr-agent crashes (and Watchdog is disabled on the add-on main page). This might make it easier to catch the situation you are running into.
Is there a diminishing return on number of BRs? Is there any benefit to a second one in the same area if your thread devices have a good connection to an existing one?
In theory you might still get an better connection to some devices if there is a wall between BR 1 and a device that blocks all traffic, while having a border router 1 meter away doesnโt need to go through the wall
Is there any work being done to add thread visualization to HA? Iโve seen white sheets from silicon labs talking about it.
at some point yes, but not in the very near future
Puhh I finally got my 2 BR into the same thread network. (Nanoleaf and otbr). But Homeassistant still does not see it as its prefered network. Btw there is no other. How do I tell Homeassistant to not be so picky and take the one that is there? ;D
I have an Eve Room (HomeKit over Thread) also on that Thread network but not paired to HomeKit anymore. It was showing up in HA shortly but weird errors when trying to pair it.
Nevermind the question ;/ I configured the otbr in the HA OTBR integration and then it showed a button in the thread integration.
Weird that the Eve Room is fully advertising mDNS and reachable via IP but cant be found to integrate into HA.
If a HomeKit device is visible in mdns but not in HA that usually means it thinks it is paired already
(HomeKit devices can only be paired to a single controller at once)
Youโll have to reset it and try again
Thx I will try.
@vapid shell, have you seen that the OTBR now allows NAT64! Internet for all the things ๐ ๐ ๐
๐ฑ
It is opt-in ๐
lol
I am so happy atm I finally got an Eve Motion (Matter over Thread) paired throught IOS Companion App. I dont have another Matter controller and only OTBR + Nanoleaf TBR.
I thought it is not yet supported
Nice! So it is probably connected through OTBR then?
ELI5 for me please
@sick swan At first I had only the OTBR and it did not work. CompanionApp complained there is no TBR and Apple Home complaining there is no Matter controller. The I set up the Nanoleaf as a different Thread network and finally moved the OTBR on the same Thread network and marked it as the prefered.
NAT64 allows Thread devices behind the border router to reach IPv4 addresses. This works even when there is no global IPv6 support in your network. With that it will be possible for Thread devices to talk to servers on the Internet.
What's the use case for that?
There are Thread IoT devices which talk directly to their cloud.
Specifically NUKI locks. Their cloud is optional though! https://nuki.io/en/privacy/
otbr-agent[177]: 00:01:42.426 [W] Nat64---------: incoming message is an IPv4 datagram but no NAT64 prefix configured, drop
However most people are configuring devices to BRs that are already cloud accessible, no? Google home, homekit, etc
So for those use cases, your local ecosystem speaks matter or homekit to the devices. If it sends the state to the cloud thatโs an optional thing that Apple or google do. Itโs not part of matter or thread.
NAT64 is like those devices can now talk directly to their own clouds.
Sure. And from what I've heared the Apple BR and soon the Google BR provide NAT64 for Thread devices as well.
Without a way to disable it probably, hopefully not though
hi, has something changed recently with Nanoleaf? my devices are hardly disconnecting now, some have not disconnected in 1 or 2 days. This is great! The only thing that changed (besides HA matter/core updates) is that all 6 of my googles TBRs got Fuchsia 14 OS now. Was this a fix?
There was a change in 5.0.1 (matter) that changed how disconnects were reported, so if you don't have many bulbs you'd see some change. The latest (beta) NL firmware 3.6.x does improve stability a lot
Oh good to know I just updated the nanoleaf firmware to 3.6 is this beta firmware?
Yes
nice! just in time for xmas....i may just buy more NL products now
I was told to not expect the general release until after the holidays tho. Just FYI
but even the beta is really promising.
has anyone tried tuo's temperature sensors? maybe they haven't yet reached users, might still be in delivery. i'm very tempted, replacing my zigbee ones would be great and nearly let me drop zigbee altogether but if the battery life on their buttons is similar to the temp sensors then i'd rather wait for something else
I just enabled my google nest hub again in the room next to my home pod (they are probably 3-4 meters away from each other)
This is literally the difference between all my bulbs working flawless and most only half of my bulbs turning on and off and everything going crazy
@worn plinth I have a couple on order.
I have not had a disconnect in over 24hrs with my NL products. This is a world record ๐
Do I need to enable a thread border router setting within my google nest hub so HA can see it? Im not sure how everyone is utilizing the thread border routers within their google devices. Been googling how to set the is up and Iโm coming up empty.
I have sky connect and everything setup where thatโs my preferred network. But I donโt see the ability to add other thread border routers.
You shouldn't need to add them, nor is there an on/off switch for the nest hubs. Are they listed in the thread integration? Are you sure they are hub max or hub V2?
Is there a way I can use my Nanoleaf Elements as the primary Thread border router? It shows up under thread integration but there's no 3 dots menu to have it be used for credentials
Just curious are you saying that your lights turn on randomly?
There's some limitations with the nanoleaf BRs so I don't think so
I should specify nanoleaf has mentioned it can't be a lead BR or something
(can't remember exactly)
Well sometimes they would change states a long time after pressing a button or never, so kind of
Yes, that is what I'm experiencing now with one of led strips on the beta firmware. Sometimes I try to turn it on or off using the button but it doesn't immediately respond and just goes back to the state that it was originally on. So perhaps it's caching the request and then doing it at a later time. This particular device is the farthest from the TBRs, so that could be part of the problem
Yeah, i also have that problem, but its at a acceptable Level now. Also it actually works better to control it from Apple Home, i guess its because they are using groups under the hood
Any idea how to make amazons eero and echos pair together? I have three echos and eero mesh. Two echos at opposite ends of home joined together and third echo joined the eero in another.
My nanoleaf lights are currently turning on at random times. Like 3am... Which is really annoying because one of those lights is in my bedroom. I only started seeing this behavior with the latest beta firmware
You should be able to check the device log in HA to also see what's triggering at least (UI? Automation?)
It just says light turned on
Interesting
I haven't had that yet
They do have a beta discord so I'd make sure to tell them that it's being strange
Same experience here, happened 3 times the last hour ๐คฅ
I'm curious how many bulbs you guys have total and how many on beta firmware?
I wonder if they are still crashing
I have 9 bulbs total. 5 outside 4 inside. All on beta firmware. I'll have to try and find their discord and report it
Should be in an email they sent out
I just joined the beta program so maybe that's why I didn't get an email
Something that would be worth checking is if you can download the diagnostics of the bulb that randomly turned on and open that up and note the node number. Check if your matter logs has any errors related to that node -- anything you notice will help them debug it
After switching to sky connect and configuring thread, everything seemed fine and all my zigbee devices worked. After 24 hours my zigbee integration is stuck on โinitializingโ
For some reason it loses connection to sky connect. But it still appears under hardware
Within the Thread integration, sky connect appears missing and I have to setup a preferred network again.
If try to configure the zigbee integration and select the multi protocol, it will say โunknown errorโ
Then Iโll have to stop and start the multiprotocol add-on to allow my to select the multiprotocol add-on but it will fail when selecting a network setting.
Youโre running the multi protocol?
I am
BTW for those running multi-pan on skyconnect, and experience zha crashes, you may wish to try puddly's test firmware for the skyconnect
This may solve problems. When the zha crashes are others experiencing a constant message of โinitializingโ?
Thanks! I will try this now.
Worked perfectly
Edit. Crashed in less than 6 hours.
Could be unrelated but my light turned on again randomly at 1:34 am in the morning. I was perusing through HA Facebook group and there are other who are reporting something similar with their Zigbee lights since 12.3...related?
https://www.facebook.com/share/tXGQYjR4yDbaHhTY/?mibextid=xfxF2i
No idea, but that at least provides a data point it's something in HA rather than nanoleaf
New firmware update is out so maybe that fixes it
Letโs hope so. Can we bring this Nanoleaf beta firmware discussion to a single Thread in the Matter channel? I am going to open a Thread. @all please use that. Thanks
Here we go:
I hope I'm in the right channel, I'm currently trying to use Thread for my Schlage Encode Plus locks. When I provision them with the configuration button in HA, they seem to move over without any issues and identify as Thread Status Child etc. but at that point, I can't lock/unlock them anymore. They are reporting the status of the lock when I manually lock/unlock it which means that they are connected, I just lost control over them. Does anyone know how to fix that?
Are you sure it's thread?
Oh apparently it's thread without matter
How can I check that? All I can see is that the status in the device information changed
Its tagged as "Sleepy End Device" and "Child" which it wasn't before the provisioning
What integration does it show up under?
When I try to lock/unlock, the count of this warning in the log goes up
Logger: aiohomekit.controller.coap.pdu
Source: components/homekit_controller/connection.py:897
First occurred: 14:42:29 (4 occurrences)
Last logged: 14:43:05Transaction 0 failed with error 6 (Invalid request
Homekit
Ah okay I've got 0 experience with homekit so hopefully someone else can chime in
No worries, thanks for trying to help though! ๐
So in the HomeKit protocol there are 2 types of โwriteโ request. Locks use the more obscure โtimed writeโ variant (for security). My hunch is that we never got to reverse engineer what a timed write looks like on thread (thereโs no sdk or docs for HomeKit over thread, and one guy on the forums figured out the protocol using nanoleaf bulbs which wouldnโt need timed writes).
If that hunch is right, given the lack of documentation, lack of other implementations of homekit over thread, and no one with time/ability to reverse engineer it who has that lock, you probably canโt fix it yourself and will be waiting a while for anyone else to,
Did it work over Bluetooth?
(Another complication is that quite a few locks with actually work without help from the vendor app, so will never completely work either home assistant - if it doesnโt work with Bluetooth either then it likely falls into that category)
As far as I know, the lock is using Bluetooth only for the initial setup and is using wifi after that without any Bluetooth connection, at least thats how I think I understand how it works but I could be wrong. So far I tested the lock directly through the Schlage integration in HA which requires me to set up the lock in the app and is then using the app credentials etc. and that seems to work fine. I then did a factory reset on the lock and added it directly through HomeKit in HA which doesn't need any credentials at all, that also works without any problems. The only thing that seems to only work 50% is the connection through thread
It would be weird for it to have wifi and thread. Is it battery powered?
Did you press a button that says something like โprovision threadโ on the locks device page?
Yes
And that worked in so much as the state changed to child
Yes it is battery powered
Correct
That button is only implemented for Bluetooth homekit
Before you moved it to thread, it was working in ha and you could lock and unlock?
The name of the lock is Schlage Encode Plusโข Smart WiFi Deadbolt though and I can see the lock being connected to my router
Yup
And yet there is no provision thread credentials code for the none Bluetooth code paths. Curious.
Anyway now itโs on thread, the state is correct (you can see if itโs locked or not) but you can no longer lock and unlock?
Can you see a button on the device page that says โidentifyโ
Does that make the lock do anything
How can I be sure that is is connected through thread? The state changed to Child etc. but thats all I know
Flash a light or sing a song etc
There is an identify button which makes the lock beep when I press it
That button works
And it works consistently?
Every time I press it, it beeps
If the status is child itโs connected to thread.
Okay
It can be โdisconnectedโ, but then ha canโt read the state and the lock would just be unavailable
Would the indentify send a different command to the lock though? I would understand if it could only read and nothing else, but if it can send a command and make it beep, I would expect it to also be able to lock/unlock it which is confusing me ๐
^ this
An identify doesnโt need a timed write
A lock / unlock does
Ah I thought it would be a general "everything related to locks" thing ๐
I guess that makes sense though
Does your lock say that it is a sleepy end device on the Device page?
Yup
Sleepy end devices are.. sleepy
They power down and any commands queue on the border router
And then every 5s wake up and check their mailbox
(The actual interval varies)
That means that thereโs no significant advantage over homekit over Bluetooth, which must have been working to get you this far
So if you can convince it to disconnect from thread Iโd stick with Bluetooth for now
However it might be hard to do that without doing a full reset of the thing
I guess that answers my question that I wanted to answer with my testing ๐ The device can be a bit slow and I wanted to see if any of the 3 methods would be faster than others
I guess I'll just reset it one more time and stick to homekit if the speed is the same on all of them anyways
That way it'll at least be local
Baffled that it would be connected to your router and thread at the same time. Seems utterly pointless and missing the point. Youโd want to connect to thread and then turn wifi off to conserve power. If you are connecting over WiFi youโd just use homekit over tcp/ip (ie over wifi) and that would be instant. Not use an entirely seperate radio to do HomeKit. Madness.
Makes me question the entire brand
ยฏ_(ใ)_/ยฏ
@sick swan my OTBR died yet again and I grabbed the logs, is there anything useful I can contribute from them?
(skyconnect)
pretty sure this is the offender, but I do have more logs
Write() at hdlc_interface.cpp:253: Input/output error
looks like between verifyordie it chose death ๐
hi all
I've recently received my SkyConnect, and tried to use it with the Thread only firmware (which I flashed through the web tool)
so far I can't get OpenThread to successfully talk to the device
Failed to communicate with RCP - no response from RCP during initialization
I'm not sure what the correct Radio URL should be
spinel+hdlc+uart:///dev/ttyUSB0?uart-baudrate=460800&uart-flow-control worked
You are using the Thread only firmware correct? What hardware are you running on? Anything in the host log/dmesg?
How to add seperate multiple esp32 voice assistant according to area??
I have multiple esp32 voice assistant in different rooms but the thing is I have many devices lights having the same name to its very difficult to control them. So I was hoping is their any method to seperate voice assistant according to area so that I can use a to allow only specific voice assistant to control devices present in that room.
Wrong channel. Ask your question here, please:
https://discord.com/channels/330944238910963714/646814454063038466
@inner torrent I converted your message into a file since it's above 15 lines :+1:
Thread only yes, 2.3.1 IIRC (auto flasher turned on) - RPI4 HAOS
See above from dmesg that looks relevant
urb stopped looks like there was an issue with the rpi talking to the skyconnect
i use a powered USB hub for the skyconnect with a zigbee adapter on another port, so power shouldn't be a problem
if this was an issue with the USB hub I'd expect the zigbee dongle to go down at the same time
although it does say 1.1.2-port4 - maybe an issue with that port?
Actually could just be a bad extension cable, I'll just replace it and see if that fixes the issue
What IEEE 802.15.4 channel do you run Zigbee/Thread on?
[1202286.352674] cp210x ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1202286.353233] cp210x ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32
[1202286.512971] usb 1-1.2-port4: disabled by hub (EMI?), re-enabling...
Uh, that sounds like some serious USB level communication issue. I'd try different cable/USB hub inbetween (with/without).
15 for ZigBee, 20 for thread
My guess is the extension cable. I don't have any issues with my ZigBee dongle on the same hub
Hello, i have bought a second SkyConnect. My plan SkyConnect #1 is to make only Zigbee SkyConnect #2 thread.
I have shut down to set up the SkyConnect #1 removed from the system and SkyConnect #2 with Thread connected to HA. If I want to add the Open Thread Border Router I now have to "Enter the URL for the REST API of the Open Thread Border Router". Where can I find this?
? You should be able to just configure it via the addon
Sounds like you are trying to add it in the integration?
You're right, that was once again a mistake on my part. Many thanks for the help
So I need to read back through all these messages. Someone just clued me in to this discord ๐
I have a sky connect and a Sonoff zdongle-p. I recently flashed the sky connect to multiprotocol and moved some zigbee devices to it. I have no thesd devices.
Is the general consensus that this is not a good idea and I should just set up dedicated thread and zigbee?
I thought using multiprotocol would reduce signal interference since it sounds like not thread and zigbee would share a radio band
I did that with the plan to retire the zdongle-p because I thought that was better for signal interference
It's better to have dedicated dongles on separate channels yes
YMMV but I run ZigBee 15 and Thread 20 for example and it works fine for me
Skyconnect isn't the most stable but thread only is definitely more stable
Where do I find thread only? I only see the option to have zigbee or multiprotocol firmware
You can uninstall the multiprotocol addon and install the open thread border router. In the configuration, point it to your skyconnect and toggle the auto flash firmware. That's the easiest way
Once you start the OTBR addon, you should see it flash the firmware in the logs
Is there a good guide for using the Sonoff Dongle E flashed with the multi-protocol firmware to do zigbee and thread simultaneously? The guide I followed got me to the point where I think everything should be working, but I still have not been able to add any thread devices to my HA. I do have my zigbee stuff up and running again.
Actually, I think I may have partially discovered my issue. My HA network settings had v6 disabled. I set it to Auto. I was shortly after able to adopt my nanoleaf essentials light strip. However, now I am wrestling with the nanoleaf essentials bulbs to get them to work. They seem to negotiate correctly with the thread radio, but then when it finalizes and wants to add the matter device, it poops out. ๐ฆ
You shouldn't be using the multi-protocol atm as its hindered by bugs and also we've focused on skyconnect and not the sonoff dongle. My advise would be to use two seperate sticks if you want your zigbee stuff to stay stable.
I have actually managed to get both working at this point, mostly by beating my head into a wall repeatedly. ๐
I will keep that in mind though, and if I need to I will buy an additional dongle to stabilize things.
Yes but be advised that one of the bugs currently with multi-pan is a complete crash so it will take down your zigbee network as well. keep that in mind.
Noted! I appreciate your help.
I'm trying to use a Sonoff ZBdongle-E with RCP multi-pan firmware as my thread border router. And I've HA installed in a container. I know it's somewhat tricky, but I do have it all set up with additional containers running for the multipan integration and the matter-server.
Is there a way to verify that I've everything set up correctly?
I have reset my Thread network and now have the problem that the Eve-Energy can no longer be added (i have also reset this to the factory setting). The network check takes forever and then it cancels "No connection to the device available"
Before I reset my Thread network I had no problem. I know don't touch a running system :x my bad
see 2 posts above yours about multi-pan, try to avoid it as its not stable.
also you cant run it in containers.
When I want to add new Thread devices (Eve-Energy) to my network and scan the QR code with the HA app (Android), I get to "Network connection is being checked..." and it is cancelled. Any idea what the problem is?
Is your eve energy the matter one? Is it connected to any other ecosystems? Or is the first ecosystem your connecting to is HA?
Yes, is matter only. I first tested it with one that I reset and then with a brand new one. But I get the same error message with both
Can anyone recommend a cheap thread border router that is pretty reliable and can communicate with my Schlage locks? I find that my Apple TVs, home minis are not that reliable as a thread router to these locks
Huh really? How far is the BR from the device?
Typically apple has some of the best BRโs
You're not going to find anything more stable than the big companies atm
It's more likely it's the device or you have some networking issue
Hmm I think maybe it's because my Homepod is not accessible from a network outside my home network?
I'm abroad and all my Schlage locks have no response
They can communicate via WiFi but not over Thread
Does anyone know how I can enumerate the devices connected to my Thread network, and especially to get their ipv6 addresses? I have an eero Thread network that I've joined with with an OTBR instance on my HA Yellow, and I'm not convinced things are working correctly. I'm trying to do basic network diagnostics to see if things can even talk to each other.
@autumn tulip - I was just reading through the following blog where the author shows how to find the ipv6 addresses. Have not tried myself yet. https://www.derekseaman.com/2023/10/part-1-smart-home-matter-and-thread-deep-dive.html
Thanks! The mDNS discovery app is showing me the stuff I need to proceed. The OTBR web interface gives a lot of very confusing information. I'm trying to sort out what's really going on. For example, I've already joined my eero thread network, so it seems disingenuous or confusing to list all of my eero devices separately as networks I might be able to join. At minimum I'd expect it to hide any border routers for the network I'm already a part of. Also, asking me the on-mesh prefix is probably not great since nothing tells me what that prefix is.
OTBR web interface isn't reliable/stable so I wouldn't rely on it
Also, the topology diagram is very flaky. It doesn't show any of the child devinces at all, which makes me wonder if any of them are successfully connected. It doesn't consistently show all my border routers either. I'm not confident at all about the state of things based on what this interface shows me.
How am I to tell what's going on with my network if I have basically no reliable data about it?!
about all I've been able to do is use ping6 and traceroute6 once i have addresses.
Exactly why I was looking for the addresses ๐
๐ I've found them with "Discover" and "flame" as the blog author details - but he goes much, much deeper than I have
You use other networking tools; I'm Linux based so things like avahi-browse is what I use
As @mossy viper mentioned, there might be platform specific tools (I think discover and flame are iOS? Could be wrong)
I use them on my macbook - but I think that avahi-browse is similar - i.e. just list mdns broadcasts on the net
I think I've found part of my problem. The OTBR is set with a different on-mesh prefix compared to the eero network. I have a mix of prefixes on the network, which will surely screw things up.
The default OTBR prefix was fd11:20:: . I don't know how many bytes of these addresses I see are my real prefix though.
I'm a novice at all this - reading that blog trying to decipher what the various ipv6 addresses are for and what the prefixes mean
Is it possible to not actually run a border router on my local device but still commission matter over thread devices? It seems like I need the thread integration running to provide the credentials when commissioning, and it seems like the integration wants the OTBR addon running. I'd like to try removing OTBR from the equation to see if my network problems get better.
You absolutely do not need OTBR
No you don't need the OTBR addon.
Thread integration doesn't require the OTBR addon -- there's an OTBR integration which needs the OTBR addon
Here's some reading if you're interested in learning more about ipv6 and thread
Ok, I seem to have been confusing the OTBR integration and the normal Thread integration. I've got OTBR disabled now and I'll see what happens. The Thread integration is still reporting it as a present router, so there's probably some sort of TTL involved. I'll give it 30 mins and try more debugging.
Does it matter which of my border routers i pick to provide ios and android credentials? Is commissioning going to fail if that router happens to be too far away from the commissionee?
I actually don't know what that means (in my thread network I never selected a BR to use for that).
@vapid shell do you have any insight?
In the thread integration config there is a 3-dot menu next to each of the border routers. The only menu item is labeled "Use router for Android + iOS credentials". I assume it does something, otherwise why would someone have bothered to add it?
Yea I'm sure I does something but I never used that option and I'm not sure what it does
It shouldnโt matter
Itโs a really boring thing to describe in bed on my phone but basically itโs an undocumented part of the commissioning API in iOS and Android
They donโt say why
After disabling OTBR, power cycling my Nanoleaf Essential bulbs automatically reconnected them in HA for the first time I think ever. I think OTBR was part of my problem (also their finniky firmware contributes).
We suspect itโs to check that your border router is actually on the right vlan or similar
But itโs not used outside of commissioning
Commissioning is a big part of where the wheels are falling off my wagon. The Nanoleaf bulbs lose connectivity after power cycles and apparenty too many cosmic rays, and the only way to restore them is to fully reset them and recommission them. > 50% of the time commissioning fails, and it's unclear where the failure is. So I'm just trying to rule out network level issues, which brought me to trying to disable OTBR.
FWIW the new firmware does help that a lot (on the losing connectivity) -- you can try yourself as it's an open beta or wait until the general release in Q1
There's some known problems with commissioning, which a patch was pushed to the matter beta server (again you can toggle this in HA or wait for the next core release)
Iโm using the beta firmware for the bulbs now, but commissioning to either Apple home or HA is not often successful. Iโve wasted a lot of time this week trying to stabilize all my light bulbs ๐
Hm interesting, commissioning to apple home should be pretty stable
But then again I'm still seeing evidence that the bulbs are crashing despite the latest FW so could still be firmware hasn't fixed the problem
check the eve app, and connected eco systems, most brands that do matter have a setting that shows what its connected to, even if you removed it from one it will still show as part of that eco system in brands app, you need to remove it.
The Eve app no longer shows any connections.
@inner torrent @spice imp let's move over here since it is about Thread.
The thing I was wondering the other day is TREL even important for the typical Matter network today? Most traffic flows from a Matter Controller on the main network (WiFi/Ethernet) to a specific Thread device. From the description in the standard:
Thread Radio Encapsulation Link (TREL) enables Thread Devices to communicate directly over
IPv6-based link technologies other than IEEE 802.15.4, including Wi-Fi and Ethernet.
So this is about Thread to Thread communication ๐ค
I guess the question is when operating two border routers, how does the traffic makes it from the Matter Controller to the Thread device through the optimal BR. From what I understand the same routes to the Thread network's OMR prefix are pushed by the BR's, so technically a Matter controller knows all the Thread Border routers.
However, a Matter controller doesn't know which one of the BR it should send the messge to to reach through the optimal path, as it only knows the target IPv6 without having knowledge about the mesh network. So TREL maybe is actually important for the BRs to forward also (mainly?) incomming packages to the best router then? ๐ค
I think it's important for larger thread networks as it keeps traffic down over the thread channel where bandwidth is at a premium. You can reduce hops to a device and utilize the higher bandwidth wifi or Ethernet link
I have come to the same conclusion as you before, that you canโt control which BR to send the packages to. So this should stabilise the network
When sending packages from the outside
Yeah unless there is another technique. But I don't think so.
They basically generalized the problem...
@spice imp
Same here, i did before though...
They switched from Linux to Fuchsia at one point. Was that maybe a feature loss there? ๐ค
Ok. Yeah before I really was really wondering whats the fuzz about TREL, Thread device to Thread device communication is really not that common ๐คทโโ๏ธ But when this is the only way for incoming packages to get routed throught the optimial BR this becomes a quite nice feature pretty quickly I'd imagine.
Now my question becomes why does our BR claims it has TREL enabled:
# ot-ctl trel
Enabled
Done
And there is no mDNS annoucment? ๐ค
Also I have a Google BR, and no working trel as it seems:
# ot-ctl trel peers
| No | Ext MAC Address | Ext PAN Id | IPv6 Socket Address |
+-----+------------------+------------------+--------------------------------------------------+
Done
Strange, maybe itโs been turned off in the latest fuchsia update
Homekit over thread is udp so I toyed with whether I could open a raw socket and write my own l2 header for outbound packets, so I could pick the Br. Then have a map of thread address -> br based on where the last inbound packet came from, as the mesh would have presumably sent it to the best br. Thankfully for everyoneโs sake I donโt have any spare time these days ๐ but I wondered if that sort of trickery was how Apple seemingly had more stable thread than us pre trel.
You could do that sort of thing with a tun driver I guess. Effectively a vpn client, but you are just rewriting the layer 2 MAC address and squirting it out the right interface
The big thing we used to see causing problems last year (other than stale routes) was when someone had an appletv that was in an av closet. Surrounded by power, usb, hdmi, etc.
Turning it off would be the fix
Partitioning should have been enough in those cases I think? But it wasnโt enough. Maybe merging and partitioning too quickly?
With trel the ATV should just forward to a valid br
Which makes it pretty essential quite quickly imo
(In the absence of my mad stuff)
Yeah I guess when a RF link is on the brink of working (as in yeah but with retries/package loss) it will still lead to noticable delays or other strange behavior.
I am having an issue while trying to connect my Nanoleaf A19 bulb to HASS using the Homekit integration. I type in the pairing code and get the error Invalid flow specified. I have had issues before with this bulb, as it doesn't connect to Google Home as it is supposed to. Any ideas? Note, I don't have another Homekit device, but I do have Nanoleaf Shapes which connect to HASS fine.
My Nanoleaf Shapes apparently act as a "Thread Border Router", so I was wondering if I could use the thread integration to connect them.
yes, i have also questioned it a lot in the beginning for exactly the same reason.
https://fuchsia.dev/whats-new/release-notes/f14 This is what i think is the reason for it being disabled now.
Because i have been running on Fuchsia with trel
Huh right
Updated TREL to be disabled unless enabled by feature flags or CLI.
Interesting
So I doubt there is any way to force a activation of it, as there is no easy way to CLI into a Google nest etc etc
I can imagine Google enabling it when they have more than one BR
That is from Google
But maybe they also just didnโt look into this and just updated
Itโs possible; will have to look when I get home
โInvalid flowโ usually means the device was discovered but by the time you clicked on it in the Ui, the discovery was for some reason invalid. For example, it was no longer discoverable by zeroconf or it was paired to another controller (iOS) (you can only pair HomeKit devices to one controller at a time).
With thread you can add into the mix that it was discovered in Bluetooth, but then disappeared from Bluetooth and never became visible to ha on thread.
I managed to get it working somehow
Personally would ditch it for the matter version, I have the homekit and matter versions of the light strip and guess which one had spent most of today not responding to ha ๐
eh icba spending money
how can I find the REST api url of my nanoleaf shapes tho
any idea?
It doesnโt have one
There isnโt a standard for Brs to be compatible with each other
At least in terms of managing and configuring
๐
The mortal way is probably to get a HomePod, get the nanoleaf app to add your shapes br to the Apple network, then use the beta version of the iOS companion app to sync the Apple credentials over to ha.
Otherwise you need a hex string called a TLV that includes the channel, network name, network key, pan id and ext pan id. In matter format, not homekit format.
But as with the matter vs homekit version of nanoleaf.. thereโs a reason my shapes is not currently acting as a br
If got my elements working as a BR because I like spending even more time triaging my setup ๐
It was the straw that broke me and made me move my Eve Thermos back to Bluetooth ๐
I couldn't quite get the multiprotocol firmware to work, so I've flashed the openthread firmware and trying to set that up. What all addons & integrations do I need?
I installed the "Open Thread Border Router" addon. Do I also need the integration? Maybe I don't understand the concept of addons vs. integrations well enough yet.
Addon = separate "operating system" running some application
Intigration = a piece of code inside of home assistant to connect to something
And in general you should not use the multiprotocol firmware at the moment since its not stable. So its better to just flash the thread firmware.
I have read that you need to have the multiprotocol addon installed beside the border router addon. I think this addon then creates a device on the system you can select in the border router addon. I have never tried doing it this way myself though, so i might be wrong.
Yep, so I installed the ot-rcp firmware and installed the "Open Thread Border Router" addon, and the integration of the same name.
But I still can't provision a new thread device. I keep getting "can't connect to Thread Network" error on my Android companion app.
This is my first time with Home Assistant and all this smart home stuff, and even though I'm well familiar with linux and software programming in general... I don't know where to look for errors either ๐ฆ. At this point I wonder if my devices are straight up broken or what
You need to add your border routers thread network to the thread integration. Then this needs to be synced to the Android app
So maybe its the wrong network synced to your phone or something
I think you may be right -- under my "Thread" integration I see:
- a "home-assistant" network which says "No border routers found"
- Under "Other networks" I see "OpenThread" as 1 border router.
This other network corresponds to the OTBR addon I've added. How do I make that the preferred network?
Oh well.. I removed all the addons and integrations, got rid of my phone app, rebooted the HA machine. Then I set up the addons and integrations again. Now the network was correctly selected, was associated with the border router, and also selected for credential generation.
But still no luck... exact same error ๐ฆ
I got my first matter/thread device for Christmas. It's an Aqara Door and Window Sensor P2. I don't have any TBRs (my Apple TV 4K is first gen, my Google speakers are even older). I am, however, using a SkyConnect, but I have a container-based install and haven't been brave enough to try the beta firmware. (I have a 40-ish ZigBee devices, so outages would be quickly noticed by the wife.) I have installed the Python Matter Server in my docker-compose.yml, and as far as I can tell, it appears to work. What's the current recommendation for getting one of these devices to work? What's the state of the firmware? Should I get an Apple Mini pod, or whatever it's called instead?
You might need to delete your Google play services on android to delete the stored thread credentials
And then maybe remove and add the Google home app again to force Google playservices matter apis to redownload
And then probably press sync credentials of something similar on your home assistant app under the thread integration, where the 3 dots are
(Not 100% sure it exists, donโt have an android phone to check right now)
Check out the pinned posts in #matter-archived for some pointers. Container based install isn't supported with skyconnect atm
Thank you.
Anyone experience with the Thread border routers includd in Nanoleaf products (Lines/Shapes/Elements)? Are they stable? Is TREL enababled?
Trel wasnโt enabled in October, since then I removed it from my prod network because after I powered down a HomePod the entire mesh died
Hm, ok thanks for the heads up. Might give it a try in January and see what happens on my end
My mesh is Google + OTBR (with SkyConnect pure Thread) currenlty.
So far solid
I've got a similar setup (Google, OTBR) with an elements BR: no TREL
Hard to say about stability since I have a lot of NL bulbs
Yep, got the shapes and no TREL
Here is the answer to your question about TREL from Nanoleaf:
Not at the moment. Theoretical value proposition is good but assessing the practical benefits in different network topologies before enabling and deploying has been lower on our priority list than other things (like fixing the bugs here ๐ ).
I don't have the google home app installed, and never used any other thread device. I've selected the correct credentials in the "Thread" integration for Android+iOS devices. Further I used the Troubleshooting menu under companion app to ensure that the correct credentials are sync'ed and used (PR : https://github.com/home-assistant/android/pull/3676)
What message do you get now when manually synncing?
One thing I noticed is that Google Play Services don't allow to update even our own credentials. The API claims it updated the credentials, but it seems not to work (as in, trying to sync again will lead to the same message again). What message do you get when manually syncing?
I get "Updated network from Home Assistant on this device".
And yes, I tried syncing it again and it gave me the same message.
Yeah that is the problem. The API doesn't raise a problem, pretends it can update the credentials, but it doesn't do it ๐ข
Only way out of this is to delete Google Play Services data...
How exactly do I do it -- just App Info => Delete storage data?
Found official google documentation: https://support.google.com/googleplay/answer/9037938?hl=en
Alright, that's done now -- I used the same Troubleshooting tool and it reported Added network from Home Assistant to this device and after trying it again, now I get Home Assistant and this device use the same network. Let's see if this works now ๐
And it finally works! Cheers!
I think the recommendation to go to the Troubleshooting page on the Android companion app to sync the credentials, and debug that until you get Home Assistant and this device use the same network is critical advice.
This should be more documented. I stumbled upon that Troubleshooting page almost luckily! Maybe some of this stuff should be well written and pinned to this channel if nothing else.
When I was using the "Open Thread Border Router" standalone docker container (outside of home assistant), it had a nice web based UI to view/debug/visualize the thread network.
When using the addon, is there a way to access that web UI?
If you're using the addon (hard to tell from your messages) you can open the web socket in the configuration; that will enable you to access the OTBR web portal
Officially this is all still in the experimental stage and we do not yet recommend it to anyone until we work out the quirks and make sure that all paths work on both iOS and Android. So we have only documented the currently supported scenarios, which is using the existing Thread network (and Border routers) from either Apple or Google
Now that we're getting more and more steps working, we will start to document the known working setups soon
I appreciate that it's all experimental, but there's people like me who're brave enough (more likely foolish, like me) to try and make this work. And nowhere in any logs or steps does anyone mention "Troubleshooting" page on the Companion App. Just stumbled upon them by fluke while reading some forum down a rathole, after someone here suggested that credentials could be the problem. I just wish it was somewhat easier to find.
I had written-off my devices and raised the Amazon request to return. I'd have literally returned the devices tomorrow morning, had it not been for above suggestion. And now it all works.
Itโs a difficult trade off. Non-developer users trying to use experimental unfinished code paths reporting problems - is it useful? Or is it noise? I think itโs probably the right choice for a small dev team to encourage users to stick to setups they expect to work.
I was in a similar position with the homekit integration where Iโd spend literal hours with users effectively teaching them how to use tools like tcpdump to debug problems and it was 99% of the time not something I could do anything about. Was that a good use of my time? Probably not, because Iโve still not been able to fix the bugs in that code that do very much exist.
And if Iโd had the list of supported stuff back then, itโd have been a lot easier to triage and focus on the bugs I could do something about
The problem with some of the known problematic setups is they can seem to work to a newbie, until a week later you wake up and the mesh is down and wonโt come back up ๐คทโโ๏ธ
Fair enough
I hope Google improves the whole Thread credential storage mechanism on Android and allows for some menu options to reset / change them without having to reset Google Play Services. Even some setting under developer options would be nice.
hi, just random question whatโs recommend to use with thread, i have like 3 apple tvโs 4k with thread i can use as boarder router or the home assistant with skyconnect?
I need to select prefererd right
Once I import the credentials in the iOS app, do you then make the apple thread network the preferred network? What is the benefit this? https://imgur.com/a/Kwqiead
thatโs fun, some question here
lol
Edit: sorry I misread
Preferred will be the priority thread network to commission to, at least that's my understanding
Do you know if it makes any difference or adds any features to already commissioned devices?
It could make a difference yeah, but I think you should be able to join them which would be the best option
I'm not an iOS expert but you should be able to make the apple one preferred and have the skyconnect join it
That's how it worked for me on Android
it has been a TERRIBLE experience for me. Just got Nanoleaf Essentials - Holiday String lights
i cannot for the life of me get them on a Thread network, despite having at least 3-thread compatible routers in the house
you also cannot control scenes with Essentials on any ecosystem except through the Nanoleaf iOS app. which is in stark contrast to the Smarter series Canvas and Shapes, which expose scene control to any ecosystem you want
using matter over wifi and pairing with Home Assistant gives bare minimum support. Transitions are not supported, and if there is a Nanoleaf animated scene playing, you cannot override it from HA
String lights are matter over wifi only, no thread
Yes this is by design. The nanoleaf app only supports scenes via a proprietary protocol and they have not added scenes via matter. Considering the state of their firmware it's unsurprising
This is not a HA limitation, but a result of nanoleaf support for matter
I'm not sure what you mean by "transitions not supported"
there is no smooth transitioning between on/off/colors
not even with the service call options
On/off should have a 0.5 s transition as part of the nanoleaf vendor spec (mine do this at least)
Regarding a more overall transition time (between colors for example) it's in the works. There's a parameter for transition time but the dev team has been working on other issues
i can understand that. what's most frustrating though is having scenes running from the Nanoleaf app, then not being able to stop them from HA
It's likely because HA is sending a matter command and nanoleaf isn't. For scenes, nanoleaf is communicating over their proprietary protocol, so it's not really a HA problem if they send a matter command but the bulb doesn't respond correctly; that's a bulb firmware problem
You can enable matter debug and tail the log to see the commands being passed; HA passes the correct call
Youd see the same behavior using Google home or apple home
i'm sure it's as you say. i start "crackling fire" animation from the app, then try to set the lights to white via HA, and it flashes white for a second, but then instantly resumes the animation from the app
either way, sounds like the Holiday Strings lights have nothing to do with Thread, and are purely matter based protocols
Correct, you can open an app to view open ports on network devices.
For your string lights you'll see:
_matter._tcp 5540
_ltpdu._udp 5653
When you set scenes, the nanoleaf is communicating on the _ltpdu protocol and HA is communicating on the _matter port
HA sends a matter command and the lights just don't respond correctly because the scene they're running was executed over the _ltpdu and there's some internal conflict and it doesn't respond
This is entirely on nanoleaf to fix
Matter DOES support scenes, but the fact that they are unavailable is because nanoleaf doesn't support scenes through matter
Hmm. Is there an API I can use directly with the HSL lights?
Iโve tapped into the UDP stream before to read Canvas touch events
https://github.com/roysjosh/nanoleaf-ltpdu
You could try that. I'm not sure if anyone in the discord has taken a stab so not sure if it will work.
Do report back tho if it works
Thanks!
Since the feature is there, and it does work even though it is very quirky, I agree we should write this down somewhere. There are several potential places, Thread integration docs, compagnion app docs... Out of curiosity: where would you expect that/what did you read before arriving here?
The documentation for the "Thread" integration or "Open Thread Border router" addon or the "Silicon Labs Multiprotocol" addon documentation would have been good places. I read all of them through and through before attempting to even locate the discord server ๐
Also, given there's the bug where Android doesn't actually update the credentials when the tool is run, but falsely reports as "Updated ...", that message is misleading. A better approach might be to rerun the comparison after the supposed update and report an additional error message along the lines of "Credentials differ. Attempt to update the device credentials failed."
If the android build environment hadn't been so complicated to set up, I'd myself have submitted a PR for this ๐
So there's an iOS companion app update that allows me to import the Thread credentials from Apple. This still won't allow commissioning to OTBR directly?
Hi! Successfully added a Eve Door & Window, but the second one doesnt work, getting these error messages in the OTBR Log (Skyconnect):
otbr-agent[300]: 00:08:08.246 [W] SrpServer-----: Name conflict: service name A3C9565B8CD5E5AD-000000000000002B._matter._tcp.default.service.arpa. has already been allocated
otbr-agent[300]: 00:08:08.246 [W] SrpServer-----: Failed to process DNS Update section: Duplicated
otbr-agent[300]: 00:08:08.246 [W] SrpServer-----: Send fail response: 6
Any idea? Tried it multiple times to add the sensor with HA restarts, Matter Server restarts and Multiprotocoll Add On restart. The Sensor is factory resetted before every try.
Unifi Setup, mDNS is off, Multicast Enhancement also. Everything is on the same subnet
@steep moth use the matter server stable version 5.0.3 and not the current beta 5.1.x
I have a Sonoff ZBDongle-E Plus flashed with MultiPAN RCP and Silicon Labs Multiprotocol add-on installed.
Is there no matter-over-thread switches/dimmers available out there?
I found 1-2 products with HomeKit over thread, and a handful products with matter-over-wifi support, but nothing with matter-over-thread. Are my internet skills failing me or there's nothing out there?
There is some stuff coming soon but not yet available on the market.
Just to add, CES is coming up soon -- so some stuff might be unveiled there soon. Although there's plenty of stuff that was shown last year that still didn't make it to market this year
@knotty citrus You can pre-order Inovelli thread/matter US Dimmers from their site. Estimated ship is March 2024.
I had asked this earlier, but are they planned to be thread end devices or BRs? I seem to remember them being BRs but can't find it anymore
Neither. They will be routers, not border routers.
is what you should see.