Advertisement
NisseDILLIGAF

IKEA Knycklan DDF

Oct 31st, 2021
1,208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.46 KB | None | 0 0
  1. {
  2.   "schema": "devcap1.schema.json",
  3.   "manufacturername": "$MF_IKEA",
  4.   "modelid": "KNYCKLAN receiver",
  5.   "vendor": "IKEA",
  6.   "product": "KNYCKLAN receiver",
  7.   "sleeper": false,
  8.   "status": "Draft",
  9.   "path": "/devices/knycklan_receiver.json",
  10.   "subdevices": [
  11.     {
  12.       "type": "$TYPE_ON_OFF_OUTPUT",
  13.       "restapi": "/lights",
  14.       "uuid": [
  15.         "$address.ext",
  16.         "0x01"
  17.       ],
  18.       "items": [
  19.         {
  20.           "name": "attr/id"
  21.         },
  22.         {
  23.           "name": "attr/lastannounced"
  24.         },
  25.         {
  26.           "name": "attr/lastseen"
  27.         },
  28.         {
  29.           "name": "attr/manufacturername"
  30.         },
  31.         {
  32.           "name": "attr/modelid"
  33.         },
  34.         {
  35.           "name": "attr/name"
  36.         },
  37.         {
  38.           "name": "attr/swversion"
  39.         },
  40.         {
  41.           "name": "attr/type"
  42.         },
  43.         {
  44.           "name": "attr/uniqueid"
  45.         },
  46.         {
  47.           "name": "state/alert",
  48.           "description": "The currently active alert effect.",
  49.           "default": "none"
  50.         },
  51.         {
  52.           "name": "state/on",
  53.           "description": "True when device is on; false when off.",
  54.           "refresh.interval": 5
  55.         },
  56.         {
  57.           "name": "state/reachable"
  58.         }
  59.       ]
  60.     },
  61.     {
  62.       "type": "ZHAWater",
  63.       "restapi": "/sensors",
  64.       "uuid": [
  65.         "$address.ext",
  66.         "0x02",
  67.         "0x0500"
  68.       ],
  69.       "fingerprint": {
  70.         "profile": "0x0104",
  71.         "device": "0x0402",
  72.         "endpoint": "0x02",
  73.         "in": [
  74.           "0x0500"
  75.         ]
  76.       },
  77.       "items": [
  78.         {
  79.           "name": "attr/id"
  80.         },
  81.         {
  82.           "name": "attr/lastannounced"
  83.         },
  84.         {
  85.           "name": "attr/lastseen"
  86.         },
  87.         {
  88.           "name": "attr/manufacturername"
  89.         },
  90.         {
  91.           "name": "attr/modelid"
  92.         },
  93.         {
  94.           "name": "attr/name"
  95.         },
  96.         {
  97.           "name": "attr/swversion"
  98.         },
  99.         {
  100.           "name": "attr/type"
  101.         },
  102.         {
  103.           "name": "attr/uniqueid"
  104.         },
  105.         {
  106.           "name": "config/enrolled",
  107.           "description": "State of IAS enrollment process."
  108.         },
  109.         {
  110.           "name": "config/on"
  111.         },
  112.         {
  113.           "name": "config/pending",
  114.           "description": "Pending tasks to configure the device."
  115.         },
  116.         {
  117.           "name": "config/reachable"
  118.         },
  119.         {
  120.           "name": "state/water",
  121.           "parse": {
  122.             "at": "0x0002",
  123.             "cl": "0x0500",
  124.             "cppsrc": "ias_zone.cpp:511",
  125.             "ep": 0,
  126.             "eval": "Item.val = (Attr.val & 0x3) != 0"
  127.           }
  128.         },
  129.         {
  130.           "name": "state/lastupdated"
  131.         }
  132.       ]
  133.     }
  134.   ],
  135.   "bindings": [
  136.     {
  137.       "bind": "unicast",
  138.       "src.ep": 1,
  139.       "dst.ep": 1,
  140.       "cl": "0x0000",
  141.       "report": [
  142.         {
  143.           "at": "0x4000",
  144.           "dt": "0x42",
  145.           "min": 0,
  146.           "max": 65535
  147.         }
  148.       ]
  149.     },
  150.     {
  151.       "bind": "unicast",
  152.       "src.ep": 1,
  153.       "dst.ep": 1,
  154.       "cl": "0x0006",
  155.       "report": [
  156.         {
  157.           "at": "0x0000",
  158.           "dt": "0x10",
  159.           "min": 1,
  160.           "max": 1800
  161.         }
  162.       ]
  163.     },
  164.     {
  165.       "bind": "unicast",
  166.       "src.ep": 2,
  167.       "dst.ep": 2,
  168.       "cl": "0x0500"
  169.     }
  170.   ]
  171. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement