Skip to content

Commit

Permalink
DDF for Bosch Smoke Alarm II (#9) (#7354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Finne75 committed Nov 28, 2023
1 parent 7db13d0 commit a45506b
Showing 1 changed file with 117 additions and 0 deletions.
117 changes: 117 additions & 0 deletions devices/bosch/bsd-2-smoke-alarm.json
@@ -0,0 +1,117 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "$MF_BOSCH",
"modelid": "RBSH-SD-ZB-EU",
"vendor": "Bosch",
"product": "Smoke Alarm II",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_FIRE_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0500"
],
"fingerprint": {
"profile": "0x0104",
"device": "0x0402",
"endpoint": "0x01",
"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"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/battery",
"parse": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"eval": "Item.val = Attr.val / 2",
"fn": "zcl:attr"
}
},
{
"name": "config/enrolled",
"public": false
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/fire",
"awake": true
},
{
"name": "state/lastupdated"
},
{
"name": "state/lowbattery"
},
{
"name": "state/test",
"awake": true
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0001",
"report": [
{
"at": "0x0021",
"dt": "0x20",
"min": 600,
"max": 43200,
"change": "0x00000001"
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0500"
}
]
}

0 comments on commit a45506b

Please sign in to comment.