Tuya human presence detector (TS0601)¶
This documentation was generated from: _TZE204_sxm7l9xa_mmwave_radar.json
Attribute | Value |
---|---|
status | Gold |
product | Tuya human presence detector (TS0601) |
modelid | TS0601 |
manufacturername | _TZE204_sxm7l9xa |
1. ZHALightLevel¶
Endpoint: /sensors
Top level attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
id | String | Identifier of the resource, unique within an endpoint. | R |
lastannounced | ISO 8601 timestamp | Timestamp of the last power-cyle or rejoin. | R |
lastseen | ISO 8601 timestamp | Timestamp of the last communication. | R |
manufacturername | String | "_TZE204_sxm7l9xa" | R |
modelid | String | "TS0601" | R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "ZHALightLevel" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "ZHALightLevel" | R |
uniqueid | String | Unique identifier of the resource. | R |
Config attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
on | Bool | When true the sensor is enabled in rules. Default: true |
RW |
reachable | Bool | When true the device is assumed to be operational. | R |
tholddark | UInt16 | Specifies at which lightlevel the dark attribute turns false.Default: 12000 |
RW |
tholdoffset | UInt16 | Relative offset to tholddark . Sets daylight attribute to true when when lightlevel is at or above (tholddark + tholdoffset).Default: 7000 |
RW |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
dark | Bool | True when lightlevel is lower than tholddark .Default: false |
R |
daylight | Bool | True when lightlevel suits daylight according tholddark and tholdoffset configuration.Default: false |
R |
lightlevel | UInt16 | The current Light level in 10000 log10 (lux) + 1. Default: 0 |
R |
lux | UInt32 | The current light intensity in Lux (max is 2000) Default: 0 |
R |
2. ZHAPresence¶
Endpoint: /sensors
Top level attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
id | String | Identifier of the resource, unique within an endpoint. | R |
lastannounced | ISO 8601 timestamp | Timestamp of the last power-cyle or rejoin. | R |
lastseen | ISO 8601 timestamp | Timestamp of the last communication. | R |
manufacturername | String | "_TZE204_sxm7l9xa" | R |
modelid | String | "TS0601" | R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "ZHAPresence" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "ZHAPresence" | R |
uniqueid | String | Unique identifier of the resource. | R |
Config attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
delay | UInt16 | Detection delay : target confirmation delay time in 10th of second (from 0 to 100). Default 0.1s Default: 1 |
RW |
fadingtime | UInt16 | Fading time : target disapperance delay time in second (from 0 to 15000). Default 90s Default: 90 |
RW |
on | Bool | When true the sensor is enabled in rules. Default: true |
RW |
reachable | Bool | When true the device is assumed to be operational. | R |
sensitivity | UInt8 | Radar sensitivity (from 1 to 9). Default 7 Default: 7 |
RW |
triggerdistance | String | Far detection sensitivity Default: 10
|
RW |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
targetdistance | Int16 | Distance from detected target in cm (from 0 to 1000). Default: 0 |
R |
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
presence | Bool | True when presence is detected. Default: false |
R |