Comments (15)
I tried these steps:
- ZHA & MQTT enabled and connected -> Coordinator stucks at several progress states (72,3, 83 or 96%). Sometimes the Coordinator restarts and doesnt come back to life. After a power cycle i get the Website again back to life but ZHA Connection always stucks. MQTT Connection was established.
- ZHA disabled, MQTT enabled -> Update succeeded but the Coordinator restarts after update and wont response. After a power cycle everything works well (HA ZHA Connection & MQTT Connection)
- ZHA enabled & MQTT disabled -> Same as 1.
So i think may a ZHA or Socket Connection stop mechanism should work properly.
Thanks very much for your support!
from xzg.
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
from xzg.
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.
from xzg.
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 :)
from xzg.
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 ?
from xzg.
Thanks for your feedback
from xzg.
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%). 💯
from xzg.
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!
from xzg.
Guys, thanks a lot for your feedback. I'll keep it in mind.
from xzg.
@LeonArmston @jdm09
try please this one, without disabling ZHA and MQTT
from xzg.
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?
from xzg.
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??
from xzg.
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?
- Updating any firmware requires stopping the software managing the Zigbee network before the update or restarting it immediately after the update.
- Your mistake was that you started doing everything at once instead of understanding what was happening and how to proceed correctly.
- If your devices are in MQTT but not in z2m, then another software is processing the Zigbee network messages. You should not use two software products simultaneously unless you are well-versed in this.
- You need to debug not the XZG but the software solution that is connected to the gateway. It seems you are using z2m, but likely not only it.
- It seems to me that you have added your coordinator to ZHA without realizing it.
from xzg.
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.
from xzg.
from xzg.
Related Issues (20)
- Unable to build XZG firmware - src/web.cpp:23:10: fatal error: webh/html/PAGE_VPN.html.gz.h: No such file or directory HOT 1
- HTTP 502 on the General page of the Web interface when serving through reverse proxy HOT 1
- Add IPv6 support
- SLZB-06M can't leave access point mode HOT 24
- Hostname setting is ignored for WebUI HOT 1
- После установки прошивки 20240609 на шлюзы, программа ZigstarGW-MT перестала видеть шлюзы. Их у меня 5 шт. HOT 1
- tubeszb-efr32-mgm210-poe-2022 failed to load after flashing to XZG from ESPHome HOT 2
- Wireguard no longer connects after upgrade from FW revision 20240519 to 20240612 HOT 18
- Home Assistant - Update Notifications HOT 1
- SLZB-06 - No network, no ZIGBEE HOT 22
- The Delete-button in File Browser is to easy to misinterpret HOT 2
- Scan request failed or was not answered HOT 1
- Zigbee connected, but socket saying "No connection" HOT 1
- Export Zigbee traffic counters to MQTT
- Unexpected reboot of esp32 HOT 4
- Ita translate error HOT 10
- uzg-01 zigstar wireguard vpn client not working HOT 14
- Support for capturing traffic to/from a Zigbee device? HOT 2
- UZG-01 running 20240707 crashes (stalls) after 1-2 days HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xzg.