Skip to content

Commit

Permalink
DDF for IKEA Ormanas led strip (#7420)
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Müller <[email protected]>
  • Loading branch information
jmue authored Dec 31, 2023
1 parent 421e60f commit 918af35
Showing 1 changed file with 244 additions and 0 deletions.
244 changes: 244 additions & 0 deletions devices/ikea/ormanas_led_strip.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "$MF_IKEA",
"modelid": "ORMANAS LED Strip",
"product": "ORMANAS LED Strip",
"sleeper": false,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_EXTENDED_COLOR_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/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "cap/alert/trigger_effect",
"static": true
},
{
"name": "cap/bri/move_with_onoff",
"static": true
},
{
"name": "cap/color/capabilities",
"refresh.interval": 86400
},
{
"name": "cap/color/ct/max",
"default": "0xfeff"
},
{
"name": "cap/color/ct/min",
"refresh.interval": 86400,
"default": 0
},
{
"name": "cap/color/xy/blue_x",
"default": 0
},
{
"name": "cap/color/xy/blue_y",
"default": 0
},
{
"name": "cap/color/xy/green_x",
"default": 0
},
{
"name": "cap/color/xy/green_y",
"default": "0xfeff"
},
{
"name": "cap/color/xy/red_x",
"refresh.interval": 86400,
"default": "0xfeff"
},
{
"name": "cap/color/xy/red_y",
"default": 0
},
{
"name": "cap/on/off_with_effect",
"static": true
},
{
"name": "config/bri/execute_if_off",
"refresh.interval": 3600,
"default": true
},
{
"name": "config/bri/startup",
"refresh.interval": 3600,
"default": 255
},
{
"name": "config/color/ct/startup",
"refresh.interval": 3600,
"default": 336
},
{
"name": "config/color/execute_if_off",
"refresh.interval": 3600,
"default": true
},
{
"name": "config/on/startup",
"refresh.interval": 3600,
"default": 255
},
{
"name": "state/alert",
"default": "none"
},
{
"name": "state/bri",
"refresh.interval": 5
},
{
"name": "state/colormode",
"refresh.interval": 300
},
{
"name": "state/ct",
"refresh.interval": 5
},
{
"name": "state/effect",
"refresh.interval": 300,
"default": "none"
},
{
"name": "state/hue"
},
{
"name": "state/on",
"refresh.interval": 5
},
{
"name": "state/reachable"
},
{
"name": "state/sat",
"refresh.interval": 5
},
{
"name": "state/x",
"refresh.interval": 5
},
{
"name": "state/y"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0000",
"report": [
{
"at": "0x4000",
"dt": "0x42",
"min": 0,
"max": 65535
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 1,
"max": 1800
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0008",
"report": [
{
"at": "0x0000",
"dt": "0x20",
"min": 5,
"max": 1800,
"change": "0x00000001"
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0300",
"report": [
{
"at": "0x0007",
"dt": "0x21",
"min": 5,
"max": 1800,
"change": "0x00000001"
},
{
"at": "0x0003",
"dt": "0x21",
"min": 5,
"max": 1795,
"change": "0x0000000A"
},
{
"at": "0x0004",
"dt": "0x21",
"min": 5,
"max": 1795,
"change": "0x0000000A"
},
{
"at": "0x0008",
"dt": "0x30",
"min": 1,
"max": 1800
}
]
}
]
}

0 comments on commit 918af35

Please sign in to comment.