Open xyzroe opened 5 months ago
But serial already didn't work while Zigbee flashing. And MQTT doesn't interfere at all. @jdm09 could you try again but disabling only ZHA ?
I tried these steps:
So i think may a ZHA or Socket Connection stop mechanism should work properly.
Thanks very much for your support!
Thanks for your feedback
Yes a handy hint would be to tell people they might want to shutdown their instance of Zigbee2MQTT or ZHA down whilst updating Zigbee. I was only able to update OTA by stopping Zigbee2MQTT
It seems to me that if you are going to update the firmware of a device, it would be logical to stop using it while the firmware is being updated.
It seems to me that if you are going to update the firmware of a device, it would be logical to stop using it while the firmware is being updated.
Indeed - I was putting this message up and suggesting a warning so future me remembers to stop Zigbee2MQTT first (or otherwise it freezes during the flash at x%). 💯
Because of the Zigbee FW Bug koenkk ZG FW Bug on P7 Coordinators #496 i had to update this. Now i had the XZG Fail as discussed above: ZHA was disabled, MQTT enabled and connected. While Update Process, it stopped again at xx % and i had to power cycle to get WebUI back to life. After that i disabled MQTT also and ZB FW Update finished successfully.
Would be great, if you could post a warning note or disable ZHA and MQTT before update starts. Thanks a lot for this support here!
Guys, thanks a lot for your feedback. I'll keep it in mind.
@LeonArmston @jdm09 try please this one, without disabling ZHA and MQTT
I updated to new XZG: ESP Update worked good. ZG FW Update worked also partial as expected (update process hangs at 96... % but ZG Gateway restarted and i could reach the gui with a new session. Old session hangs). After Restart MQTT connected to broker, but ZHA Socked doesn't connect. Even a HomeAssistant restart doesn't get ZHA Connection back to work. I really has to disable ZHA in HA, start the ZG FW Update again (this time i get till 100% with succeed message and ZG Gateway restarts). Then i activated the ZHA in HA again and everything is working well.
So it's not a 100% solution, but it's on a good way :)
Help me out here... What's the clean process for upgrading the Zigbee firmware, or the ESP32 firmware?
I was working just fine (though a new user) and upgraded to the 10-July Zigbee firmware and all hell has broken loose.
I have rolled back the update. I've rebooted everything repeatedly. Everything seems to be working, I'm getting updates to the MQTT topics from my devices. But Z2M can't seem to reach any of my devices.
The hardest part is there's no real debugging available. How can I be seeing updates in MQTT and yet Z2M says it can't connect to any of my devices.
Any help here? How am I supposed to properly update the UZG-01?
It seems to me that if you are going to update the firmware of a device, it would be logical to stop using it while the firmware is being updated.
I could agree with you, but unless you are deep into Zigbee communications, this is how it appears to people: So, this device has an update available. I tell it to update. I expect the device will do whatever it needs to do to update properly.
I don't usually have to think about what else may be going on when I tell a device to update. And if I AM supposed to stop the Zigbee communications, how do I disconnect the UZG-01/XZG device from the airwaves and Z2M and still tell it to update? Why would I need to shut down Z2M? Can't the UZG-01/XZG just "stop talking", do the upgrade, then start talking again??
Help me out here... What's the clean process for upgrading the Zigbee firmware, or the ESP32 firmware? I was working just fine (though a new user) and upgraded to the 10-July Zigbee firmware and all hell has broken loose. I have rolled back the update. I've rebooted everything repeatedly. Everything seems to be working, I'm getting updates to the MQTT topics from my devices. But Z2M can't seem to reach any of my devices. The hardest part is there's no real debugging available. How can I be seeing updates in MQTT and yet Z2M says it can't connect to any of my devices. Any help here? How am I supposed to properly update the UZG-01?
I could agree with you, but unless you are deep into Zigbee communications, this is how it appears to people: So, this device has an update available. I tell it to update. I expect the device will do whatever it needs to do to update properly.
I don't usually have to think about what else may be going on when I tell a device to update. And if I AM supposed to stop the Zigbee communications, how do I disconnect the UZG-01/XZG device from the airwaves and Z2M and still tell it to update? Why would I need to shut down Z2M? Can't the UZG-01/XZG just "stop talking", do the upgrade, then start talking again??
Thanks for the info. After I let it just sit overnight, it healed. So the Z2M component doesn't need to be shut down, as the update process stops communicating before starting the update. The help is appreciated!
On Sun, Jul 14, 2024, 08:10 xyzroe @.***> wrote:
I could agree with you, but unless you are deep into Zigbee communications, this is how it appears to people: So, this device has an update available. I tell it to update. I expect the device will do whatever it needs to do to update properly.
I don't usually have to think about what else may be going on when I tell a device to update. And if I AM supposed to stop the Zigbee communications, how do I disconnect the UZG-01/XZG device from the airwaves and Z2M and still tell it to update? Why would I need to shut down Z2M? Can't the UZG-01/XZG just "stop talking", do the upgrade, then start talking again??
- XZG firmware, like UZG gateways and similar devices, are not end-consumer products. Let's call them smart home enthusiast products intended for testing and debugging software solutions. All responsibility lies with you, and understanding the processes is required.
- The device does everything necessary for the update on its own. Your mistake occurred after the update was completed.
- You do not need to disconnect the device for the update, only stop/restart the software you are using.
- After the firmware update, the device is "clean" and needs to be brought back to a working state, which z2m does during its startup process. It is not necessary to stop z2m; the gateway will stop communicating with z2m on its own, but you must restart z2m immediately after the update. Many users prefer to stop z2m before the update and start it afterward to be safe. This is because z2m can make a backup of the coordinator's memory during shutdown (on a clean firmware, this would be an empty backup), but not all software solutions have this behavior.
— Reply to this email directly, view it on GitHub https://github.com/xyzroe/XZG/issues/70#issuecomment-2227344307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY5UKPLQADX4WYZMWEDZMJ2ETAVCNFSM6AAAAABJA2ALG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGM2DIMZQG4 . You are receiving this because you commented.Message ID: @.***>
Originally posted by @xyzroe in https://github.com/xyzroe/XZG/issues/63#issuecomment-2156456317