Dimmer Switch 1. Gen EU/US

This documentation was generated from: rwl02_dimmer_switch.json

AttributeValue
status Gold
product Dimmer Switch 1. Gen EU/US
modelid RWL021
RWL020
manufacturername Philips
Philips

1. 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 "Philips"
"Philips"
R
modelid String "RWL021"
"RWL020"
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

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
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
buttonevent UInt32 The last received button event. R
eventduration UInt16 Determines how long an event lasted (not implemented yet). R

Example output

{
  "config": {
    "battery": null,
    "on": true,
    "reachable": true
  },
  "ep": 2,
  "etag": "d60d24fb0d41f5ed9e69c638631e9e34",
  "lastseen": "2021-05-02T18:44Z",
  "manufacturername": "Philips",
  "mode": 2,
  "modelid": "RWL021",
  "name": "Switch 5",
  "state": {
    "buttonevent": 1002,
    "eventduration": 1,
    "lastupdated": "2021-05-02T18:44:00.559"
  },
  "swversion": "5.45.1.17846",
  "type": "ZHASwitch",
  "uniqueid": "00:17:88:01:08:f7:76:8c-02-fc00"
}