Skip to content

DDF for TRADFRI remote control - #7234

Merged
ebaauw merged 15 commits into
dresden-elektronik:masterfrom
ebaauw:master
Sep 16, 2023
Merged

DDF for TRADFRI remote control#7234
ebaauw merged 15 commits into
dresden-elektronik:masterfrom
ebaauw:master

Conversation

@ebaauw

@ebaauw ebaauw commented Sep 16, 2023

Copy link
Copy Markdown
Collaborator

This is the old five-button remote.

Changes:

  • Add productid to show the product ID (Exxxx), sourced from 0x0000/0x000A.
  • `config.battery:
    • Change reporting to 300/2700/0x01;
    • Add fn to parse and read.
    • Change refresh.interval to 86400;
    • Add awake;
  • Changed order of bindings to do the client clusters first. Device becomes incommunicado without any client cluster bindings;
{
  "config": {
    "alert": null,
    "battery": 87,
    "group": "20001",
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "d7611b304db2961c3ee8113d6b83351a",
  "lastannounced": null,
  "lastseen": "2023-09-16T09:45Z",
  "manufacturername": "IKEA of Sweden",
  "mode": 3,
  "modelid": "TRADFRI remote control",
  "name": "Remote",
  "productid": "E1810",
  "state": {
    "buttonevent": 1002,
    "lastupdated": "2023-09-16T09:10:27.911"
  },
  "swversion": "2.3.080",
  "type": "ZHASwitch",
  "uniqueid": "5c:02:72:ff:fe:3d:42:47-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 3f0fb5a into dresden-elektronik:master Sep 16, 2023
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.

1 participant