Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UZG-01 running 20240707 crashes (stalls) after 1-2 days #99

Open
victorhooi opened this issue Jul 27, 2024 · 16 comments
Open

UZG-01 running 20240707 crashes (stalls) after 1-2 days #99

victorhooi opened this issue Jul 27, 2024 · 16 comments
Labels
bug Something isn't working question Further information is requested

Comments

@victorhooi
Copy link

Describe the bug

I have flashed XYZ onto a UZG-01 (ZigStar UZG) device. It is running as a Zigbee Coordinator in my network, and is connected to Zigbee2MQTT.

It is being powered by PoE.

However, after approximately 1-2 days, the device appears to disappear off the local network - it is no longer responding to ICMP ping, and the web interface is not accessible either, and Zigbee2MQTT is not able to connect to it.

However, the LAN Ethernet activity lights are still flashing, and the left-most blue activity light is flashing. (I can attach a video if needed - or if the frequency etc is somehow relevant).

Device information

Unfortunately I can't get the above, as the device's web interface isn't responding.

Is there some way to get debug logs from the device, before I power-cycle or reboot it? Or what else can I retrieve before I try to reflash it again?

To Reproduce
Steps to reproduce the behavior:

  1. Get a UZG-01.
  2. Flash [20240707](https://github.com/xyzroe/XZG/releases/tag/20240707) onto the device.
  3. Configure it as a Zigbee coordinator, and point a Zigbee2MQTT instance at it.
  4. Wait...profit.

Expected behavior
The UZG-01 running XZG firmware should not crash or become unavailable.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@xyzroe
Copy link
Owner

xyzroe commented Jul 27, 2024

I'm also using UZG with 20240707 and don't have such problems.
We need to find something special in your setup.

@xyzroe xyzroe added bug Something isn't working question Further information is requested labels Jul 27, 2024
@victorhooi
Copy link
Author

victorhooi commented Jul 27, 2024

Got it - is there some way of retrieving any debug data from the running unit (e.g. via the USB-C port)?

I haven't power-cycled the unit yet, as it's currently in the crashed (wedged) state - I was waiting to check if there might be useful diagnostic information to pull?

@victorhooi
Copy link
Author

@xyzroe Am I OK to power-cycle the USG-01? Or is there something I can collect from the box in its crashed state?

And after I power-cycle it - is there something I can setup to collect more verbose logs, or capture diagnostic information on why the unit might be stalling?

@xyzroe
Copy link
Owner

xyzroe commented Jul 29, 2024

You're ok.
you can build the debug version of firmware it includes more logs.

@victorhooi
Copy link
Author

Got it - is there a place I can download the debug build already for 20240707?

Or do you happen to know if this will build easily on macOS? (Otherwise I can see about setting up a Linux VM to do this all on. Sorry if this is a silly question - but should I assume it will cross-compile to ARM fine, from a x64 box?)

Also - how do I enable the debug build? And where will the additional debug information get dumped to afterwards? Or how do you view these logs?

@xyzroe
Copy link
Owner

xyzroe commented Jul 30, 2024

I'm using mac os. Just install all dependencies

@xyzroe
Copy link
Owner

xyzroe commented Jul 30, 2024

Just select "debug-solo" build variant

@DieMetRik
Copy link

DieMetRik commented Aug 7, 2024

I have the same issue after flash firmware > 20240610
Every day near 20:00 my zigbee coordinator rebooted

«My network» > «Keenetic Giga (KN-1011)»
«ZigStarGW» connecting

Keenetic Bot, [07/19/2024 22:11]
«My network» > «Keenetic Giga (KN-1011)»
«ZigStarGW» disconnecting

Keenetic Bot, [07/20/2024 20:01]
«My network» > «Keenetic Giga (KN-1011)»
«ZigStarGW» connecting

Keenetic Bot, [07/20/2024 20:03]
«My network» > «Keenetic Giga (KN-1011)»
«ZigStarGW» disconnecting

Keenetic Bot, [21.07.2024 21:41]
«My network» > «Keenetic Giga (KN-1011)»
«ZigStarGW» connection

Keenetic Bot, [21.07.2024 21:42]
«My network» > «Keenetic Giga (KN-1011)»
«ZigStarGW» disconnection

I back to firmware 20240610 and all OK

My Setup
image

@MaartenMol
Copy link

Any update on this?

@cshuttle
Copy link

cshuttle commented Sep 3, 2024

I am having this issue also, resulting in an unavailable controller several times a day.

@sneak-o-matic
Copy link

sneak-o-matic commented Sep 7, 2024

for me the same

my Device: Zig-Star model: UZG-01

connected via USB/Wifi/LAN

always results into device stalling after a few, max 12h, hours

@airecken
Copy link

I am having the same issue.

Device: Zig-Star UZG-01
Hardware: CC2652P7
Firmware: 20240710

Setup as coordinator.
Happens with fixed IP or DHCP, powered via USB-C ror POE.

xyzroe added a commit that referenced this issue Sep 14, 2024
        - Add option to disable CRON firmware check (#108, #104, #99, #88)
- Little mistake in french translation on the status page #107 Thanks @alainvdu69 🏆
- web.cpp cleanup #97 Thanks @Bixkitts 🏆
- Ita translate error #91 Thanks @kirkoff71 🏆
@xyzroe
Copy link
Owner

xyzroe commented Sep 14, 2024

Try to disable cron based update availability check

@airecken
Copy link

Try to disable cron based update availability check

I updated to 20240914, set frequency to disable. Still automatically reboots itself usually within 15 minutes.

After multiple self reboots the device usually hangs and requires a power cycle.

@MaartenMol
Copy link

Any update on this?

@spitfire
Copy link

Doesn't happen to me, I'm running a newer version of Zigbee firmware (20240710) though. Have you tried upgrading it?
Zrzut ekranu 2024-10-10 o 18 37 46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

8 participants