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

Device disappears after Z2M restart #25878

Closed
Diadlo opened this issue Jan 18, 2025 · 3 comments
Closed

Device disappears after Z2M restart #25878

Diadlo opened this issue Jan 18, 2025 · 3 comments
Labels
problem Something isn't working

Comments

@Diadlo
Copy link

Diadlo commented Jan 18, 2025

What happened?

  1. Device added successfully
  2. Device can be controlled in UI
  3. Device is present in database.db
  4. After Z2M restart device disappeared from UI and from database.db

What did you expect to happen?

  1. Device added successfully
  2. Device can be controlled in UI before and after restart
  3. Device is present in database.db before and after restart

How to reproduce it (minimal and precise)

  1. Add any zigbee device. I'm using Tuya TS011F (aka Elivco LSPA9)
  2. Make sure that device can be controlled in UI
  3. Check that device added in database.db
  4. Restart Z2M (Tools -> Restart Zigbee2MQTT)
  5. Check if device exist on "Devices" tab and can be controlled

Zigbee2MQTT version

2.0.0-dev commit: 7392557

Adapter firmware version

I've tried with:

Adapter

zboss

I've read that it's experimental, but I think it should support device persistence among Z2M restart

Setup

Add-on on Home Assistant OS on Raspberry Pi

Debug log

Log after reboot: log.log

Coordinator address: 0xf4ce3684e3132c9a
Device address: 0xa4c1380637ba72a5

@Diadlo Diadlo added the problem Something isn't working label Jan 18, 2025
@Diadlo
Copy link
Author

Diadlo commented Jan 19, 2025

It looks like the root of the issue is that extended PAN ID from ZBOSS has reverse order and driver decides to recreate the network. Should be fixed with Koenkk/zigbee-herdsman#1293

@pxFIN
Copy link

pxFIN commented Jan 22, 2025

@Diadlo I reckon your issue is very much related to this ?

#24705

@Diadlo
Copy link
Author

Diadlo commented Jan 23, 2025

@pxFIN yep. Looks related. And now my issue is solved, so closing

@Diadlo Diadlo closed this as completed Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants