Skip to content

Commit

Permalink
DDF for Moes vibration sensor (_TZ3000_bmfw9ykl) (dresden-elektronik#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Smanar committed May 25, 2023
1 parent 384679f commit ab7cbdc
Showing 1 changed file with 122 additions and 0 deletions.
122 changes: 122 additions & 0 deletions devices/tuya/_TZ3000_bmfw9ykl_vibration_sensor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "_TZ3000_bmfw9ykl",
"modelid": "TS0210",
"vendor": "Tuya",
"product": "Moes vibration sensor",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "ZHAPresence",
"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,
"parse": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"eval": "Item.val = Attr.val / 2"
},
"default": 0
},
{
"name": "config/duration",
"default": 1
},
{
"name": "config/enrolled",
"public": false
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/lowbattery",
"awake": true
},
{
"name": "state/presence",
"awake": true,
"default": false
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0001",
"report": [
{
"at": "0x0021",
"dt": "0x20",
"min": 60,
"max": 3600,
"change": "0x00000001"
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0500"
}
]
}

0 comments on commit ab7cbdc

Please sign in to comment.