#thread-archived
1 messages ยท Page 13 of 1
The add-on I grew to distrust, since things broke.
I have it installed, but not updating to the current version since I had that and it was still busted for me. (2.4.4)
That seems a bit unlikely. Do you happen to have 192.168.255.0/24 in your network? This is the range used by NAT64. I wonder if it made it into your routing table again ๐ค
I am also trying to be a part of the solution, I wanted to get only Matter over Thread devices, but it's not feasible. Devices are either not available or way more expensive than their Zigbee alternatives.
Some examples:
-
Temperature and air quality sensors. The only Matter over Thread option I found is TUO but it's expensive. Outfitting every room with Zigbee sensors is significantly cheaper.
-
Various other sensors like water leak detectors, vibration sensors, mmWave presence sensors, smoke detectors etc.
I am hoping Aqara will release more products like their P2 Door and Window sensor. Their Thread motion sensor keeps getting delayed. -
Light switches and smart buttons. Inovelli White series looks good, I'm not sure if it launched yet? I personally need wireless buttons though. I am waiting for Nanoleaf Sense+ to pair with my bulbs and will have both wired and wireless models, but it keeps getting delayed. For now I just picked up a bunch of cheap Zigbee wireless buttons.
-
SwitchBot products, they are unique but work with Bluetooth, not Thread. Their new hubs support Matter but I hope they also release updated models with Thread. For now I got Zigbee Fingerbots instead.
These are just some examples of devices I care about. Going Thread-only would be very limiting and more expensive.
Just found out TUO also has a Matter over Thread smart button.
https://findtuo.com/pages/smart-button
Looks good but only one button, and again significantly more expensive than Zigbee equivalents. Nevertheless, it might be a good option for platforms that don't support Zigbee.
its very buggy, so do be careful if you get it
as stated before, TUO is a 2-3 man show
Thanks for sharing! Always cool to see what others are getting into. I wanna go to the AQI and moisture sensing stuff too, but know those will come in time if there is strong adoption overall. Didn't mean to imply you were not trying to help ๐
What I dont want in 5 years is Zwave, zigbee, matter/thread, and some revival of X10 or something.
So, since I'm just a year in and all the zigbee stuff came with the house (bunch of Ring gear).... I have Zwave, Zigbee, and Thread for now. Hence why multiprotocol was so attractive.
I wont be adding to the zwave or zigbee devices, and will actively remove the one zigbee switch i do us as soon as the Inovelli White starts to ship in a few weeks
I never got the LED strip worked out in Home Assistant to miss the animated stuff on the White series for now anyway
Atm yes, Zigbee has existed for a long time.
Water leakage fx is not part of Matter yet. Its coming, but first it needs to be added by the standard, then added by the โcontrollersโ and then you can sell a device with it. So even though some marketing people have sold something else, its gonna take time.
Yes that's the other limitation. There are some really strange Zigbee devices with unique properties that are unlikely to be added to the Matter standard.
Where's the aqara motion P2? ๐ฅฒ Eve sensors are ridiculously priced
It keeps getting delayed. I gave up and got Aqara P1 Motion Sensor (Zigbee 3.0) instead.
That's what I have but they're my only ZigBee devices so connection isn't the best
At least Aqara P2 Door and Window sensor (Matter over Thread) works well. It's slightly more expensive than Zigbee contact sensors, but not too bad in my opinion (way cheaper than the Eve Door & Window).
Maybe once Aqara finally releases their M3 Thread hub they will finally release more sensors.
Even in CES there was a disappointing amount of Thread announcements.
That was my suspicion
That they delayed their matter over thread for their new hub
My local network is on 192.168.2.0/24 subnet. I did a whole system reboot and it was gone. I will keep an eye on it after the next HA update
Love the new vendor logos! https://pic.xpl.link/-7EwjAXFren/pasted-2024-02-01T142659.217Z.png
No logo for my cursed nanoleaf BR ๐ฅฒ
I'm experiencing a descent into madness with my fleet of HomeKit over Thread Nanoleaf Essentials of late. They are now spending 5 minutes working when HASS is first restarted, and then dropping off the face of the planet shortly after. A reset of HASS always brings them back. Is there a way to restart the HomeKit integration without restarting all of HASS so that I can give a sanity fix for my wife when lights just stop working?
Hey if you could get me some debug logs of what itโs doing I can probably just fix the retrying
My light strip is stable for weeks at a time so itโs difficult to debug at my end
But there is a reload option on the integration itself
Alright I've turn on debug logging and give it a restart.
Is that just per device? That's all I'm seeing.
Itโs per pairing
Which for thread is mostly per device
If you have a bunch of devices that stop working at the same time that would be very interesting - would mean all of them were getting into a stuck state because of an external event (as no shared state between devices internally)
If you did that in your config file itโs for aiohomekit I need. If you did it in UI thatโll be taken care of automatically.
I did it through the UI.
There is time to add logos But not to fix bugs in the frontend ๐ซ
Different people maintain different things dude
Nanoleaf Essentials Disconnecting
Still the same people approving the frontend pull requestsโฆ
For the frontend
Good to see continued work from the Z2M team on EZSP and Gecko.
What are you even talking about? This update brings more functionality to administrate Matter devices than I'd ever have expected within a single release?!
Logos was easy and quick ๐ What frontend issue are you alluding to? ๐ค
Same, I'm wondering how hard sending a PR for this would be?
My Thread network is finally stable, now I just need those Nanoleaf logos ๐
Hm, Nanoleaf was part of that PR too https://github.com/home-assistant/core/pull/108899/files.
Can you share the mDNS TXT records of the _meshcop._udp service annoucment for your Nanoleaf BRs? ๐ค
Yes i get that, i guess its more the the fact that i have been told that they are too busy reviewing other "issues" that annoyed me ๐
But its this one im talking about:
https://github.com/home-assistant/frontend/issues/17409
https://github.com/home-assistant/frontend/pull/18934
I'll look later today, my espressif OTBR doesn't have a logo either
I'm assuming you're using vn? vn=Nanoleaf and vn=OpenThread for the espressif OTBR
it kinda looks like it's a case sensitive compare, so maybe just doing vendor_name = try_decode(service_properties.get(b"vn")).lower()
Didn't have too much time to look closely though
@inner torrent yeah it is case sensitive. But the strings match exactly, with correct casing. What version of HA Core are you running?
Oh yeah I should've specified that I'm running an RC image of HA-Core
๐ https://phoscon.de/en/openthread/doc
ConBee goes Thread ๐
trying to add a previously commiosioned NL Essentials lights strip to HA, but fails all the time. Here are the addon logs when I try to add to HA from the NL app (node 88).
http://pastie.org/p/1CdU0lxST219AKw12LwujI
adding it directly to HA from the QR code, leads to failure saying im not on the same network,,,which i am
how do you add thread devices these days?
When you went through the UI flow (connecting to device, generating matter credentials, etc) where did it get stuck? Looks like the device isn't broadcasting and HA can't find it
Also, did you make sure to reset the bulb?
Or strip rather
Anyone got some ideas on where i should start looking. I just changed from multipan back to Open thread only for my skyconnect, since doing that the open thread border router is crashing in like 30mins or so.
I have restarted the whole system too.
So annoying, removing multipan as its meant to be more stable and now i have gone from it being stable to crashing frequently ๐ฆ
Anything specific in the OpenThread add-on logs?
I have two OTBR add-on running, one with SkyConnect and one on Yellow, no crashes so far ๐ค
Start of crash says FATAL ERROR: Caught signal: 6 (Aborted)
I have just uninstalled OTBR and rebooting and installing again to see if it helps
Crash gives this in the log
otbr-agent[187]: 00:00:54.261 [N] MeshForwarder-: Dropping rx frag frame, error:Drop, len:96, src:0x3c00, dst:0xe400, tag:29429, offset:304, dglen:1083, sec:yes
otbr-agent: ../../src/mdns/mdns_mdnssd.cpp:951: virtual void otbr::Mdns::PublisherMDnsSd::UnsubscribeService(const string&, const string&): Assertion `it != mSubscribedServices.end()' failed.
otbr-agent[187]: 00:00:54.359 [C] Platform------: ------------------ BEGINNING OF CRASH -------------
otbr-agent[187]: 00:00:54.359 [C] Platform------: *** FATAL ERROR: Caught signal: 6 (Aborted)
otbr-agent[187]: 00:00:54.370 [C] Platform------: # 0: /usr/sbin/otbr-agent(+0x21d228) [0xaaaaadb8d228]
otbr-agent[187]: 00:00:54.370 [C] Platform------: # 1: /usr/sbin/otbr-agent(+0x21d36c) [0xaaaaadb8d36c]
Hm, I remember there were some bugfixes around mdns subscription/unsubscription ๐ค
And you are using the latest version of the OTBR add-on?
Yea 2.4.5, latest one.
And it seems my zigbee has also stopped working, devices show connected but none of them update or respond ๐ฆ
Zigbee is running off a sonoff stick now
I should have just stuck with multipan haha
Why does the skyconnect cost 40 euros? Is the money going to HomeAssistant or just some resellers?
i mean, the resellers on their websites would no doubt take a flat commission rate or %, but no doubt HA would have some margins in there
but thats just how every company works
Yeah, but im not gonna pay 40 euros for HA to get 2 when i can get the "same" product for half of the price.
i mean, its up to you at the end of the day, but most people wouldnt know whats under the hood of a skyconnect
Yes, but my point is that if the money goes to HomeAssistant or just someone else?
i can confidently say that a % would go to the offical resellers, and a % would go to nabu casa
Well i know that, my i just want to know what these percentages are ๐
eh, nabu casa would work with nordic directly to some capacity, so doubt youll ever know. same as the yellow, blue or green
So seems I have gotten thread stable, but now zigbee doesnt update anything ๐ฆ Urgh
back on multipan?
No, not really sure what i did, but maybe its not crashing cause zigbee isnt working lol :S
seems things have started working again. fingers crossed it holds haha
So I've played a bit with the OpenWrt openthread package and it works ๐ ๐
There is not much UI support yet, but it has the REST API enabled, so setting up the BR from HA is a breeze
it only took ya about an hour or so after some misconfigurations ๐คฃ
Wait, you saw that? ๐
Yeah I discovered their readme much too late. And then is just super annoying to onboard Matter devices on a random Thread network currently, due to those Android restrictions ๐ข
yeah, had it in the background while i did a few things ๐
i mean the end user could prolly use config/matter/dashboard instead of web-sockets to make it a ton easier in terms of guiding them, but yeah ble can be a pain especially when there is no "right" way to do it all
I was actually searching for that at one point, but somehow I didn't found it/I assumed it is gone with the latest beta
good to see it is still there ๐
I mean, if I had that BR on my main net, I woudl have just added it into my existing Thread network, removed all the other BRs and proven that it works ๐
But I was using my test VLAN, where I don't have a commissioner
I probably should get an Android phone specifically for my test VLAN. Then I can also just blow away the Play Services data whenever I feel ๐
@twin vine I mean whoevere created that package was clearly thinking about Homee Assistant ๐
https://github.com/openwrt/packages/blob/master/net/openthread-br/README.md#rest-server
haha yeah, i remember you saying something about that. that absolute legend was 6 months ahead of his time
what you did was a very cool proof of concept, thats for sure
just obviously needs some loose ends tied up, mostly on the openwrt side ๐
NOpe, crashing again, seems like it just stayed stable for about an hour ๐ฆ urgh
If anyone has HomeKit over thread devices and they are running the beta this month, let me know how you get on with b4 or laterโฆ
(Itโs building right now)
@viscid anvil I converted your message into a file since it's above 15 lines :+1:
Can only assume it is to do with 'Failed to bind UDP socket: Address already in use' but unsure how to resolve it, any help would be much appreciated!
so you set the OBTR add-on to use the usb in the config area?
and you dont have any zigbee add-on using the stick?
I did have an zigbee addon initally but removed it, do I need it?
Yes the USB is configured in the config area
/dev/serial/by-id/usb-Nabu_Casa..
I did not come across that! Will go through it now and report back, thanks!
it asks for a port, do I manually need to enter the really long one from OTBR config?
asks in the add-on config?
when install Zigbee Home Automation it asks to select a serial port, which finds SkyConnect, then radio type which I choose EZSP I assume
just thread
huh? you got an image. you shouldnt have to specify radio type if you follow the guide above
ah so now I see this:
'Your device is running the wrong firmware and cannot be used with ZHA until the correct firmware is installed. '
Your Zigbee radio was previously used with multiprotocol (Zigbee and Thread) and still has multiprotocol firmware installed: (SPINEL). To run your radio exclusively with ZHA, you need to install Zigbee firmware. Follow your Zigbee radio manufacturer's instructions for how to do this
in the settings of the otbr, is the auto flash firmware on?
It is
might I need this? https://github.com/NabuCasa/silabs-firmware/wiki/Flash-Silicon-Labs-radio-firmware-manually ๐ฆ
struggling to get the firmware to install on dietpi ๐ฆ I'll give it another go earlier, 5 hours into it lol
wait your running HAOS yeah?
OTBR crashing? Same error as you posted previously?
otbr-agent: ../../src/mdns/mdns_mdnssd.cpp:951: virtual void otbr::Mdns::PublisherMDnsSd::UnsubscribeService(const string&, const string&): Assertion `it != mSubscribedServices.end()' failed.
If so, it would be good if you can capture more of the logs. I wonder if there are some logs entry before that whiciih give a hint what is going on exactly.
ZHA detects the SkyConnect, and tries to use it for Zigbee. Since you want to use it for pure Thread, you have to ignore/disable the ZHA discovery entry. See Step 3 in the linked guide.
It is on our todo to improve this expierence, ZHA currently thinks it owns SkyConnect ๐
Ill wait to see if it crashes again.
I turned off use hardware flow control in the open thread border router and its been up for a couple hours now. See how that goes.
DietPi so assume HA Supervised?
Ok. FWIW, to me it seems unlikely that disabling flow control and that particular error has a correlation. Let's see.
To add the Zigbee addons states this:
Your Zigbee radio was previously used with multiprotocol (Zigbee and Thread) and still has multiprotocol firmware installed: (SPINEL). To run your radio exclusively with ZHA, you need to install Zigbee firmware. Follow your Zigbee radio manufacturer's instructions for how to do this.
Do I need to use the Zigbee firmware if I just want to use it as a Thread router?
The OpenThread Border Router add-on will flash the right firmware on its own. You don't need to flash the firmware manually.
@viscid anvil that is still your goal right? That is what you wrote initially:
I want to use it as an OpenThread Border Router,
Correct, I actually removed all addons, rebooted and installed just the OTBR addon, firmware was skipped as it already had the right firmware. I can now see it as a router in the Thread addon under devices! So getting closer!
Now just trying to add a Matter device and it says no Thread Bourder Router is on the network, anything else I should do?
What OS is your phone using?
Yeah we don't have Thread credential synchronization in the iOS App yet ๐ข
In Android, use the companion app, and make sure the Thread credential is synced to your Android device under Settings > Companion App > Troubleshooting > Sync Thread credentails.
Amazing, doing that now
Says added, let me give it a go ๐
Currently hanging on 'Checking network connectivity' whilst adding, further than last time but has been on that screen for a while. Fingers crossed!
Do you have the phone and the HA server running the OTBR add-on on the same network (e.g. no separated VLANs)?
I just realized my samsung tv can act as a matter hub, any know if it has thread border router capabilities?
They should work. Some of them have also WiFi but I guess yours has Thread?
what one?
its the 4.0 one, which has Matter support
@viscid anvil can you check the Thread integration configuration page, is the Home Assistant Border router in the right Thread network, and is the Thread network the preferred one?
You mean what kind of TV?
Yeah I just enabled it and can it can commission devices.
thats kinda dope
ah just noticed in the thread integration it sees the router but there was a button saying 'Use for Android + iOS credentials ' selected that
Also it says Dietpi.local, could this mean that its not being seen outside of that?
This is just the hostname of that particular border router.
Right, Android wants us to define our primary border router. However, I don't think it is actively used by Android yet.
Did commissioning work? Otherwise run the Thread credentials sync again, just to be sure. It should say that the phone and HA Core use the same preferred network.
When adding the device it went through steps of connecting to device, then very quickly something about credentials then hangs on connecting to network and eventually says cant reach device, but it seems to see the border rotuer as it isn't saying that there isn't one installed anymore.
What do you mean about commissioning sorry?
I'll try another sync.
the sync says Home Assistant and this device use the same network
Thats on the Android device
Ok this time it just says Can't connect to the thread network home-assistant
Not sure if this means anything under the Matter addon logs:
Logger: homeassistant.components.matter
Source: components/hassio/addon_manager.py:380
Integration: Matter (BETA) (documentation, issues)
First occurred: 17:48:46 (1 occurrences)
Last logged: 17:48:46
Failed to set the Matter Server add-on options: not a valid value for dictionary value @ data['options']. Got {}
Hm, maybe the device is a bit too far away from the border router? ๐ค
It sounds to me like a RF/link quality issue.
Hm, haven't noticed this. But you are not yet in Matter onboarding at that point, it is just your phone trying to reach the device through the BR.
Yes, if you want the device to reach their cloud, then you'll neeed that feature.
But I also don't think that this will solve your problem ๐ข What is the distance between the lock and the SkyConnect?
Yea you're right not sure its related at this point, the distance is maybe 3 meters on the same floor (under the stairs and device is on the front door)
Will try removing the device from the door and stick in right next to it
same issue when right next to the skyconnect device
Same as which one of the two errors? ๐
sorry Can't connect to the thread network home-assistant
Hm, that is strange. The phone talks to the device via Bluetooth, and instructs it to jump on that network. It seems the device reports back that it can't ๐ค Maybe restart the OTBR add-on?
I'll reboot HA altogether perhaps
Shouldn't be necessary, but can't hurt ๐
Whilst its doing that, is it possible to be a network issue? I got the service as I have a Google Hub v2 but couldn't be seen as a border rotuer what ever I tried
However the issue with SkyConnect seems to suggest that the network sees a router but can't connect
@viscid anvil I converted your message into a file since it's above 15 lines :+1:
Wow, its nice to see vendors make HA specific help guides for people!
Hm, you sure this is a 2nd Gen? I am actually surprised that your phone didn't pick that one up as BR.
Now that you say it: You are using Supervised right? ๐ค
Yup spent ages on that and gave up and figured I liked the sound of SkyConnect so waited for this
yea
dietpi / rock64
We had to tweak HAOS quite a bit to play nice with Thread BRs in all circumstances (see https://github.com/home-assistant-libs/python-matter-server/?tab=readme-ov-file#installation).
However, acting as BR I don't think there shouuld be anythign missing by default ๐ค
Unless.. Maybe net.ipv6.conf.all.forwarding is not enabled on Supervised? ๐ค
Will take a look now, by the way I think these may have come up when adding the device:
otbr-agent[183]: 00:04:41.960 [W] Nat64---------: no mapping found for the IPv4 address
Anybody where I can find my 32 characters network id?
However I then would expect the error you first posted ("eventually says cant reach device")...
Network id? Not heared that term in the context of Thread networks.
IPv4 and the NAT64 stoy should not be relevant for the Matter commissioning really.
With this where should I check, /proc/sys/net/ipv4/ip_forward?
sysctl net.ipv6.conf.all.forwarding
Yeah I guess. Make sure to run on the OS shell (not in the HA Web Terminal, as this is not on the OS itself).
I'm using my Samsung TV as a matter hub to connect a thread device so that I can transfer to HA. But it's asking me that network id thing...can't share photo here
This would be smart things I presume
hmm, i dont think HA shows network key
that command doesn't work, and dependencies seem to be installed (dietpi runs on Debian).
However in etc/sysctl.conf the following is commented out:
#net.ipv6.conf.all.forwarding=1
Should I uncomment?
i can see it in the nanoleaf app, but not natively in HA
wait
the network key is in the tlv
Hm, strange that the command doesn't work. What is it saying? Sure you can try uncommenting. But I think that it applies would need a reboot.
Is that a vanilla Debian or a derivate?
Just that the sysctl command is not found
its a super slimmed down version 'dietpi'
I doubt that uncommenting then works tbh. But I don't know DietPi well enough.
@still quiver my network key in tlv is from characters 70 - 102, not sure if every tlv has a set lengths for everything tho?
Hm, this says it does https://dietpi.com/forum/t/cant-write-sysctl-settings/5149/3 ๐คทโโ๏ธ Yeah try, I mean it just makes your DietPi in a IPv6 router (which it needs to be be a Thread border router, since this is about IPv6 ๐
Done that and rebooted, I'm seeing some 'MeshForwarder' stuff in otbr logs, which Im sure weren't there before
@still quiver if you have the Active dataset TLVs you can use this script to extract the network key itself: https://gist.github.com/agners/0338576e0003318b63ec1ea75adc90f9
otbr-agent[183]: 00:05:30.289 [W] P-RadioSpinel-: Handle transmit done failed: ChannelAccessFailure
otbr-agent[183]: 00:05:30.425 [W] P-RadioSpinel-: Handle transmit done failed: ChannelAccessFailure```
Hm, that sounds like your network is quite jammed
Do you use the USB extension cable?
Make sure to be as far away from USB 3.0 deviices as possible. They mess with IEEE 802.15.4 devices (Thread/Zigbee)
So next to the device I have a mini home lab set up with a couple of HDD bays, but I have it as far as the extender goes and lower down if that makes sense
just came across this https://dietpi.com/forum/t/ipv6-not-working-without-prefer-ipv4-option/4070
The only issue is that DHCPv6 doesnโt work yet
its been fixed apparently (https://dietpi.com/forum/t/dhcpv6/3885)
you running the latest version?
Ok cool, yea latest version
thanks! if I didn;t have the NL app, I would have used this git script but much more simpler (for me) just to use tha app. Cheers
Does my ISP need to support IPv6?
have you got v6 within your network working fine?
like your devices get a local link address?
Yes ipconfig on a windows device seems to show an IPv6 address for my LAN
and I can ping that ipv6 address
ip a in dietpi seems to return ipv6 addresses
4: hassio: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default link/ether 02:42:24:41:a1:e1 brd ff:ff:ff:ff:ff:ff inet 172.30.32.1/23 brd 172.30.33.255 scope global hassio valid_lft forever preferred_lft forever inet6 fe80::42:24ff:fe41:xxxx/64 scope link
You want to look out for your main network interface (eno0 or so).
So even after sysctl.d change did not work?
Yup, I tried to disable ipv6 and re-enable and the logs on OpenThread show this
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface
Yeah that is normal. The OTBR tries to use the Docker veth devices.
I recommend trying out HAOS. You can just flash it on a SD card. If it works on there, then it is DietPi or some configuration of it...
Sadly and frustratingly still crashing ๐ฆ Im at a loss at what to even try.
Pulled what looked relevant from the log (and can fit into discord)
otbr-agent[183]: 04:28:21.527 [I] DnssdServer---: Send response, rcode:0
otbr-agent: ../../src/sdp_proxy/discovery_proxy.cpp:200: void otbr::Dnssd::DiscoveryProxy::OnServiceDiscovered(const string&, const otbr::Mdns::Publisher::DiscoveredInstanceInfo&): Assertion `splitError == OTBR_ERROR_NONE' failed.
otbr-agent[183]: 04:28:21.527 [C] Platform------: ------------------ BEGINNING OF CRASH -------------
otbr-agent[183]: 04:28:21.528 [C] Platform------: *** FATAL ERROR: Caught signal: 6 (Aborted)
otbr-agent[183]: 04:28:21.536 [C] Platform------: # 0: /usr/sbin/otbr-agent(+0x21d228) [0xaaaad3b8d228]
otbr-agent[183]: 04:28:21.536 [C] Platform------: # 1: /usr/sbin/otbr-agent(+0x21d36c) [0xaaaad3b8d36c]
otbr-agent[183]: 04:28:21.536 [C] Platform------: # 2: linux-vdso.so.1 __kernel_rt_sigreturn+0x0 [0xa60d47bc]
------: # 7: /usr/sbin/otbr-agent otbr::Dnssd::DiscoveryProxy::OnServiceDiscovered(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, otbr::Mdns::Publisher::DiscoveredInstanceInfo const&)+0x254 [0xd3ca2b48]
12: /usr/sbin/otbr-agent std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, otbr::Mdns::Publisher::DiscoveredInstanceInfo const&)>::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, otbr::Mdns::Publisher::DiscoveredInstanceInfo const&) const+0x64 [0xd3b4fb48]
#13: /usr/sbin/otbr-agent otbr::Mdns::Publisher::OnServiceResolved(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, otbr::Mdns::Publisher::DiscoveredInstanceInfo)+0x34c [0xd3b4a974]
yea might try that, dont think I can install HAOS on rock64 can I?
i mean, could you do proxmox and then haos through that?
might just get a cheap nuc
btw I managed to get sysctl to work by running export PATH=$PATH:/usr/sbin:/sbin
echo $PATH didn't have sbin
sudo sysctl -a | grep 'accept_ra ' shows:
net.ipv6.conf.all.accept_ra = 1 net.ipv6.conf.default.accept_ra = 1 net.ipv6.conf.docker0.accept_ra = 0 net.ipv6.conf.eth0.accept_ra = 0 net.ipv6.conf.hassio.accept_ra = 0 net.ipv6.conf.lo.accept_ra = 1 net.ipv6.conf.veth0658cd9.accept_ra = 1 net.ipv6.conf.veth283d37c.accept_ra = 1 net.ipv6.conf.veth3d3a16a.accept_ra = 1 net.ipv6.conf.veth4d8e041.accept_ra = 1 net.ipv6.conf.veth6823d97.accept_ra = 1 net.ipv6.conf.veth7e40360.accept_ra = 1 net.ipv6.conf.wpan0.accept_ra = 1
is eth0 your main interface?
yea
Ive now added net.ipv6.conf.all.forwarding via sysctl... lets see
seems to have got rid of the ipv4 mapping error and can just see these now
otbr-agent[183]: 00:02:52.390 [N] MeshForwarder-: src:[fd5a:9750:d93c:285c:247b:af72:77e9:9956]:40135 otbr-agent[183]: 00:02:52.391 [N] MeshForwarder-: dst:[fd1a:ecf3:49b1:1:cf74:7505:efda:759a]:5540 otbr-agent[183]: 00:02:57.779 [N] MeshForwarder-: Dropping IPv6 UDP msg, len:214, chksum:7dc4, ecn:no, sec:yes, error:Drop, prio:low, radio:all
B4 apparently managed to build now ๐ anyway if anyone keeps having to restart Ha to keep homekit over thread devices online Iโm interested in if B4 is any better for them ๐ค
Trying to mount my MotionBlind with tesa Powerstrips, not sure if that is a good idea ๐
oh my days... after all of that, the last hurdle was actually enabling ipv6 in settings of HA.... ffs lol
literally spent ALL day on it lol, but oh well its done now lmao. Just need to figure out how to keep sysctl net.ipv6.conf.all.forwarding=1
on a reboot but that shouldn't be too hard to figure out, one for another day. Thanks all haha
Ok so forwarding and IPv6 was it then in the end?
yup
I noticed that I had those ipv4 errors again when I restarted dietpi, and the config had disappeared. Popped it back on and applied, and they disappeared from logs. Was searching one of the error and came across a thread about enabling it - although the errors about 'InvalidArgs' seem to be a red herring
haha not at all, thanks for the help. I would never have got there, I would have had no idea about the forwarder
this Matter/Thread stuff is soooo confusing to troubleshoot lol
There are just a lot of parts to it that are โnewโ
Yeah especially with Thread, it's a two level thing
Once everything matures a bit you hopefully donโt have to troubleshoot a lot of these parts anymore
The first Wi-Fi devices probably also had a lot of problems, today in 99% of the cases it just works or you have to increase your signal strength
I guess there are so many different factors as well, which make it hard to troubleshoot. For example I have an asus router with merlin wrt, running HA on a probably pretty rare dietpi / rock64 setup
If my only thread border router is a Sonoff dongle (flashed with thread firmware), thereโs no way for me to commission devices with an iPhone right? Trying to add some Nanoleaf Essentials
My Wi-Fi devices are way more reliable than both Zigbee and Thread. Because it's proven tech.
Hello,
I am using Sonevoe Eve Motion Blinds and integrated them to Home Assistant trough HomeKit. It works for some time but then it just stops working for no reason. When I manually open or close it it shows the status. But I can not control it. As soon as the manual movement stops it goes missing again. I am not sure why. Can it be some kind of battery saving stuff?
Febs release of HA (out on Wednesday) might help
Okay are there any changes especially on eve decices? Since other thread work as they should :)
Homekit encryption uses a counter to create a new encryption key for every message. If you have enough packet loss or you have devices on the mesh that have crashed that counter still goes up even if packets arenโt delivered.
Some devices ignore messages they canโt decrypt
But we never reset the counter in this case
So control of a remote device would become impossible
If restarting HA fixes it for a while you are probably hitting this problem
If you find itโs better after trying the feb release then what it means is your mesh is weak near the blinds
Youโll probably want to add more thread devices or border routers if thatโs the case
Note that homekit has seperate encryption keys for receiving data
So itโs entirely possible that receiving status updates from the device could still work
We try hard to recover from dropped packets on the receive path - even guessing the counter if we have to - which is how the RX path can be more stable than the TX path
I see I try to restart if that fixes the problem. What would be a router? Just a simple device ?
Any mains powered device can be a router. The leader decides which of those router capable devices are a router tho.
One of the problems is when some devices become routers that arenโt very good ones (like nanoleaf - I wish I could force them never to be one)
Okay, I restarted HAS and it aktually works again!
So a workaround would be to make an automation that restarts HAS at night
Until the update
i mean, or you could just use the beta
using the google home sample app for matter now shows me the TLV for my Amazon thread network for some reason - was able to add the set into home assistant and add my skyconnect as a BR. I've yet to try and add/control a device to see if it actually works so ill have a look later
i can't see any updates for the echo device that's already a BR so i have no idea how they popped up
Hi All, every now and again my eve energy light strip (which is connectted via thread to Skyconnect in multi protocol mode) becomes unavaialble. Here is the log. Was just wanting to know do i need to report a bug for this to start working on how to fix it? https://hastebin.com/share/kubipaciza.vbnet
Please donโt file an issue yet
Timeout errors like the one you posted are more than likely environment issues. Unfortunately with thread that covers a lot of ground.
How far away is the light strip from the SkyConnect?
Do you have any other thread devices on that network?
Have you tried the thread only firmware for the SkyConnect instead of multiprotocol?
Thanks for the reply @vapid shell - in answers, about 2 meters from the SkyConnect (if that) however the SkyConnect is under the wooden floor (central to the house) to the lightstrip controller. I have another one about a further meter or 2 away from that, which seems to work better. Only 2 devices on the HA thread network - I also have a ATV4K on the same ip network.
I really need the SkyConnect Zigbee side of things as well as I have approx 60 Zigbee devices.
So have not tried just thread. Maybe I need to get another SkyConnect or other Zigbee stick?
Thats the "best" solution if you want things to just work.
You could use the Apple TV for thread
And keep the SkyConnect for zigbee
My SkyConnect has about 60 devices and I have a couple of thread devices attached to my Apple HomePods
Hmm.. so change the Nanoleaf light strips over to HomeKit right
Ah you have nanoleaf
So read the docs for homekit_controller (now just Homekit device) and it will tell you 2 ways to use Apple border routers
https://imgur.com/a/v72o30A is what is in the thread setup at the moment.
And this is the current HomeKit Device setup
The iOS HA app can import the creds from your Apple border router, then you can make it the preferred one. In theory at least.
Then re-add the devices to HA like you did originally (youโll need to reset them to change networks)
If you have nanoleaf itโs still going to be crashy
OK, yea im guessing this is Nanoleaf right? Crashy. I actually replaced the entire kitchen bench light strip with hue, but hue has a slight green tinge when making a white (I guess its RGB) where as the Nanoleaf lightstrip is a nice white, The WAF was not good with the hue lights on the bench top ๐
Thanks for the tips. Would seperate Thread and Zigbee controllers make any difference or is it Nanoleaf in the end that is the problem here.
I think nanoleaf is likely the root cause but if you add lots of thread devices youโll probably start to hit the problems with multipan and wish youโd sorted it out sooner ๐
Some people have nanoleaf crashes once a day
Mine lasts a few weeks between crashes
2024.2 should recover Ha from the crashes better
Mine is like 1 a week or so.
Just enough to be annoying
Not planning on adding any more thread devices ATM.
whatever you do, do not update to the matter version if you can
@vapid shell are they causing issue's to thread network ?
Because if that's the case i'm not going to add them to my network.
โIt dependsโ
With small numbers of devices itโs kind of ok
I have 2 light strips - a homekit one and a matter one - and they are ok
The HomeKit one breaks about once every couple of weeks but a restart fixes it
Some people (especially but not limited to those with lots of nanoleaf devices) see frequent crashes
And as they are routers not only does it disrupt the mesh, i suspect it cascades
I previously had extremely frequent Thread network crashes, however since updating SkyConnect to Multiprotocol firmware v2.4.4, it has been significantly more stable.
Thanks @vapid shell Will see how it goes. Will first try some things with Eve plugs to get lighting fixed.
Don't want to risk it
I jinxed it, my Thread network crashed again just after writing that comment. Before today it was stable for more than a week.
@sick swan When trying to add my thread credentials I keep running into an error code 74? Any idea what might be going on?
Yeah I remember you mentioning that, i have to look into it
Did you open an issue or something somewhere? I remember I've read that somewhere ๐
I dmโd you ๐
Now my Thread network is back online but my actual internet is down (regional outage). Pretty cool that all locally-controlled devices still work, including all Thread devices. Even the Nest Hub TBR still meshes, despite being offline.
FWIW, I've checked via dm on that TLV. It seems that in @half bluff case Apple added a custom tag 74 to the TLV. This is not specified in the OpenThread sources, so no clue what this is about ๐คทโโ๏ธ
But we should be able to add it so it will be possible to import such datasets.
Hey again, so i just wanted to confirm my understanding. Currently 2 nanoleaf lightstrips connected to Skyconnect/HA thread network (I orginally reset them, then in HA connected them directly, this would have been done by BT onboarding via HA). So to change them to the Apple thread network: Disconnect them from HA, reset device, connect them to Apple HomeKit, then remove from Homekit without resetting - they should show up in HA again. This time when you add, they will be on the Apple thread network.
Also, should I click Make Preferred Network here before I do that? https://imgur.com/a/v72o30A
If you do make preferred network first
Then reset them
Then onboard them through Ha again
It should work
The thing where you add them to HomeKit, then remove them, then add them to ha should work too
Itโs a fallback for when Ha doesnโt know the apple thread secret key
Onboard them via the apple home app, then remove from apple home... they should show up in HA at that point but still on the apple thread network.
OK @vapid shell some feedback for you on this process. To confirm: Remove from HA, reset device, make apple thread network preferred network in HA, pair device to apple home via iphone home app, check nanoleaf app to make sure on thread network, remove from apple home, click configure in HA, enter pairing code:
Then i get this message: "This accessory is already paired to another device. Please reset the accessory and try again."
Is there a way to use skyconnect with just Thread/Matter?
yes, just install the OTBR add-on
device is still Multiprotocol?
uhh, what
what add-ons have you got installed?
shouldnt be if you ONLY have the OTBR add on installed and running
got it
"This guide installs a firmware which supports only Thread! If you use your SkyConnect to control Zigbee devices, you will no longer be able to control them after installing the Thread firmware."
- I need to read more lol
hahah all good, happens to the best of us ๐
OK so none of that worked - reset everything and gone back to HA as primary thread network and connected the nanoleaf light strips directly to it.
I am about to try to do the same thing lol
Let us know how you get on. The error my processed produced requested i report it as a bug "An exception that is not an aiocoap Error was raised from a transport; please report this as a bug in aiocoap" as well.
did you add the nanoleaf lights through the home app and not the nano leafapp itself?
Correct
only used the nanoleaf app to verify they were running on thread not bt once connected.
Hi,
does someone uses his rpi5 as a border router for Thread?
no
you would need an external radio like the skyconnect iirc
if you have HAOS and a SkyConnect, then it should work as well as a Pi 4 with a SkyConnect. But please check the pinned messages in #matter-archived to understand any problems that you might have with this choice. for example, its not an option if you are an iphone user.
Is there a guide anywhere to troubleshoot OTBR crashes?
Mine has just started crashing like every couple mins after being happy for a period of time.
Googling the logs ๐
Or posting them here
What are you using for the OTBR?
Skyconnect thread only. It seems to have stabilised again. was weird went from stable to crashing every couple mins, unplugged and plugged back in and did full system restart and seems to have settled down again :S
Newest OTBR add on version?
yep 2.4.5
Just a note, thread support in HA is really impressive now. I just factory reset some eve light switches, configured them in HA over BLE with homekit controller, then provisionned them onto thread from HA, and it all worked.
Make sure you try out 2024.2 when itโs out in a few hours
Should fix one of the more annoying bugs where devices get stuck offline if the mesh destabilised for too long
and in 2024.3 the airversa air purifier should finally work without local patching ๐
Looking forward to that. Though as a policy I never install yyyy.m.0 :p
I should mention I also fully unified my thread network with nanoleaf, Apple, and Google BRs all together and so far it's been working.
blimey
I know, it's crazy. The future is here :p
Far out, must of taken a while to get them all happy ๐
I dunno if there is even an option for this in the OTBR but it would be nice if log timestamps were absolute, not relative to the startupt
Similar to the matter logs that have m/d/yr and h/m/s
It really is a huge leap forward! You guys have been absolutely killing it with frequent updates to Python-Matter-Server aswell
Really looking forward to this
Let me know how you get on - not had much beta feedback!
I'll need to test it long-term. As in seeing if my Thread network feels more stable after the update
Hi! Where can I download an older version of the addon (openthread border router)? I have 2.4.5 and cannot add new thread devices like mentioned in this issue https://github.com/home-assistant/addons/issues/3447
Yep it's included in 2024.2, just updated and I have the icons now.
2024.2 has it.
Why not?
i mean, it depends if nanoleaf displays as his vendor
It works for my two Shapes Thread Border Routers. Nanoleaf also has TBRs in their Elements and Lines controllers.
I haven't gotten the update hence it's missing still
Ah right ๐
I've written down some Thread know-how. Can be useful when dealing with Thread ๐
https://blog.printk.io/2024/02/thread-border-router-technical-deep-dive-part-1/
I want to get my Eve Energy working with a Conbee 3 stick.
Here are the logs for the addons
-Open Thread Border Router: https://pastebin.com/Muagh2yD
-Matter server: https://pastebin.com/bEuaDmRj
Help is appreciated
Do you have any other external border router?
And what are you using to commission? iOS or android?
No only conbee3 is my border router
Android
@pine wave I don't see a commissioning attempt in the logs, what is not working exactly? Make sure to sync Thread credentials before starting commissioning, see https://www.home-assistant.io/integrations/thread#turning-home-assistant-into-a-thread-border-router
Not sure if concidence that microwave knocks down some of my thread devices
A few people here have mentioned that happens ๐
Yeah microwave ovens are known to leak radiation in the 2.4GHz regions
Okay I did that. Now another error occurs, when I try to connect my Eve device. "Unable to connect to thread network st-tizen" ... I don't know how to remove st-tizen, nor how to change the preferred thread network on android....
Tizen? What Samsung TV have ya got?
A M80C smart screen.. I also have a dongle, which is connected to the screen... unfortunately disabling the Hub removing the screen from the network didn't help neither
on the web I found this:
"Unfortunately there is no way change the preferred Thread network on Android devices currently. The only 'solution' we know about is to clear all data for the Google Play Services app (system settings > Apps > All apps > Google Play Services > Storage & cache > Manage space), which stores the Thread networks. Keep in mind that clearing this will also clear other Google data that only exists on your device such as your Google Wallet cards (๐ฅ)."
which was from july 13 2023. might have changed? does anyone know?
SmartThings is awful, don't use it for Matter. Any other Thread Border Router would work better.
Yes this has changed. There's a new button in the HA app, "Import Thread credentials". If you have a Nest TBR it would work, not sure about other brands.
I currently don't use the smartthings feature at all.. I don't know how to add my eve energy or eve motion to home assistant without android trying to add it to the smartthings network
this is the reason why I get the "Unable to connect to thread network st-tizen" error message, isn't it?
@sick swan would know, but I donโt think things have changed
I deleted play service data and now its working. great! thank you for assistance
Itโs wack to see a TV have a OBTR, but hey I guess its 2024
You can also modify them to become an emp. But im not sure if microwaves that disturbe the power and or 2.4ghz are still legal to sell today. (At least in Europe)
I have the Samsung Q990C soundbar which has a built-in SmartThings Hub that's stated to support Matter, Thread and Zigbee. However none of that works. I have given up on SmartThings, maybe it used to be good.
We all know this but Home Assistant is significantly better. I sometimes see SmartThings fans which claim it is easier, but this has not been my experience.
@vapid shell thank you so much for this! Iโve been using an automation for months now to reboot HA whenever one of the Nanoleaf thread bulbs became unavailable. This would fix it but having HA reboot 5-10 times a day was no fun. Since installing 2024.2 the other day, I noticed that no reboots have occurred because the bulbs have all stayed available. I came here to see if I could find any explanation for that and found this. Thank you again! I was about ready to get rid of all of those bulbs.
NP. Remember they are still going unavailable 5-10 times a day. Either your mesh has some spotty coverage or they are crashing and restartingโฆ We know the matter ones do that. I kinda expect the HomeKit ones do.
Cool well as long as HA is able to reconnect them without me having to reboot, thatโs good enough for me! Haha
Just keep an eye on it as your mesh grows
As they act as routers so they can take other devices offline
Size seems to be a factor in frequency of problems too
Will do thanks. Iโm definitely hesitant to add more to the thread mesh at the moment.
@bronze fog I converted your message into a file since it's above 15 lines :+1:
Hi! I'm kind of new here and, although I have some developer experience, I'm just starting with HA. I would appreciate any help with me adding matter over thread devices to my HA. Sorry for the long post:
- So, first I have HA installed in a Raspberry Pi 5 and all updated. I have a Sky Connect, and the open thread border router add-on and integration on and running. The Sky Connect has the appropiate firmware to support thread. I have the Zigbee integration disabled. MAtter add-on is installed and updated to last version too
I've tried to add three devices: - Onvis 5-Key switch, It's installed under HomeKit device Integration via WiFi. I tried to switch it to thread by clicking on "Press" under configuration but the Thread Status of the device is still "Disabled". Under the logbook appears "Provision Preferred Thread Credentials" but It throws the following error:
Failed to call service button/press. Onvis-HS2-66080A [DC:35:E3:66:08:0A] (id=21:47:34:28:2D:45) - DC:35:E3:66:08:0A: Failed to connect after 5 attempt(s): TimeoutError - Tapo P125M plugs. I wasn't able to add it directly to HA. I had to add it to the Tapo app, connect it to the wifi, and then add it to HA by adding the integration directly with its IP. I don't see any option to switch it to Thread.
@peak hill I converted your message into a file since it's above 15 lines :+1:
Then I try to add the device via websocket too
"message_id": "2",
"command": "commission_with_code",
"args": {
"code": "30846023139"
}
}```
But it fails. Looking at the Matter server log I see this:
```2024-02-11 20:17:23 core-matter-server matter_server.server.device_controller[126] INFO Starting Matter commissioning with code using Node ID 5 (attempt 1/3).
2024-02-11 20:17:33 core-matter-server chip.CTL[126] ERROR Commissioning discovery over BLE failed: src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout
2024-02-11 20:17:33 core-matter-server chip.-[126] ERROR src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout at src/controller/SetUpCodePairer.cpp:324
2024-02-11 20:17:33 core-matter-server chip.BLE[126] ERROR BLE scan error: src/platform/Linux/bluez/ChipDeviceScanner.cpp:173: CHIP Error 0x00000032: Timeout
2024-02-11 20:17:53 core-matter-server chip.CTL[126] ERROR Discovery timed out
2024-02-11 20:17:53 core-matter-server chip.ZCL[126] ERROR Secure Pairing Failed
2024-02-11 20:17:54 core-matter-server chip.DIS[126] ERROR Timeout waiting for mDNS resolution.
2024-02-11 20:17:58 core-matter-server matter_server.server.device_controller[126] INFO Starting Matter commissioning with code ```
I have the Bluetooth integration up and running on active scanning
With your method, the matter server accesses directly the Bluetooth stack. You'd have to disable the HA Bluetooth integration.
Yeah seems the Android phone (play store) had the st-tizen network stored. Honestly I am not sure if the Googel Thread network API supports removing Thread border routers ๐
๐
@peak hill do you use Home Assistant OS?
@spring bramble Any thoughts on my Skyconnect error? A few months ago I had skyconnect connected to HAOS, then removed it. Re-connected yesterday and now I see rest_web_server error.
Thanks for the reply! I'll try that later. ๐
Probably a different add-on which uses the same port
The port assignment for add-on which use host network is not ideal.
what port does OTBR want to use?
8080 and 8081. But that is only the case if you enabled them in the add-on config.
Ok ya an Ecowitt uses 8081
I think I upstreamed support to change this at one point ๐ค
Ah I remember now. The problem is the web interface served on port 8080 accesses the REST API, and the port is essentially defined at compile time (or source even) ๐
I mean, ideally we want to get rid of that web interface entirly, and have a nice visualization in HA Core.
Thatโs an interesting concept
Not sure how well it would exactly work as google and co canโt get the topology that reliable
Whooohoo..got Skyconnect joined to my Apple thread network.
Nice work, you got any google BRโa to add now? ๐
I hate Google. No.
Haha fair
Wdym? I can see my Google BR in the visualization, along with the devices connected to it. Afaik, the whole network topology can be fetched from any BR in the network.
Apple, Google, all the same BS. SkyConnect is the only true option here!! ๐
Must of gotten more reliable recently, used to the case of you had to refresh the topology (in the web GUI of the OTBR) to get everything to confidently show up
dunno if they fixed OTBR, but at one point it would crash you had more than like 30 decides
and random missing data used to kick in before then
Yup
Uh I see. Yeah didn't get to that amount of devices ๐
Actually Apple is rock solid. Google, not so much.
someone did submit a patch for the 2nd one (increasing some timeouts), dunno if it went anywhere
I mean I mostly kidding. In the end whatever floats your boat ๐
It is kinda interesting, Apple BR have been on Thread 1.2 for a long time, when Google was at 1.3 already. Suddenly they jumped to 1.3 and enabled TREL.
Now Google seems to be a bit behind. I think what sucks in Google world is the whole Fuchsia transition. It seems to me that the Thread BR integration suffered a bit with that transition. But that is my personal observation/thoughts, not sure how much to it is in reality.
In the end, I don't like both. You essentially have no control over their BRs they just do whatever they feel is right ๐ข
They havenโt released a new fuchsia version since early October, or a new nest software version since early December.
They must of been hit hard by the layoffs
Yeah looks like
What surprises me with Apple BR a bit is that they prefer global IPv6 prefixes if available.
Which is kida cool. But also, maybe I don't want that? ๐
they do seem to be still working on it, just strange that its been radio silence for over 5 months
Here, you may ping my Eve Motion sensor ๐
2a02:169:3c09:14:58c1:176a:fa9b:3480
So Apple is not firwalling anything
I opened the firewall on my router, but I am not sure how consumer routers behave by default. I am guessing/hoping they firewall incomming IPv6 traffic? ๐ค
thats really bad
DoS by battery draining ๐
maybe its a side-effect of apples home hub implementation
They're working on ramming Gemini into it
i mean, i trust you. but do you have any proof of that?
i dont deny that for one second, but i see nothing relating to AI at all in the fucsia patch notes
not that i would anyways
Just circumstantial evidence based around Google assistant
fair
What is the issue with Nest Thread Border Routers? Is it that they don't use TREL?
Now if we release some SkyConnect PRO that can you place allover your house then count me in ๐
Incoming traffic is blocked by default on all consumer routers - It would be really bad if that would not be the case.
I don't think Apple should do the firewalling - the router needs to do that - but yeah - It kind of doesn't hurt if they would also put a firewall on the border router but maybe that is difficult with all matter controllers on the network ?
Yeah, typically WAN -> LAN zone forwarding is blocked by default.
Yeah, depending on what the goal is, it is also hard doing the firewalling on their end, as you don't exactly know what traffic you would need to limit. Also, if the amount of control we get over the firewall is the same as over TBR (none), then I'd rather prefer them not adding firewalling ๐
It will be the big plus of our solution - we can have that kind of fine control to better secure it
Homekit has a protocol for telling your router what devices there are, IPs, ports, etc, and you can set a trust level too. Is it allowed internet? Can app use its own protocol? Is it homekit only?
Be great to be able to manage outbound ipv6 access with the SkyConnect
Hey! I just got my SkyConnect - is there a guide how to use it for Thread devices? It got listed as a device for zigbee instantly in HA but thats it ๐
Thanks that worked but how do i add devices now ๐ - I just installed HA yesterday and never used Thread/Matter before
oh right. a few things.
you on ios or android?
what devices you trying to add?
do you have any other border routers (apple homepod, google nest hub, amazon echo)?
the current supported way of adding devices is on the mobile app, go to add intergration, and you should see matter up the top, then you scan the QR code on the device
i just bought a few smart plugs to start of with Home Automation stuff and integrade WLED stuff i build and lights to home assistant
I do have an echo dot 5
yep, seems like its supported. you should have no isses with it all
I was able to scan the QR Code via the HA App and now it says i need a thread border router first
didn't i just configured my sky connect as one?
you are on IOS?
no android 14
and there is no vlans or nothing on your network?
you got working ipv6 in your network? and have not restricted any mdns?
Same issue here
though I am using a sonoff dongle I reflashed instead, but having opened logs
ipv6 is working, HA Server also got IPv6 adresses
I have a bunch of errors in it
otbr-agent[181]: 00:00:07.823 [N] Mle-----------: RLOC16 fffe -> 4c00
otbr-agent[181]: 00:00:07.825 [N] Mle-----------: Role detached -> leader
otbr-agent[181]: 00:00:07.825 [N] Mle-----------: Partition ID 0x1fe38cda
otbr-agent[181]: 00:00:07.911 [W] Platform------: [netif] ADD [U] fdd7:62c5:da3c:e937:0:ff:fe00:4c00 failed (InvalidArgs)
otbr-agent[181]: 00:00:07.912 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[181]: 00:00:07.914 [W] Platform------: [netif] ADD [U] fdd7:62c5:da3c:e937:0:ff:fe00:fc00 failed (InvalidArgs)
otbr-agent[181]: 00:00:07.915 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[181]: [NOTE]-BBA-----: BackboneAgent: Backbone Router becomes Primary!
otbr-agent[181]: 00:00:08.183 [W] Platform------: [netif] ADD [U] fdd7:62c5:da3c:e937:0:ff:fe00:fc38 failed (InvalidArgs)
otbr-agent[181]: 00:00:08.184 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
otbr-agent[181]: 00:00:08.189 [W] Platform------: [netif] ADD [U] fdd7:62c5:da3c:e937:0:ff:fe00:fc10 failed (InvalidArgs)
otbr-agent[181]: 00:00:08.189 [W] Platform------: [netif] Failed to process event, error:InvalidArgs```
This goes on non stop for about 8 hours and then the addon crashes
Seen multiple github issues for this as far back as OpenThread border router 2.4.3 having been released, seems widespread among multiple border router devices, but I am not seeing anyone posting fixes yet
right, that issue is more a @sick swan thing ๐
try doing Settings > Companion App > Troubleshooting > Sync Thread credentails.
and try re-adding it, maybe it will work then
Poshy, it says device is connected ! ๐
nice work!
yeah, and even better. its all local!
Now time to figure out how to read wattage and stuff
what smart plug is it?
Onvis S4EU
I dont think that does power monitoring
looks like it doesnt
matter also has no official support for that either
currently, only the eve smart plug has wattage features, its releasing to the matter 1.3 spec officially in a few months
yeah and i dont think your plug can monitor power, feels bad man
was gonna say, eve have one but its not done to current matter standard, they basically just assumed what such an endpoint would look like and did it (and hey, 1.3 is indeed the same when it hits)
yea, no doubt they will comply with the spec officially (and HA will remove custom cluster support for power) when it releases and the device is updated
wow i messed up soooo hard
can you return them? ๐
man gonna try and chat with big A to get that retoured or something Haha
i ordered them black friday so probably not but will see HAHA
oh shit haha, maybe try to get a refund out of amazon, might get lucky?
just say the device/s doesnt connect at all and is broken when you recived it, might get lucky
gonna do it now
wish me luck
So what do you guys recommend for measuring power, maybe get infos to grafana
currently, via matter. the only devices that report power are the eve. plugs (in home assistant)
so you're german too i see
no, im australian. just over in europe at the moment ๐
non matter wise I have some frient smart plugs that I think come in EU socket variants and work over zigbee. A shelly 3em monitors power at the breakers and I have some other shelly power monitoring stuff over wifi too
how'd it go with amazon?
Looking good
nice nice
ye i got a label haha
amazon dont tend to be stingy with refunds
i know haha
i ordered this 4 pack, and a pack of 2
tommorow i gonna do the same for the pack of 2 ahaha
but do watch it, most cheap smart sockets dont do power monitoring, and even some of those that do, are woefully inaccurate
Well time to figure out what to buy then
yep, normally its best to go a reliable brand like eve, where you know they are trusted
but they are quite expensive in comparision
Case in point, one of my frient devices records the extension cord my PC runs off of as consuming 20W of power overnight
Unplugging and plugging in devices to find the culprit? Its my monitor
lool
It records the monitor as consuming over 15W on its own
But if I use a current clamp and a high voltage differential probe with my oscilloscope to measure the RMS voltage and RMS current, and also make a math channel for instaneous power and take the mean of that channel to get active power. Neither figure is anywhere near 15W
Further investigation, it appears the crest factor for the monitor in standby is quite high, and this throws off whatever the power monitoring IC in the smart plug is doing
Yeah, they are quite highly priced
i mean i dont need matter at all now
Maybe wait for the 1.3 matter spec to release, and see which ones offer it
oh thats an idea
oh looks like the pack of 2 i ordered from a different vendor got power measuring
gonna try them now haha
https://www.develcoproducts.com/products/smart-plugs/ these are the ones I have that are funky with high crest factor loads.
Ive also seen them arbitrarily decide that the grid is 655.36V (suspicious number for those that know binary). But only for a single sample once in a blue moon, and you know its no lightning strike because they'd all record it if it was
gonna try them out now
theres a non zero chance that again due to matter not having power monitoring features that the power monitoring only works in the meross app
theyre also wifi plugs but oh well, I'm using a shelly device and thats wifi too
Theyre matter or wifi
Matter is application layer protocol
but hyeah you probably right and they will only show the measurements in their own app
doesnt have to be thread underneath
oh
Matter over ethernet and matter over wifi are also things
those are matter over wifi not matter over thread
ah
Technically speaking matter over anything IPv6 is possible, so if you really want to, you can go right ahead with matter over RFC6214
you sound like a sysadmin
Just because I can use google to double check the RFC numbers for IP over Avian Carrier
yeah but most people have no idea that RFC numbers are a thing
I'm a software engineer
some good news though, 3rd times the charm
having uninstalled and reinstalled the necessary addons a few times
I have 1 matter over thread bulb working on my network
A bulb I know isnt overly exciting, and it was entirely pointless replacing a perfectly functioning zigbee bulb with a thread bulb, bought me no advantage whatsoever. But I like playing with stuff
Nanoleaf bulb?
uh a software engineer ๐
does anyone got experience of getting data from HA to InfluxDB or some other time series?
The #analytics-archived channel can help further
yup, its cheap, proves whether the thread network is working or not before I potentially start messing around with making my own thread devices etc etc
Funnily enough the Nanoleaf bulb was my very first smart device.
This was a few months ago... My apartment is much smarter now.
Its only my first matter one
22 zigbee devices apparently, then again remotes and bulbs add up (its not that I think this is a ludicrously huge amount, I just have a small house)
a few ESPHome devices, and some stock firmware Shelly devices too
small enough home that with the british ring main system, a single shelly 3em gets me per breaker power monitoring already
I wouldn't say it's a reliable indicator of anything lol. Their current general firmware is pretty bad
Eh, its currently working, which means my thread network must be working. If my network wasnt, then the nanoleaf wouldnt either
It gets worse, the more Nanoleaf bulbs with currently general available firmware you install. It gets much better with Nanoleafs latest beta firmware.
In my setup I have I KVM VM running HAOS with a skyconnect passed to the VM. I have Theard installed and showing a network with not boarder routers. I have the OpenThread Border Router app installed. I have only got the OBR to work once. The skyconnect I used the online flasher to push the OpenThreadRCP firmware. I also have the SkyConnect CP2102N Programmer app installed that seams to come into play. Network is a cisco switch with unfi wifi with everything on the same vlan.
My question's
How do I get the OBR to work reliably.
once the OBR is up I should just be able to open google home app and add the lights right?
Do you have a google nest device that is a border router?
No isn't that the point of having a obr? Does it have to be Google to work with Google??
You got iOS or android device?
Android
The problem is that Google takes the first Thread border router as preferred one. You can't easily delete that. Can you check the Thread sync?
Step 3 in this guide https://www.home-assistant.io/integrations/thread#case-1-making-home-assistant-your-first-thread-network
On it
I think that is a startup issue sometimes showing. I was unable to reliably reproduce this, but also haven't tried that hard. It seems you've resolved it? Any hint what could have caused it is appreciated!
the sync is done, thanks um let see what i got over here
OK I haven't got the open thread router to start it will not start for the lifeme . I had it working once But I had to do a reboot and it's been screwed up ever since so I don't know what to tell you.
Can you share the logs of a start attempt?
Hm it seems to fail probing the application type. Can you double check nothing else is (trying to) use the stick? E.g. make sure ZHA is not using that device
Typically you need to delete or disable the discovered integration, see also https://skyconnect.home-assistant.io/procedures/enable-thread/#step-delete-zigbee-home-automation-zha-integration
i dont see any integration for zigbee nothing hiddden
So from the logs it seems that flasing fails. Flashing on your PC using web flasher is really not necessary, but it also shouldn't hurt. Can you try to flash again using the web flasher and see if that works?
Yeah I'll do that tomorrow. Thank you
I'll check logs when I'm home and see if it's still printing any errors. But essentially all I did was uninstall and reinstall everything a couple of times, and double check i had synced credentials and it just started workingTM
So alas
I'm not really sure what actually fixed it
I did find a good half dozen to a dozen forum threads and GitHub issues of folk with same issue without any resolution. Mixture of border router hardware across them. Mines a sonoff zbdongle-E that has been reflashed
Ok. could it maybe that you had the Silicon Labs Multiprotocol add-on installed/started as well? ๐ค
No
Ok.
I am not using multiprotocol
It was a pure OTBR firmware, and I have a separate zigbee radio running purely a zigbee firmware.
I am wondering mostlyi about these InvalidArgs messages. I am actually not sure if those are really critical though.
otbr-agent[181]: 00:00:07.911 [W] Platform------: [netif] ADD [U] fdd7:62c5:da3c:e937:0:ff:fe00:4c00 failed (InvalidArgs)
otbr-agent[181]: 00:00:07.912 [W] Platform------: [netif] Failed to process event, error:InvalidArgs
Yeah that was the search term I used while looking to see if others have issues
And as soon as those disappeared things started working?
I am at work for the next 8 hours so cant go and check logs to see if theyre still there
The problem is, OTBR is running in host network context. So an add-on restart doesn't give a "clean slate" in that sense. There might be things left in a intermeadate state, especially when the OTBR actually really crashes. Only a host reboot of course makes the network config pristine again...
Ok, no problem. Thanks for reporting/checking in ๐ .
It has died while I was out
I errm, slightly forgot to get the logs before seeing if it would successfully restart
Post restart there's a few more instances of the same error, but it is operational again
And only a few instances of it. Taking a shower butnill stick it on pastebin after
i got OBR up and phone synced with thread now google is giving me can't reach device make sure your phone is connected to wifi and it is connected
You sure your device is in pairing mode?
yea it pop's up on my phone saying add deive i also reset the nanoleaf contoller to be sure
So everything I've read Google home on Android just sucks. I wonder if anyone's got the nanoleaf to pair with Google home app on Android. Freaking ridiculous
holy shit the gods have spoken, new nest updates
it seems to be using Fuchsia 16?
verison 16.20231130.3.59
Gods of perpetual beta
this look right ?
https://dpaste.org/7p58n
Google home has been the most consistent to pair with for nanoleaf. Pair to that then HA has been the easiest way to get nanoleaf into HA. Or using nanoleaf app, go devices, go into one and click connect to connect it to google home.
Also make sure you get on the nanoleaf beta, the current .136 firmware is way more stable - https://helpdesk.nanoleaf.me/en-US/how-do-i-sign-up-for-beta-software-updates-for-my-nanoleaf-lights-341522****
Yeah looks okay, just you might encounter issues if you're only using skyconnect as your singular BR
My unit got that one installed last night it seems ๐
However, no TREL (yet) it seems ๐ข
Yeah, maybe just wait for the fuchsia patch notes for v15 and/or 16 to come out, might give some better indication about whatโs happening with it all
So, I have a Skyconnect flashed with Thread-only firmware (no Zigbee), but I can't figure out how to configure OTBR integration to use it. It's asking for a URL. I've never used thread before. Help!!
@merry bison Go go add-ons, then add OTBR. The configuration tab of the add-on will show you the serial devices, baud rates, and other options. Ensure your skyconnect is found, then start the add-on and monitor the logs. No URL is needed.
Hello, how do i revert my skyconnect back to zigbee after enabling thread prior to this guide? https://skyconnect.home-assistant.io/procedures/enable-thread/
The Silicon Labs Flasher add-on by default installs the Zigbee fiirmware
Oh and this is safe to use with the skyconnect?
Generally yes. Still probably a good idea to not remove the SkyConnect during flashing ๐ Observe the logs to see flashing progress. The add-on will automatically stop after finished.
Haha ye got it working thanks! ๐
For those using the OpenThread Border Router add-on: The newe release 2.4.6 is mostly bug fix. A visible change is caused by the right order of service shutdowns. Now mDNS stays active when OTBR get shutdown, this allows the OTBR to send out a proper mDNS remove of the _meshcop._udp service. In practice I can see that non-local running OTBRs disappear immeaditly from the list of BRs when stopping the add-on. I don't think that BRs themself use the mDNS to learn about each other, so this probably has little effect in practice. But I stumbled upon this while debugging container shutdown in error cases, and it seemed a nice cleanup ๐
Does OTBR send an RA with a 0 TTL on clean shutdown? Just popped into my head when you said this ^
Not that it seems to matter much with the neighbour detection stuff
Thanks, but I neglected to mention that I am using the container version, not HAOS. As such, there are no add-ons.
I suspect however, this means I need to (Independently) install a separately docker image - will look into this.
do you have the OTBR docker container?
No. Checking that out soon. Working on some things. I realized after Traveler99845 mentioned the add-on, that there must be a corresponding Docker container for use with my setup. Thanks!
I'll make sure to forward /dev/ttyUSB0 to the OTBR container instead of my HA.
When you run OTBR yourself, keep in mind you'll have to do some OS configs, e.g. enable IPv6 routing and make sure NDP is properly handled. The Python Matter Server README has some hints.
Can anyone recommend a thread router that I can plug into an outlet? I have a door lock that communicates over thread but it's far away from my usual thread routers (e.g. Apple TV)
The Onvis S4 smart plug are kinda nice. And you can keep using the outlet ๐
Great thanks will check it out!
Do you know if it connects to WiFi? I don't have any nearby thread devices that it can daisy chain with
No that is a pure Thread router. So you want a Thread border router then? The Google/Apple ones are voice assistants usually, so a bit bigger. You an build your own using a SkyConnect+an older Pi. There is also a ESP32 Thread border router PCB you can buy but it's more meant for development as of now. But I think some folks here have it working.
WiZ is always WiFi no? ๐ค
Oh wait maybe?
What precisely is it that folk find wrong with the nanoleaf bulbs? I've seen a lot of mention of them being dodgy but not a single elaboration of how they're dodgy
I have one that seems to be working just fine and trying to figure out whether this is a difference in my usage that I'm not running into the problems or the issues are overstated
they disconnect pretty often. they can destabilize your entire thread network. there's a particular beta firmware that solves most of that, but their newest beta fw screws other things up. in general, they are beta products at best, released as a fully fledged, mature product
Hmm, not had a single disconnect yet, but I also only have a teeny tiny thread network at moment
probably not got enough devices to notice the issues
consider yourself lucky! i only have like 6 thread things but i noticed the disconnect instantly in HA. it's quick, so it's not super likely to disrupt automations, but it was pretty apparent when i looked in the state history
imo the worst thing about them is what is wrong with tons of home automation crap - you have to think about them. they go offline so they screw up their state, you have to fuss with them when they lose power too long, etc. the fact that you can't not think about them is aggravating as hell for me personally
yeah so thats the thing, I literally only bought one because it was all of ยฃ17. Making it the single cheapest thread device I could get
No real reason to sidegrade into it from the zigbee bulb I already had in that spot
Just wanted to test, "does my border router work full stop?" Yes, yes it does
Ultimately if its problematic, eh, it was 17 quid and has done its job. I can swap back easily
The beta FW has improved a lot over the general FW
Looking for help building an OTBR using an EFR21 and SimplicityStudio5
I promised long-term feedback. To update my experience, I'm not using the Nanoleaf beta and I've previously had a ton of issues. However since updating to Home Assistant 2023.2.1 my Thread network is significantly more stable. I still get occasional disconnects but I no longer have the issue where the entire Thread network crashes. Thread devices also reconnect much faster.
if you want further feedback, seems fine, I have OTBR running in HA and also a espressif-otbr device as border routers, the thread network is stable and seems to rebuild quickly. The matter server seems to have ate itself unfortunately
Only interested in homekit over thread so no thanks!
Probably canโt claim credit for that. The change only helps with homekit reconnecting after a mesh failure of some kind, so most of the time there is no difference in homekit for 2023.2 at all.
Unless itโs some sort of spooky action at a distance
Maybe nanoleaf devices choke on incorrectly encrypted packets, and we were generating them at least once a minute in this edge case.
Then they fail to act as routers and any sibling or child devices become unreachable
But if you are see king your devices reconnect and you arenโt having to restart HA because of disconnected homekit devices Iโm happy
I don't use HomeKit. Nevertheless my Thread network stability is no doubt improved. It's either the Thread improvements or the Matter server add-on update that was released alongside 2024.2.
Then itโs definitely not the thing I was talking about โ๏ธ
The matter server addon is much better at reconnecting from what I recall
Yep I've definitely noticed that Matter devices reconnect faster. But more importantly for me is that the Thread mesh network no longer crashes. It's fine if some devices occasionally disconnect, but what used to happen for me is that the entire Thread network would become inaccessible. This used to happen several times a week but has not happened even once since updating to HA 2024.2.1.
hello
i am trying to follow along with running a multipan container in my docker-compose file, next to my ha container.
i flashed the 4.3.1 firmware to my skyconnect, and the multipan container seems to be running fine.
i think i need to set up the otbr right now, but i am not sure what to do there. should i fill in some values under the "form" menu option on the left?
hello
Guys.. In my house there are only de-googled android phones, I have some thread capable devices and skyconnect (in a machine with HAOS) but no other thread border router. Is there a way for me to connect the devices to skyconnect? Or is there something being developed to enable that?
Depends what devices you have
If your HAOS has Bluetooth and SkyConnect, homekit over thread devices will work today without needing any android or iOS devices.
Thereโs no built in way to pair a matter over thread device without google or Apple sdks on a google or apple device
Itโs on the todo I think
Thanks @vapid shell. But maybe I can use google SDK somehow on my custom ROM.. I need to know basically what is needed from google SDK
its the matter controller sdk from the playservices
I'm trying to get Matter+Thread working with SkyConnect (no branded border router available) and HA on Docker. I'm aware that this is not officially supported, but I was able to commission and run basic tests with an Eve Energy just fine using a community-provided Docker image for multipan. However, I don't need Zigbee, and it is now recommended to run thread-only, so I'm now experimenting with how to switch to that setup. I have the thread-only firmware flashed onto the SkyConnect, but now I'm trying to work out how to run the OTBR in Docker.
I've got it starting up openthread/otbr successfully and I'm getting the web UI and can (apparently) form a network. But I'm not sure how to continue from there, how to test it, and how to integrate it with HA. I'm not even sure if the REST API is enabled on OTBR, as all the guides I found only export the web UI port and not a separate REST API (as the multipan image does). Has anyone gotten a setup like this working?
services:
otbr:
image: openthread/otbr
volumes:
- /dev/ttyUSB0:/dev/ttyUSB0
privileged: true
sysctls:
net.ipv6.conf.all.disable_ipv6: 0
net.ipv4.conf.all.forwarding: 1
net.ipv6.conf.all.forwarding: 1
ports:
- 8086:80
dns: 127.0.0.1
command: ["--radio-url", "spinel+hdlc+uart:///dev/ttyUSB0?uart-baudrate=460800"]```
This is my Docker Compose config โ๏ธ
there are 2 ways to approach what you are doing
one is sort of trying to pretend you have HAOS, but without having HAOS
one is treating OTBR as a seperate service in your home network that you manage directly
theres no real reason (at the moment, at least) to worry about the REST api if you do (2)
and as it doesn't yet have auth, depending on how your network is set up, you might prefer (2) for that reason alone
OTBR needs to route packets between your home network and your thread mesh, so it needs to have host networking (there are more advanced setups like macvlan that can avoid host networking, but the point is it needs a direct connection to your LAN)
if you fix that, then the only other thing you need to do is get your new networks TLV and import it into HA
you can get the hex form of it by running 'ot-ctl dataset active -x' inside the otbr container
then in your thread dashboard in HA, click on the "..." menu in the top right and choose "Add dataset from TLV" - job done
if you changed your network parameters and you have a google device and have a matter eve energy device, i believe you are in for a hard time - google likes to remember your credentials and last i heard we can't overwrite them. hopefully someone else will share the steps here if they are still needed.
with a homekit eve energy device, you should just be able to hard reset it and pair it again (assuming you set it up over bluetooth in the first place)
if you want to go for option (1) you'll need to make sure you track the patches in the HA version of OTBR
as the HA OTBR sometimes has different features to the upstream ones (until they are merged upstream)
Thanks a lot for the detailed response! Yes, I think just going with option (2) seems like the best choice for me. I was under the impression that I needed the REST API, as when I set it up with that multipan container, I entered that into HA. But if that's not needed and I can just import it directly, that's good as well. I will try it later.
The networking options are copied from some example code I found, I can change it to host networking for sure. I guess then all the sysctls are irrelevant, and also the dns, right?
Previously I got it to work by commissioning via websocket RPC on the matter server directly (with bluetooth on the server itself), not with an Android device. That's not the best option but is what worked, so maybe I can get that working, too now. I'll try it.
One more question: How/where does the OTBR container persist data (like the network settings)? The multipan container had a Docker volume, but this one seems to not have it or at least not explicitly documented some place I've seen.
So the Nanoleaf downlights still aren't released in Australia, but is the general consensus on the Nanoleaf matter/thread devices absolute garbage? I'm just deciding between waiting for them to eventually be reused or just getting Philips Hues
I think the actually light part is well liked, and comparable to hue, but there still isnโt stable firmware for them.
Nanoleaf Matter/Thread software is not production-ready, but they are working with users and iterating often, so there is hope they will get it into shape.
Iโd expect it to work like the multipan container, they are both OTBR under the hood.
They are?
Mine got shipped out mid-jan
Oh nice, how are they? They're still marked as Preorder on their website and JB still has no ETA
Huh right, I preordered early December, so maybe they are low on stock?
Also the beta firmware is a ton better than the current GA firmware e
And Nanoleaf is pretty relaxed on refunds due to the shitty firmware
Apparently that is very crashy for some and even less supported than the rest of what you are doing. If it works, great.
I mainly just prefer to deal with JB in store just in case, but good to know that they at least exist
Yeah, might have to ask JB If/when they will be releaed, no doubt they have a backlog tho
Probably yeah, or want to do a limited release before opening the flood gates or something. How are they anyway?
Worth the wait or ehh?
They are not too bad, but they can be annoying if you have physical switches turning them on/off
What do the physical switches do to them?
With those sysctls youโll disable dead neighbour detection. Probably not critical while you have one BR (and especially so if you have matter server set to host networking on the same box) but forget it being stable otherwise.
Turns the whole device off, and messes up the thread network
And with Nanoleaf firmware, it can take a while for devices to recover
Do they turn back on straight away (the light part) and eventually rejoin the thread network reliably every time?
They take maybe a second? And they recover to the last state
But can take a while to re-appear on the network
How many are you running?
4 atm
Any weirdness where one of them randomly drops out etc?
I've currently got a handful of Nanoleaf thread lightstrips and seems like one drops out on average every 2 months and needs a power cycle, but it's a random one each time
There is the odd occasion they donโt all turn on at once (they are a group in HA) but thatโs mostly due to them being overloaded I rekon, so maybe a new fw will improve it
Reconnecting to Thread can take anywhere from several seconds to several days! But the latest Matter server for Home Assistant is able to handle reconnections much more gracefully.
Oooo I am going to take a look
They don't have the 4 pack, that's annoying
Oh hey Mwave and Amazon have them, excellent
Nice!
Thanks for giving me the heads up so that I checked other sellers
and this seemed to work fine now after latest nanoleaf beta update - pressed connect to matter and added it to home assistant and can finally control my lights from both! yay thread :)
Ah ok, thanks again for the hints! I was assuming that those are just needed to get it working with bridge network (or in a somewhat working state) as per the examples I've seen. But it should not be an issue to set those sysctls on the host machine with host networking, too, if they are still required/useful. Although as you say, I do want to run the matter server on the same machine also with host networking, and plan to have just one BR for now.
Yes I've read that, but so far it was the only thing that worked for me (and it did work). Ultimately using the app would be better of course, also to commission a lot of devices installed somewhere in the house, but for now I'm still just experimenting, and for that it did work fine - but if it breaks I know that this is one possible source (among many others apparently)
Since Mid December 2023 I was operating without any issues a joint thread network between my SkyConnect/Home Assistant Yellow OTBR and my Apple TV TBR. However, yesterday for this first time all my 6 Eve Thermo devices became unavailable. Rebooting was unsuccessful, so I deleted the OTBR config on Home Assistant and started over by reinstalling the OTBR Add on, joining the Apple Thread network again and have it as a preferred network, then adding successfully all 6 Eve Thermos again. This worked for I guess about 24 hours until the whole thing crashed again today. I ended up now adding the Eve Thermos to a separate Home Assistant OTBR configuration, essentially leaving the Apple TBR with its own thread network. Does anybody have a glue, why suddenly this kind of issues appeared with a joint HA/OTBR <-> Apple TV TBR thread network? May it have anything to do with some of the recent Home Assistant OTBR add-on update releases?
when did you last update the OTBR add-on?
a while ago TREL support was aded to the HA OTBR, and we discovered a potential route loop because of it. in the course of debugging that i think we discovered that a setup like yours would only be using the Apple BR's. the fix for TREL would have meant that only the HA OTBR was used (though because of TREL, the Apple BR would have been used more indirectly).
https://github.com/home-assistant/addons/pull/3426 was the change in question
but there have been 3 more updates since then
do you see any errors in the OTBR logs?
I've got 4 and they're fine so far (with google/nest at least), HA matter has dropped them entirely once so far
Rolled out TREL which aims to reduce Thread partition and reduce Thread network usage when possible.
hmmmmmmm
maybe it only enables it when prompted somehow?
Yes, I saw some errors in the log, but could not make sense of it. Letโs see. Just wanted to touch base whether there is a known error or bug with the latest OTBR release. Seemingly not. With OTBR forming a separate thread network things are stable so far. I may do some additional troubleshooting at the weekend.
neat
So first batch of Nanoleaf downlights seem to work okay so far, will give it about a week before I replace all the rest
Now just need to also add smart dimmer switches, are there any thread based ones yet?
If you're in the US inovelli is going to be releasing some in March (available for preorder). Nanoleaf is also still trying to release theirs sometime later this year
later this year sounds gud, though it's uh, not the best looking thing
Yeah, i got selected in their beta program for the sense+ controller, so i can let ya know if all goes well
but then again, who knows how long delayed a local au release will be
Neat, yeah let me know as soon as able. Howd you get into that program?
one of the nanoleaf devs sent out a link a while ago in the NL discord
ah righto
this looks neat, but not thread, which is lame:
https://www.tapo.com/au/product/smart-switch/tapo-s200d/
But something that is like this would be great
yeah for sure
everyone likes spinny things
Alright looks like JB HiFi has the Tapo things and it can bridge on to matter, so that's probably good enough
so unless someone else comes up with a better thread based spinny switch, that might be the way to go for now
how much are they?
hey not bad!
Yeah, they're battery powered so no expensive electrician to put them in, but need to be sure it actually works first :V
but if they're matter, they should in theory work
I have done all updates in a timely fashion. The Thread partitioning issues I faced after the last OTBR update I think.
I like the Sense+ design they showed, I guess it's personal preference. It might have a PIR motion sensor as well which is handy
I think the wall switches look great but I'm not a fan of the remote
It looks like the right amount of functionality. I have some inovelli on order but actually think the NL looks more functional
Hi, i have a nanoleaf stripe and no Thread Router. How can i add the stripe to my Homeassistant?
My Homeassistant run at a Raspberry 4 Model B with a 32-bit OS and i have a Sonoff zigbee zbdongle-p must i buy a zbdongle-e or skyconnect stick?
do you have a skyconnect/other thread dongle?
ah wait 32 bit OS, i dont think you can run even the matter server
Yep pretty sure you are right there - the upstream matter code doesnโt support 32bit Linux at all
ok, so i must upgrade from 32-bit to 64-bit?
to have a chance, yes
and currently pairing devices direct to a skyconnect or other thread dongle without a external BR is a bit flaky
ok. looks difficult
its supported well if you have a external BR, like a homepod mini, google nest device etc etc
Ideally youโd be running HAOS too as some scenarios require kernel patches and patches to other system components like network manager
but i will not use a external cloud device. I can use the zbdongle-e for zigbee and as a Thread router when i flash it to multi-pan and use silicon labs multiprotocol or is it false?
this is running at my raspberry pi
multi pan has its own issues
also, have you got ios or android? i dont think you can pair a device direct to a skyconnect/other if you have an ios device
good, then you just need to totally replace it with the 64bit version. i don't know if you can use a 32bit backup to setup a 64bit pi though. #installation-archived might be able to help.
i have both. But i use more the android device
multi-pan is discouraged because it seems to crash more
but more than that, you end up restricting the bandwidth of your zigbee AND thread network. not just by forcing them on to the same channel, but because the bandwidth of the dongle itself is less than if you had 2.
i can use my zbdongle-p for my zigbee devices and use the skyconnect for the other. so this is not a problem
than i have 1 Dongle for Zigbee and one for OpenThread/Matter
yeah that works
i believe once you sync thread credentials on the android companion app, you can pair direct to the skyconnect
I can use the Backup for to restore it in a virtual machine, so i think i can use it also for 64-bit
fingers crossed!
but how can i make it?
OTBR add-on
it does all the work
just gotta sync the creds once you started the add-on
then add the device and you should be good to go
^ the addon triggers the installation of the OTBR integration, which in turn creates a network for you and then imports the creds from it into HA ready for the app to use.
then the sync button is in the android app
(does it still sync the first time you try to add a device too?)
When you look in #installation-archived i can use the backup for all versions
ok, thanks for now. i try it at the weekend and when i need help i come back ๐
good luck, you can always ask here if ya get stuck
Hi, Iโve recently bought a Wisdom Matter over Thread TRV (WISZWDM-TRV031) and have been trying to set it up with Home Assistant using Sky Connect set up with Thread. However I get the dreaded Thread Border Router required message. Everything is up to date and Iโve tried some of the things mentioned here and elsewhere- use an android phone, turn on BT - but still the same. Has anyone got that device working? Anything else I can try? Thanks
Imported the credentials in the companion app on your phone?
Yes, a short time after scanning the QR code it goes to a new screen saying Border Router required. But HA has the integrations installed for the OTBR, Thread and Matter, and the Sky Connect is flashed for Thread only.
Tried the companion app on iOS and android but just the same
Have you got any other thread devices working?
Are you using HAOS? If your phone on the same network as HA? No VLANSs? Whats the distance between the Wisdom and your phone when you try this? What about the Wisdom and the BR?
Don't waste your time with iOS here - it works perfectly well with HomePod's (and with TREL, some would say thats the best option if your daily driver is an iPhone), but for SkyConnect you are better off with Android atm.
Thanks. This is my first thread device, maybe not the best one to start with, so Iโm feeling my way with it. Iโve just checked - yes, itโs HAOS, same WiFi network as phone. Running on a RPi4 with zwave & BT dongles, zigbee shield and Sky Connect for Thread only. All the devices are within about a couple of feet of each other. Iโll have another go this afternoon with the android in case this mornings updates help and check the logs. Presumably the OTBR logs are the ones of interest?
Well if Android is correct that the OTBR canโt be found, what we are looking for is nothing in the logs when you try to do add your device.
For reference, the QR code is not what I meant by import credentials
I can't post images in this channel it seems, can in some others. But in the android home assistant app, go to settings > companion app > troubleshooting > sync thread credentials.
If you are sure you've done that before, do it again anyway. I did have unexplainable issues myself having uninstalled and reinstalled otbr a few times and syncing the credentials each time, but eventually it just worked TM
Essentially this step is required so your phone has the network IDs and encryption keys it can send to the matter device by ble to allow the matter device to join network in the first place
Thank you and I was just re-reading the instructions here https://www.home-assistant.io/integrations/thread and realised Iโd missed that step. Using the android app, it all went through first time. Thatโll teach me to read the docs properly rather than get carried away with installing the integrations which all happens intuitively. Grateful for your patience.
No problem, glad you got it sorted
It's an easy enough step to skip by accident, dunno if there are plans to streamline it one day (a more useful error message would certainly be appreciable)
Importing credentials used to happen automatically when adding a Matter device via the Home Assistant Android app. I assume it still does that, the button was added to allow another way to import credentials that is more predictable.
didnt on any of my attempts
Yeah it was a bit unpredictable. I remember when this was the only option I sometimes had to try several times adding a Matter device. It was also annoying when I already added all my Matter devices and needed to import credentials again. So the recent addition of that button is much appreciated.
Servs, boys and girls. Short question. is it ok when i run Openthread and Matter? I have now new installed my Homeassistant and install both of them. Also i have the skyconnect stick and a stick for Zigbee connected.
I do
you run both?
yes though using separate radios
ok, thanks
the multiprotocol firmware for some radios is an option, but not one many would recommend, too unreliable
but I have a home assistant yellow, running ZHA with the onboard radio with 20 devices and then OTBR with a plugged in USB radio, and then the matter server with 2 matter over thread devices
Hello everyone! I would like to ask for some guidance on how to tackle the commissioning issues I have with thread.
I have an up-to-date RP4 installation of HAOS. I have a GL-INET S200 thread border router which is recognized by HA, I also imported the TLV data of the thread network created by the S200 without issues into HA. My issue is that the commissioning fails after a number of seemingly successful steps. After scanning the QR code, I briefly get "searching for device", "connecting to device", "creating matter credentials", all of which seem to work fine, but I finally get "checking network connectivity" which fails after about 2 min with "can't reach device, make sure phone is connected to wifi". The thread device is an Eve Energy.
I can add Matter/wifi smart plugs, but the thread plug doesn't work.
If I do not sync the thread credentials to the phone, the commissioning tool actually complains that there is no thread border router, so I believe that the TBR is actually working, but I don't know how to check this. Unfortunately, this is also (for now) my only thread device, because I want to test matter/thread before going all-in on the smart-home thingy in general.
I should also mention that I do not have any other TBR, and I'm not planning to jump on the Apple/Google/Amazon/etc. train anytime soon.
The S200 TBR is based on OpenWRT, and I have access to it's web interface, luci interface, and I can access it via ssh. I just don't know what to look for to find out how to fix this... which is why I'm here.
I must reply to my Question. I have now installed and configure the thread router. I have configure the thread router in the Nanoleaf Applikation also to my homeassistant thread router , but how can i add the Strip complete to my Homeassistant? Anyone know? At the moment, i see nothing from the stripe in my Homeassistant...
Ok forget it. I have the solution. Thanks
I think the issue I had was I didnโt realise I had to use an android (at the moment) for more than just adding the device.. Iโd managed to install everything else using web or the ios companion app, but hadnโt realised that I needed to use the android companion app to import the credentials as well as adding the new device. The Import Credentials error message on iOS didnโt get me on the right track, but maybe thatโs just me. So thanks for the extra guidance.
JB has Nanoleaf downlights finally, but only the two packs
Strange, wonder why that is? Maybe supply constraints for the other 2 variants?
Morning all. I am having an issue with deleting a thread network. I no longer plan to use my Google Wifi Nest Pro network. I have deleted this network (using the trash can icon) on both the PC and companion app. I then set my HA thread network as the preferred network on both. I then go to sync the thread credentials via the companion app and get an error message saying โHome Assistant and this device prefer different networks (device prefers: NEST-PAN-103E).โ Then, when I go look back in the thread integration the Google network is re-invented?! Any ideas how to stop this Google network re-appearing please?
As long as the Google devices exist on your google account, they will always be the preferred network
Thanks for your reply. I have factory reset the Google router and deleted it from the Home app. Are there further steps I should take to get rid of it?
Yeah, but its a bit destructive. You need to completely reset your play store. You will then need to reset things like wallet etc.
Wow, I wasn't expecting that. Is it possible to easily merge the networks? I haven't added anything to the home assistant one yet so I have freedom.
Yeah, you can just add the HA border router to the existing google one and you're all set. The only "issue" with that maybe is that it will be named Nest-blah but that is just a name
Yeah the name doesn't worry me. How would I add the HA border router to the NEST network please? This is how things look wihtin the app... https://1drv.ms/i/s!Am_uN3tjSxiri9szVATmLdmYgMuP1w?e=FQ2kTh
For clarity, I have followed the documentation for "creating a HA border router when there is an existing network." However, it keeps adding a new network, perhaps because the NEST network does not have a norder router associated with it?
aren't you talking about deleting google play services? It might remove your google wallet, but its not resetting the "play store"
yeah, that is what I meant. I was searching for the instructions but couldnt find them. I know @sick swan did it once.
It is hidden in an issue ๐ https://github.com/home-assistant/android/issues/4146#issuecomment-1911707074
What is the correct radio url to pass to otbr docker command for a NabuCasa SkyConnect running thread-only firmware?
I know the device is ///dev/ttyUSB0
I see the example url of spinel+hdlc+uart:///dev/ttyUSB0 on the otbr docs, but I'm not sure they were using the same chipset in their reference.
i have done it too a few times. I dont use google wallet, but otherwise it had no influence on my phone.
Thank you all for the guidance on deleting the Google thread network. All done, just a single HA network now. First device added, time to add many more!
Will there be a way (in the future maybe) to move devices to another network from within HA? I still have my Google Nest devices on a separate network and Iโd prefer to move then to my Apple Network (where the SkyConnect is too). I imported my thread credentials for the Google network (but I leant an Android from someone to do this) in the hope that some day I could do this in HA. Can I reset all the play services details without an Android?
my HAOS system crashed (with elevated CPU) and the last 20 logs or so were related to matter. Maybe that was the cause?
http://pastie.org/p/6hRRJoyZlHjXzcoODl5lMW
Use the matter channel for matter and the thread channel for thread. Thanks.
As for your log: No, That is just a side effect from your system crashing (commands couldnt be executed anymore)
Move devices ? Just factory reset them and commisison them from an iphone.
I did, but they (the Google Nest devices) keep going to the Google Thread network, and not the one that I use for everything else
I want to emphasize the iPhone requirement. You used one?
I did yes, I donโt have any Android. After the factory reset, they all just came back under a new NEST-PAN-*** network, just with a different number
OK THIS IS WHAT I DID
make sure your nest deivces were on public preview (fuchia 16......)
factory reset all of them
and unplug them all once they are reset
then turn one on at a time, and make sure once its set up, its joins the apple/skyconnect network
then turn the other onces on and repat
thats a perk of thread 1.3
worked for me
What about ones without thread, like the gen1 mini screen
i dont think so? i dont have any tho
I will try againโฆ
make sure only one is powered on at once as you factory reset them
well, factory reset them all, but once they are ready to active/set, turn them all off but one
Mine are on Fuchsia 14.2xx
yeah, go onto the preview firmware if you can
after joining the program, you may need to reboot your devices a few times
i should work on fuchisia 14.2 tho
Nope, came back again under a nest network
Which device did you do first?
Iโm trying on a max, maybe I should go try a mini
i had 1 nest hub max, and a nest hub 2nd gen
factory reset both, turned off then gen 2, set up the max, confirmed it was on the myhomexx network (made by apple), then set up the gen 2 hub
you factory reset them all at the same time?
and made sure nothing as broadcasting any nest thread channel stuff?
Yup, I donโt have anything else
Unplugged the GoogleTV too now just in case
Nope, nuked the entire Google Home, still coming back under the NEST network
Strange, try enrolling all of your devices in the device program preview, it will update most of them and see if that works
Should be fuchsia 16.xxx
OK thanks Marcel, good to know.
Also, on boot up from that system crash, that same thread device gave an error like unable to serialize with keyword "matter"
I already was in the preview program
I decided to just give up, and added all of them back
And when I checked again, they were in the Apple network ๐
Which is weird, since when I first checked, they made a new NEST network
But apparently, they felt bad for me and decided to move over ๐
Today the crash you have seen appeared on my end as well ๐ข It is the first time though, and I am not sure what it triggered for me. I think it is the restart of another BR in the same network. I've created an issue:
https://github.com/home-assistant/addons/issues/3491
Do you have other border routers in your network?
Does anyone have any advice on a border router (other than Apple or Google devices). I was just looking for something simple and out of the way.
Something like this maybe?
has anyone tried the new ot-rcp-2.4.1 firmware for ZBDongle-E yet?
Some moneths ago mine swapped to the apple network when i commissioned thread devices to google home on ios.
Im not sure if it still works though.
Nvm, i can see you fixed it
I just have skyconnect in my network for the BR
Ah, can of worms these Google Nest devices. My network has gone dodgey since I added them to the same Thread Network as my other devices.
Anyone know what this means?
otbr-agent[183]: 2d.05:19:39.742 [N] Mle-----------: Different partition (peer:1993145260, local:1976230236)
otbr-agent[183]: 2d.05:19:39.742 [W] Mle-----------: Failed to process Advertisement: LinkMarginLow
otbr-agent[183]: 2d.05:20:13.357 [N] Mle-----------: Different partition (peer:1993145260, local:1976230236)
otbr-agent[183]: 2d.05:20:13.357 [W] Mle-----------: Failed to process Advertisement: LinkMarginLow
otbr-agent[183]: 2d.05:20:48.240 [N] Mle-----------: Different partition (peer:1993145260, local:1976230236)
Partitioning means your mesh has split into isolated sub meshes
Google doesnโt have TREL (Apple and SkyConnect do) which can mitigate weak meshes by tunnelling thread over WiFi and Ethernet
You need more router capable devices to make up for the gaps in your mesh
Or lots of HomePods
Arenโt all powered devices routers?
I figured that the Nest devices were filling the gaps
Whether a device is a router or not is purely a firmware decision on the device, this also happens to apply for zigbee and zwave too
I have here a matter over thread device running off of a battery yet routing, and a mains based zigbee device which is not
also zigbee and thread are both 2.4ghz ISM so their range can be quite short, and theyre both susceptible to interference
In a sick twist of fate, my NEST network came back to life, and my Apple devices all moved into that network, including my SkyConnect, and now all my devices are slowly moving into it as wellโฆ