Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "schema": "devcap1.schema.json",
- "manufacturername": "$MF_IKEA",
- "modelid": "KNYCKLAN receiver",
- "vendor": "IKEA",
- "product": "KNYCKLAN receiver",
- "sleeper": false,
- "status": "Draft",
- "path": "/devices/knycklan_receiver.json",
- "subdevices": [
- {
- "type": "$TYPE_ON_OFF_OUTPUT",
- "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/alert",
- "description": "The currently active alert effect.",
- "default": "none"
- },
- {
- "name": "state/on",
- "description": "True when device is on; false when off.",
- "refresh.interval": 5
- },
- {
- "name": "state/reachable"
- }
- ]
- },
- {
- "type": "ZHAWater",
- "restapi": "/sensors",
- "uuid": [
- "$address.ext",
- "0x02",
- "0x0500"
- ],
- "fingerprint": {
- "profile": "0x0104",
- "device": "0x0402",
- "endpoint": "0x02",
- "in": [
- "0x0500"
- ]
- },
- "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": "config/enrolled",
- "description": "State of IAS enrollment process."
- },
- {
- "name": "config/on"
- },
- {
- "name": "config/pending",
- "description": "Pending tasks to configure the device."
- },
- {
- "name": "config/reachable"
- },
- {
- "name": "state/water",
- "parse": {
- "at": "0x0002",
- "cl": "0x0500",
- "cppsrc": "ias_zone.cpp:511",
- "ep": 0,
- "eval": "Item.val = (Attr.val & 0x3) != 0"
- }
- },
- {
- "name": "state/lastupdated"
- }
- ]
- }
- ],
- "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": 2,
- "dst.ep": 2,
- "cl": "0x0500"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement