Support
Table of contents
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)
2 x 230V Relays (with switches*)
* 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 App > Device > Settings > Input/output Settings > Switch > Set Shelly device to be edge switch
Multi-Way Switching (Momentary Switches)
Shelly App > Device > Settings > Input/output Settings > Button > Set Shelly device to be “Momentary”
230V "Dumb" Motor Control
Without switches
With switches*
*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
What is Shelly Wi-Fi? In this Shelly buyers guide, we dive into Shelly products and see how they can turn your ordinary home into a smart home - on a budget.
How to create Shelly scenes and schedules
An easy to follow introduction into creating Shelly scenes and schedules using the free Shelly Smart Control app.
Shelly Wi-Fi Setup & Troubleshooting Guide
Learn how to setup Shelly Wi-Fi devices in the easy to follow guide... and what to do if something goes wrong.
Updated on February 18, 2026