In case it’s helpful I just went through this process for two Sonoff Zigbee 3.0 P dongles that I’m running on via HA VMs on Proxmox (setup via the community scripts). I’ve tried to highlight a few of the little extra tips that I’ve picked up elsewhere in the thread that helped me after reading the summary post above - after noting them down for the first one I followed them for the 2nd dongle and it seemed to all work OK!
Install “Install Advanced SSH & Web Terminal” Add-on in HA (it needs to be the advanced one otherwise you won’t have Python available)
Set the SSH password in the Configuration page for the above
Start Advanced SSH & Web Terminal
You need to stop anything currently using the dongle - Settings > Add-ons > Stop Zigbee2MQTT (or ZHA if you’re using that)
SSH in using hassio@[HA VM IP] (default username - can be changed)
That’s insanely detailed explanation! You my man require 1000 hearts. Just a small information to anyone who faced an error like this :
Opening port /dev/ttyUSB0, baud 500000
Reading data from /root/sonoff/sonoff-zb3.0p/tmp/master/coordinator.hex
Your firmware looks like an Intel Hex file
ERROR: [Errno 2] No such file or directory: ‘/root/sonoff/sonoff-zb3.0p/tmp/master/coordinator.hex’
Hi,
I fixed most of the errors and got it running until:
Archive: CC1352P2_CC2652P_launchpad_coordinator_20240710.zip
inflating: CC1352P2_CC2652P_launchpad_coordinator_20240710.hex
sonoff
Opening port /dev/ttyUSB0, baud 500000
Reading data from /sonoff/sonoff-zb3.0p/tmp/master/CC1352P2_CC2652P_launchpad_coordinator_20240710.hex
Your firmware looks like an Intel Hex file
Connecting to target...
Traceback (most recent call last):
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 1174, in main_cli
device = CC26xx(cmd)
^^^^^^^^^^^
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 845, in __init__
user_id = self.command_interface.cmdMemReadCC26xx(FCFG_USER_ID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 621, in cmdMemReadCC26xx
data = self.receivePacket()
^^^^^^^^^^^^^^^^^^^^
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 371, in receivePacket
raise CmdException("Received packet checksum error")
CmdException: Received packet checksum error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 1297, in <module>
main_cli()
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 1292, in main_cli
if QUIET >= 10:
^^^^^
UnboundLocalError: cannot access local variable 'QUIET' where it is not associated with a value
I have a cc3653.
After repeating it seveall times it worked…
strange…
Archive: CC1352P2_CC2652P_launchpad_coordinator_20240710.zip
inflating: CC1352P2_CC2652P_launchpad_coordinator_20240710.hex
sonoff
Opening port /dev/ttyUSB0, baud 500000
Reading data from /sonoff/sonoff-zb3.0p/tmp/master/CC1352P2_CC2652P_launchpad_coordinator_20240710.hex
Your firmware looks like an Intel Hex file
Connecting to target...
Traceback (most recent call last):
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 1174, in main_cli
device = CC26xx(cmd)
^^^^^^^^^^^
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 845, in __init__
user_id = self.command_interface.cmdMemReadCC26xx(FCFG_USER_ID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 621, in cmdMemReadCC26xx
data = self.receivePacket()
^^^^^^^^^^^^^^^^^^^^
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 371, in receivePacket
raise CmdException("Received packet checksum error")
CmdException: Received packet checksum error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 1297, in <module>
main_cli()
File "/sonoff/sonoff-zb3.0p/tmp/cc2538_bsl.py", line 1292, in main_cli
if QUIET >= 10:
^^^^^
UnboundLocalError: cannot access local variable 'QUIET' where it is not associated with a value