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

Conbee III (3) latest Firmware wrong states after a restart of deconz with Xiaomi (vibration,door sensors) #7502

Open
2 tasks done
cracyfloyd opened this issue Dec 29, 2023 · 27 comments

Comments

@cracyfloyd
Copy link

Does the issue really belong here?

  • I definitively want to report a bug within deCONZ or its REST-API

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for the bug at hand

Describe the bug

i use now a conbee 3 stick with the latest firmware (08.12.2023). Before i use the conbee 2 without this problems.
When i restart my computer (deconz-docker) there are some (not from all sensors same type) states are wrong (open/close/vibration). this is only gone when i use activate manual the sensor some times. (open-close windows or make vibration).
i use the latest deconz version 2.24.2 (i try also 2.5 beta)

its not the same sensor every time, its changed, sometime there and other reboot a another sensor with wrong states.

Steps to reproduce the behavior

  1. restart docker container and wait.

Expected behavior

manual change of the states sometimes.

Screenshots

deconz

Actual are no vibration and no windows are open !!!!!

Environment

  • Host system: PC Debian12 Docker
  • Running method: Marthoc Docker container
  • Firmware version: (264E0900)
  • deCONZ version (2.25.0 beta)
  • Device: ConBee III
  • Do you use an USB extension cable: yes
  • Is there any other USB or serial devices connected to the host system? No

deCONZ Logs

No response

Additional context

No response

@Smanar
Copy link
Collaborator

Smanar commented Dec 29, 2023

I think just need to update the defaut state ?
When you reboot, deconz take a defaut state, waiting for the first device report (that can take 1 hour), you haven't this problem before ?

his is only gone when i use activate manual the sensor some times

"Some" ?, only one is not enought ?

@cracyfloyd
Copy link
Author

Yes i dont have this Problem with my older Conbee 2 Stick. Never. I use it for around 2 Years. I tried again with the conbee 2 and this problem is gone. I switch back to conbee 3 and the problem is there.

Mostly 1 time. Hehe

@SwoopX
Copy link
Collaborator

SwoopX commented Dec 29, 2023

Tbh, I have high doubts that the Conbee plays any role here. That fact that we only see Xiaomi devices in the screenshot adds to that a lot. Upon restart, deconz loads the previous device states stored in the database. If you shut down when a vibration sensor reports vibration, than that state will be restored. Given that Xiaomi devices are all deep sleepers, the device states cannot even be ready at will, so the loaded states could not be overwritten. Assuming Conbee does anything in this context would mean it receives/adds ghost traffic, which I consider extremely unlikely.

Changing any default states doesn't make any sense at all, as this would only work for new devices/sensors, which do not yet hold any stored item values.

A deconz startup log could give clarity on the loaded values and the exposed states.

@wvuyk
Copy link

wvuyk commented Dec 29, 2023

Looks a lot like this one, which fails to get attention? https://forum.phoscon.de/t/aqara-door-sensors-show-open-on-restart-of-deconz/3686

@cracyfloyd
Copy link
Author

cracyfloyd commented Dec 30, 2023

There seems to be there is a bigger problem between xiaomi and the conbee 3. i now make a clean install with a clean conbee 3 stick. (reset). now i try to learn only one vibrationsensor. it seems to bee that the device are found but it dont use the ddf file, its only works in straight mode. the setting are that the software can use the gold ddf files. so iam completly confused.
See picture and log file:

Bildschirm­freigabe Bild 30  Dezember 2023 um 10 36 59 MEZ

_deconzcon3-stacks_logs.txt

@cracyfloyd
Copy link
Author

Looks a lot like this one, which fails to get attention? https://forum.phoscon.de/t/aqara-door-sensors-show-open-on-restart-of-deconz/3686

ah thats interesting. iam not alone.

@Mimiix
Copy link
Collaborator

Mimiix commented Dec 30, 2023

Looks a lot like this one, which fails to get attention? https://forum.phoscon.de/t/aqara-door-sensors-show-open-on-restart-of-deconz/3686

This was answered somewhere before. @SwoopX can you help me find it?

@wvuyk
Copy link

wvuyk commented Dec 31, 2023

@Mimiix It was solved before indeed, several releases before DDF development started. I have been searching for it several times, but could not find it back somehow.

It was working fine until around April this year, that is where the issue resurfaced after a larger DDF rollout. I am guessing the solution that was originally implemented was removed with code cleaning maybe?

@manup
Copy link
Member

manup commented Dec 31, 2023

I guess we need a declarative approach to define in a DDF how the state of specific items should be restored or reset after startup 🤔 and perhaps finer control of if/when things need to be written to the database.

For the values themself it shouldn't make any difference if ConBee II or III. Except if the device behaves differently when paired via classic Zigbee join (ConBee II) or Zigbee R22 join (ConBee III), I think we've already seen weird differences here in the past even so far that Xiaomi devices behave differently if they think to join to a Xiaomi gateway vs a 3rd party one — here we applied some nasty stuff for ConBee II to fake being a Xiaomi gateway. The next deCONZ release contains the code to do the same for ConBee III but also needs a small update in the firmware which should arrive in < 2 weeks.

@Luigi-01
Copy link

Luigi-01 commented Dec 31, 2023

It is not only with xiaomi device, I am back to my Conbee II stick.
To many strange things, Osram device have issues with the Conbee III.
Even going back to the Conbee II has not solve all issues, but now thing works again.
My setup was running stable for 2 years, but after the Conbee III experiment, things became instable.
The firmware for the Conbee III is not yet 100%.

@jamieshaw
Copy link

Apologies if I'm tacking myself onto this as a similar, but different issue — but I've been having this issue since upgrading to 2.24.2 back in November on a ConBee II stick. Since upgrading, it seems that no writes to the DB are being made for a subset of Aqara devices. All but three Aqara devices show the lastseen and other similar timestamps as the time of the upgrade.

Rebooting the host VM causes the state to revert to "open" (they weren't open at the time, it was 5am in the morning), and manually triggering an update using the Aqara sensor's button correctly updates the state, until the VM is restarted.

This seemingly wasn't an issue before 2.24.2 (having upgraded from 2.23.2).

I can confirm that zll.db is being updated as evident by the OS, and a lone Aqara vibration sensor that is receiving updated timestamps. Most sensors recorded in deCONZ are Aqara's door/window sensors, and are largely the culprit here.

@MSL-DA
Copy link

MSL-DA commented Jan 3, 2024

Apologies if I'm tacking myself onto this as a similar, but different issue — but I've been having this issue since upgrading to 2.24.2 back in November on a ConBee II stick. Since upgrading, it seems that no writes to the DB are being made for a subset of Aqara devices. All but three Aqara devices show the lastseen and other similar timestamps as the time of the upgrade.

This seemingly wasn't an issue before 2.24.2 (having upgraded from 2.23.2).

I can confirm that zll.db is being updated as evident by the OS, and a lone Aqara vibration sensor that is receiving updated timestamps. Most sensors recorded in deCONZ are Aqara's door/window sensors, and are largely the culprit here.

Same here.

@francescopeloi
Copy link

and here

@subatomike
Copy link

subatomike commented Jan 13, 2024

Same behavior right after upgrading from 2.23 to 2.24.2. Five out of ten Aqara door/window sensors were shown with wrong status at the first restart of deconz after upgrade. Using Conbee II and windows.

@cracyfloyd
Copy link
Author

I hope that will be fixed fast, because i must go on every deconz restart and aktivate manual all door/window and vibration sensors that they get the right state. please please please fixed this problem. i have this problem with conbee 2 and conbee 3. i test both.

Copy link
Contributor

github-actions bot commented Feb 4, 2024

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 4, 2024
@cracyfloyd
Copy link
Author

Is there any news about a fix and a a solution for this. The problem still exist.

@github-actions github-actions bot removed the stale label Feb 5, 2024
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Feb 27, 2024
@wvuyk
Copy link

wvuyk commented Feb 27, 2024

This issue needs to be open still as it is not resolved yet

@manup manup added this to the v2.27.0-beta milestone Feb 27, 2024
@github-actions github-actions bot removed the stale label Feb 28, 2024
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Mar 21, 2024
@francescopeloi
Copy link

this is scheduled for the next milestone, so shouldn't be closed

@github-actions github-actions bot removed the stale label Mar 22, 2024
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Apr 12, 2024
@francescopeloi
Copy link

this is scheduled for the next milestone, so shouldn't be closed

@github-actions github-actions bot removed the stale label Apr 14, 2024
Copy link
Contributor

github-actions bot commented May 6, 2024

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label May 6, 2024
@francescopeloi
Copy link

as usual....

@github-actions github-actions bot removed the stale label May 7, 2024
Copy link
Contributor

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label May 28, 2024
@francescopeloi
Copy link

🤷‍♂️

@github-actions github-actions bot removed the stale label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests