Overview Shelly DW2 window/door contact

The Shelly DW2 is a battery-powered window and door contact with brightness and temperature measurement. It only reports on an event and sleeps in between.

Outputs

ST Contact State of the contact: 1 = open, 0 = closed.
TP Temperature Measured temperature in °C.
HE Brightness Measured brightness in lux.
BA Battery status State of charge of the battery in percent.
BA Battery alarm Is set to 1 as soon as the battery level is low.

Parameters


MQTT topic Topic of the device. Devices of the first generation automatically prepend shellies/, this part has to be entered here as well. Example: shellies/shellydw2-AABBCCDDEEFF
In addition to the outputs listed, the command generate addresses creates an address named timeout. It is set to 1 when the device has not sent a message for a longer period of time.

See also MQTT devices - general.
See also general parameters of all function blocks.