Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 167 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3175,6 +3175,7 @@
],
"productId": [
"RH3001",
"TS0203",
"TS0203"
],
"endpoints": {
Expand Down Expand Up @@ -4437,7 +4438,9 @@
],
"capabilities": [
"alarm_motion",
"measure_battery"
"alarm_tamper",
"measure_battery",
"alarm_battery"
],
"energy": {
"batteries": [
Expand All @@ -4451,16 +4454,19 @@
"zigbee": {
"manufacturerName": [
"TUYATEC-bd5faf9p",
"TUYATEC-zw6hxafz"
"TUYATEC-zw6hxafz",
"_TZ3000_o4mkahkc"
],
"productId": [
"RH3040"
"RH3040",
"TS0202"
],
"endpoints": {
"1": {
"clusters": [
0,
1,
3,
1280
],
"bindings": [
Expand Down Expand Up @@ -4767,6 +4773,164 @@
},
"settings": []
},
{
"id": "pir_mmwave_sensor",
"name": {
"en": "PIR MMWave Sensor"
},
"class": "sensor",
"platforms": [
"local"
],
"connectivity": [
"zigbee"
],
"capabilities": [
"alarm_motion",
"measure_battery",
"alarm_battery",
"measure_luminance"
],
"energy": {
"batteries": [
"CR2450"
]
},
"images": {
"large": "/drivers/pir_mmwave_sensor/assets/images/large.png",
"small": "/drivers/pir_mmwave_sensor/assets/images/small.png"
},
"zigbee": {
"manufacturerName": [
"_TZE200_y8jijhba"
],
"productId": [
"TS0601"
],
"endpoints": {
"1": {
"clusters": [
0,
1,
3,
1024,
1280,
61184
],
"bindings": [
1,
1024,
1280,
61184
]
}
},
"learnmode": {
"image": "/drivers/pir_mmwave_sensor/assets/icon.svg",
"instruction": {
"en": "Press the reset button for aprox 5 seconds until the LED blinks."
}
}
},
"settings": [
{
"type": "group",
"label": {
"en": "Motion Settings"
},
"children": [
{
"id": "fading_time",
"type": "number",
"label": {
"en": "Motion keep time"
},
"hint": {
"en": "How long motion stays active after detection (seconds)"
},
"value": 60,
"min": 0,
"max": 28800,
"units": {
"en": "seconds"
}
},
{
"id": "motion_detection_sensitivity",
"type": "number",
"label": {
"en": "Motion detection sensitivity"
},
"hint": {
"en": "Higher value = more sensitive (0-19)"
},
"value": 7,
"min": 0,
"max": 19
}
]
},
{
"type": "group",
"label": {
"en": "Light Settings"
},
"children": [
{
"id": "illuminance_interval",
"type": "number",
"label": {
"en": "Light sensing interval"
},
"hint": {
"en": "How often to update light level (minutes)"
},
"value": 5,
"min": 1,
"max": 720,
"units": {
"en": "minutes"
}
}
]
},
{
"type": "group",
"label": {
"en": "Device Settings"
},
"children": [
{
"id": "indicator",
"type": "checkbox",
"label": {
"en": "LED indicator"
},
"hint": {
"en": "Enable LED indicator light"
},
"value": true
},
{
"id": "batteryThreshold",
"type": "number",
"label": {
"en": "Battery alarm threshold"
},
"hint": {
"en": "Trigger low battery alarm at this percentage"
},
"value": 20,
"min": 5,
"max": 50,
"units": {
"en": "%"
}
}
]
}
]
},
{
"id": "pir_sensor_2",
"name": {
Expand Down
1 change: 1 addition & 0 deletions drivers/doorwindowsensor/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
],
"productId": [
"RH3001",
"TS0203",
"TS0203"
],
"endpoints": {
Expand Down
Loading