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

Fix: Make Hue motion sensors configurable again #6091

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

SwoopX
Copy link
Collaborator

@SwoopX SwoopX commented May 29, 2022

Basically, the sensors were missing the respective write functions to actually trigger the configuration change. On that occasion, the DDFs have been reworked:

  • An attribute query loop has been resolved
  • Polling and has been amended and minimized
  • Manufacturer name for SML003 and SML004 has been corrected
  • DDF for2nd gen outdoor sensor has been promoted to gold
  • DDF for 1st gen Hue outdoor sensor has been added
  • State change for config/usertest has been added

Based on this change, the associated legacy code could be removed. config/pending is effectively not used anymore and could be removed as well.

@SwoopX SwoopX linked an issue May 29, 2022 that may be closed by this pull request
@SwoopX SwoopX added this to the v2.17.0-beta milestone May 30, 2022
@manup
Copy link
Member

manup commented May 31, 2022

Looks good to me, could you test this with one of the sensors?
I have the 1. Gen version here can make a test if needed.

@SwoopX
Copy link
Collaborator Author

SwoopX commented May 31, 2022

Yeah, I tested it with 1st gen indoor and have it also running with 2nd gen.

@manup
Copy link
Member

manup commented May 31, 2022

Perfect, I'll run the PR tomorrow in my setup and add a few simple rules.

@manup manup merged commit b56eb16 into dresden-elektronik:master Jun 2, 2022
@manup
Copy link
Member

manup commented Jun 2, 2022

Works fine in my setup 👍

@SwoopX SwoopX deleted the philips branch July 2, 2022 22:14
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

Successfully merging this pull request may close these issues.

hue motion sensor: config/delay is ignored and reset after some time
2 participants