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

DDF hot reload doesn't re-evaluate match conditions #7929

Open
2 tasks done
ebaauw opened this issue Sep 15, 2024 · 5 comments
Open
2 tasks done

DDF hot reload doesn't re-evaluate match conditions #7929

ebaauw opened this issue Sep 15, 2024 · 5 comments

Comments

@ebaauw
Copy link
Collaborator

ebaauw commented Sep 15, 2024

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

Got some new LTA009 Hue lights with ancient firmware, not yet exposing the Hue Effects (0xFC03) cluster. After firmware upgrade, and reload of the Simple Descriptor, the GUI would show the cluster. However, Hot Reload doesn't link the DDF to the device. The DDF would only be matched after deCONZ restart. Note that the DDF has a filter on the existence of the cluster: "matchexpr": "R.hasCluster(0x0b,0xfc03)"

Steps to reproduce the behavior

  1. Pair LTA009 with old firmware and check that it doesn't expose the Hue Effects cluster;
  2. Update the firmware through the OTAU plugin, re-read the Simple Descriptor and notice that the light now exposes Hue Effects;
  3. Try Hot Reload (on another LTA009 that was already exposed through the DDF), and notice the new LTA009 remains unmatched;
  4. Try to select the DDF manually on the new LTA009 and Hot Reload, and notice the new LTA009 remains unmatched;
  5. Restart deCONZ and notice the new LTA009 is matched to the DDF.

Expected behavior

Not sure, but I would expect the DDF to be (re-) assigned after updating the device firmware.

Screenshots

No response

Environment

  • Host system: Raspberry Pi
  • Running method: Raspbian
  • Firmware version: 26780700
  • deCONZ version (not Home assistant Addon version!): 2.28.1
  • Device: RaspBee II

deCONZ Logs

No response

Additional context

No response

@ebaauw ebaauw changed the title DDF hot reload doesn't re-consider conditions DDF hot reload doesn't re-consider match conditions Sep 15, 2024
@ebaauw ebaauw changed the title DDF hot reload doesn't re-consider match conditions DDF hot reload doesn't re-evaluate match conditions Sep 15, 2024
@SwoopX
Copy link
Collaborator

SwoopX commented Sep 15, 2024

Interestingly, I had a rather similar experience yesterday while trying to add support for the frient pet aware motion sensor. DDF was there and correctly using name and ID but reading those attributes did not trigger the DDF association mechanism 🤔 Had to delete it in deconz and reset'n're-pair to make it work.

@bluemoehre
Copy link
Contributor

bluemoehre commented Oct 1, 2024

I ran into similar problems - not only using hot reload, but also after restarting deCONZ I had flaky results:

  • deleted devices have still been known by name after re-adding.
  • also old DDF was matched even if device had new firmware and matchexp should not match anymore.
  • additionally I have 3x identical devices: one was not matched by DDF while all others were matched.

More info is here (in case it helps):
#6251

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 Oct 23, 2024
@ebaauw
Copy link
Collaborator Author

ebaauw commented Oct 23, 2024

Bump

@github-actions github-actions bot removed the stale label Oct 24, 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 Nov 15, 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

3 participants