Shelly Plug S| The Shelly Plug S is a plug adapter with a relay and power measurement. The function block switches the socket and supplies the power and energy consumption of the connected device. |
Inputs |
||
| R1 | Relay | Switches the socket on and off. The value is applied directly: 1 switches on, 0 switches off. |
Outputs |
||
| 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. |
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/shellyplug-s-123456 | |
| 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.