Overview Shelly Pro 4 PM

The Shelly Pro 4 PM is a DIN rail device with four relays and power measurement per channel. Every channel has its own switching input as well as status outputs for push-button, relay and power.

Inputs

S1 Switch 1 Switches the relay. The effect depends on the corresponding parameter, see below.
S2 Switch 2 Switches the relay. The effect depends on the corresponding parameter, see below.
S3 Switch 3 Switches the relay. The effect depends on the corresponding parameter, see below.
S4 Switch 4 Switches the relay. The effect depends on the corresponding parameter, see below.

Outputs

S1 Switch 1 status State of the push-button or switch 1 connected to the device.
S2 Switch 2 status State of the push-button or switch 2 connected to the device.
S3 Switch 3 status State of the push-button or switch 3 connected to the device.
S4 Switch 4 status State of the push-button or switch 4 connected to the device.
R1 Relay 1 status Actual state of the relay 1 in the device. Is also updated when switching via the Shelly app or the push-button at the device.
R2 Relay 2 status Actual state of the relay 2 in the device. Is also updated when switching via the Shelly app or the push-button at the device.
R3 Relay 3 status Actual state of the relay 3 in the device. Is also updated when switching via the Shelly app or the push-button at the device.
R4 Relay 4 status Actual state of the relay 4 in the device. Is also updated when switching via the Shelly app or the push-button at the device.
P1 Relay 1 power Present active power in watts.
P2 Relay 2 power Present active power in watts.
P3 Relay 3 power Present active power in watts.
P4 Relay 4 power Present active power in watts.

Parameters


MQTT topic Topic of the device, exactly as in the MQTT settings of the device. Example: shellypro4pm-AABBCCDDEEFF

Switch 1 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.

Switch 2 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.

Switch 3 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.

Switch 4 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.
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.