#ATV and SkyConnect Thread networks are no longer joined

1 messages · Page 1 of 1 (latest)

hoary jewel
#

I tried to install updates to a few of my Inovelli Thread devices and received the error "target node did not process the update file." I've seen this error once before and with a little help from friends I was able to resolve it by joining my ATV and SkyConnect networks together into one network (https://discord.com/channels/330944238910963714/1266088259348594708).

Looking at my Thread Integration Config, it has reverted back to two separate networks (screenshot attached). There doesn't appear to be any options to join them back together, and after going through the docs and my the convo referenced above, I don't see any options to rejoin them. All of my devices are paired to the SkyConnect network and are working properly, except they cannot update.

Ideally I would like to rejoin the networks, but if there's an easier solution to just resolve the 'target node not processing the update file' issue, I'd be OK with that.

trail sail
#

As long as you have any apple BR's in your network, you wont be able to update your devices. So better switch to only the SkyConnect if you want to solve that. Question is to which network your devices are joined. Go into the devic epage of one of your Matter over Thread devices and check the details for the thread network.

noble dagger
#

weird, yesterday I updated almost 30 inovelli switches from home assistant using a single thread network of 17 apple thread BR and a skyconnect.

trail sail
hoary jewel
#

I don't mind removing the ATV from my setup. It's nice to have as it will survive a HAOS VM host migration when the SkyConnect does not, but that's a pretty rare use case, and I imagine as time goes on there will be another device added to my home that can fill the void.

#

Question is then, how do I remove the ATV BR? Only place I can think to do that would be the Thread Integration Configuration page, but there's no options available for the ATV BR.

#

All my devices are joined to the SkyConnect thankfully

trail sail
#

You cant "remove" it - it sits on its own dedicated thread network so you simply ignore it

hoary jewel
trail sail
#

Sp are you 100% sure your devices are using your skyconnect as BR ?
Try to stop the OpenThread Border router add-on and if your devices keep working, you have the answer

hoary jewel
#

Yeah I believe so. 1 sec, will send screenshots just to make I'm not mistaken

hoary jewel
trail sail
hoary jewel
#

In the screenshot that opened this discussion you can see MyHome1764637697 is the SkyConnect

#

So this would be an example of it happening just with SkyConnect, right? Or am I missing something

trail sail
#

the data could be outdated

hoary jewel
#

Haven't done that before. Just to make sure, you mean to click this, right?

hoary jewel
hoary jewel
#

Other things I've tried: unplugged ATV, restarted OBTR and PMS, reinterviewing again from the device page, removed local update json from core_matter_server/updates (this was a workaround I tried earlier but didn't help--update is already on main)

hoary jewel
#

Correction: the update has not been released to main. Initially the update didn't appear in HAOS but when I clicked update from the PMS it said an update was found, so I assumed it was on main. In hindsight I think it was finding the local json I had for the previous update version. I've added the JSON back (pointing to the newer update), fully rebooted HAOS, and the issue persists.

trail sail
#

so... is the json correct then ?
The error means that the update can not be processed. This happens on Apple Border Routers where the traffic is actualy blocked but in fact the same error can also appears if the Matter Server is actually not able to process the file. You're playing with manual files so there's a chance that is the issue. Is there a full URL in the json ? And is that URL accessible from within your HA server ?

hoary jewel
#

Great question, was just wondering the same. I'm able to download it on my laptop. HAOS has full WAN access AFAIK but I'm struggling to figure out how to confirm it can download the file. I entered the file URL into the ping integration and it says disconnected, but I'm not sure if you can ping a file like that.

#

Gonna try turing back on SSH to see if I can curl it

hoary jewel
#

I can ping the host url. Having issues confirming that HAOS can curl it though but I think it's safe to assume it can?

trail sail
#

yeah, I think so.

#

Try unplugging the ATV from power, wait at least 30 minutes and then try again

hoary jewel
hoary jewel
trail sail
#

OK, then I'm actually out of options. Did you try restarting the entire host, just to be safe

hoary jewel
#

I did not but let me try that quick

trail sail
#

yeah and also wait long enough with the apple tv shutdown, you never know

hoary jewel
#

The issue persisted after host reboot buuuut

#

I downloaded the ota file to my laptop, copied that into the folder core_matter_server\updates\29, fully rebooted HAOS, and it looks like it's updating now. First one almost complete and it looks like it automatically copied the OTA into all of my node's folders. Does seem like it may have been a curl issue afterall?

trail sail
noble dagger
#

@hoary jewel have you double checked the inovelli-VTM31.json file has the correct checksum and file size?

hoary jewel
#

I ran into issues with subsequent updates. Eventually I deleted everything in core_matter_server\updates except for the JSON, the node folders, and the OTA file in each folder. After that I was able to update 1-2 devices before running into the same error again--target node did not process update file.

So far I've updated about half of my devices by rinsing and repeating this process. I'll hold off on updating the last few devices in case you want me to run some tests. Very strange indeed. Seems like it actually be some kind of cacheing issue instead.

hoary jewel
hoary jewel
#

I was able to update 6 out of 13 of my devices, but eventually the method above stopped working. I've tried numerous variations over the past few hours and nothing seems to work anymore. Also did basic troubleshooting again like reinterviewing, air-gapping, infinite HAOS reboots, etc. If I remove everything from the updates directory and leave just the JSON, PMS is able to download the OTA file but it still results in the same error.

#

I don't see relevant errors in the ota_provider###.logs, but would it be helpful to provide those?

noble dagger
#

I have noticed that after updating several switches quickly the thread network really struggles for quite a while and may be renegotiating routes and routers versus endpoints for 30 minutes or more. If I reboot all potential thread BR and wait for the thread network to solidify, updates can proceed again I have also found that waiting 5-15 minutes between each inovelli switch update (time from the updated switch coming back online with 1.0.6 and starting the install on the next switch) helps keep the thread network from spiraling out of control.

hoary jewel
#

Clearing out the updates folder was a suggestion from Eric, the Inovelli CTO. He ran into a similar issue before and that's what worked for him.

hoary jewel
#

I've only managed to update one more device using the method above. Not sure what I'm doing is helping or just dumb luck.
Ideally I'd like to add the ATV back to the network or perhaps add a SLZB-06 into the mix to see if that helps. I don't see any options to delete the ATV. Would a factory reset of the ATV help or will HA still see it as the same device?

trail sail
#

If you want more instability, add the SLZB-06 to the network

#

If you want to use it for Thread, only use it via USB

hoary jewel
#

Getting the error on official main updates as well (ie not just local json updates)

#

I was able to commission a new matter/thread device yesterday so at least it appears isolated solely to updates

low sluice
#

This is definitely an issue. I opened a GitHub issue on this and the docucumentation about Apple BR's, which is incorrect AFAIK.

GitHub issue: https://github.com/home-assistant/core/issues/145478

Documentation issue: https://github.com/home-assistant/home-assistant.io/issues/39431

As far as I can tell, the problem happens regardless of which brand of border routers are being used. It also happens regardless of how many BR's there are, or how large the fabric is. As I noted in the issue, I had this show up when my fabric had a single node.

Testing entirely with official updates from main (no local updates)

GitHub

The problem Hello. I am trying to update my Thread/Matter nodes and I am noticing that HomeAssistant cannot do this nearly as well as Apple Home can. In fact, for me, HomeAssistant cant do this at ...

GitHub

Feedback I want to point out an inconsistency I've noticed in the real world compared to how it is documented on the website. On the Matter documentation page, it is noted that firmware updates...