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

HA Keeps Rebooting on PI4 with Sonoff_Zigbee_3.0_USB_Dongle_Plus and USB extention #722

Open
kyhsbox opened this issue Jan 31, 2025 · 4 comments

Comments

@kyhsbox
Copy link

kyhsbox commented Jan 31, 2025

Description of the issue

data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt: {}
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ca5766ce4fe7ed119ee06b6262c613ac-if00-port0
adapter: ezsp

What could be the problem? The adapter? (Using an USB Extention)

Logs are not giving me any clue. As son I start the add-on, HA stucks and keeps rebooting.
Replaced Deconz II stick with the Sonoff_Zigbee_3.0_USB_Dongle_Plus, two weeks ago.

Addon version

latest edge

@kyhsbox
Copy link
Author

kyhsbox commented Feb 1, 2025

Solved!

Steps:
1 - Deleted the edge add on from HA;
2 - Backup the config/zigbee2mqtt folder (in Studio Code Server -> Download...);
3 - Deleted the config/zigbee2mqtt folder (in Studio Code Server -> Delete Permanently);
4 - Installed the zigbee2MQTT addon from the store (I choose the production version, thus NOT the Edge version);
5 - Update the addon Configuration with only serial port and adapter and Start the addon;
6 - Rejoin each device and renamed each device to the original name using configuration.yaml (matched IEEE adres) from the backup in 2;
7 - Restart the Zigbee2MQTT addon, and all original attribute names are matched in HA and all related automations are running again.

addon Configuration FULL YAML:
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt: {}
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ca5766ce4fe7ed119ee06b6262c613ac-if00-port0
adapter: ezsp

LOG REMOVED

@kyhsbox kyhsbox closed this as completed Feb 1, 2025
@kyhsbox
Copy link
Author

kyhsbox commented Feb 5, 2025

The same issue came back after 1 day of happiness.
There is definitely something conflicting on lower level with the serial port interface.
Will try to dig it deeper and if not find than going to switch to a proxy setup with my second Raspberry PI or a separate network connected device with TI chip.

P.s. Best practice config tips are more than welcome.

@kyhsbox kyhsbox reopened this Feb 5, 2025
@xelemorf
Copy link

xelemorf commented Feb 6, 2025

Did you read this part of the Z2M 2.0 announcement when it came out on USB adapters? Koenkk/zigbee2mqtt#24364

Breaking changes: Koenkk/zigbee2mqtt#24198

@kyhsbox
Copy link
Author

kyhsbox commented Feb 7, 2025

Did you read this part of the Z2M 2.0 announcement when it came out on USB adapters? Koenkk/zigbee2mqtt#24364

Breaking changes: Koenkk/zigbee2mqtt#24198

Changed some advanced configuration settings, let's wait for the results. Thanks for the tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants