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

PoE powered UZG-01 does not come online after reboot #44

Closed
GD-Dal opened this issue May 28, 2024 · 17 comments
Closed

PoE powered UZG-01 does not come online after reboot #44

GD-Dal opened this issue May 28, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@GD-Dal
Copy link

GD-Dal commented May 28, 2024

Not sure if this is related to the switch or the UZG-01
If I restart the UZG-01, it does not come back until I shutdown the switchport and turn it back on.
Until then, the UZG network port blinks for a second, then goes dark. Blinks for a second then goes dark, etc.

The switch is a Cisco Catalyst 9300 of model C9300L-48UXG-4X
The port settings looks like this:

interface GigabitEthernet1/0/31
 description UZG
 switchport access vlan 1098
 switchport mode access
 device-tracking
 speed 100

The show power inline command shows this:

show power inline Gi1/0/31 detail 
 Interface: Gi1/0/31
 Inline Power Mode: auto
 Operational status: on
 Device Detected: yes
 Device Type: Ieee PD
 IEEE Class: 0
 Discovery mechanism used/configured: Ieee and Cisco
 Police: off

 Power Allocated 
 Admin Value: 60.0
 Power drawn from the source: 15.4
 Power available to the device: 15.4
 
 Actual consumption
 Measured at the port: 0.8
 Maximum Power drawn by the device since powered on: 0.9
 
 Absent Counter: 0
 Over Current Counter: 0
 Short Current Counter: 0
 Invalid Signature Counter: 0
 Power Denied Counter: 0

 Power Negotiation Used: None
 LLDP Power Negotiation --Sent to PD--      --Rcvd from PD--
   Power Type:          -                    -
   Power Source:        -                    -
   Power Priority:      -                    -
   Requested Power(W):  -                    -
   Allocated Power(W):  -                    -

Four-Pair PoE Supported: Yes
Spare Pair Power Enabled: No
Four-Pair PD Architecture: N/A
Perpetual POE Enabled: FALSE
Fast POE Enabled: FALSE

The configHW.json debug file contains this:

{
  "board": "UZG-01",
  "addr": 0,
  "pwrPin": -1,
  "mdcPin": 23,
  "mdiPin": 18,
  "phyType": 0,
  "clkMode": 3,
  "pwrAltPin": 5,
  "btnPin": 35,
  "btnPlr": 1,
  "uartSelPin": 33,
  "uartSelPlr": 1,
  "ledModePin": 12,
  "ledModePlr": 1,
  "ledPwrPin": 14,
  "ledPwrPlr": 1,
  "zbTxPin": 4,
  "zbRxPin": 36,
  "zbRstPin": 16,
  "zbBslPin": 32
}
@xyzroe
Copy link
Owner

xyzroe commented May 28, 2024

Please provide additional information about the hardware version of UZG-01 (label on the bottom).
It will also be useful if you provide a photo of the inside of the device, for a greater understanding of the revision of the board.

@GD-Dal
Copy link
Author

GD-Dal commented May 29, 2024

image

I don't know how to open the box, though. It looks solid

@xyzroe
Copy link
Owner

xyzroe commented May 29, 2024

Ok. No need. I'll check and come back.

@xyzroe
Copy link
Owner

xyzroe commented May 29, 2024

You could try to change "pwrAltPin": 5, to "pwrAltPin": -1, in your configHW.json

@GD-Dal
Copy link
Author

GD-Dal commented May 30, 2024

Didn't help at all.
But I discovered one thing though.

I turned of power on the switchport and powered up the UZG-01 via USB-cable instead.
And when I rebooted the UZG-01 some time later, the same thing happened.

The network port just blinked as before until I unplugged the usb cable, waited 10 seconds, and replugged it.

This is becoming the most unstable piece of hardware I have purchased for a long time.

Not possible to reboot without hassle
LQI is low on all zigbee devices.
Zigbee2MQTT crashes regularily because loss of connection

@tonius7570
Copy link

I have the same issue with UZG-01 (POE-0.4)

@xyzroe
Copy link
Owner

xyzroe commented Jun 3, 2024

Didn't help at all. But I discovered one thing though.

I turned of power on the switchport and powered up the UZG-01 via USB-cable instead. And when I rebooted the UZG-01 some time later, the same thing happened.

The network port just blinked as before until I unplugged the usb cable, waited 10 seconds, and replugged it.

This is becoming the most unstable piece of hardware I have purchased for a long time.

Not possible to reboot without hassle LQI is low on all zigbee devices. Zigbee2MQTT crashes regularily because loss of connection

Let's separate Zigbee and ESP issues.
Problem with LAN port is ESP issue.
But low LQI as well as loss of Zigbee connection are Zigbee releated issues. Find more info in Zigbee firmware repository.

I will look for some solution to made ESP32 works with LAN port more stable.

@xyzroe
Copy link
Owner

xyzroe commented Jun 3, 2024

I have the same issue with UZG-01 (POE-0.4)

You could try to change "pwrAltPin": 5, to "pwrAltPin": -1, in your configHW.json. Have you?

@xyzroe xyzroe added the bug Something isn't working label Jun 3, 2024
@tonius7570
Copy link

I have the same issue with UZG-01 (POE-0.4)

You could try to change "pwrAltPin": 5, to "pwrAltPin": -1, in your configHW.json. Have you?

It hasn't helped

@xyzroe
Copy link
Owner

xyzroe commented Jun 3, 2024

@mercenaruss could you help us ?

@zoptooniek
Copy link

I have the same issue on a UZG-POE-0.5. It doesn't always survive a reboot and am left with the NIC lights pulsing off and on again 3 times in a cycle.
Sometimes, forcing a reboot by bouncing the switch port will make it spring back to life, however not always and I have to leave it powered off for a little while before powering it up again.
However, when powered by USB, it will not recover at all and the only way to recover is to flash back to 0.26 via the webflasher.

I have 2 of these devices, i think both with the same Hardware revisions based on the Status page (ESP32-D0WD-V3) and the sticker on the bottom (UZG-POE-0.5) but only one of them has this issue.

I reboot the other one on a daily basis to install all the new firmware updates and it always reboots fine with no issues. (Just as well really as that one is in a remote site!)

Happy to try any suggestions to help pinpoint the issue.

@mercenaruss
Copy link
Contributor

@tonius7570 @zoptooniek Try to change "pwrAltPin": -1, to "pwrAltPin": -1, in your configHW.json.
If any of you have some time,please drop me an email support@zig-star.com and we will try remotely to debug this.

@xyzroe xyzroe closed this as completed in 2550e56 Jun 6, 2024
@zoptooniek
Copy link

@mercenaruss changing this made no difference to me. I'm still in the same situation.
I have also updated the fw to 20240607.1 and the issue still persists

@xyzroe
Copy link
Owner

xyzroe commented Jun 8, 2024

Could you try factory reset after updating to 20240607* ?

@xyzroe xyzroe reopened this Jun 8, 2024
@zoptooniek
Copy link

This seems to have done the trick so far.
I have been able to reboot the device several times with no issues :)
Thank you!

@xyzroe
Copy link
Owner

xyzroe commented Jun 8, 2024

@zoptooniek could you check it later to confirm, and if no issues - close this issue ?

@zoptooniek
Copy link

@xyzroe - Performed a few more reboots and fw updates and all seems good!
Happy for the issue to be closed

@xyzroe xyzroe closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants