Overview Shelly 1PM

The Shelly 1PM is a relay of the first generation with integrated power measurement. Besides switching the relay, the function block supplies the present power and the energy counter of the device. With the optional Shelly addon, sensors can be read in addition.

Inputs

S1 Switch Switches the relay. The effect depends on the corresponding parameter, see below.

Outputs

S1 Switch status State of the push-button or switch connected to the device.
R1 Relay status Actual state of the relay in the device. Is also updated when switching via the Shelly app or the push-button at the device.
P1 Power W Present active power in watts.
W1 Consumption Wh Meter reading of the consumed energy in watt hours.
T1 Addon temperature 1 Temperature of the first DS18B20 sensor, or of the DHT22 if that one is selected. Only present when the addon is enabled.
T2 Addon temperature 2 Temperature of the second DS18B20 sensor. Only with the setting "+Addon DS18B20".
T3 Addon temperature 3 Temperature of the third DS18B20 sensor. Only with the setting "+Addon DS18B20".
F1 Addon humidity in % Relative humidity of the DHT22 sensor. Only with the setting "+Addon DHT22"; the output then takes the place of T2.

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/shelly1pm-AABBCCDDEEFF

Switch Behaviour of the corresponding input. Toggle (rising edge) for push-buttons: every change from 0 to 1 toggles the relay. Toggle (1/0) for switches and for control from the program: the value is applied directly.

Addon Evaluation of the optional Shelly addon. None hides the additional outputs. +Addon DS18B20 shows three temperature outputs, +Addon DHT22 one temperature and one humidity output.
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.