Aqara H1 dual rocker switch (neutral wire) WS-EUK04

This documentation was generated from: xiaomi_ws-euk04_h1_switch.json

AttributeValue
status Gold
product Aqara H1 dual rocker switch (neutral wire) WS-EUK04
modelid lumi.switch.n2aeu1
manufacturername LUMI

1. On/Off light

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.switch.n2aeu1" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "On/Off light" R
uniqueid String Unique identifier of the resource. R
swversion String Firmware version of the device. R
type String "On/Off light" 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. On/Off light

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.switch.n2aeu1" R
name String Name of the resource. RW
swversion String Firmware version of the device. R
type String "On/Off light" R
uniqueid String Unique identifier of the resource. R
swversion String Firmware version of the device. R
type String "On/Off light" 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

3. ZHASwitch

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

Config attributes

AttributeDatatypeDescriptionAccess
devicemode String Mode of the Hue wall switch module with possible values 'singlerocker', 'singlepushbutton', 'dualrocker', 'dualpushbutton'. Xiaomi devices have possible values of 'compatibility' and 'zigbee', but DO NOT CHANGE UNLESS YOU KNOW EXACTLY, WHAT YOU'RE DOING

Default: compatibility

  • "compatibility" — Default mode for Xiaomi devices
  • "zigbee" — Closer to zigbee standard
RW
ledindication Bool Activates the LED indicator.

Default: true

  • true — Device LED always on
  • false — Device LED off from 9pm - 9am
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

AttributeDatatypeDescriptionAccess
buttonevent UInt32 The last received button event. R
lastupdated ISO 8601 timestamp Timestamp when state was last updated. R

4. 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.switch.n2aeu1" 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

State attributes

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

Default: 0

RW

5. 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.switch.n2aeu1" 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

State attributes

AttributeDatatypeDescriptionAccess
consumption UInt64 The measured consumption (in Wh).

Default: 0

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