Skip to content

Commit

Permalink
DDF for IKEA bulb E14 W opal 400lm (dresden-elektronik#7527)
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Müller <tschenser@gmx.de>
  • Loading branch information
jmue authored Jan 17, 2024
1 parent c7f2e23 commit d413fdc
Showing 1 changed file with 155 additions and 0 deletions.
155 changes: 155 additions & 0 deletions devices/ikea/tradfri_bulb_e14_w_opal_400lm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "$MF_IKEA",
"modelid": "TRADFRI bulb E14 W op/ch 400lm",
"product": "TRADFRI bulb E14 W op/ch 400lm",
"sleeper": false,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_DIMMABLE_LIGHT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x01"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/productid",
"parse": {
"fn": "zcl:attr",
"ep": 1,
"cl": "0x0000",
"at": "0x000A",
"eval": "Item.val = Attr.val"
},
"read": {
"fn": "zcl:attr",
"ep": 1,
"cl": "0x0000",
"at": "0x000A"
},
"refresh.interval": 86400
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "cap/alert/trigger_effect"
},
{
"name": "cap/bri/move_with_onoff"
},
{
"name": "cap/on/off_with_effect"
},
{
"name": "config/bri/execute_if_off",
"read": {
"fn": "zcl:attr",
"ep": "0x01",
"cl": "0x0008",
"at": [
"0x000f",
"0x0010",
"0x0011",
"0x4000"
]
},
"refresh.interval": 3600
},
{
"name": "config/bri/on_level",
"read": {
"fn": "none"
}
},
{
"name": "config/bri/onoff_transitiontime",
"read": {
"fn": "none"
}
},
{
"name": "config/bri/startup",
"read": {
"fn": "none"
}
},
{
"name": "config/on/startup"
},
{
"name": "state/alert",
"default": "none"
},
{
"name": "state/bri",
"refresh.interval": 360
},
{
"name": "state/on",
"refresh.interval": 360
},
{
"name": "state/reachable"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 1,
"max": 300
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0008",
"report": [
{
"at": "0x0000",
"dt": "0x20",
"min": 1,
"max": 300,
"change": "0x01"
}
]
}
]
}

0 comments on commit d413fdc

Please sign in to comment.