Update (almost) any Zigbee USB or network sticks from within HA

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
let's be honest if you are using zigby with your home assistant updating the firmware no matter what kind of a stick you have can be really painful task but it doesn't have to be that way because there is a workaround for home assistant that actually not a lot of you know about so today we'll be looking at yes home assistant add-on for flashing firmers to your zigby sticks we'll start in couple of seconds I started my home assistant Journey with the zig B2 mqtt by using the cc2531 stick and it worked for some time and to be honest I'm actually still using that stick in my summer house but there is only a couple of devices that are connected to it that device is no longer recommended instead my main instance is using slcc2 2652 RB stick and I've been using it for around three or 4 years I can't remember exactly but I've been pretty happy with it then about week ago or eight days ago I started having random issues with my zigby network some of my devices that are also router devices were dropping off the network they were actually still on the network but I wasn't able to connect to them and I received logs that they lost the network connectivity while still visible in the Z2 mqtt so what I had to do is either power them off by hand or repair them to add them back and it would last for about hour and two then those same devices would be lost again and I simply tried whatever I knew and I couldn't figure out what the next step but we all know that zigby Network can be sometimes a bit of a problem actually this is the first problem or the first issue I had with my zigby network for a long time at least two or three even more years they were actually no issues I didn't have a single device dropping of the network everything is working okay responsiveness was okay but somehow it just started 7 days ago I did make one change in the settings I reverted back but I still had that same issue so the next step what I decided to do is of course Flash the firmware and yeah you all know the process of flashing the firmware depending on the stick you're having you either have to open it press the button to get into boot loader mode then you either have to run the python script or you have to run the Texas instrument file or you have to run some other installation tool to push that firware to your stick and since you do not do that every day you forget how you do it so I had to go back I found my stick I clicked on it I seen the instructions and it was like oh my God no not again oh I'm running a Windows PC so it will not be that easy and I was just like there has to be some other way and actually there is something that I didn't know existed before today and it works because I know I was able to flash new firmware to my stick in around 10 minutes so let's get cracking with today's video and this is it zigar home assistant addon repository this is not part of the main home assistant community store or main home assistant add-on store whatever that means that you have to add it to your add-on repositories but that's no issue all you have to do is copy this link here in the add-ons add-on store click on three dots repositories and just paste the URL here click add this is now added to your home assistant click close but it still takes a bit of time for this repository to be added here it's not listed after some time the repository will be add it and maybe you've noticed maybe you didn't there are actually two problem programs or two add-ons that you can use I'm using this one here it's a zigar Texas Instruments CC 2652 p/ p7 fmer flasher and the other one is zigar silicon Labs fmer flasher this one can be used for for example son of e dongle not P dongle but e dongle we will look at it in a couple of minutes but how do you operate it unfortunately it's still not plug andplay process but it's not that hard let's look at what you have to do in my case for testing purposes I have added it sonof zigby 3.0 USB dongle plus this is the previous version of the sonof stick and I like it or prefer it much more than the E version but if you're using that alternative firmware installer you can actually also install fare to the E dongle the device is recognized we have to go to settings add-ons add-on store click on zigar TI cc26 52p and click install while this add-on is getting installed let's look at supported devices the best way to look for supported devices is of course on the zb2 mqtt page I'm not saying that Zha is not good but actually zb2 mqtt has much better documentation than all the other sites I've seen that are covering zigby topic these are USB connected devices and we will be working with those although this application or this add-on also works with network plus USB and also network type devices meaning that devices that are not directly connected to home assistant instead they have IP address and you connect them via that IP address and the port these devices are not recommended but as I said the other file the other add-on also supports silicon Labs efr32 or similar devices that means that you can also install the new firmware for following devices okay now the add-on is installed but please note if you want to update the firmware you have to make sure that your Zig B2 mqtt or Zha are turned off you have to disable them shut them down or whatever because this add-on needs to have unrestricted access to your USB port configuration page is used of course for configuration in my case I will select this device this is the dongle Plus for the network device I will will not be putting here anything but I will also receive error and I will show you what I found out works as a workaround if you are using USB stick you have to tick this to on it says unable to flash USB devices instead of network devices so if it's USB stick it needs to be on if it's Network device it needs to be off if the stick is son of USB you also have to take this box here since I'm not using CC1 352p or CC 265 2p I will not be ticking any of those boxes here instead we need to use custom firmware URL and you may ask where do you get that you get it of course through the zb2 mqtt documentation in my case I'm using son of zigby 3.0 USB dongle plus ZB dongle p i will click on it and if you click on this link you will download the firware but actually we don't need firmware we need a link to the zip file I will right click select copy link address add and we will paste this as a custom fmal URL if you're using network devices and if your device requires it you can take this checkbox here to enable boot loader mode for network devices but we do not need anything more we have the serial Port defined we are using USB stick we are using son of USB and we have here custom firmware URL click save and we received an error it says failed to save add-on configuration missing required option Network device I don't know if this is intentional or bug or whatever but unless you specify Network device IP address this will not work so the first thing that popped in my mind is well let's define it as a local Loop 1 127 0 01 click save and it works next thing is to go to information page and click Start let's open log file and here we should receive information from the terminal and that's it the latest firmware is now installed I really was shocked because actually it works really nice I do not have to detach the device from my home assistant instance I can just disconnected from zigby to mqtt by shutting the zig to Mt temporarily down put the URL for the latest firware click on start machine and it will automatically or automatically update the firmware this here is log for for the successful firmware Flash and if we look at this log here it's not the same but it may look the same this is the firmware update for the slash stick the next question may be how do you find the url to your device there is a link will be down in the video description where you can see all the test devices with warnings of course it will tell you what the adapter is what the ti chip or module use is what firmware you need and some other information so for example for my SL stick I need to download file CC 2652 RB uncore and then whatever I want to download for example coordinator router whatever for the son of ZB USB dongle stick I have to download CC1 352 P2 cc26 52p Launchpad underscore then whatever the list contains all the tested and working firmwares for all the tested and working devices some devices may be listed here for other devices just look and match the Texas Instruments chipset it is using then after you've selected what you want to do on the left side you need to select file that you need to download for example for my slash stick I need to use this one here I would click on Raw with the right Mouse button copy the link and paste it in home assistant for the sonof one I will be using this file here CC1 135 2 P2 once again on Raw right click and copy the link address and home assistant after you select the device just paste the URL as you can see this one is CC 2652 RB coordinator and for the other one we had router zc CC1 352 blah blah blah blah blah for the son of P stick and that's it if you did know about this add-on why didn't you tell me and if you didn't I really hope that you will be using it thank God we do not have that many updates of the firmware per year but there is at least one or two updates and each of the updates brings improvements and since this add-on is only active during the firmare update you do not have to release device from this one here you just need to start your zb2 mqtt with the appropriate device attached to it and that's it and yes you can have both flashes installed at the same time because they will not be running at the same time but as I said this can also work with other types of firmware for example this is the dongle plus V2 or so-called e version of the son of stick all you have to do is settings add-ons install the other installer or the firmware flasher go to configuration select the stick I will type just to be safe this one here we'll be flashing USB device I will leave everything as is and here we will paste the URL for that stick H this may be a bit of a problem but thanks to sonoff we at least know where the latest sonoff version of the firmware is so we can use that one there sonoff latest version of the firmware is located of course on the GitHub and it says that silicon Labs Ember zet NCP ZB coordinate firmware with the Silicon lab standard easp interface this version here is the one that you should be using if you're using Zha integration but it also works with openhub zigby binding zigby tqt iio broker zigby plugin for domotica and zigby plugin for yedo so we will be using this firmware here and that's this one here we will click on it right click copy link paste the link in the home assistant with the extension GBL click save keep our fingers crossed click on start go to log and we are almost done firmer upload progress at 100% this is a debug or veros mode that I've selected here if you Des select it and save you will not be seeing as much information here as I have it on my screen here but now even my e version of the stick is updated with the latest version of the firmware and that's it I've been thinking about this add-on for home assistant and also the last couple of years of using home assistant a lot of things have changed for example previously I had to use debugger to program my cc2531 stick which was only able to capture I think around 25 or 30 devices or connect directly to 25 or 30 devices and that's why this stick is no longer recommended to be used with home assistant but actually it can still be used then we had more modern sticks where you had to press the button plug it in a computer release the button to allow it to enter the boot loader mode it is a real quality of life Improvement for anybody that is using either USB or network Zig B devices attached to home assistant and I really do hope that you will be using it in a future now you will have no reason to postpone updating your firmware on the zigby sticks or network devices I really do hope that you did enjoy this video and if you didn't know about this add-on I really do hope that you will be using it in the future I know that from now on I will be more careful on the latest updates to my firmware but also I'm not that type of guy that will rush and install any brand new firmware update because who knows maybe there is a bug if you did like this video I would really appreciate if you would give it a thumbs up it not just means a lot to me and it really does mean a lot to me each and every like but it does help with the YouTube algorithms and before I wrap up this video I would like to thank all those wonderful people that are supporting me and that have become YouTube channel members thank you all for all of your support but let's not forget each and every one of you who has watched liked subscribed or left comment on my videos thank you if you do want to support the channel you can do so by clicking the join button down below and becoming a YouTube channel member for only €2 or $2 per month or you can go to my merchandise store and get something there and last but not least you can also do a super thanks and if you do a super thanks I will be as always super thankful for all of your support I will be seeing you next time until then bye-bye and have fun
Info
Channel: BeardedTinker
Views: 18,096
Rating: undefined out of 5
Keywords: flash sonoff zigbee 3.0 usb dongle plus, sonoff zigbee 3.0 usb dongle plus firmware update, sonoff zigbee 3.0 usb dongle plus, home assistant zigbee, zigbee coordinator, zigbee2mqtt home assistant, sonoff zigbee 3.0 usb dongle plus firmware update python, slae.sh firmware update, zigbee usb firmware, zigbee2mqtt firmware update, zigbee usb stick, zigbee usb
Id: E39ECyCXJaA
Channel Id: undefined
Length: 15min 38sec (938 seconds)
Published: Tue Nov 28 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.