Motion sensor 2 - Pet (MOSZB-153)¶
This documentation was generated from: moszb-153_motion_sensor.json
| Attribute | Value |
|---|---|
| status | Gold |
| product | Motion sensor 2 - Pet (MOSZB-153) |
| modelid | MOSZB-153 |
| manufacturername | frient A/S |
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 | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
| manufacturername | String | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
|---|---|---|---|
| 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 |
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 |
2. 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 | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
| manufacturername | String | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
|---|---|---|---|
| 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 |
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 |
3. 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 | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
| manufacturername | String | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
|---|---|---|---|
| battery | UInt8 | The current device battery level in 0–100 %. Default: 0 |
R |
| delay | UInt16 | The occupied to unoccupied delay in seconds. Default: 20 |
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: 1
|
RW |
| sensitivitymax | UInt8 | The maximum sensor sensitivity. Default: 2 |
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 |
4. 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 | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
| manufacturername | String | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
|---|---|---|---|
| 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 |
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 |
5. ZHALightLevel¶
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 | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
| manufacturername | String | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
Config attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| 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 |
| 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 |
|---|---|---|---|
| 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 |
6. ZHATemperature¶
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 | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
| manufacturername | String | "frient A/S" | R |
| modelid | String | "MOSZB-153" | 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 |
Config attributes¶
| Attribute | Datatype | Description | Access |
|---|---|---|---|
| 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 |
| 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 |
| temperature | Int16 | The current temperature in °C × 100. Default: 0 |
R |