Shelly 2PM Gen4
User Manual and Safety Guide
Revision 1, November 6, 2025
Symbols
[Warning] This symbol indicates safety information.
[Info] This symbol indicates an important notice.
Safety Information
For safe and correct use, please read this guide and any accompanying documentation. Keep them for future reference. To avoid possible damage or property damage:
- Only a qualified electrician is allowed to install the Device.
- Connect the Device only as shown in these instructions.
- Ensure the Device via a circuit protection switch according to EN 60898-1 (tripping characteristic B or C, maximum rated current of 16 A, minimum breaking capacity of 6 kA, energy limitation class 3).
- Do not use the Device if it shows any signs of damage or defect.
- Do not attempt to repair the Device yourself.
- Use the Device indoors only.
- Keep the Device away from dirt and moisture.
Device Identification
- Device Name: Shelly 2PM Gen4
- Device Model: S4SW-002P16EU
- Device SSID: Shelly2PMG4-XXXXXXXXXXXX
- BLE Model ID: 0x1032
Short Description
Shelly 2PM Gen4 is a small form factor 2-channel smart switch with energy measurement and cover control, allowing remote control of electrical appliances via a mobile phone, tablet, PC, or home automation system. It can operate standalone on a local Wi-Fi network, or be operated via cloud home automation services. The device features an improved processor and increased memory compared to its predecessor. It supports Venetian blinds similar to its predecessor, the Shelly 2PM Gen3.
Shelly 2PM Gen4 can be accessed, controlled, and monitored remotely from any location where the User has internet connectivity, provided the device is connected to a Wi-Fi router and the Internet.
It can be retrofitted into standard electrical wall boxes, behind power sockets and light switches, or other places with limited space.
Shelly 2PM Gen4 has a built-in Web Interface that can be used to monitor and control the device, as well as adjust its settings. The device features a multi-protocol wireless MCU providing secure connectivity via Zigbee and Bluetooth.
This device is Matter compatible (default device profile is Switch).
Integrations
| Capabilities supported by Amazon Alexa | Features supported by Google Smart Home | Capabilities supported by Samsung SmartThings |
|---|---|---|
| On/Off | On/Off | On/Off |
Simplified Schematics
Internal wiring diagram showing terminal connections for inputs, outputs, and power. The diagram illustrates the basic layout of the Shelly 2PM Gen4 device, including power input (110-240V~ or 24V=), outputs (01, 02), and switch inputs (S1, S2).
Electrical Interfaces of the Device
Inputs
- 2 switch/button inputs on screw terminals: S1 and S2
- 3 power supply inputs on screw terminals: 1 N (+) and 2 L (-)
Outputs
- 2 relay outputs with energy metering on screw terminals
Add-on Interface
Diagram of the proprietary Shelly serial interface add-on connector with pins labeled: ESP_DBG_UART, UOTXD, UORXD, +3.3_ESP, RESET, GP100, GND.
ATTENTION!
High voltage on the add-on interface when the Device is powered!
Safety Functions
- Overheating protection
- Overvoltage protection
- Overcurrent protection
- Overpower protection
- Obstacle detection (cover mode)
- Safety switch (cover mode)
Supported Load Types
- Resistive (incandescent bulbs, heating appliances)
- Capacitive (capacitor banks, electronic equipment, motor start capacitors)
- Inductive with RC Snubber (LED drivers, transformers, fans, refrigerators, air conditioners, washing machines, tumble dryers)
User Interface
Inputs
- Single button (Control)
- Press and hold for 5 seconds to enable Device access point and Bluetooth connection.
- Press and hold for 10 seconds to factory reset the Device.
- Press 5 times consecutively to switch the Device from Matter Firmware (default) to Zigbee.
- Press 3 times consecutively to put the Device into Zigbee inclusion mode. The Device remains in this mode for 2 minutes and can be found on the Home Automation platform via the Zigbee Hub.
Outputs
- LED indication (Monocolor)
- AP (Access Point) enabled, and Wi-Fi disabled: 1 second ON/1 second OFF
- Wi-Fi enabled, but not connected to a Wi-Fi network: 1 second ON/3 seconds OFF
- Connected to Wi-Fi network: CONTINUOUSLY ON
- Cloud is enabled, but not connected: 1 second ON /5 seconds OFF
- Connected to Shelly Cloud: CONTINUOUSLY ON
- OTA (Over-The-Air Update): ½ second ON/½ second OFF
- Button pressed and held for 5 seconds: ½ second ON/½ second OFF
- Button pressed and held for 10 seconds: ¼ second ON/¼ second OFF
Basic Wiring Diagrams
The list above starts with the initial device status and the lowest priority. Each subsequent status cancels the previous one.
AC Power Supply
Diagram for a 2-channel switch with AC power supply. It shows the device connected to Live (L) and Neutral (N) terminals for power. Outputs 01 and 02 are for connecting loads. Inputs S1 and S2 are shown connected to the Live (L) terminal, intended for switch control.
DC Power Supply
Diagram for a dual-channel switch with DC power supply (24V ±10%). It shows the device connected to Positive (+) and Negative (-) terminals for power. Outputs 01 and 02 are for connecting loads. Inputs S1 and S2 are shown connected to the Negative (-) terminal, intended for switch control.
Cover Mode
Diagram illustrating cover mode wiring. It shows a motor (M) connected via outputs 01 and 02. The device is powered by 110-240V~ (Live and Neutral). Inputs S1 and S2 are for controlling the motor's direction.
Input Configurations (Figures a-g)
- Figure a) shows cover mode wiring with a single input for motor direction control.
- Figure b) shows single input wiring for a button in cover mode.
- Figure c) shows single input wiring for a switch in cover mode.
- Figure d) shows safety switch wiring for a button input in cover mode.
- Figure e) shows safety switch wiring for a switch input in cover mode.
- Figure f) shows double input wiring for buttons in cover mode.
- Figure g) shows double input wiring for switches in cover mode.
Legend
| Terminals | Wiring |
|---|---|
| 01, 02: | Output terminals of the circuit |
| L: | Live terminal (110-240 V ~) |
| S1, S2: | Switch input terminals |
| +: | Positive 24 V⎓ terminal |
| ⊥: | Negative 24 V⎓ terminal |
| N: | Neutral wire |
| L: | Live wire (110-240 V ~) |
| +: | 24 V⎓ positive wire |
| -: | 24 V⎓ negative wire |
Installation Instructions
WARNING! RISK OF ELECTRIC SHOCK.
- Before installing the Device, turn off the circuit breakers. Use a suitable test device to ensure that there is no voltage on the wires you are about to connect.
- Before making any changes to the connections, make sure there is no voltage present on the Device terminals.
AC Circuits
For AC circuits, connect both L terminals to the Live wire and the N terminal to the Neutral wire. Connect the first load circuit to terminal 01 and the Neutral wire. Connect the second load circuit to terminal 02 and the Neutral wire. Connect the first switch to terminal S1 and the Live wire. Connect the second switch to terminal S2 and the Live wire.
DC Circuits
For DC circuits, connect both terminals to the Negative wire and the + terminal to the positive wire. Connect the first load circuit to terminal 01 and the Positive wire. Connect the second load circuit to terminal 02 and the Positive wire. Connect the first switch to terminal S1 and the Negative wire. Connect the second switch to terminal S2 and the Negative wire.
NOTE For inductive devices that cause voltage spikes when switching on/off, such as electric motors, fans, vacuum cleaners, and similar, an RC snubber (0.1 μF/100 Ω/1/2 W/600 VAC) must be connected in parallel to the device. The RC snubber can be purchased at shelly.com/en/products/shop/rc-snubber.
As a cover controller, Shelly 2PM Gen4 can operate in 3 modes: disconnected, single input, or double input.
In disconnected mode, the Device can be controlled via its Web Interface and the App only. Even if buttons or switches are connected to the Device, they will not be allowed to control the motor's rotation in disconnected mode.
If you want to use the device in disconnected mode, connect the device as shown in Fig. a): Connect both L terminals to the Live wire and the N terminal to the Neutral wire. Connect the common motor terminal/wire to the Neutral wire. Connect the motor direction terminal(s)/wire(s) to terminals 01.
If you want to use the device in single input mode, connect the device as shown in Fig. b) for button input or Fig. c) for switch input. Connect both L terminals to the Live wire and the N terminal to the Neutral wire. Connect the common motor terminal/wire to the Neutral wire. Connect the motor direction terminal(s)/wire(s) to terminals 01.
Connect the button or switch to S1 or terminal S2 and the Live wire.
Button/Switch Input Configuration
If the input is configured as a button in the device settings, each press cycle of the button toggles: open, stop, close, stop, etc.
If the input is configured as a switch, each toggle cycle of the switch is: open, stop, close, stop, etc.
Single Input Mode with Safety Switch
In single input mode, Shelly 2PM Gen4 provides safety switch functionality. To utilize it, connect the device as shown in Fig. d) for button input or Fig. e) for switch input. Connect both L terminals to the Live wire and the N terminal to the Neutral wire. Connect the common motor terminal/wire to the Neutral wire. Connect the motor direction terminal(s)/wire(s) to terminals 01 and 02. Connect the safety switch to terminal S2 and the Live wire.
The safety switch can be configured for:
- Stop movement until the safety switch is disengaged or until a command is sent and, if allowed in the Device settings, movement resumes in the opposite direction until the end position is reached.
- Stop and immediately reverse movement until the end position is reached. This option requires reverse movement to be allowed in the Device settings.
The safety switch can also be configured to stop movement in only one of the directions or in both.
Double Input Mode
If you want to use the Device in double input mode, connect the Device as shown in Fig. f) for button inputs or Fig. g) for switch inputs. Connect both L terminals to the Live wire and the N terminal to the Neutral wire.
Connect the common motor terminal/wire to the Neutral wire.
Connect the motor direction terminal(s)/wire(s) to terminals 01 and 02.
Connect the first button/switch to terminal S1 and the Live wire. Connect the second button/switch to terminal S2 and the Live wire.
Button Input Behavior
- Pressing the button when the cover is static moves the cover in the corresponding direction until the endpoint is reached.
- Pressing the button for the same direction while the cover is moving stops the cover.
- Pressing the button for the opposite direction, while the cover is moving, reverses the cover's movement until the endpoint is reached.
Switch Input Behavior
- Turning a switch ON moves the cover in the corresponding direction until an endpoint is reached.
- Turning the switch OFF stops the cover's movement. If both switches are ON, the Device respects the last engaged switch. Turning off the last engaged switch stops the cover's movement, even if the other switch is still ON.
To move the cover in the opposite direction, the other switch must be turned OFF and ON again. Shelly 2PM Gen4 can detect obstacles. If an obstacle is present, the cover's movement will stop and, if configured so in the Device settings, reverse until the endpoint is reached. Obstacle detection can be enabled or disabled for either one direction or both.
NOTE
To avoid voltage spikes when switching the bidirectional cover motor ON/OFF, two RC snubbers (0.1 μF/100 Ω/1/2 W/600 VAC) must be connected between the two motor direction terminals/cables of the cover.
Specifications
| Quantity | Value |
|---|---|
| Physical | |
| Dimensions (HxWxD): | 37x42x16 ± 0.5 mm/1.46x1.65x0.63 ± 0.02 inch |
| Weight: | 30 g/1.06 oz |
| Max. terminal torque: | 0.4 Nm/3.5 lbin |
| Conductor cross-section: | 0.5 to 4 mm² / 20 to 11 AWG (solid, stranded, and bootlace ferrules) |
| Stripped conductor length: | 6 to 7 mm/0.24 to 0.28 in |
| Mounting: | Wall box |
| Shell material: | Plastic |
| Shell color: | Black |
| Terminal color: | Grey (Mouse Grey) |
| Environmental | |
| Ambient operating temperature: | -20° C to 40° C/-5° F to 105° F |
| Humidity: | 30% to 70% RH |
| Max. altitude: | 2000 m/6562 feet |
| Electrical | |
| Power supply: | 110-240 V ~ / 24 VDC ± 10% |
| Power consumption: | <1.4 W |
| External protection: | Tripping characteristic B or C, maximum rated current of 16A, minimum breaking capacity of 6 kA, energy limitation class 3 |
| Circuit ratings | |
| Max. switching voltage: |
|
| Max. AC switching current: | 10 A (per channel), 16 A (total), 18 A (peak total) |
| Max. DC switching current: | 10 A |
| Sensors, meters | |
| Voltmeter (AC): | Yes |
| Ammeter (AC): | Yes |
| Internal temperature sensor: | Yes |
| Radio | |
| Wi-Fi | |
| Protocol: | 802.11 b/g/n/ax |
| RF Band: | 2412-2472 MHz |
| Max. RF Power: | <20 dBm |
| Range: | Up to 10 m/33 ft indoors and 30 m/100 ft outdoors (Depends on local conditions) |
| Zigbee | |
| Protocol: | 802.15.4 |
| RF Frequency: | 2400 to 2483.5 MHz |
| Max. RF Power: | <20 dBm |
| Range: | Up to 100 m/328 ft indoors and 300 m/984 ft outdoors (Depends on local conditions) |
| Microcontroller Unit | |
| CPU: | ESP-Shelly-C68F |
| Flash: | 8MB |
| Firmware Capabilities | |
| Schedules: | 20 |
| Webhooks (URL actions): | 20 with 5 URLs per webhook |
| Scripting: | Yes |
| MQTT: | Yes |
Disposal and Recycling
Do not dispose of the product with household waste. Recycle the product to prevent environmental and health damage and promote resource conservation. Dispose of the product at an appropriate waste collection point. Retailers who have purchased the equipment are obliged to accept waste electrical and electronic equipment (WEEE) free of charge for proper disposal. Reset the device to factory settings by pressing and holding the button for more than 10 seconds before disposal to ensure all personal data is erased.
Declaration of Conformity
Hereby, Shelly Europe Ltd. declares that the radio equipment type for Shelly 2PM Gen4 is in compliance with Directive 2014/53/EU. The full text of the EU declaration of conformity is available at the following internet address: shelly.link/2PM
For the UK PSTI ACT Declaration of conformity visit shelly.link/uk-psti