Aqara P1 presence sensor RTCGQ14LM

This documentation was generated from: xiaomi_rtcgq14lm_p1_presence_sensor.json

AttributeValue
status Gold
product Aqara P1 presence sensor RTCGQ14LM
modelid lumi.motion.ac02
manufacturername LUMI

1. ZHAPresence

Endpoint: /sensors

Top level attributes

AttributeDatatypeDescriptionAccess
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 "LUMI" R
modelid String "lumi.motion.ac02" 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
modelid String "lumi.motion.ac02" 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

AttributeDatatypeDescriptionAccess
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.

Default: 30

RW
ledindication Bool Activates the LED indicator.

Default: false

  • true — Device flashes on presence
  • false — Device gives no visual feedback on presence
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
sensitivity UInt8 The sensor sensitivity.

Default: 3

  • 1 — Low
  • 2 — Medium
  • 3 — High
RW

State attributes

AttributeDatatypeDescriptionAccess
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R
presence Bool True when presence is detected.

Default: false

R

2. ZHALightLevel

Endpoint: /sensors

Top level attributes

AttributeDatatypeDescriptionAccess
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 "LUMI" R
modelid String "lumi.motion.ac02" 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
modelid String "lumi.motion.ac02" 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

AttributeDatatypeDescriptionAccess
battery UInt8 The current device battery level in 0–100 %.

Default: 0

R
ledindication Bool Activates the LED indicator.

Default: false

  • true — Device flashes on presence
  • false — Device gives no visual feedback on presence
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

AttributeDatatypeDescriptionAccess
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