It's the little things that matter on these tutorials. Most of these YT tutorials walk us through steps A, B, C, etc. You go the extra mile to explain what's needed when 'A' or 'B' or 'C' doesn't work or go as planned. In my case, my driver needed updating. Without your explanation, I would have packed it up, put it in my ever-growing WTF box and continued using the miserable dongle I'm using now. Thanks Mark!
It's only been a year and this video's already severely out of date, my user interface in Home Assistant 9.3 is significantly different than yours. I had to enable "Advanced mode" on my profile to get to several options you use and the Zigbee2MQTT configuration screen is completely different.
I watched several different tutorial videos on this same topic, and each one of them left out or quickly brushed over parts without giving me the detail that I needed when things weren't working the way the other tutorials said they would (i.e. My Sonoffs Dongle Plus wasn't being detected by my PC when trying to enter bootloader mode, but Mark explained in this video how to add or update the drivers when it's not detected) Watching this tutorial filled in the blanks for me that other tutorials left out. Thanks so much for explaining it in a way that a newbie to HA like me can understand.
The help is and detail great. When updating the drive for the dongle I have done it a few times and there are no new updates but i still get the yellow ! and advice?
Thanks for this great video. However since publishing there have been some changes to the configuration of the Zigbee2MQTT addon. If you use Mosquitto then under the MQTT configuration in Zigbee2MQTT leave it blank. No need to complete topic or user credentials. Under Serial you still need the port of the device.
Can I double up on this question. I have tried to move to Z2M, but my favourite button doesn't work 🥺. Have found visitors staying over to the house need buttons. To hard to teach them all the voice commands. Especially after a few drinks.
Everybody is new to this stuff at one point or another: thanks for a tutorial that was both comprehensive on the topic, but didn't assume/omit any steps that might not be obvious to a novice.
@@MarkWattTech Hi Mark. Every time I reboot HA, my Z2M config changes. instead of /dev/ttyUSB0, it becomes /dev/dev/ttyUSB0. It's infuriating. I have to go to File editor every time I reboot.
@@jerrypawns8710 recall where Scott got the hardware info, besides the /dev/ttyUSB0 down below there is the reference starting with /dev/serial/by-id/ use this rather than the /dev/ttyUSB0 e.g. for my setup I'm using the Sonogg Zigbee 3.0 USB Dongle /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_d66f2a6b6512ec11affe21c7bd930c07-if00-port0 e.g.: serial: port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_d66f2a6b6512ec11affe21c7bd930c07-if00-port0 Hope this helps
Since the new update this is not working for me. I keep getting 502: Bad Gateway. Now the zigbee2mqtt configuration looks nothing like what you have in the video and people & zones has no user tab. Would love to see an updated video on this.
I've given up on trying to get Zigbee2mqtt to work. Can't ever get it started despite following everything to a tee. 502 bad gateway on the UI, has issues finding my sonoff stick for some reason (even though ZHA can find it) and an ever changing ui/config menu that makes following any sort of tutorial confusing.
Greate Video I would just note - the flashing instructions DONT apply to the Silicon Labs Version with a chip based on EFR32MG2x/MGM21x and EFR32MG1x/MGM1x series Otherwise known as the ZBDongle-E
Mark - this is a nice straight forward tutorial that I could easily follow along as I switched from ZHA. Thank you. ZHA exposes more sensors in the plug I am testing (voltage + current + total energy +++) but things like total energy it used, was telling me 40kw had been used half an hour after integrating... without anything turned on. Maybe it was 0.04whr that needed a scaling factor - but I couldn't see how to do that in ZHA - a future video maybe? Zigbee2mqtt offer less data (switch + current + signal quality) - but what is there just works! It looks like an integration sensor works to give me total power used. I was expecting it to be daunting, but seems to be straight forward unless you really want to dig deep.
Its not working for me, keep getting this: >Initiate access to target: COM3 using 2-pin cJTAG. >No response from device. Device may not be in bootloader mode. Reset device and try again. If problem persists, check connection and baud rate. >Connecting over serial bootloader failed: No response from device. Device may not be in bootloader mode. Reset device and try again. If problem persists, check connection and baud rate. >Failed to create device object. What to do?
I'm just getting started with Home Assistant and I have several questions. First, is this what is required to get HA to work with Zigbee devices at all? Or is this something extra? Second, when you paired those Aqara devices did you need the Aqara hub? If not, do you still get full functionality out of them? Third, How much has the HA and Sonoff software's changed since this video was made? Would this still be a relevant guide to follow? Thanks so much!
Great job Matt. 2 things.. whoever wrote that smart RF programmer is NOT a UI designer or was so in 1980, and that button is so dang small, very hard to hold. And thanks sonoff for not anywhere specifying the device needs to be disassembled to access bootloader mode
The newer method allows you to flash without disassembly. I still haven’t got round to recording that one though. But yeah would have been nice for the button to be accessible like some other sticks on the market. And it’s Mark! 🙈😂
This is an excellent tutorial. Thank you for creating this video! A couple minor differences for me since this video was made: 1. I use ProxMox and HAOS, so I had to add the USB port in the ProxMox VM hardware config. This change does not take effect until the VM is shutdown and restarted; a reboot does not work. 2. The latest firmware (CC1352P2_CC2652P_launchpad_coordinator_20220219.hex) did not show Silicon Labs when I looked for the hardware in HA. It identified as ITead Sonoff, so try searching for that if you can't find it by Silicon Labs. 3. HA tried adding ZAH as an integration, so that needs to be ignored in order to use Z2M.
Hi, I'm trying a similar thing. However I'm also trying to flash the device using Windows 10 on a VM via Proxmox. When I get the dongle all plugged in I can update the drivers and see it in device manager but I can't get the flash software to see the dongle. Any ideas? Thanks
great bit of advice,,, just waiting for my sonoff dongle to be delivered and preparing for install.... looking for Itead manufacture will save some time... thanks
Hi mate, great video am struggling when going in to the config of zigbee2mqtt it looks nothing like yours only has 9 lines of code and missing base_topic, does that all need to be added manually?
Same problem here. Did you run through the steps in the video? I did to flash the dongle, and I've picked up some zigbee devices since, all working fine. Today I need to set up some Tuya zigbee mains pass thru plus and they're not detected. So then I went to configure mosquitto mqqt which was already installed (just added a password) and then installed zigbee2mqqt and I get the same as you.. 9 lines of config :(
I've just thought.. I have the Sonoff zigbee 3.0 addon installed to talk to all of my other zigbee compatible devices - would that be conflicting with zigbee2mqqt?
@@fr0d0scious i had nothing installed as i brought the Dongle off the back of this video and followed all steps to the letter, but ended up with bit of a blank config file, tried uninstalling resetting following the video from the start again but constantly ended up in the same position. In the end just went with ZHA as was complete in 3 clicks, Bit of a shame as have read that zigbee2mqtt exposes more entities from devices, so would maybe look to see the difference in the future if could get working. Would say ZHA been a blast and everything i have which is about 25 zigbee items from different brands have connected instantly and seem rock solid. i was moving away from using Smartthings and Hue bridges because the lag and reliability of these have got worse over the years. Let me know if you find a solution
@@actionrag1 I'm confused as the Sonoff integration seems to manage all ZigBee devices. I had a suspicion that my ZigBee pass through mains plugs were switching off with a timer that I wasn't seeing. So I was trying to get into them with Tuya but keep falling as I don't have a Tuya hub and don't want one. I'm thinking mqqt/ ZigBee2mqqt are unnecessary.
Another great video Thanks. Had an issue with driver download, my PC did win 10 update I thought that did it missed the optional updates at first. All good now thanks for the detail in the video. How do you like your NFC ring, you make it or buy it >
Hi, help please, when I connect the device to USB port, windows 11 make the usb connected sound but Texas Smart RF program doesn't recognize, any advice? 🙃
Hi Mark, Did you ever do the video explaining the Python method? I can't seem to find it if you have... I attempted this method this evening and failed miserably... I eventually figured out there is an issue flashing the latest firmware with the TI Flash Programmer 2. I eventually resigned myself to installing the previous firmware, that worked fine using this method.. The overall goal was to swap out a Sky Connect adapter for the Sonoff Dongle P but that failed miserably too, bad night at the tinkering... I can only presume you cannot simply change the configuration in Z2M from the Sky Connect to the Sonoff P device ID... Anyway, I think my next step is to try the Python method and go again, have to figure that one out first.. Cheers, Mac
The SkyConnect is definitely more future proof. I would opt for it as it’s going to be supported by Home Assistant :) But equally the sonoff dongle (which im still using) has been amazing and worked perfectly for me.
@@MarkWattTech I bought the sonof model E by mistake, it should arrive in the next few days, I hope to be able to make it work even if it is still in beta; Will I have to update the firmware of that too or can I use it without touching the firmware?
Hey there, thanks for this video! what do you do when the dongle does not show up as a COM device, and not showing up in the RF programmer when holding the button correctly for 10 seconds when inserting? thank you!
Thanks for clarification on few things. It was unclear to me why I have MQTT as Integration and as well as MQTT Broker Add-on. Unfortunately Zigbee2MQTT is still a bit stubborn in my deployment. Maybe because I also have dongle used in ZHA (Zigbee Home Automation) .. not sure if it might/might-not collide somehow. Any hint on what's better ZHA or Zigbee2MQTT ?
I've tried the firmware update on two Windows machines. The dongle never turns up in the Flash programmer. Tested holding one button down for 15 seconds, then unplugged and did the same with the other button. Does anyone know why it doesen't show up?
I've got the Conbee II running with Zigbee2MQTT on a Virtualbox setup. I'd like to migrate to the Zigbee2MQTT 3.0 Plus, and have it configured (flashed). It can be seen in Virtualbox as a filter, as can the Conbee II. I'm at a loss past this point on how to proceed.
Hi Mark BIG thanks for another really good video. Great credit to you for being so detailed in your help. I am a total beginner and nothing speaks for itself in my beginner experience, therefore it is really a big help when you show and guide 100% through it all. Thnak you.
hi mark, great videos. is there an updated version of this? im just getting around to zigbee and i think a few things have changed since this video. thanks
would be a greaty help yes.. i have BIG issues for the dongle to show up at all and where to put in the user name and password in the configiration in the zigbee2mqtt application.. things have changed in HA since this video
Hi. Perfect video. Two questions. If the SonOff device is already in use, do you need to re-pair all devices again or is that not necessary? Thanks for the answer. How many devices can you pair before and after the upgrade and are there any other advantages?
when I try to find my port, my device is called "ttyUSB0/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_96854a91af29ec118120c99c40c9ce8d-if00-port0", Have flashed it with the firmware your link is pointing to. Only different is that this Firmware is newer than your. could that be the case?"
Great video Mark but I think I must be the only person who can't get the usb dongle to show up correctly in the flashing tool despite the drivers being correct. I think it must be my fat fingers not holding the button right. The device shows up in the flashing toold but the nodes below it shown "unknown". I will have another go tomorrow - what else is there to do on a Bank Holiday :)
Another very helpful tutorial, thanks Mark. On one point I am struggling. The Sonoff stick is not recognized and here ends my journey for the new software. Can I nevertheless proceed with the existing software and install MQTT and Zigbee2mqtt succesfull. Regards, Roelof
Thanks for the walk through, Ive managed to get stuck though. I am using Windows 10 as a VM, I have got the software all installed and managed to update the driver for the dongle to get rid of the yellow triangle, the software just won't see the USB. It doesn't show up on the left hand side. Any ideas? Thanks
Heya. I originally planned on doing one but not many people seemed interested in it so I didn't bother. As this video is now a few months old there are some slight changes so potentially I may redo the video and incorporate the Python method as well as a guide for Mac.
Okay, windows device manage only detected a sonoff stick with no drivers. I installed driver booster with the device installed and it resolved the device not detected fault. Sorted now!
Any chance you can do a version of this video for container installs of HA? What do I need to do on Truenas Scale to get my mosquito and zigbee2mqtt containers to talk to HA?
LE: I have restarted the computer and the correct drivers appeared. Problem solved, the installation was without issues from the first time. Hi Mark, my device appears in device manager as "Sonoff Zigbee 3.0 USB Dongle Plus". It does not appear as you shown in the videos. Also in the Smart RF Flas Programmer appears as unknown device. Any idea how to solve this issue? I am using Windows 10 with up to date drivers.
Awesome help, thank you so much. Sadly as others have commented, lots of the GUI screens have changed drastically. Perhaps worth a short revision. Thanks again
Well done guide, but it actually doesn't work for me. The Zigbee2MQTT doesn't work - there's always the error "502: Bad Gateway". I've tried for hours yesterday, but still the same problem :/
@@MarkWattTech I get: Error: SRSP - SYS - ping after 6000ms Your z2m config looks totally different to mine and I followed your guide immediately after you posted with a new Sonoff stick.
Great video thanks Mark. Given it was done a year ago, is the new firmware version still valid or has there been a further update? Currently on ZHA with a Conbee II, but wanting to explore Zigbee2MQTT. Thanks again.
Hey Dave. Shortly I will be migrating to the new Home Assistant Sky Connect. However I'm currently still using this Sonoff Dongle, with the version I flashed in this video. It has been solid and I have had new issues with it at all.
Great video, thanks fella. Noob question, will the ZigBee dongle replace all the other bridges I've got? I.e by getting a dongle, can I get rid of my hue bridge, hive bridge, fire angel bridge etc? (assuming they are all zigbee bridges) If so, my next challenge is getting it to work on my setup. I'm using HA in a VM running on my qnap. Thanks
That’s the idea :) providing your devices are compatible (most will be with zigbee 3.0) you should be able to just pair to the Sonoff and turn off the old bridges.
was all good thanks for the work done but the point when u configure zigbee2mqtt is nothing like shown and the information is wrong on the video compared to whats seen on the screen unfortunatley
finally got mine to work. Your instructions are great and gave me the confidence to give it another go. I've now swapped out my old CC2531. Had to re-pair all the edge devices but everything seems to be settling down. Now thinking if it's worth re-configuring the CC2531 as a router, not seen any vid's on this yet?
It’s on my todo list. Im currently testing a bunch of coordinators and will then be testing ones as routers. Just to make use of any old sticks lying about :)
Hi Mark Is it possible to setup everything without updating the dongle and can I update the dongle on a later point without starting all over again? I want to do the update, but I only have a MacBook so when I visit a friend some time in the future I will use his computer to update the dongle.
hi good video Unfortunately I now have a problem. Since the update, my devices no longer work... they are displayed but switches cannot be switched and my temperature sensors retain the last temperature... I use ZHA and the SONOFF Zigbee 3.0 USB Dongle Plus Do you have to re-teach all devices or where could the problem lie? Thank you very much With kind regards
If dongle not detected and shows yellow warning sign on Windows 10. Go to "Settings" and in the search pane look for "View Optional Updates". There was a drop down for "Drivers" and I ticked the "Silicon Labs" update and hit "Download and install"
Obviously, I get an error just trying to register on the TI site to get the Flasher. Why must companies pull this BS sign-up nonsense and then compound the inconvenience by failing to ensure a robust system...!!!? When I finally managed to sign-up (had to use a different bowser) I was blocked from downloading with different obstacles on either browser. Finally, I used another PC and it let me download after I'd made several declarations about the use of the Flash Tool. FFS TI...!!! 20 minutes just to download the tool.
Thanks for this video. I'm using it to switch from HUSBZB-1 ZHA to Sonoff Z2M. One small note regarding the "heatsink" case. I thought as you did (it's not a heatsink) because there's no contact between the chip and case. But if you look closely at the PCB, you'll notice 2 things which leads me to believe it is an active heatsink. 1) The PCB edges which make contact with the heatsink rails are metal. This is to conduct heat from the PCB to the case. 2) Most PCBs etch away all copper except for the leads but on this board most of the copper was left. This allows the PCB itself to conduct heat from the chip to the heatsink.
Hi Mark, complete noob to home assistant and just getting setup. Love your videos mate. Very comprehensive walk instructions on all your videos. I followed this video to a T but i'm getting an error message on the MQTT log. Zigbee2MQTT:error 2022-05-06 12:56:50: Error: spawn udevadm ENOENT. Also when I click on the Zigbee2mqtt tab in the sidebar I'm getting 502: BAD GATEWAY. I copied your script in the Zigbee2mqtt exactly, all 48 lines apart from the user and password. Was this a mistake? Hoping you can help. Pulling my hair out. Thanks.
You should really highlight to people to create a unique ZigBee key. Security matters and I think you really should mention making it unique and not the default. Also picking the channel. Leaving it on the default isn't the best thing. Excellent video keep them coming
I actually thought this after too. Something people should deffo be aware of. Maybe I’ll do a “tips and best practices” type video :) Thanks for the feedback dude 👌🏻
watching the video now - i just received my device, intending to plug into the same raspberry pi that i'm runing HA on (which is itself running inside a docker container) - i assume i would install ZigbeeToMQTT on the host pi, and then would configure HA to talk to it outside of its own instance? i was looking for a video to see how to mount the USB port or device directly to the docker container, not sure if that would be easier or harder
Mark a simple question though do we really need to flash the dongle as per sonoff it works out of the box as a plug and play solution for home assistant . Are there any limitations that forces us to flash the dongle
I was thinking the very same question. We hear a lot about getting a new product upgrading this or flashing that. But everything I buy just works out of the box. I am wondering why you need to keep upgrading and flashing all this equipment?
Heya :) I should have made this more clear in the video sorry. So out of the box the dongle works great. One if the main reasons to update is the newer FW allows more Zigbee devices to be paired to the stick. You can also change the functionality by flashing (e.g router fw). If you have a big network this is recommended. But if you only have a small network, the out if the box software is great 👍🏻. I will address this in the router video :) I personally had issues with one if the dongles I used. But flashing it seemed to have resolved the problems. Hopefully that makes sense :) gimme a shout if you want more info.
Nice video Mark; you've got a nice style and it's been helpful in me moving through the learning curve of HA. One thing I might suggest is making reference to variations that might exist in macOS or Linux (in this video its just the software you used for flashing). If you're mainly a windows user I think just a quick mention on what software they might use rather than showing it (life's too short). Also, I think for someone like myself "ZHA" is just three letters strung together in seemingly random order but I suspect there is something to be known here. Might be good to give this overview of the tech before jumping into setup. Anyway enough of my $.02 ... your videos are far better than anything I could do :)
Anybody who has a newer guide after the Home Assistant UI is updated? I can’t create a user with password like in this video after the update of the user interface
My version of Homeassistant doesn't have "Configuration" but "Settings", and it doesn't have "People and Zones" it just has "People" and "Areas and Zones" as separate options... then within "People" there is only a "People" option and not "Areas" or "Users", and it allows only "+ ADD PERSON" as an option, which I don't think is what you need to do here somehow? So where do I add a "User" now??
Hi Mark, I've installed Homeassistant in a VM on my Synology DS218+ and want to use a Sonoff Universal Zigbee 3.0 USB Dongle with it, which at the moment doesn't seem to be being recognised when I plug it into the USB port on the back. Is this method that you outline here the same for my scenario and will it work, or do I have to do something else to get this working? I'm a total newbie to this so be gentle please! :D Thanks!
HELP Sonoff Zigbee 3.0 Dongle Plus The drivers for this device are not installed. (Code 28). There are no compatible drivers for this device. To find a driver for this device, click Update Driver. tried windows update but i will not work
Great Viedo Mark... however, as a newbie, the HA user interface has changed so much so that this is now a little difficult to follow / implement - see for example Chapterfrom minute mark 9:57... the socat is not the same. ? New video opportunity ?
I have got a far as installing the broker and zigbee2mqtt. When i try to start the broker it will not run. The only thing i can see in the log is an info comment that SSL is nor enabled. UPDATE: all sorted, user name typo and had to add server details to mqtt in order for all to work. Thanks
If your HA is Supervised, running in a KVM on Ubuntu, look at the Virtual Manager details, click Add Hardware, and choose the Sonoff stick. Otherwise, the VM cannot see it.
Heya :) For the Mac you can do it all via Python. There are a few guides out there. I didn't get that many requests for the Mac which is why I never created the video :S
I had TROUBLE with my Sonoff dongle and the manual bootload didnt work for me. This link below helped me do the Python method (without much python knowlegde). If anyone was struggling with getting into bootloader mode with your dongle dont waste your time like I did... some dongles just dont work that well with the physical button. Thanks for the video Mark!
I have existing Z2M network currently working with this sonoff USB dongle. Will my zigbee network remain after flashing a new firmware, or do I need to setup everything from scratch afterwards?
I did this somhow sucessfully on my HA, but when i was about to install it on my BF new ha installation, the config file was not the same… did they change something? It dont have the base topic or anything.. and it will not work to submit in devices..
It's the little things that matter on these tutorials. Most of these YT tutorials walk us through steps A, B, C, etc. You go the extra mile to explain what's needed when 'A' or 'B' or 'C' doesn't work or go as planned. In my case, my driver needed updating. Without your explanation, I would have packed it up, put it in my ever-growing WTF box and continued using the miserable dongle I'm using now. Thanks Mark!
Thank you for the feedback :)
Happy to have helped!
It's only been a year and this video's already severely out of date, my user interface in Home Assistant 9.3 is significantly different than yours. I had to enable "Advanced mode" on my profile to get to several options you use and the Zigbee2MQTT configuration screen is completely different.
did you manage to make it work ?
I watched several different tutorial videos on this same topic, and each one of them left out or quickly brushed over parts without giving me the detail that I needed when things weren't working the way the other tutorials said they would (i.e. My Sonoffs Dongle Plus wasn't being detected by my PC when trying to enter bootloader mode, but Mark explained in this video how to add or update the drivers when it's not detected) Watching this tutorial filled in the blanks for me that other tutorials left out. Thanks so much for explaining it in a way that a newbie to HA like me can understand.
Hey Michael. Thanks for the feedback. Glad it was helpful for you.
The help is and detail great. When updating the drive for the dongle I have done it a few times and there are no new updates but i still get the yellow ! and advice?
it worked after i updated my windows first
Thanks for this great video. However since publishing there have been some changes to the configuration of the Zigbee2MQTT addon. If you use Mosquitto then under the MQTT configuration in Zigbee2MQTT leave it blank. No need to complete topic or user credentials. Under Serial you still need the port of the device.
Thank you very much! On this very day I got my Sonoff stick and with your help I got it running in no time!
From the first minutes of the video, it is clear that it will be positive (the smile made me smile myself) and useful, by the way, perfectly designed!
Rumor has it that this dongle FINALLY resolves the IKEA Zigbee battery drain problem... Would love to see a video if this is the case.
Can I double up on this question. I have tried to move to Z2M, but my favourite button doesn't work 🥺.
Have found visitors staying over to the house need buttons. To hard to teach them all the voice commands. Especially after a few drinks.
Everybody is new to this stuff at one point or another: thanks for a tutorial that was both comprehensive on the topic, but didn't assume/omit any steps that might not be obvious to a novice.
I was going for a “caters to all” type of guide :)
@@MarkWattTech Hi Mark. Every time I reboot HA, my Z2M config changes. instead of /dev/ttyUSB0, it becomes /dev/dev/ttyUSB0. It's infuriating. I have to go to File editor every time I reboot.
@@jerrypawns8710
recall where Scott got the hardware info, besides the /dev/ttyUSB0 down below there is the reference
starting with /dev/serial/by-id/ use this rather than the /dev/ttyUSB0
e.g. for my setup I'm using the Sonogg Zigbee 3.0 USB Dongle
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_d66f2a6b6512ec11affe21c7bd930c07-if00-port0
e.g.:
serial:
port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_d66f2a6b6512ec11affe21c7bd930c07-if00-port0
Hope this helps
@@MarkWattTech excellent tutorial,,,, clear and concise
i sae other tutorials but was't as good as yours the driver part saved my day, thank you
Glad it helped!
Hi Mark, what about a Dongle Plus-"E" version with EFR32 chip? Maybe a new video explaining how to upgrade this newer one? :)
Really great video Mark, as a Zigbee newbie I found this incredibly helpful.
Since the new update this is not working for me. I keep getting 502: Bad Gateway. Now the zigbee2mqtt configuration looks nothing like what you have in the video and people & zones has no user tab. Would love to see an updated video on this.
Enable ‘Advanced Mode’.
Click your account profile icon (last icon at the very bottom of the sidebar menu) and enable the option.
@@victornittersteen unfortunately its not working still
@@igor.vanlife same for me (I have advanced mode active)
I've given up on trying to get Zigbee2mqtt to work. Can't ever get it started despite following everything to a tee. 502 bad gateway on the UI, has issues finding my sonoff stick for some reason (even though ZHA can find it) and an ever changing ui/config menu that makes following any sort of tutorial confusing.
Did you found a solution ?
Zigbee2Mqtt version 1.25 installation is much different from the video, could you help to teach us the new installation steps. Thanks!
Yes, my installation today doesn't allow access to configuration so I can't add a password.
Greate Video I would just note - the flashing instructions DONT apply to the Silicon Labs Version with a chip based on EFR32MG2x/MGM21x and EFR32MG1x/MGM1x series
Otherwise known as the ZBDongle-E
9:05 - Looks like the latest version on HASO doesn't have a users, only people...
Mark - this is a nice straight forward tutorial that I could easily follow along as I switched from ZHA. Thank you.
ZHA exposes more sensors in the plug I am testing (voltage + current + total energy +++) but things like total energy it used, was telling me 40kw had been used half an hour after integrating... without anything turned on. Maybe it was 0.04whr that needed a scaling factor - but I couldn't see how to do that in ZHA - a future video maybe?
Zigbee2mqtt offer less data (switch + current + signal quality) - but what is there just works! It looks like an integration sensor works to give me total power used. I was expecting it to be daunting, but seems to be straight forward unless you really want to dig deep.
Its not working for me, keep getting this: >Initiate access to target: COM3 using 2-pin cJTAG.
>No response from device. Device may not be in bootloader mode. Reset device and try again.
If problem persists, check connection and baud rate.
>Connecting over serial bootloader failed: No response from device. Device may not be in bootloader mode. Reset device and try again.
If problem persists, check connection and baud rate.
>Failed to create device object.
What to do?
I'm just getting started with Home Assistant and I have several questions. First, is this what is required to get HA to work with Zigbee devices at all? Or is this something extra? Second, when you paired those Aqara devices did you need the Aqara hub? If not, do you still get full functionality out of them? Third, How much has the HA and Sonoff software's changed since this video was made? Would this still be a relevant guide to follow? Thanks so much!
Great job Matt. 2 things.. whoever wrote that smart RF programmer is NOT a UI designer or was so in 1980, and that button is so dang small, very hard to hold. And thanks sonoff for not anywhere specifying the device needs to be disassembled to access bootloader mode
The newer method allows you to flash without disassembly. I still haven’t got round to recording that one though. But yeah would have been nice for the button to be accessible like some other sticks on the market.
And it’s Mark! 🙈😂
This is an excellent tutorial. Thank you for creating this video!
A couple minor differences for me since this video was made:
1. I use ProxMox and HAOS, so I had to add the USB port in the ProxMox VM hardware config. This change does not take effect until the VM is shutdown and restarted; a reboot does not work.
2. The latest firmware (CC1352P2_CC2652P_launchpad_coordinator_20220219.hex) did not show Silicon Labs when I looked for the hardware in HA. It identified as ITead Sonoff, so try searching for that if you can't find it by Silicon Labs.
3. HA tried adding ZAH as an integration, so that needs to be ignored in order to use Z2M.
Glad you found it helpful! Thanks for sharing
Thanks!
Hi, I'm trying a similar thing. However I'm also trying to flash the device using Windows 10 on a VM via Proxmox. When I get the dongle all plugged in I can update the drivers and see it in device manager but I can't get the flash software to see the dongle. Any ideas? Thanks
will do the same tomorrow - wish me luck :D
great bit of advice,,, just waiting for my sonoff dongle to be delivered and preparing for install.... looking for Itead manufacture will save some time... thanks
Thanks, but no matter what I do, it refuses to show up in the TI app and all I get in "Other devices" is "Sonoff Zigbee 3.0 USB Dongle Plus"
work like a charm. thank you very much. you made this process very simple and clear.😉
Glad it helped :)
Hi mate, great video am struggling when going in to the config of zigbee2mqtt it looks nothing like yours only has 9 lines of code and missing base_topic, does that all need to be added manually?
Same problem here. Did you run through the steps in the video? I did to flash the dongle, and I've picked up some zigbee devices since, all working fine. Today I need to set up some Tuya zigbee mains pass thru plus and they're not detected. So then I went to configure mosquitto mqqt which was already installed (just added a password) and then installed zigbee2mqqt and I get the same as you.. 9 lines of config :(
I've just thought.. I have the Sonoff zigbee 3.0 addon installed to talk to all of my other zigbee compatible devices - would that be conflicting with zigbee2mqqt?
@@fr0d0scious i had nothing installed as i brought the Dongle off the back of this video and followed all steps to the letter, but ended up with bit of a blank config file, tried uninstalling resetting following the video from the start again but constantly ended up in the same position. In the end just went with ZHA as was complete in 3 clicks, Bit of a shame as have read that zigbee2mqtt exposes more entities from devices, so would maybe look to see the difference in the future if could get working. Would say ZHA been a blast and everything i have which is about 25 zigbee items from different brands have connected instantly and seem rock solid. i was moving away from using Smartthings and Hue bridges because the lag and reliability of these have got worse over the years.
Let me know if you find a solution
@@actionrag1 I'm confused as the Sonoff integration seems to manage all ZigBee devices. I had a suspicion that my ZigBee pass through mains plugs were switching off with a timer that I wasn't seeing. So I was trying to get into them with Tuya but keep falling as I don't have a Tuya hub and don't want one. I'm thinking mqqt/ ZigBee2mqqt are unnecessary.
Another great video Thanks. Had an issue with driver download, my PC did win 10 update I thought that did it missed the optional updates at first. All good now thanks for the detail in the video. How do you like your NFC ring, you make it or buy it >
the zigbee config is just 9 lines now, would be nice if you had posted your config
Great tutorial! Have you done a video on Python? I have a Mac and cannot use this method on my machine.
Hi, help please, when I connect the device to USB port, windows 11 make the usb connected sound but Texas Smart RF program doesn't recognize, any advice? 🙃
Have you checked the drivers are installed as mentioned in the video? :)
Great video, will the refreshed dongle be able to pick up Tuya zigbee devices after this to run locally?
Hi Mark,
Did you ever do the video explaining the Python method? I can't seem to find it if you have...
I attempted this method this evening and failed miserably... I eventually figured out there is an issue flashing the latest firmware with the TI Flash Programmer 2. I eventually resigned myself to installing the previous firmware, that worked fine using this method..
The overall goal was to swap out a Sky Connect adapter for the Sonoff Dongle P but that failed miserably too, bad night at the tinkering... I can only presume you cannot simply change the configuration in Z2M from the Sky Connect to the Sonoff P device ID...
Anyway, I think my next step is to try the Python method and go again, have to figure that one out first..
Cheers,
Mac
Hi
Which product I should prefer to connect to the PC or RPI?
A USB dongle Plus or a Zigbee Bridge?
I think both will work.
Isn*t it?
Hello! thanks for your great video; in the current situation, should I take the sonoff stick or wait for skyconnect? are there any differences?
The SkyConnect is definitely more future proof. I would opt for it as it’s going to be supported by Home Assistant :)
But equally the sonoff dongle (which im still using) has been amazing and worked perfectly for me.
@@MarkWattTech I bought the sonof model E by mistake, it should arrive in the next few days, I hope to be able to make it work even if it is still in beta; Will I have to update the firmware of that too or can I use it without touching the firmware?
Hello Mark, i did all the steps, but i can't find my device path, and i cannot see it in the hardware tab. What should I do?
Hey there, thanks for this video! what do you do when the dongle does not show up as a COM device, and not showing up in the RF programmer when holding the button correctly for 10 seconds when inserting? thank you!
Thanks for clarification on few things. It was unclear to me why I have MQTT as Integration and as well as MQTT Broker Add-on. Unfortunately Zigbee2MQTT is still a bit stubborn in my deployment. Maybe because I also have dongle used in ZHA (Zigbee Home Automation) .. not sure if it might/might-not collide somehow. Any hint on what's better ZHA or Zigbee2MQTT ?
Yeah, ZHA and Zigbee2MQTT are incompatible as far as I know
I've tried the firmware update on two Windows machines. The dongle never turns up in the Flash programmer. Tested holding one button down for 15 seconds, then unplugged and did the same with the other button. Does anyone know why it doesen't show up?
I've got the Conbee II running with Zigbee2MQTT on a Virtualbox setup. I'd like to migrate to the Zigbee2MQTT 3.0 Plus, and have it configured (flashed). It can be seen in Virtualbox as a filter, as can the Conbee II. I'm at a loss past this point on how to proceed.
Awesome, perfect description.
Great Video, straight and to the point.👍
Why zigbee2mqtt vs ZHA in 2022? I would love a video on this topic. Great work, love your stuff.
super nice - now for MacOS users please ;-)
Hi Mark
BIG thanks for another really good video.
Great credit to you for being so detailed in your help.
I am a total beginner and nothing speaks for itself in my beginner experience, therefore it is really a big help when you show and guide 100% through it all.
Thnak you.
Thanks for the feedback Sami. Glad you found it helpful :)
hi mark, great videos. is there an updated version of this? im just getting around to zigbee and i think a few things have changed since this video. thanks
would be a greaty help yes.. i have BIG issues for the dongle to show up at all and where to put in the user name and password in the configiration in the zigbee2mqtt application.. things have changed in HA since this video
Hi. Perfect video. Two questions. If the SonOff device is already in use, do you need to re-pair all devices again or is that not necessary? Thanks for the answer. How many devices can you pair before and after the upgrade and are there any other advantages?
I am wondering the same thing and searching the comments. Did you find an answer?
when I try to find my port, my device is called "ttyUSB0/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_96854a91af29ec118120c99c40c9ce8d-if00-port0", Have flashed it with the firmware your link is pointing to. Only different is that this Firmware is newer than your. could that be the case?"
I have the same issue. Did you succeed?
Great video Mark but I think I must be the only person who can't get the usb dongle to show up correctly in the flashing tool despite the drivers being correct. I think it must be my fat fingers not holding the button right. The device shows up in the flashing toold but the nodes below it shown "unknown". I will have another go tomorrow - what else is there to do on a Bank Holiday :)
MQTT error: not supported
Failed to connect
Help please
Another very helpful tutorial, thanks Mark. On one point I am struggling. The Sonoff stick is not recognized and here ends my journey for the new software. Can I nevertheless proceed with the existing software and install MQTT and Zigbee2mqtt succesfull.
Regards, Roelof
Heya :) as in the dongle isn't recognised when you connect it to your HA machine? What kind of setup are you using? :)
Thanks for the walk through, Ive managed to get stuck though. I am using Windows 10 as a VM, I have got the software all installed and managed to update the driver for the dongle to get rid of the yellow triangle, the software just won't see the USB. It doesn't show up on the left hand side. Any ideas? Thanks
Hi mark hope once your health is better you would be posting the video of the second method through python script
Heya. I originally planned on doing one but not many people seemed interested in it so I didn't bother. As this video is now a few months old there are some slight changes so potentially I may redo the video and incorporate the Python method as well as a guide for Mac.
@@MarkWattTech Thanks mark please do once you have completely regained your health
@Mark Watt Tech i am in the market for a zigbee device, , which do you recommend, the conbee 2 or the Sonoff Zigbee 3.0 Dongle Plus ?
Will I have to repair or reconfigure anything if I update my device as it's already setup with ZHA with the firmware that came with it.
When you add a repository, refresh your browser to make the repo appear. Something else that’s out of date here.
Texas software doesn't even detect my device. Windows detects it as a Sonoff Zigbee 3.0 USB Dongle Plus!
Okay, windows device manage only detected a sonoff stick with no drivers. I installed driver booster with the device installed and it resolved the device not detected fault. Sorted now!
Any chance you can do a version of this video for container installs of HA? What do I need to do on Truenas Scale to get my mosquito and zigbee2mqtt containers to talk to HA?
LE: I have restarted the computer and the correct drivers appeared. Problem solved, the installation was without issues from the first time.
Hi Mark, my device appears in device manager as "Sonoff Zigbee 3.0 USB Dongle Plus". It does not appear as you shown in the videos. Also in the Smart RF Flas Programmer appears as unknown device. Any idea how to solve this issue? I am using Windows 10 with up to date drivers.
I forgot to mention, in the end it worked after a restart in install of correct drivers
4:12 Yes it is a heatsink.
Hi, can we use the zigbee 3.0 dongle plus in ESXI? Any good tutes on how this can be achieved? Thanks.
Awesome help, thank you so much. Sadly as others have commented, lots of the GUI screens have changed drastically. Perhaps worth a short revision. Thanks again
Thank you! - I think a short revision is needed.
Well done guide, but it actually doesn't work for me. The Zigbee2MQTT doesn't work - there's always the error "502: Bad Gateway".
I've tried for hours yesterday, but still the same problem :/
Check the log for Z2m. It should state why it’s not starting.
@@MarkWattTech I get: Error: SRSP - SYS - ping after 6000ms
Your z2m config looks totally different to mine and I followed your guide immediately after you posted with a new Sonoff stick.
Great video thanks Mark. Given it was done a year ago, is the new firmware version still valid or has there been a further update? Currently on ZHA with a Conbee II, but wanting to explore Zigbee2MQTT. Thanks again.
Hey Dave. Shortly I will be migrating to the new Home Assistant Sky Connect. However I'm currently still using this Sonoff Dongle, with the version I flashed in this video. It has been solid and I have had new issues with it at all.
Great, great tutorial. You literally caught all the errors and provided solutions. Rarely do I see tutorials of this quality.
Glad you found it helpful :)
Great video, thanks fella. Noob question, will the ZigBee dongle replace all the other bridges I've got? I.e by getting a dongle, can I get rid of my hue bridge, hive bridge, fire angel bridge etc? (assuming they are all zigbee bridges)
If so, my next challenge is getting it to work on my setup. I'm using HA in a VM running on my qnap.
Thanks
That’s the idea :) providing your devices are compatible (most will be with zigbee 3.0) you should be able to just pair to the Sonoff and turn off the old bridges.
was all good thanks for the work done but the point when u configure zigbee2mqtt is nothing like shown and the information is wrong on the video compared to whats seen on the screen unfortunatley
same here
completely different config menu
finally got mine to work. Your instructions are great and gave me the confidence to give it another go. I've now swapped out my old CC2531. Had to re-pair all the edge devices but everything seems to be settling down. Now thinking if it's worth re-configuring the CC2531 as a router, not seen any vid's on this yet?
It’s on my todo list. Im currently testing a bunch of coordinators and will then be testing ones as routers. Just to make use of any old sticks lying about :)
@@MarkWattTech This would be a great and really useful video!
To change firmware on CC2531 you need a USB debugging console thingy. AFAIK it's not possible to get it into bootloader mode to flash it otherwise.
thank you sir! how would you compare this dongle to the conbee 2?
Hi Mark
Is it possible to setup everything without updating the dongle and can I update the dongle on a later point without starting all over again?
I want to do the update, but I only have a MacBook so when I visit a friend some time in the future I will use his computer to update the dongle.
Hi Mark, thanks for greate video! With this setup I'll be able to connect my zemismart zigbee devices like I do today with zemismart zigbee and tuya?
Heya. Sorry for the delay! You will be able to yes :)
@@MarkWattTech Thank you very much!!! :) I'm already running this setup and it works very well.
addons store is unfortunately no longer available when home assistant is running in the container or vm ware. do you have any idea what to do then?
Do you have a video of how to do this using Mac OS, HA & Raspberry Pi by any chance? Thanks :)
smartrf flash programer 2 shows no connected devices no matter what I do.
Same here
hi good video
Unfortunately I now have a problem.
Since the update, my devices no longer work... they are displayed but switches cannot be switched and my temperature sensors retain the last temperature...
I use ZHA and the SONOFF Zigbee 3.0 USB Dongle Plus
Do you have to re-teach all devices or where could the problem lie?
Thank you very much
With kind regards
Wow. One of the best. Video.
If dongle not detected and shows yellow warning sign on Windows 10.
Go to "Settings" and in the search pane look for "View Optional Updates".
There was a drop down for "Drivers" and I ticked the "Silicon Labs" update and hit "Download and install"
I do show mention this in the video 👍🏻
Obviously, I get an error just trying to register on the TI site to get the Flasher. Why must companies pull this BS sign-up nonsense and then compound the inconvenience by failing to ensure a robust system...!!!? When I finally managed to sign-up (had to use a different bowser) I was blocked from downloading with different obstacles on either browser. Finally, I used another PC and it let me download after I'd made several declarations about the use of the Flash Tool. FFS TI...!!! 20 minutes just to download the tool.
Thanks for this video. I'm using it to switch from HUSBZB-1 ZHA to Sonoff Z2M.
One small note regarding the "heatsink" case. I thought as you did (it's not a heatsink) because there's no contact between the chip and case. But if you look closely at the PCB, you'll notice 2 things which leads me to believe it is an active heatsink.
1) The PCB edges which make contact with the heatsink rails are metal. This is to conduct heat from the PCB to the case.
2) Most PCBs etch away all copper except for the leads but on this board most of the copper was left. This allows the PCB itself to conduct heat from the chip to the heatsink.
Hey Kyle. Thanks for sharing :) At least the casing is doing something then :D
Hi Mark, complete noob to home assistant and just getting setup. Love your videos mate. Very comprehensive walk instructions on all your videos. I followed this video to a T but i'm getting an error message on the MQTT log. Zigbee2MQTT:error 2022-05-06 12:56:50: Error: spawn udevadm ENOENT. Also when I click on the Zigbee2mqtt tab in the sidebar I'm getting 502: BAD GATEWAY. I copied your script in the Zigbee2mqtt exactly, all 48 lines apart from the user and password. Was this a mistake? Hoping you can help. Pulling my hair out. Thanks.
Hi, I stuck with the same 502 BAD GATEWAY error. Have you managed to sort it out??
I am also getting the same "Error: spawn udevadm ENOENT" error unfortunately
You should really highlight to people to create a unique ZigBee key. Security matters and I think you really should mention making it unique and not the default. Also picking the channel. Leaving it on the default isn't the best thing. Excellent video keep them coming
I actually thought this after too. Something people should deffo be aware of. Maybe I’ll do a “tips and best practices” type video :)
Thanks for the feedback dude 👌🏻
watching the video now - i just received my device, intending to plug into the same raspberry pi that i'm runing HA on (which is itself running inside a docker container) - i assume i would install ZigbeeToMQTT on the host pi, and then would configure HA to talk to it outside of its own instance? i was looking for a video to see how to mount the USB port or device directly to the docker container, not sure if that would be easier or harder
do you really need to flash it for it works out of the box with raspberry?
The TI website is shite, I've signed up 3 times and it still won't let me in
Mark a simple question though do we really need to flash the dongle as per sonoff it works out of the box as a plug and play solution for home assistant . Are there any limitations that forces us to flash the dongle
I was thinking the very same question. We hear a lot about getting a new product upgrading this or flashing that. But everything I buy just works out of the box. I am wondering why you need to keep upgrading and flashing all this equipment?
Heya :) I should have made this more clear in the video sorry. So out of the box the dongle works great. One if the main reasons to update is the newer FW allows more Zigbee devices to be paired to the stick. You can also change the functionality by flashing (e.g router fw).
If you have a big network this is recommended. But if you only have a small network, the out if the box software is great 👍🏻. I will address this in the router video :)
I personally had issues with one if the dongles I used. But flashing it seemed to have resolved the problems.
Hopefully that makes sense :) gimme a shout if you want more info.
See above 👆 🙂
Nice video Mark; you've got a nice style and it's been helpful in me moving through the learning curve of HA. One thing I might suggest is making reference to variations that might exist in macOS or Linux (in this video its just the software you used for flashing). If you're mainly a windows user I think just a quick mention on what software they might use rather than showing it (life's too short). Also, I think for someone like myself "ZHA" is just three letters strung together in seemingly random order but I suspect there is something to be known here. Might be good to give this overview of the tech before jumping into setup. Anyway enough of my $.02 ... your videos are far better than anything I could do :)
Thanks for the feedback Ken 👌🏻
Mine does not at all show up in the flash programmer, crap!
Anybody who has a newer guide after the Home Assistant UI is updated? I can’t create a user with password like in this video after the update of the user interface
Why do we need to flush dongle? Can't I just plug it in and configure?
It's entirely optional. The newer firmware has some added benefits, but the stick does work fine just plugging it straight in with stock firmware.
My version of Homeassistant doesn't have "Configuration" but "Settings", and it doesn't have "People and Zones" it just has "People" and "Areas and Zones" as separate options... then within "People" there is only a "People" option and not "Areas" or "Users", and it allows only "+ ADD PERSON" as an option, which I don't think is what you need to do here somehow? So where do I add a "User" now??
Hi Mark, I've installed Homeassistant in a VM on my Synology DS218+ and want to use a Sonoff Universal Zigbee 3.0 USB Dongle with it, which at the moment doesn't seem to be being recognised when I plug it into the USB port on the back. Is this method that you outline here the same for my scenario and will it work, or do I have to do something else to get this working? I'm a total newbie to this so be gentle please! :D Thanks!
HELP
Sonoff Zigbee 3.0 Dongle Plus
The drivers for this device are not installed. (Code 28).
There are no compatible drivers for this device.
To find a driver for this device, click Update Driver.
tried windows update but i will not work
Great Viedo Mark... however, as a newbie, the HA user interface has changed so much so that this is now a little difficult to follow / implement - see for example Chapterfrom minute mark 9:57... the socat is not the same. ? New video opportunity ?
I have got a far as installing the broker and zigbee2mqtt. When i try to start the broker it will not run. The only thing i can see in the log is an info comment that SSL is nor enabled. UPDATE: all sorted, user name typo and had to add server details to mqtt in order for all to work. Thanks
If your HA is Supervised, running in a KVM on Ubuntu, look at the Virtual Manager details, click Add Hardware, and choose the Sonoff stick. Otherwise, the VM cannot see it.
I thought he was holding a pipe at the beginning.
Hi, great tutorial thank you. Flash programmer 2 doesn't appear to run on a Mac, is there an alternative? thanks
Heya :) For the Mac you can do it all via Python. There are a few guides out there. I didn't get that many requests for the Mac which is why I never created the video :S
can i use with ewelink app after flashing
i already have the z2m set up with all my devices. once i flashed with this fw in your video, do i have to re-pair all of the devices?
I had TROUBLE with my Sonoff dongle and the manual bootload didnt work for me. This link below helped me do the Python method (without much python knowlegde). If anyone was struggling with getting into bootloader mode with your dongle dont waste your time like I did... some dongles just dont work that well with the physical button. Thanks for the video Mark!
What link? Plz. input your link!
@g.2025@@Danish3Cubed Link for the Python script doesn't seem to be working any longer
I have existing Z2M network currently working with this sonoff USB dongle. Will my zigbee network remain after flashing a new firmware, or do I need to setup everything from scratch afterwards?
I did this somhow sucessfully on my HA, but when i was about to install it on my BF new ha installation, the config file was not the same… did they change something? It dont have the base topic or anything..
and it will not work to submit in devices..