Support

Wiring Diagrams – Shelly 2PM Gen4

Shelly 2PM Gen4 – Smart on / off control of two independent 240V AC lighting or electrical devices. Can also be used as a motor controller for 240V AC “dumb motors”. Includes power monitoring of the connected load(s).

Compatible with standard latching or momentary switches and supports multi-way switching.

IMPORTANT - This device must be installed by a licensed electrician

Shelly 2PM Gen 4 Wiring Diagrams - Download PDF

2 x 230V Relays (without switches)

shelly-2pm-gen3-wiring-230v-without-switch

2 x 230V Relays (with switches*)

shelly-2pm-gen3-wiring-230v-with-switch

* Compatible Switch Types & Settings

Both normal latching (mechanical on/off) and momentary bell press switches can be used. Please change the switch type settings accordingly in the Shelly app for the type of switches attached to your Shelly 2PM Gen4…

Standard Latching Switches...

Shelly App > Device > Settings > Input/output Settings > Switch > Set Shelly device to be “Toggle” switch

Or…

Shelly App > Device > Settings > Input/output Settings > Switch > Set Shelly device to be “Edge” switch

Momentary Bell Press Switches...

Shelly App > Device > Settings > Input/output Settings > Button > Set Shelly device to be “momentary”

2-Way Switching (Standard Latching Switches)

shelly-2pm-gen3-wiring-2-way-switch-latching

Shelly App > Device > Settings > Input/output Settings > Switch > Set Shelly device to be edge switch

Multi-Way Switching (Momentary Switches)

shelly-2pm-gen3-wiring-multi-way-switch-momentary

Shelly App > Device > Settings > Input/output Settings > Button > Set Shelly device to be “Momentary”

230V "Dumb" Motor Control

Without switches

shelly-2pm-gen3-wiring-motor-without-switch

With switches*

shelly-2pm-gen3-wiring-motor-with-switch

*Can work with both latching and momentary switch types – and single or double button configuration.
Please consult Shelly documentation for more information – including app settings to configure switch type.

Shelly App > Device > Settings > Device profile > Change from “Switch” to “Cover”

Shelly App > Device > Settings > Calibration > Start calibration

Related Shelly blogs & guides

Updated on February 18, 2026