Presence sensor (TS0202)¶
This documentation was generated from: ts0202_presence_sensor.json
Attribute | Value |
---|---|
status | Gold |
product | Presence sensor (TS0202) |
modelid | TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 TS0202 |
manufacturername | _TYZB01_tv3wxhcz _TYZB01_hqbdru35 _TZ3000_tiwq83wk _TZ3000_ykwcwxmz _TZ3000_hgu1dlak _TZ3000_hktqahrq _TZ3000_kmh5qpmb _TZ3000_jmrgyl7o _TZ3000_msl6wxk9 _TZ3000_otvn3lne _TZ3000_6ygjfyll _TZ3040_6ygjfyll _TZ3000_mcxw5ehu _TYZB01_ef5xlc9q _TYZB01_vwqnz1sn _TYZB01_2b8f6cio _TZE200_bq5c8xfe _TYZB01_dl7cejts _TYZB01_qjqgmqxr _TZ3000_mmtwjmaq _TYZB01_zwvaj5wy _TZ3000_bsvqrxru _TZ3000_mg4dy6z6 _TZ3040_bb6xaihh _TZ3000_lf56vpxj |
1. 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 | "_TYZB01_tv3wxhcz" "_TYZB01_hqbdru35" "_TZ3000_tiwq83wk" "_TZ3000_ykwcwxmz" "_TZ3000_hgu1dlak" "_TZ3000_hktqahrq" "_TZ3000_kmh5qpmb" "_TZ3000_jmrgyl7o" "_TZ3000_msl6wxk9" "_TZ3000_otvn3lne" "_TZ3000_6ygjfyll" "_TZ3040_6ygjfyll" "_TZ3000_mcxw5ehu" "_TYZB01_ef5xlc9q" "_TYZB01_vwqnz1sn" "_TYZB01_2b8f6cio" "_TZE200_bq5c8xfe" "_TYZB01_dl7cejts" "_TYZB01_qjqgmqxr" "_TZ3000_mmtwjmaq" "_TYZB01_zwvaj5wy" "_TZ3000_bsvqrxru" "_TZ3000_mg4dy6z6" "_TZ3040_bb6xaihh" "_TZ3000_lf56vpxj" |
R |
modelid | String | "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" "TS0202" |
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 |
---|---|---|---|
battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
duration | UInt16 | The duration until presence is automatically turned back to false. | RW |
on | Bool | When true the sensor is enabled in rules. Default: true |
RW |
pending | Array | Pending tasks to configure the device. | R |
reachable | Bool | When true the device is assumed to be operational. | R |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
lowbattery | Bool | True when the device battery runs low. | R |
presence | Bool | True when presence is detected. Default: false |
R |