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

Various enhancements #1978

Merged
merged 12 commits into from
Oct 21, 2019
Merged

Various enhancements #1978

merged 12 commits into from
Oct 21, 2019

Conversation

ebaauw
Copy link
Collaborator

@ebaauw ebaauw commented Oct 18, 2019

@manup manup merged commit c525d2d into dresden-elektronik:master Oct 21, 2019
@manup
Copy link
Member

manup commented Oct 21, 2019

Cool thanks, good stuff, the remote looks interesting.

@ebaauw
Copy link
Collaborator Author

ebaauw commented Oct 21, 2019

It feels very nice, but I'm running into a number of challenges supporting it in full.

The (unnumbered) On/Off buttons send commands to all four groups, corresponding to the numbered (1-4) On/Off buttons. Same for the S1 and S2 buttons. When using the default groups, it sends the commands from the last endpoint used for the numbered On/Off buttons, causing the REST API plugin to see new group assignments. When I bind the endpoints to groups manually, the commands are sent from the appropriate endpoint. However, I haven't yet been able to make the REST API create these bindings, since it already sees the default groups.

@manup
Copy link
Member

manup commented Oct 21, 2019

However, I haven't yet been able to make the REST API create these bindings, since it already sees the default groups.

Yes tricky perhaps a read-only group/button setup for which the bindings are created while sensor search is active will work.

  • When remote joins and modelid is detected:
  • Create a todo list of bindings which are to be created, which is processed one at a time
  • The bindings target new dynamically created groups
  • During active sensor search, no default Groups are created based on received commands

A "binding todo list" might be useful in general.

Does this make sense?

@Thomas-Vos
Copy link
Contributor

Thomas-Vos commented Feb 14, 2020

Add ne operator for rule conditions, see #1874

Is there any place where details like this are documented? It is quite difficult to just guess the API differences between Hue and deCONZ without documentation.

ebaauw added a commit to ebaauw/homebridge-hue that referenced this pull request Feb 29, 2020
Support icase remote, see dresden-elektronik/deconz-rest-plugin#1978.

Note that the _All On_ and _All Off_ buttons send four events each: one for each numbered _On_ or _Off_ button.
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.

None yet

3 participants