diff --git a/devices/ledvance/b40_dim_z3.json b/devices/ledvance/b40_dim_z3.json new file mode 100644 index 0000000000..a965d20864 --- /dev/null +++ b/devices/ledvance/b40_dim_z3.json @@ -0,0 +1,102 @@ +{ + "schema": "devcap1.schema.json", + "manufacturername": "LEDVANCE", + "modelid": "B40 DIM Z3", + "product": "B40 DIM Z3", + "vendor": "LEDVANCE", + "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/swversion" + }, + { + "name": "attr/type" + }, + { + "name": "attr/uniqueid" + }, + { + "name": "cap/bri/move_with_onoff", + "static": true + }, + { + "name": "cap/on/off_with_effect", + "static": true + }, + { + "name": "state/alert", + "default": "none" + }, + { + "name": "state/bri", + "refresh.interval": 5 + }, + { + "name": "state/on", + "refresh.interval": 5 + }, + { + "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": "0x00000001" + } + ] + } + ] +} \ No newline at end of file