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 for IKEA STYRBAR Remote Control N2 #7232

Merged
merged 11 commits into from Sep 16, 2023
Merged

DDF for IKEA STYRBAR Remote Control N2 #7232

merged 11 commits into from Sep 16, 2023

Conversation

ebaauw
Copy link
Collaborator

@ebaauw ebaauw commented Sep 16, 2023

Also known as STYRBAR. This device does accept group bindings, but doesn't honour them. Hence unicast bindings from the client On/Off, Level Control, and Scenes clusters to the coordinator.

Changes:

  • Add productid to show the product ID (Exxxx), sourced from 0x0000/0x000A.
  • Add config/alert;
  • `config.battery:
    • Change reporting to 300/2700/0x01;
    • Changed "fn": "zcl" to "fn": "zcl:attr"l
    • Add read with refresh.interval of 86400;
    • Add awake;
  • state/buttonevent: add `awake;
  • Changed order of bindings to do the client clusters first. Device becomes incommunicado without any client cluster bindings.
{
  "config": {
    "alert": null,
    "battery": 100,
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "39b3ac317abb657fa5da25dc6f8a4d11",
  "lastannounced": null,
  "lastseen": "2023-09-16T09:08Z",
  "manufacturername": "IKEA of Sweden",
  "mode": 1,
  "modelid": "Remote Control N2",
  "name": "Styrbar",
  "productid": "E2001",
  "state": {
    "buttonevent": 1002,
    "lastupdated": "2023-09-16T09:09:43.040"
  },
  "swversion": "2.4.5",
  "type": "ZHASwitch",
  "uniqueid": "68:0a:e2:ff:fe:7b:4e:a4-01-1000"
}

This PR was part of #7218.

Rename _ZLL commissioning_ to _Touchlink Commissioning_, in line with ZCL v8 spec.
Add `RCapGroup`.
Add `RCapGroup`.
- Add `capabilities` to `sensors` resource.
- Expose `productid` on sensors (where defined).  Was already included in web socket notification.
Add `cap/group` to retrieve the group identifier(s) from the Touchlink Commissioning cluster.
Parse _Get Group Identifiers Response_ payload from _Touchlink Commissioning_ cluster.
Renamed to `rodret_dimmer.json`.
Legacy code still created `config.group` item and corresponding group on DDF exposed switches.
DDF for IKEA STYRBAR Remote Control N2.
@ebaauw ebaauw added the Device Improvement Additional tag to attach to a existing issue. label Sep 16, 2023
@ebaauw ebaauw added this to the v2.24.1-beta milestone Sep 16, 2023
@ebaauw ebaauw merged commit 2b2c194 into dresden-elektronik:master Sep 16, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Device Improvement Additional tag to attach to a existing issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant