Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support pir motion illuminance sensor _TZE200_3towulqd / TS0601 #724

Open
wants to merge 5 commits into
base: SDK3
Choose a base branch
from
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
117 changes: 98 additions & 19 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3231,56 +3231,135 @@
]
},
{
"id": "outdoor_plug",
"id": "outdoor_plug",
"name": {
"en": "Outdoor Plug without metering"
},
"class": "socket",
"platforms": [
"local"
],
"connectivity": [
"zigbee"
],
"capabilities": [
"onoff"
],
"capabilitiesOptions": {
"measure_power": {
"approximated": true
}
},
"images": {
"large": "/drivers/outdoor_plug/assets/images/large.png",
"small": "/drivers/outdoor_plug/assets/images/small.png"
},
"zigbee": {
"manufacturerName": [
"_TZ3000_pnzfdr9y"
],
"productId": [
"TS0101"
],
"endpoints": {
"1": {
"clusters": [
0,
4,
5,
6
],
"bindings": [
6
]
}
},
"learnmode": {
"instruction": {
"en": "Press and hold down on/off switch for aprox 5 seconds until the LED blinks rapidly."
}
}
},
"settings": []
},
{
"id": "pir_motion_illuminance_sensor",
"name": {
"en": "Outdoor Plug without metering"
"en": "PIR motion illuminance sensor"
},
"class": "socket",
"class": "sensor",
"platforms": [
"local"
],
"connectivity": [
"zigbee"
],
"capabilities": [
"onoff"
"alarm_motion",
"alarm_battery",
"measure_luminance",
"measure_battery"
],
"capabilitiesOptions": {
"measure_power": {
"approximated": true
}
"energy": {
"batteries": [
"CR2450"
]
},
"images": {
"large": "/drivers/outdoor_plug/assets/images/large.png",
"small": "/drivers/outdoor_plug/assets/images/small.png"
"large": "/drivers/pir_motion_illuminance_sensor/assets/images/large.png",
"small": "/drivers/pir_motion_illuminance_sensor/assets/images/small.png"
},
"zigbee": {
"manufacturerName": [
"_TZ3000_pnzfdr9y"
"_TZE200_3towulqd"
],
"productId": [
"TS0101"
"TS0601"
],
"endpoints": {
"1": {
"clusters": [
0,
4,
5,
6
3,
1280,
57346,
61184,
60928,
57344,
1,
1024
],
"bindings": [
6
1,
1280
]
}
},
"learnmode": {
"image": "/drivers/pir_motion_illuminance_sensor/assets/learn.svg",
"instruction": {
"en": "Press and hold down on/off switch for aprox 5 seconds until the LED blinks rapidly."
"en": "Press the reset button for aprox 5 seconds until the LED blinks."
}
}
},
"settings": []
"settings": [
{
"id": "batteryThreshold",
"type": "number",
"label": {
"en": "Battery Low Alarm Voltage Threshold (percent)"
},
"hint": {
"en": "This setting determines the threshold before a battery alarm is given."
},
"value": 20,
"attr": {
"step": 1,
"min": 10,
"max": 90
}
}
]
},
{
"id": "pir_sensor_2",
Expand Down Expand Up @@ -9175,4 +9254,4 @@
"setable": true
}
}
}
}
6 changes: 6 additions & 0 deletions drivers/pir_motion_illuminance_sensor/assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading