Hue motion sensor 1. Gen (SML001)¶
This documentation was generated from: sml001_motion_sensor.json
Attribute | Value |
---|---|
status | Gold |
product | Hue motion sensor 1. Gen (SML001) |
modelid | SML001 |
manufacturername | Philips |
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 | "Philips" | R |
modelid | String | "SML001" | 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 |
---|---|---|---|
alert | String | The currently active alert. Default: none
|
RW |
battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
delay | UInt16 | The occupied to unoccupied delay in seconds. Default: 0 |
RW |
ledindication | Bool | Activates the LED indicator. Default: 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 |
sensitivity | UInt8 | The sensor sensitivity. Default: 0
|
RW |
sensitivitymax | UInt8 | The maximum sensor sensitivity. Default: 2 |
RW |
usertest | Bool | Activates the user test mode. | RW |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
presence | Bool | True when presence is detected. Default: false |
R |
Example output¶
{
"config": {
"alert": "none",
"battery": 0,
"delay": 0,
"ledindication": false,
"on": true,
"pending": [],
"reachable": true,
"sensitivity": 2,
"sensitivitymax": 2,
"usertest": false
},
"ep": 2,
"etag": "7f0d4873bf1bf93df92948fe160460e6",
"lastseen": "2021-01-13T13:20Z",
"manufacturername": "Philips",
"modelid": "SML001",
"name": "Motion Sensor (2)",
"state": {
"lastupdated": "2021-01-13T13:20:06.879",
"presence": false
},
"swversion": "6.1.1.27575",
"type": "ZHAPresence",
"uniqueid": "00:17:88:01:02:00:21:f4-02-0406"
}
2. 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 | "Philips" | R |
modelid | String | "SML001" | 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 |
---|---|---|---|
alert | String | The currently active alert. Default: none
|
RW |
battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
ledindication | Bool | Activates the LED indicator. Default: 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 |
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 |
usertest | Bool | Activates the user test mode. | RW |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
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 |
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
lightlevel | UInt16 | The current Light level in 10000 log10 (lux) + 1. Default: 0 |
R |
lux | UInt32 | The current Light level in lux. Default: 0 |
R |
Example output¶
{
"config": {
"alert": "none",
"battery": 0,
"ledindication": false,
"on": true,
"pending": [],
"reachable": true,
"tholddark": 12000,
"tholdoffset": 7000,
"usertest": false
},
"ep": 2,
"etag": "58197854b7469e88cbb22afbe5ecf8d0",
"lastseen": "2021-01-13T13:20Z",
"manufacturername": "Philips",
"modelid": "SML001",
"name": "Motion Sensor (2)",
"state": {
"dark": false,
"daylight": true,
"lastupdated": "2021-01-13T13:19:58.655",
"lightlevel": 30063,
"lux": 1014
},
"swversion": "6.1.1.27575",
"type": "ZHALightLevel",
"uniqueid": "00:17:88:01:02:00:21:f4-02-0400"
}
3. ZHATemperature¶
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 | "Philips" | R |
modelid | String | "SML001" | R |
name | String | Name of the resource. | RW |
swversion | String | Firmware version of the device. | R |
type | String | "ZHATemperature" | R |
uniqueid | String | Unique identifier of the resource. | R |
swversion | String | Firmware version of the device. | R |
type | String | "ZHATemperature" | R |
uniqueid | String | Unique identifier of the resource. | R |
Config attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
alert | String | The currently active alert. Default: none
|
RW |
battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
ledindication | Bool | Activates the LED indicator. Default: false |
RW |
offset | Int16 | Relative offset to the main measured value. Default: 0 |
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 |
usertest | Bool | Activates the user test mode. | RW |
State attributes¶
Attribute | Datatype | Description | Access |
---|---|---|---|
lastupdated | ISO 8601 timestamp | Timestamp when state was last updated. | R |
temperature | Int16 | The current temperature in °C × 100. Default: 0 |
R |
Example output¶
{
"config": {
"alert": "none",
"battery": 0,
"ledindication": false,
"offset": 0,
"on": true,
"pending": [],
"reachable": true,
"usertest": false
},
"ep": 2,
"etag": "0f14835ede4aac034a6022f956aea426",
"lastseen": "2021-01-13T13:20Z",
"manufacturername": "Philips",
"modelid": "SML001",
"name": "Motion Sensor (2)",
"state": {
"lastupdated": "2021-01-13T13:17:44.861",
"temperature": 2142
},
"swversion": "6.1.1.27575",
"type": "ZHATemperature",
"uniqueid": "00:17:88:01:02:00:21:f4-02-0402"
}