Hue secure contact sensor¶
This documentation was generated from: soc001_contact_sensor.json
| Attribute | Value |
|---|---|
| status | Gold |
| product | Hue secure contact sensor |
| modelid | SOC001 SOC001 |
| manufacturername | Signify Netherlands B.V. Philips |
1. ZHAOpenClose¶
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 | "Signify Netherlands B.V." "Philips" |
R |
| modelid | String | "SOC001" "SOC001" |
R |
| name | String | Name of the resource. | RW |
| swversion | String | Firmware version of the device. | R |
| type | String | "ZHAOpenClose" | R |
| uniqueid | String | Unique identifier of the resource. | R |
| productname | String | Product name of the device. Default: Hue secure contact sensor |
R |
| swversion | String | Firmware version of the device. | R |
| type | String | "ZHAOpenClose" | 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 |
| group | String | comma seperated list of groups which a device controls. Default: auto |
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 |
|---|---|---|---|
| eventduration | UInt32 | Determines how long an event lasted. | R |
| open | Bool | True when open is detected. | R |
| lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
| tampered | Bool | True when the device tampered alarm was triggered. | R |