{ "schema": "devcap1.schema.json", "manufacturername": "$MF_IKEA", "modelid": "FYRTUR block-out roller blind", "vendor": "IKEA of Sweden", "product": "FYRTUR block-out roller blind", "sleeper": false, "status": "Gold", "subdevices": [ { "type": "$TYPE_WINDOW_COVERING_DEVICE", "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": "state/bri", "parse": { "at": "0x0008", "cl": "0x0102", "ep": 1, "eval": "Item.val = Math.round((254 * Attr.val) / 100)", "fn": "zcl" }, "read": { "fn": "none" }, "deprecated": "2020-04-08" }, { "name": "state/lift" }, { "name": "state/on", "parse": { "at": "0x0008", "cl": "0x0102", "ep": 1, "eval": "Item.val = Attr.val > 0", "fn": "zcl" }, "read": { "fn": "none" }, "deprecated": "2020-04-08" }, { "name": "state/open", "parse": { "at": "0x0008", "cl": "0x0102", "ep": 1, "eval": "Item.val = Attr.val === 100", "fn": "zcl" }, "read": { "fn": "none" } }, { "name": "state/reachable" } ] }, { "type": "$TYPE_BATTERY_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0001" ], "fingerprint": { "profile": "0x0104", "device": "0x0202", "endpoint": "0x01", "in": [ "0x0000", "0x0001", "0x0102" ], "out": [ "0x0019" ] }, "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion", "read": { "fn": "none" } }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/battery", "refresh.interval": 3700, "parse": { "at": "0x0021", "cl": "0x0001", "ep": 0, "eval": "Item.val = Attr.val", "fn": "zcl" } }, { "name": "state/lastupdated" } ] } ], "bindings": [ { "bind": "unicast", "src.ep": 1, "cl": "0x0001", "report": [ { "at": "0x0021", "dt": "0x20", "min": 1, "max": 3600, "change": "0x00000001" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0102", "report": [ { "at": "0x0008", "dt": "0x20", "min": 1, "max": 300, "change": "0x00000001" } ] } ] }