Flashing Sonoff Zigbee Dongle Plus in Windows (Python Method)

  Рет қаралды 36,066

Smart Home Addict

Smart Home Addict

Күн бұрын

Thank you for watching. In this video, we will upgrade the firmware on the Sonoff Zigbee 3.0 USB Dongle Plus on Windows using Python.
Sonoff Zigbee 3.0 USB Dongle Plus - amzn.to/3wuBLk2
Links in the video:
===============
Python - www.python.org/downloads/
Device Drivers - www.silabs.com/developers/usb...
Bootloader - github.com/JelmerT/cc2538-bsl
Z Stack Firmware - github.com/Koenkk/Z-Stack-fir...
Commands to be typed:
===================
python -m pip install --upgrade pip
pip install wheel pyserial intelhex python-magic
pip install zigpy-znp
python -m zigpy_znp.tools.nvram_read COM3 -o nvram_backup.json
python cc2538-bsl.py -p COM3 -e -v -w --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
Please like and subscribe, and click on the notification bell so you can be alerted to new videos.
If you would like us to create videos on a particular topic, technology or product, please leave a comment below.
Chapter links:
0:00​​​​ - Intro
0:43 - Download and Install Python
1:40 - Updating device driver
4:04 - Set up scripting
5:59​ - Download firmware
8:08 - Flash Firmware
The below is completely optional but this will help us to purchase kit for review, and to keep up with channel expenses (studio kit, etc).
Amazon link (no cost to you but buying through the link helps my channel) - amzn.to/3fj2S8a
Ko-Fi - ko-fi.com/smarthomeaddict
Buymeacoffee - www.buymeacoffee.com/smarthom...
Patreon - / smarthomeaddict
LTC - MFnMdCU3m4r8WNpyzXG1cbXnXwt5A34ziX
BCH - 1HVoUxQHA2P1WTUCV9TY5ZRizyMpQgFppb
BTC - 1DiTuKZhqxqKd8rfayQBayr311kqHvcot3
ETH - 0xe942Dc5A8a0794df24939026373f92B69603D5cf
DOGE - DNqJG1PktRnvtZAyLAmDcPGXEEvGWJoU6L
Finally, please visit our website at smarthomeaddict.co.uk

Пікірлер: 86
@nice1fam
@nice1fam Жыл бұрын
Brilliant video guide. Great pace, you didn't skip over any steps either which is much appreciated!
@jaimepalazuelos3207
@jaimepalazuelos3207 Жыл бұрын
Awesome, that is how you do a tutorial, clear and step by step. Using the boot button did not work for me, this was very helpful.
@Icanhasmycheesburger
@Icanhasmycheesburger Жыл бұрын
Awesome guide! Straight to the point, no bullshit. Thanks a lot :)
@Schorsch4711
@Schorsch4711 12 күн бұрын
Great guide. Thank you for that. It took a while and I had to play the video at 75% speed with german subtitles. Deviating from the video, i used the router firmware. And now i have a powerful router for my Home Asistant Zigbee network. The Sonoff stick was useless as a coordinator because I bought 2 SMLIGHT SLZB-06 LAN sticks.
@user-oq1sw8zy7n
@user-oq1sw8zy7n 7 ай бұрын
Thanks! This really save me, tried a few other ways to flash the dongle into a router. This was the only one that worked!
@billhickswasgreat3421
@billhickswasgreat3421 8 ай бұрын
Very nice video. Concise and to the point! Got me to flash the dongle quick and hassle free! Thank you!
@gustavjohansson9888
@gustavjohansson9888 2 жыл бұрын
Awesome, thanks! Followed the tutorial and was able to successfully flash the dongle.
@cristianstanila3215
@cristianstanila3215 2 ай бұрын
Thank you for the guide! I successfully flashed the dongle with the router firmware instead of the coordinator firmware, and it worked perfectly.
@Duddi1966
@Duddi1966 9 ай бұрын
Hi from Denmark. This worked perfectly for me. I have two dongles and I was not able to update the firmware using the TI SmartRF Flash Programmer, but this work very well. Thanks a lot 😎
@BernhardJHess
@BernhardJHess Жыл бұрын
Worked great for me. Step by step easy to follow. Thanks a lot.
@smarthomeitaly
@smarthomeitaly 2 жыл бұрын
Excellent job, I found your tutorial particularly thorough and I had a very easy time following it. Keep it up!
@SmartHomeAddict
@SmartHomeAddict 2 жыл бұрын
Thank you, I will
@georgefreemantel517
@georgefreemantel517 Жыл бұрын
Really brilliant tutorial for dummies thank you. Spent an age trying to work out how to do this. In the meantime my home set up had an "event" that sent all my devices offline and left a recurring error in the log to the effect that I was using an insecure default Zigbee2 MQTT network key. Couldnt find any intel on the forums. Anyway I need to scratch the Z2M itch and this is perfect. Just like your Sonoff flashing tutorial. I wasted a day on it before stumbling across your excellent videos. Kudos! will coffee you later. Just thought I had to thank you first on here. One thing though. Why isn't there a place where the network key can be configured not to use the default? Oops! Think I posted this in the wrong vid.
@VincentdeKoning
@VincentdeKoning 10 ай бұрын
I want to thank you! The other methods didn't work for me. But the Python way did the trick! Thanks!
@SandroWalmor
@SandroWalmor 9 ай бұрын
Thanks for your help. Your method is excellent! I tried all other ways but they all failed. Your method was the only one that worked for me. I am very grateful to you. I leave you a big hug here.
@zxljmvvmmf3024
@zxljmvvmmf3024 2 жыл бұрын
Great video, steps were easy to follow and understandable. On minor point: the mic quality, hope that gets an upgrade soon, feels kinda weird when you're are not talking, awkward silence :D Some background music might also help. Hope to see more videos!
@SmartHomeAddict
@SmartHomeAddict 2 жыл бұрын
Thank you. Yes, the audio is a bit odd at times, I'm looking to upgrade my mic. I've been experimenting with background music too, over the next couple of weeks I'll have some quiet background music (not too distracting though). Thanks for the feedback!
@JMX246
@JMX246 5 ай бұрын
Thanks worked like a charm (I got the Error 3 using the TI utility method) - also I used the current firmware (with your process)
@ewertonmeira123
@ewertonmeira123 Жыл бұрын
Your guide was the only one that worked for me. Thx so much
@joakimschill5264
@joakimschill5264 Жыл бұрын
Worked great for me too. Step by step easy to follow. Thanks
@kevintjekevin
@kevintjekevin Жыл бұрын
Super clear instructions! Thanks!
@user-us4lq1cz1g
@user-us4lq1cz1g 6 ай бұрын
Sehr gute Anleitung. Es hat alles hervorragend gekklappt.
@brausepaul0815
@brausepaul0815 5 ай бұрын
Thank you so much! This was the only way that works for me! Great tutorial!
@Warekiwi
@Warekiwi 5 ай бұрын
Excellent video which helped greately after my new Sonoff dongle didn't respond to the bootloader button. However I couldn't get the first two command lines Python commands to work after installing following your method. In the end I installed Python from the Windows store instead and then everything worked perfectly. (using latest Windows 11 and admin )
@tomekhekin914
@tomekhekin914 9 ай бұрын
It is second time I am using your great guide. Thank you again
@-aanban22
@-aanban22 7 ай бұрын
Thanks for the step-by-step tutorial.
@Paul_Munro
@Paul_Munro 9 ай бұрын
This was very useful, especially as my sonoff would not enter bootloader mode via the button. One catch was I downloaded python 3.12.0 however zigpy would not install correctly, installed 3.10.6 and all went well
@mortenbecker-eriksen4665
@mortenbecker-eriksen4665 8 ай бұрын
Thank you very much for a very tidy and instructional guide.
@familiew2542
@familiew2542 6 ай бұрын
This is a great tutorial and is working fine. Perfect speed and detail to copy what is happening in the video. Unfortunately it is NOT working with the actual Python 3.12.1 (as of 2024-01-13), which is a Python library issue and has nothing to do with the tutorial. I used finally Python 3.11.6 and this worked fine exactly as described. Thank you very much for this nice work!!!!
@Nils_1984
@Nils_1984 6 ай бұрын
I just now used python 3.12.1 and it worked (2024-02-05) had to restart the computer after the install of python
@aaronsanders3372
@aaronsanders3372 Жыл бұрын
worked great for me, thank you for the tutorial
@pcb1962
@pcb1962 Жыл бұрын
Excellent instructions, thank you 👍
@LasseTheDude
@LasseTheDude 7 ай бұрын
AMAZING!!! Thanks allot. This worked 100%
@matthijsm81
@matthijsm81 Жыл бұрын
Excellent video, thank you very much!
@berndbreitenbach5240
@berndbreitenbach5240 Жыл бұрын
Great video, just what a newbee needs.
@tomekhekin914
@tomekhekin914 8 ай бұрын
Once again thank you for this tutorial
@129World
@129World Жыл бұрын
Thank you very much 🙏 Your instructions were explained very clearly and really covered all the steps perfectly 👍 Since the manual method using the bootloader button didn't work for me, I spent hours trying to get it to work. In the end, my problem was that I didn't check the box for "Add Python to Path" during Python Installation.
@conlethoc
@conlethoc Жыл бұрын
Good job sir!
@tjanicsek
@tjanicsek Жыл бұрын
Many many thanks !!!!
@paulnewby8600
@paulnewby8600 7 ай бұрын
Thanks for creating this video, it helped me out when the button press method failed. I had one error that told me I didn't have v14 of C++ installed, however the error gave a link to the distribution packakge for the correct version and after installing and rebooting the firmware upgraded without issue and on rebooting my Pi with the zigbee stick my 8 devices were all visible and responsive without any need to repair or press reset buttons. I have a small system with 4 bulbs as routers, 3 ikea switches and an aqara temp / motion sensor. The response from all devices has improved dramatically for me with the latest firmware CC1352P2_CC2652P_launchpad_coordinator_20230507
@tomaszpankowski8903
@tomaszpankowski8903 Жыл бұрын
Thank You!
@sledgeHammerRulez
@sledgeHammerRulez Жыл бұрын
like a walk in the park!!! tx
@jeep-australia
@jeep-australia 5 ай бұрын
Thanks very much
@bearhntr928
@bearhntr928 Жыл бұрын
Thanks for the AWESOME Video (I got mine updated to the 20230503 firmware) - how ever did you get those kewl colors in your PowerShell?
@orochifj
@orochifj 2 ай бұрын
you save my life!
@tomekhekin914
@tomekhekin914 11 ай бұрын
thank you
@jeremyc2250
@jeremyc2250 Жыл бұрын
I needed to do a couple of extra steps to get this to work for me. At the install point of pip, I had to run python -m ensurepip Instead of python -m pip install --upgrade pip (this provided me an error confusingly of "No module named pip" - I know, I'm trying to install it :) Also, as well as the listed dependencies, I required pip install python-magic-bin Otherwise helpful video
@danawhite7052
@danawhite7052 Жыл бұрын
Great video, friend of mine shared it with me after successfully flashing one of his SonOff dongles using your process. I've posted it to a forum where SonOff flashing is very helpful. Any chance you could make a similar video for flashing the newer "E" version of the dongle?
@SmartHomeAddict
@SmartHomeAddict Жыл бұрын
I've ordered one of the newer dongles and will research this once it's arrived.
@antonzemanek7770
@antonzemanek7770 Жыл бұрын
Hi, I do not see "other" devicen in the device manager. How do I find the Sonoff dongle? When I am trying to update the driver for the COM 3 port device, Windows says me, that "the best drivers for your device are already installed"...
@HodSterling
@HodSterling 4 ай бұрын
Verifying by comparing CRC32 calculations. Verified (match: 0xe83aa727) ERROR: int() can't convert non-string with explicit base PS C:\Users\hodst\downloads\sonoff\cc2538-bsl-master> after the last command i received an ERROR, what is the meaning of this ERROR and how can i fix it?
@paulwisher6458
@paulwisher6458 2 ай бұрын
Same issue here, anyone have a solution please?
@DPI2501
@DPI2501 Ай бұрын
@@paulwisher6458 Same issue here ... but the stick works and I can see that the new firmware is flashed. However still curious what the message means.
@pp8playz92
@pp8playz92 Жыл бұрын
Firmware flashing went well. However, when integrated in HA, instead of 6 devices and 28 entities, with same devices I got now 6 devices and only 13 entities, i.e. all devices have less entities than before. I would like to recover firmware. How backup can be used to restore firmware?
@saarnevejans9623
@saarnevejans9623 Жыл бұрын
after flashing, I doesnt get recognized by bij synology. any ideas ?
@nateF888
@nateF888 10 ай бұрын
I am getting timeout error in part 5:12 anyone know how to solve this ?
@keviincosmos
@keviincosmos 11 ай бұрын
Thanks! The python worked for me. Very good. 🤘 One thing. The dongle can't see any devices in Z2M besides 3 items which show up even if Z2M is not in parringmode... I've tried to find an older firmware, but I can't. Dongle is the same as yours and the file i used was this: CC1352P2_CC2652P_launchpad_coordinator_20230507.hex
@714Munkey
@714Munkey 7 ай бұрын
I am having an error when trying to input the (pip install zigpy-znp) command. Python is giving me the prompt "note: This error originates from a subprocess, and is likely not a problem with pip. Error: Failed building wheel for multidict Failed to build multidict Error: Could not build wheels for multidict, which is required to install pyproject.toml-based projects" Any ideas? I have not idea how to troubleshoot python.
@miladovic87
@miladovic87 Жыл бұрын
hello , may somebody help me? i did all the steps in this Video my first Sonoff zigbee 3.0 stick ( Master) is already Plugged into my Home Assistant computer an working. now i flashed the second one to use it as a kind of Repeater. can somebody tell me whats the next step to do for me now? just plug it in and it will connect to the existing Zigbee network? sorry for the bad english.
@juliantpholm87
@juliantpholm87 10 ай бұрын
Getting several errors during python commands... Probably an issue with running this under Python 3.12 ?
@sd-pr6ls
@sd-pr6ls Жыл бұрын
is it possible to do this from a macbook?
@oolesh
@oolesh 6 ай бұрын
hello why my dongle dont show as a sonoff Zidgee 3.0 usb dongle plus😭 like your but keep showing me ch9102 driver
@JayR_aus
@JayR_aus Жыл бұрын
Great guide, but I keep getting a "Timeout Error" when trying to backup or flash the dongle. Any ideas as to how to fix this?
@dartfrogdk
@dartfrogdk Жыл бұрын
hi did you find a solution, i got the same timeout error
@deputyd0ng694
@deputyd0ng694 Жыл бұрын
SAME
@binodnepal995
@binodnepal995 Жыл бұрын
same error
@seb155
@seb155 Ай бұрын
same error
@rtfdroney
@rtfdroney 26 күн бұрын
Same here
@patrykpetryszen1404
@patrykpetryszen1404 Жыл бұрын
Hey, what's the point of flashing it? Any pros and cons of doing it?
@SmartHomeAddict
@SmartHomeAddict Жыл бұрын
Some of the earlier produced units have old firmware that contained a number of bugs. In addition, there are a few improvements to reliability and compatibility with every release. Only cons are that if the firmware file is corrupt you could 'brick' the device, but a checksum check is performed so this is very rare.
@tonksfight3518
@tonksfight3518 8 ай бұрын
The first script doesn't work, neither in powershell nor cmd. I tried both normal user and administrator on both but nothing. Is really that necessary? Isn't possible to download wathever it is through a link?
@tonksfight3518
@tonksfight3518 8 ай бұрын
I've eventually figured it out, you don't have to write "python" just "py"
@Dragon8567
@Dragon8567 9 ай бұрын
dit werkt ook voor geen ene ruck
@Alexivan9
@Alexivan9 2 ай бұрын
Verifying by comparing CRC32 calculations. Verified (match: 0xe83aa727) ERROR: int() can't convert non-string with explicit base Помогите пожалуйста! У меня не работает.
@alexanderfunk8209
@alexanderfunk8209 6 күн бұрын
i have the same problem
@ThePazuzu
@ThePazuzu 2 жыл бұрын
This video was so slow that I got younger.
@stefanernst9143
@stefanernst9143 5 ай бұрын
If you use this method now then be sure you you type in the wright com version!! the text form smart home is COM3 But i had to typ in COM5 Thanks a lot for this video!!
@dingydroids7346
@dingydroids7346 3 ай бұрын
Thank you. Followed you steps completely. I think I succeeded, but after the last lines I get an ERROR. See below. Don't know what it means. " Write done Verifying by comparing CRC32 calculations. Verified (match: 0xe83aa727) ERROR: int() can't convert non-string with explicit base PS C:\temp\sonoff\bootloader\cc2538-bsl-master>
@6fuy8uhli
@6fuy8uhli Күн бұрын
FYI I had the following error after flashing: "ERROR: int() can't convert non-string with explicit base" and the device still works perfectly as a router. Here is the entire output from my terminal flash: Opening port COM6, baud 500000 Reading data from CC1352P2_CC2652P_launchpad_router_20221102.hex Your firmware looks like an Intel Hex file Connecting to target... CC1350 PG2.1 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8 Primary IEEE Address: [MAC_ADDRESS_REMOVED] Performing mass erase Erasing all main bank flash sectors Erase done Writing 360448 bytes starting at address 0x00000000 Write 104 bytes at 0x00057F988 Write done Verifying by comparing CRC32 calculations. Verified (match: 0x9877ee56) ERROR: int() can't convert non-string with explicit base
@bruce55
@bruce55 5 ай бұрын
Hi. Brillant Tutorial. I just flashed my dongle. Only one suggestion; your last python command, to flash de dongle, contains the filename of the firmware which includes a date. The latest version of the firmware is no longer ...\20220219.hex. You might want to specify somewhere that this command needs to be adapted to the latest version of the firmware. Thank you!!!
@thibsensei8569
@thibsensei8569 3 ай бұрын
Thank you. Followed you steps completely. I think I succeeded, but after the last lines I get an ERROR. See below. Don't know what it means. " Write done Verifying by comparing CRC32 calculations. Verified (match: 0xe83aa727) ERROR: int() can't convert non-string with explicit base
@Thesparty30
@Thesparty30 2 ай бұрын
Same error, anyone know how to fix? I tried other versions and same error
@JoaoHAFranco
@JoaoHAFranco Ай бұрын
I got the same error too. Was the flashing successful or not?
Install Zigbee2MQTT THE RIGHT WAY in Home Assistant!
10:17
Smart Home Junkie
Рет қаралды 160 М.
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 23 МЛН
Ravivar Vrat
10:36
Aman Jhaveri - Topic
Рет қаралды 1,7 М.
This Smart Home makes me jealous! FULL Tour + automation ideas!
17:51
Smart Home Solver
Рет қаралды 227 М.
Update (almost) any Zigbee USB or network sticks from within HA
15:39
Install Ember Firmware onto a Sonoff ZBDongle-E Zigbee Adapter
8:46
Smart Home Australia
Рет қаралды 3,5 М.
Sonoff Zigbee 3.0 USB Dongle Plus with Zigbee2MQTT on Home Assistant
9:14
Improve Zigbee network performance and stability with these 3 tips
11:41
Home Automation Guy
Рет қаралды 172 М.
SONOFF usb zigbee hub and devices in Home Assistant
10:03
Poseidwn Tech
Рет қаралды 23 М.
3 августа 2024 г.
0:18
~ромашка мико~
Рет қаралды 1,3 МЛН
Son ❤️ #shorts by Leisi Show
0:41
Leisi Show
Рет қаралды 9 МЛН