-
Notifications
You must be signed in to change notification settings - Fork 506
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
Hue dimmer, Hue smart button, Lutron Aurora, innr RC 110, icasa Remote, Xiaomi B1 curtain motor #2538
Conversation
Support setting `state.bri` for `lumi.curtain.hagl04`(Xiaomi Aqara curtain motor B1) by writing _Present Value_ in the _Analogue Output_ cluster. See #1654.
- Delegate the handling of _Window covering_ devices to `setWindowCoveringState()`; - Delegate the handling of _Warning device_ devices to `setWarningDeviceState()`). - Setting `state.on` for the Xiaomi Aqara B1 is translated to setting `state.bri`. It doesn't support _Stop_ (through setting `state.bri_inc` to 0), see #1654. - Prepares for #2475.
Awesome stuff :) hope I got the merge conflicts between this PR and the one from @SwoopX right. |
😓 |
Which files had conflicts? |
Added two further devices to rest_lights mimicing a smoke sensor, for the siren. Still feel like an idiot skrewing up the merge lately... Edit: |
See merge commit: c26cd77
No worries merging is inevitable when working parallel :) |
Yeah. Btw, I can confirm the siren is still functional on my Develco smoke sensor. Nice job! |
Improve handling of:
Details:
/sensors
resource, with multiple (7 and 4) group IDs inconfig.group
, see Switches with client clusters on multiple endpoints #2541.uniqueid
of the associated/groups
resource (for RC 110 and icasa remote).config.group
containing list of group IDs.state
attributes of Window covering "lights" and of Warning device "lights", also in preparation of Input needed: Refactor logic setting light state #2475.Tested the pairing of the switches extensively, both on RaspBee and on ConBee II.
Tested the setting of "light"
state
for lights, Heiman siren, and old model Xiaomi curtain controller (using Window Covering cluster as well as Analog Output cluster). I don't have any other Window covering devices to test, nor any other Warning device devices (notably fire/smoke sensors that expose IAS WD cluster).Open issues:
database.cpp
that might not be needed, but I left it in as a safety net:deconz-rest-plugin/database.cpp
Lines 3277 to 3310 in 15ff6d3
DeRestPluginPrivate::checkSensorsGroup()
inbindings.cpp
that doesn't handle multiple group IDs inconfig.group
. I don't know how to fix that; I'm simply not calling this method for the innr nor the icasa.taskToLocalData()
only handles light tasks.