Skip to content

Commit

Permalink
DDF for IKEA TRADFRI wireless dimmer (#7242)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaauw committed Sep 24, 2023
1 parent 16af7c8 commit 006f4c9
Showing 1 changed file with 129 additions and 0 deletions.
129 changes: 129 additions & 0 deletions devices/ikea/tradfri_wireless_dimmer.json
@@ -0,0 +1,129 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "$MF_IKEA",
"modelid": "TRADFRI wireless dimmer",
"product": "TRADFRI wireless dimmer - E1724",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_SWITCH",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x1000"
],
"fingerprint": {
"profile": "0x0104",
"device": "0x0820",
"endpoint": "0x01",
"in": [
"0x0000",
"0x0001",
"0x1000"
],
"out": [
"0x0008"
]
},
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/productid",
"static": "E1724",
"read": {
"fn": "none"
}
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/alert"
},
{
"name": "config/battery",
"awake": true,
"parse": {
"fn": "zcl:attr",
"ep": 1,
"cl": "0x0001",
"at": "0x0021",
"eval": "Item.val = Attr.val"
},
"default": 0,
"read": {
"fn": "zcl:attr",
"ep": 1,
"cl": "0x0001",
"at": "0x0021"
},
"refresh.interval": 86400
},
{
"name": "config/group",
"default": "auto"
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/buttonevent",
"awake": true
},
{
"name": "state/lastupdated"
}
]
}
],
"bindings": [
{
"bind": "groupcast",
"config.group": 0,
"src.ep": 1,
"cl": "0x0008"
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0001",
"report": [
{
"at": "0x0021",
"dt": "0x20",
"min": 300,
"max": 2700,
"change": "0x01"
}
]
}
]
}

0 comments on commit 006f4c9

Please sign in to comment.