Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "schema": "devcap1.schema.json",
- "manufacturername": "OWON",
- "modelid": "THS317-ET",
- "product": "THS317-ET",
- "sleeper": true,
- "status": "Gold",
- "path": "/devices/ths317-et.json",
- "subdevices": [
- {
- "type": "$TYPE_TEMPERATURE_SENSOR",
- "restapi": "/sensors",
- "uuid": [
- "$address.ext",
- "0x03",
- "0x0402"
- ],
- "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/offset",
- "default": 0
- },
- {
- "name": "config/on"
- },
- {
- "name": "config/reachable"
- },
- {
- "name": "config/battery",
- "parse": {"cl": "0x0001", "at": "0x0021", "ep": 3, "eval": "Item.val = Attr.val"},
- "awake": true
- },
- {
- "name": "state/lastupdated"
- },
- {
- "name": "state/temperature",
- "awake": true,
- "refresh.interval": 120,
- "read": {
- "at": "0x0000",
- "cl": "0x0402",
- "ep": 3,
- "fn": "zcl"
- },
- "parse": {
- "at": "0x0000",
- "cl": "0x0402",
- "ep": 3,
- "eval": "Item.val = Attr.val",
- "fn": "zcl"
- }
- }
- ]
- }
- ],
- "bindings": [
- {
- "bind": "unicast",
- "src.ep": 3,
- "cl": "0x0001",
- "report": [
- {
- "at": "0x0020",
- "dt": "0x21",
- "min": 300,
- "max": 3000,
- "change": "0x00000001"
- }
- ]
- },
- {
- "bind": "unicast",
- "src.ep": 3,
- "cl": "0x0402",
- "report": [
- {
- "at": "0x0000",
- "dt": "0x29",
- "min": 10,
- "max": 300,
- "change": "0x00000014"
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement