How can i update it to the latest version?
Shouldn’t the device update over the air or is it manually?
I’ve come across some instructions about ssh updating but it wasnt very helpful.
Hello,
for updating the FW have a look here.
The first sentence on this site implies that it should be possible via the Phoscon App, but I never saw a menu or button for this. That’s why I believe the FW update has to be made manually.
Oh, okay - I am sorry, I never get used to the wording. You wrote Hassio … and I can’t help here.
From my beginning with HA in 2019 I had deconz/phoscon installed on its own RaspBerry and HA either in a Python venv, or - since a month - in docker.
I use proxmox, not VMware. But I’ve updated mine using a windows 10 VM. Just followed the instructions to download the command line tool. Probably took 10 minutes from start to finish.
From my experience none of VM setup will work properly… I tried on trashcan Mac Pro with Parallels and Windows running under ESXi. Perhaps it might work with bootcamp… I think Conbee likes to be connected directly to HW, rather thatn via some virtualization layer.
The oinly solution that ever worked for me reliably was external Windows machine.
I found a solution for Home Assistant OS. If you have enabled Debug SSH on port 22222, you can just stop deCONZ plugin, log into hypervisor (ssh to port 22222) and continue as instructed by deCONZ manual for Docker update: GitHub - deconz-community/deconz-docker
Update 2024/05/20: As mentioned in the next post How to update conbee II on hassio with deconz/phoscon integration? - #12 by thomas-svrts you can use "Advanced SSH & Web Terminal
" addon. Beware, there are two addons with a similiar name. The classic “Terminal & SSH” does not allow you to turn off Protection mode, so that is the wrong one. Advanced is the right one.
Go to Settings → Add-ons → deCONZ, Stop addon
Login to hypervisor: ssh [email protected] -p 22222 or use Advanced SSH & Web Terminal addon
Run docker run -it --rm --entrypoint "/firmware-update.sh" --privileged --cap-add=ALL -v /dev:/dev -v /lib/modules:/lib/modules -v /sys:/sys deconzcommunity/deconz
Follow steps from script. If you want last update, don’t follow “Firmware available for flashing”, open URL and copy filename.
After few seconds is update done!
At the end, delete docker image and free some storage space docker rmi deconzcommunity/deconz
After successful update I just reboot whole system and deCONZ plugin start automatically after new bootup. System → Settings → Hardware → top-right corner tripledot → Reboot host
If you don’t have enabled debug ssh server to hypervisor, find it. If you can’t find it or you didn’t understand to it, then this solution is not for you, sorry.
That’s genius. Was looking for such a solution for the past years.
I even used the addon ‘SSH & Web Terminal’, so you can all do it easily remote.
So I adapted your install manual a bit:
Go to Settings → Add-ons → deCONZ, Stop addon
start SSH & Web Terminal with safe mode disabled
download the latest deconz container and start it by executing next command: docker run -it --rm --entrypoint "/firmware-update.sh" --privileged --cap-add=ALL -v /dev:/dev -v /lib/modules:/lib/modules -v /sys:/sys deconzcommunity/deconz
Follow steps from script. If you want last update, don’t follow “Firmware available for flashing”, open URL and copy filename.
After few seconds is update done! (for me it failed the first time, just try a 2nd time)
At the end, delete docker image and free some storage space: docker rmi deconzcommunity/deconz
After successful update I just reboot whole system and deCONZ plugin start automatically after new bootup. System → Settings → Hardware → top-right corner tripledot → Reboot host
Resume: Deconz seems quite mystically to auto-update for me.
Details:
Setup: Conbee2 on rasberryPi running Home Assistant (2022.10.3) OS (9.0)
I have not done anything for updating deconz since set up 2 or so years ago.
Due to some lights flashing I began debugging and became interested in deconz version, and lo and behold it is the newest, namely
– version: 2.18.02 / 19.9.2022 (newest cf this version-web-folder)
– firmware: 26720700 (I just guess this is the newest)
What have I missed?
Update (a few minutes later)
Cf this fw-web-folder the newest firmware is 26780700, so fw not auto-updated, but then, what is it? E.g. what is the Version referring to?
Spoke to dresden elektronik support tthey said: We disabled the firmware update by click in the web app some time ago, because many 3rd party software users destroyed their firmware on the gateway with it. A native installation is required for the firmware update.
Epilog: I probably did a manuel update a +year ago and forgot all about it.