-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5810 from SwoopX/smszb120
Add DDF for Develco/frient SMSZB-120 smoke detector
- Loading branch information
Showing
7 changed files
with
586 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,290 @@ | ||
{ | ||
"schema": "devcap1.schema.json", | ||
"manufacturername": "Develco Products A/S", | ||
"modelid": "SMSZB-120", | ||
"vendor": "Develco Products", | ||
"product": "SMSZB-120", | ||
"sleeper": false, | ||
"status": "Gold", | ||
"subdevices": [ | ||
{ | ||
"type": "$TYPE_FIRE_SENSOR", | ||
"restapi": "/sensors", | ||
"uuid": [ | ||
"$address.ext", | ||
"0x23", | ||
"0x0500" | ||
], | ||
"fingerprint": { | ||
"profile": "0x0104", | ||
"device": "0x0402", | ||
"endpoint": "0x23", | ||
"in": [ | ||
"0x0000", | ||
"0x0001", | ||
"0x0500" | ||
] | ||
}, | ||
"items": [ | ||
{ | ||
"name": "attr/id" | ||
}, | ||
{ | ||
"name": "attr/lastannounced" | ||
}, | ||
{ | ||
"name": "attr/lastseen" | ||
}, | ||
{ | ||
"name": "attr/manufacturername" | ||
}, | ||
{ | ||
"name": "attr/modelid" | ||
}, | ||
{ | ||
"name": "attr/name" | ||
}, | ||
{ | ||
"name": "attr/swversion", | ||
"refresh.interval": 84000, | ||
"read": { | ||
"at": "0x8000", | ||
"cl": "0x0000", | ||
"ep": 35, | ||
"fn": "zcl", | ||
"mf": "0x1015" | ||
}, | ||
"parse": { | ||
"at": "0x8000", | ||
"cl": "0x0000", | ||
"ep": 35, | ||
"fn": "zcl", | ||
"mf": "0x1015", | ||
"script": "develco_firmware.js" | ||
} | ||
}, | ||
{ | ||
"name": "attr/type" | ||
}, | ||
{ | ||
"name": "attr/uniqueid" | ||
}, | ||
{ | ||
"name": "config/battery", | ||
"parse": { | ||
"at": "0x0020", | ||
"cl": "0x0001", | ||
"ep": 35, | ||
"script": "develco_battery.js" | ||
} | ||
}, | ||
{ | ||
"name": "config/enrolled" | ||
}, | ||
{ | ||
"name": "config/on" | ||
}, | ||
{ | ||
"name": "config/pending" | ||
}, | ||
{ | ||
"name": "config/reachable" | ||
}, | ||
{ | ||
"name": "state/fire" | ||
}, | ||
{ | ||
"name": "state/lastupdated" | ||
}, | ||
{ | ||
"name": "state/lowbattery" | ||
}, | ||
{ | ||
"name": "state/test" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "$TYPE_TEMPERATURE_SENSOR", | ||
"restapi": "/sensors", | ||
"uuid": [ | ||
"$address.ext", | ||
"0x26", | ||
"0x0402" | ||
], | ||
"fingerprint": { | ||
"profile": "0x0104", | ||
"device": "0x0302", | ||
"endpoint": "0x26", | ||
"in": [ | ||
"0x0000", | ||
"0x0001", | ||
"0x0402" | ||
] | ||
}, | ||
"items": [ | ||
{ | ||
"name": "attr/id" | ||
}, | ||
{ | ||
"name": "attr/lastannounced" | ||
}, | ||
{ | ||
"name": "attr/lastseen" | ||
}, | ||
{ | ||
"name": "attr/manufacturername" | ||
}, | ||
{ | ||
"name": "attr/modelid" | ||
}, | ||
{ | ||
"name": "attr/name" | ||
}, | ||
{ | ||
"name": "attr/swversion", | ||
"refresh.interval": 84000, | ||
"read": { | ||
"at": "0x8000", | ||
"cl": "0x0000", | ||
"ep": 35, | ||
"fn": "zcl", | ||
"mf": "0x1015" | ||
}, | ||
"parse": { | ||
"at": "0x8000", | ||
"cl": "0x0000", | ||
"ep": 35, | ||
"fn": "zcl", | ||
"mf": "0x1015", | ||
"script": "develco_firmware.js" | ||
} | ||
}, | ||
{ | ||
"name": "attr/type" | ||
}, | ||
{ | ||
"name": "attr/uniqueid" | ||
}, | ||
{ | ||
"name": "config/battery", | ||
"parse": { | ||
"at": "0x0020", | ||
"cl": "0x0001", | ||
"ep": 35, | ||
"script": "develco_battery.js" | ||
} | ||
}, | ||
{ | ||
"name": "config/offset" | ||
}, | ||
{ | ||
"name": "config/on" | ||
}, | ||
{ | ||
"name": "config/reachable" | ||
}, | ||
{ | ||
"name": "state/lastupdated" | ||
}, | ||
{ | ||
"name": "state/temperature" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "Warning device", | ||
"restapi": "/lights", | ||
"uuid": [ | ||
"$address.ext", | ||
"0x23" | ||
], | ||
"items": [ | ||
{ | ||
"name": "attr/id" | ||
}, | ||
{ | ||
"name": "attr/lastannounced" | ||
}, | ||
{ | ||
"name": "attr/lastseen" | ||
}, | ||
{ | ||
"name": "attr/manufacturername" | ||
}, | ||
{ | ||
"name": "attr/modelid" | ||
}, | ||
{ | ||
"name": "attr/name" | ||
}, | ||
{ | ||
"name": "attr/swversion", | ||
"refresh.interval": 84000, | ||
"read": { | ||
"at": "0x8000", | ||
"cl": "0x0000", | ||
"ep": 35, | ||
"fn": "zcl", | ||
"mf": "0x1015" | ||
}, | ||
"parse": { | ||
"at": "0x8000", | ||
"cl": "0x0000", | ||
"ep": 35, | ||
"fn": "zcl", | ||
"mf": "0x1015", | ||
"script": "develco_firmware.js" | ||
} | ||
}, | ||
{ | ||
"name": "attr/type" | ||
}, | ||
{ | ||
"name": "attr/uniqueid" | ||
}, | ||
{ | ||
"name": "state/alert" | ||
}, | ||
{ | ||
"name": "state/reachable" | ||
} | ||
] | ||
} | ||
], | ||
"bindings": [ | ||
{ | ||
"bind": "unicast", | ||
"src.ep": 35, | ||
"cl": "0x0001", | ||
"report": [ | ||
{ | ||
"at": "0x0020", | ||
"dt": "0x20", | ||
"min": 300, | ||
"max": 43200, | ||
"change": "0x00000001" | ||
} | ||
] | ||
}, | ||
{ | ||
"bind": "unicast", | ||
"src.ep": 35, | ||
"cl": "0x0500" | ||
}, | ||
{ | ||
"bind": "unicast", | ||
"src.ep": 38, | ||
"cl": "0x0402", | ||
"report": [ | ||
{ | ||
"at": "0x0000", | ||
"dt": "0x29", | ||
"min": 60, | ||
"max": 600, | ||
"change": "0x0000000A" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.