Smart plug (ZNCZ04LM)

This documentation was generated from: xiaomi_zncz04lm_smart_plug.json

AttributeValue
status Gold
product Smart plug (ZNCZ04LM)
modelid lumi.plug.mmeu01
manufacturername LUMI

1. Smart plug

Endpoint: /lights

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.plug.mmeu01" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "Smart plug" R
uniqueid String Unique identifier of the resource. R
swversion String Firmware version of the device. R
type String "Smart plug" R
uniqueid String Unique identifier of the resource. R

State attributes

AttributeDatatypeDescriptionAccess
alert String The currently active alert effect.

Default: none

  • "none" — light is not performing an alert
  • "select" — light is blinking a short time
  • "lselect" — light is blinking a longer time
RW
on Bool True when device is on; false when off. RW
reachable Bool When true the device is assumed to be operational. R

2. ZHAPower

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.plug.mmeu01" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHAPower" R
uniqueid String Unique identifier of the resource. R
swversion String Firmware version of the device. R
type String "ZHAPower" R
uniqueid String Unique identifier of the resource. R

Config attributes

AttributeDatatypeDescriptionAccess
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
temperature UInt8 The current device temperature in °C. R

State attributes

AttributeDatatypeDescriptionAccess
current UInt16 The measured current (in mA).

Default: 0

RW
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R
power Int16 The measured power (in W).

Default: 0

RW
voltage UInt16 The measured voltage (in V).

Default: 0

RW

3. ZHAConsumption

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.plug.mmeu01" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "ZHAConsumption" R
uniqueid String Unique identifier of the resource. R
swversion String Firmware version of the device. R
type String "ZHAConsumption" R
uniqueid String Unique identifier of the resource. R

Config attributes

AttributeDatatypeDescriptionAccess
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
temperature UInt8 The current device temperature in °C. R

State attributes

AttributeDatatypeDescriptionAccess
consumption UInt64 The measured consumption (in Wh).

Default: 0

RW
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R

Known Issues

Firmware update required

This applies for Xiaomi smart plugs ZNCZ04LM (lumi.plug.mmeu01) and SP-EUC01 (lumi.plug.maeu01). It is mandatory that RaspBee/ConBee I firmware version 0x26400500 (or higher) or RaspBee/ConBeeII firmware version 0x266f0700 (or higher) is installed.

Further the plugs firmware need to be updated via OTA to work well with this DDF. A more detailed description can be found at: wiki/Xiaomi-smart-plugs-not-working-correctly