E1 open/close sensor (MCCGQ14LM)

This documentation was generated from: xiaomi_mccgq14lm_e1_openclose_sensor.json

AttributeValue
status Gold
product E1 open/close sensor (MCCGQ14LM)
modelid lumi.magnet.acn001
manufacturername LUMI

1. ZHAOpenClose

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.magnet.acn001" 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
manufacturername String "LUMI" R
modelid String "lumi.magnet.acn001" 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

Config attributes

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

Default: 0

R
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

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