Skip to content

DDF for TRADFRI open/close remote - #7236

Merged
manup merged 2 commits into
dresden-elektronik:masterfrom
ebaauw:openclose
Sep 24, 2023
Merged

DDF for TRADFRI open/close remote#7236
manup merged 2 commits into
dresden-elektronik:masterfrom
ebaauw:openclose

Conversation

@ebaauw

@ebaauw ebaauw commented Sep 16, 2023

Copy link
Copy Markdown
Collaborator

New DDF, in line with DDFs for other IKEA controllers.

Controller no longer supports groups.

{
  "config": {
    "alert": "none",
    "battery": 100,
    "on": true,
    "reachable": true
  },
  "ep": 1,
  "etag": "6edbf2215f774c46b5fa62561593d499",
  "lastannounced": "2023-09-16T15:02:20Z",
  "lastseen": "2023-09-16T15:02Z",
  "manufacturername": "IKEA of Sweden",
  "mode": 1,
  "modelid": "TRADFRI open/close remote",
  "name": "Open/Close",
  "productid": "E1766",
  "state": {
    "buttonevent": 1002,
    "lastupdated": "2023-09-16T11:26:15.709"
  },
  "swversion": "2.3.079",
  "type": "ZHASwitch",
  "uniqueid": "00:0d:6f:ff:fe:e3:f4:90-01-0102"
}

@ebaauw ebaauw added Device Request Device Improvement Additional tag to attach to a existing issue. labels Sep 16, 2023
@ebaauw ebaauw added this to the v2.24.1-beta milestone Sep 16, 2023
@ebaauw
ebaauw requested a review from manup September 16, 2023 15:22
@ebaauw ebaauw changed the title Create tradfri_open_close_remote.json DDF for TRADFRI open/close remote Sep 16, 2023
@manup

manup commented Sep 24, 2023

Copy link
Copy Markdown
Member

Tested with my unit works here as well.

Just noticed that the switch makes x002 and x003 events but not x001. Not a problem of the DDF and also stated as such in the button_maps.json but might be worth to check in the sniffer if we can't extract x001 as well in future.

@manup
manup merged commit 671b275 into dresden-elektronik:master Sep 24, 2023
@ebaauw

ebaauw commented Sep 24, 2023

Copy link
Copy Markdown
Collaborator Author

No can do. The remote sends Open (or Close) on press/release and on press/hold; and Stop on release after hold. This makes sense from a blind control perspective: just press/release opens (closes) the blind; press hold moves the blind until released.
Note that the IKEA blinds don't provide idem potency on Open nor on Close; when a second command is received while the blind is moving, it stops the movement. Again this makes sense from the control perspective, but not so much from an automation perspective. Also means that the remote will seem to behave differently, when bound to non-IKEA window covering devices.

@ebaauw
ebaauw deleted the openclose branch September 24, 2023 14:02
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. Device Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants