Skip to content

Instantly share code, notes, and snippets.

@maccyber
Last active February 9, 2024 00:54
Show Gist options
  • Save maccyber/2c764e3a3c0ffc429e433e6530dfcc95 to your computer and use it in GitHub Desktop.
Save maccyber/2c764e3a3c0ffc429e433e6530dfcc95 to your computer and use it in GitHub Desktop.
Datapoints from tuya cloud for zigbee device: _TZE200_3towulqd (product id: TS0601)
{
"manufacturerName": [
"_TZE200_3towulqd"
],
"productId": [
"TS0601"
],
"datapoints": [
{
"name": "PIR state",
"code": "pir_state",
"id": 1,
"values": {
"range": [
"pir",
"none"
],
"type": "Enum"
}
},
{
"name": "Battery Level",
"code": "battery_percentage",
"id": 4,
"values": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1,
"type": "Integer"
}
},
{
"name": "Light Sense Interval Time(Version 2.0.1 and above)",
"code": "interval_time",
"id": 102,
"values": {
"range": [
"low",
"middle",
"high"
],
"type": "Enum"
}
},
{
"name": "PIR Sensitivity",
"code": "pir_sensitivity",
"id": 9,
"values": {
"range": [
"low",
"middle",
"high"
],
"type": "Enum"
}
},
{
"name": "Keep time",
"code": "pir_time",
"id": 10,
"values": {
"range": [
"10S",
"30S",
"60S",
"120S"
],
"type": "Enum"
}
},
{
"name": "Illuminance value",
"code": "illuminance_value",
"id": 12,
"values": {
"unit": "lux",
"min": 0,
"max": 10000,
"scale": 0,
"step": 1,
"type": "Integer"
}
}
]
}