Human presence sensor (SNZB-06P)¶
This documentation was generated from: snzb-06p.json
| Attribute | Value |
|---|---|
| status | Gold |
| product | Human presence sensor (SNZB-06P) |
| modelid | SNZB-06P |
| manufacturername | SONOFF |
1. ZHAPresence¶
Endpoint: /sensors
Top level attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| 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 | "SONOFF" | R |
| modelid | String | "SNZB-06P" | 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 |
Config attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| delay | UInt16 | The occupied to unoccupied delay in seconds. Default: 0 |
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 |
State attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| dark | Bool | True when lightlevel is lower than tholddark.Default: false |
R |
| lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
| presence | Bool | True when presence is detected. Default: false |
R |