Advertisement
Guest User

Untitled

a guest
May 12th, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.03 KB | None | 0 0
  1. {
  2.   "schema": "devcap1.schema.json",
  3.   "manufacturername": "OWON",
  4.   "modelid": "THS317-ET",
  5.   "product": "THS317-ET",
  6.   "sleeper": true,
  7.   "status": "Gold",
  8.   "path": "/devices/ths317-et.json",
  9.   "subdevices": [
  10.     {
  11.       "type": "$TYPE_TEMPERATURE_SENSOR",
  12.       "restapi": "/sensors",
  13.       "uuid": [
  14.         "$address.ext",
  15.         "0x03",
  16.         "0x0402"
  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": "config/offset",
  48.           "default": 0
  49.         },
  50.         {
  51.           "name": "config/on"
  52.         },
  53.         {
  54.           "name": "config/reachable"
  55.         },
  56.         {
  57.             "name": "config/battery",
  58.             "parse": {"cl": "0x0001", "at": "0x0021", "eval": "Item.val = Attr.val"},
  59.             "awake": true
  60.         },
  61.         {
  62.           "name": "state/lastupdated"
  63.         },
  64.         {
  65.           "name": "state/temperature",
  66.           "description": "The current temperature in °C × 100."
  67.         }
  68.       ]
  69.     }
  70.   ],
  71.   "bindings": [
  72.     {
  73.       "bind": "unicast",
  74.       "src.ep": 3,
  75.       "cl": "0x0001",
  76.       "report": [
  77.         {
  78.           "at": "0x0020",
  79.           "dt": "0x21",
  80.           "min": 300,
  81.           "max": 3000,
  82.           "change": "0x00000001"
  83.         }
  84.       ]
  85.     },
  86.     {
  87.       "bind": "unicast",
  88.       "src.ep": 3,
  89.       "cl": "0x0402",
  90.       "report": [
  91.         {
  92.           "at": "0x0000",
  93.           "dt": "0x29",
  94.           "min": 10,
  95.           "max": 300,
  96.           "change": "0x00000014"
  97.         }
  98.       ]
  99.     }
  100.   ]
  101. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement