Skip to content

Commit

Permalink
DDF for Namrom motion sensor (4512763) (#8049)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smanar authored Jan 29, 2025
1 parent 908d345 commit 09dc348
Showing 1 changed file with 127 additions and 0 deletions.
127 changes: 127 additions & 0 deletions devices/namron/4512763_motion_sensor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "Namron AS",
"modelid": "4512763",
"vendor": "Namron",
"product": "Motion sensor (4512763)",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_PRESENCE_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",
"awake": true,
"refresh.interval": 86400,
"read": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"fn": "zcl:attr"
},
"parse": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"fn": "zcl:attr",
"eval": "Item.val = Attr.val / 2"
}
},
{
"name": "config/checkin"
},
{
"name": "config/enrolled"
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/lowbattery"
},
{
"name": "state/presence",
"awake": true
},
{
"name": "state/tampered",
"awake": true
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0500"
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0001",
"report": [
{
"at": "0x0021",
"dt": "0x20",
"min": 300,
"max": 43200,
"change": "0x00000001"
}
]
}
]
}

0 comments on commit 09dc348

Please sign in to comment.