Shelly 1PM Mini Gen4

Device Identification
- Device name: Shelly 1PM Mini Gen4
- Device model: S4SW-001P8EU
- Device SSID: Shelly1PMMiniG4-XXXXXXXXXXXX
- BLE model ID: 0x1031
Short Description
Shelly 1PM Mini Gen4 is a small form factor smart switch with power measurement, which allows remote control of electric appliances through a mobile phone, tablet, PC, or home automation system. It can work standalone in a local Wi-Fi network or be operated through cloud home automation services. The device is an improved version of Shelly 1PM Mini Gen3 with a more advanced processor and Zigbee connectivity.
Shelly 1PM Mini Gen4 can be accessed, controlled, and monitored remotely from any location with internet connectivity, as long as 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.
The device has an embedded Web Interface for monitoring, control, and configuration. It features a multi-protocol wireless MCU providing Zigbee and Bluetooth connectivity for secure communication.
This device is compatible with Matter.
Main Features
- Smart Switch with Power Measurement: Acts as a smart switch with the added capability of measuring power consumption, allowing you to monitor the energy usage of connected appliances.
- Compact Design: Small form factor suitable for retrofitting into standard electrical wall boxes, behind power sockets, light switches, or confined spaces.
- Remote Control: Enables remote control of electric appliances via mobile phone, tablet, PC, or home automation system.
- Local and Cloud Control: Functions independently on a local Wi-Fi network and can also be operated via cloud-based home automation services.
- Zigbee Connectivity: Available for inclusion purposes during setup.
- Improved Processor: Upgraded with a better processor and enhanced Zigbee support for improved performance.
- Remote Access: Allows remote access, control, and monitoring from anywhere with internet connectivity (provided the device is connected to Wi-Fi).
- Embedded Web Interface: Includes a built-in web interface for managing settings, monitoring status, and controlling the device.
- BLE Gateway: Bridges Shelly BLU devices to the wider Shelly ecosystem by receiving Bluetooth signals and forwarding them to the cloud or local non-Bluetooth devices.
- Zigbee Range Extender: Expands the reach of your Zigbee network by receiving, strengthening, and retransmitting signals over a larger area.
- Wi-Fi Range Extender: Extends your Wi-Fi network range by boosting and retransmitting the signal over a wider area.
- Scripting: Shelly Script Language Features
- Wide Range of Integrations: Compatible with third-party home systems via HTTP API, MQTT(s), Webhooks (HTTP/HTTPS), and UDP.
- KNX Support: Supports KNXnet/IP communication.
- Schedules: Allows complex operations to be scheduled based on date, time of day, weekdays, hours, minutes, and seconds.
- Virtual Components: Dynamic Virtual Components Documentation
- KNXnet/IP Support: KNX Integration Guide
Use Cases
- Appliance Control: Remotely control and automate lights, fans, or other electric devices.
- Power Monitoring: Monitor real-time power consumption of connected appliances to understand energy usage patterns.
- Home Automation: Integrate into your home automation system to create custom scenes and schedules.
- Energy Efficiency: Identify energy-hungry devices using power measurement to improve overall efficiency.
- Remote Monitoring: Monitor and control devices even when away from home via internet connectivity.
- Space-Constrained Installations: Ideal for installations where space is limited due to its compact size.
Integrations
Amazon Alexa Supported Capabilities
Yes
Google Smart Home Supported Traits
Yes
Samsung SmartThings Supported Capabilities
Yes
Simplified Internal Schematics

Device Electrical Interfaces
Inputs
- 1 switch/button input on screw terminal
- 2 power supply inputs on screw terminals: N and L
Outputs
- 1 relay output with power measurement on screw terminal
Connectivity
- Wi-Fi
- Bluetooth
- Zigbee
Safety Functions
- Overheating protection
- Overvoltage protection
- Overcurrent protection
- Overpower protection
Supported Load Types
- Resistive (incandescent bulbs, heating devices)
- Capacitive (capacitor banks, electronic equipment, motor start capacitors)
- Inductive (LED light drivers, transformers, fans, refrigerators, air-conditioners)
User Interface
Inputs
- One (Control) Button
- Press and hold for 5 seconds → Enable Device Access Point and Bluetooth connection.
- Press and hold for 10 seconds → Factory reset the device.
- Press 5 times → Switch from Matter (default) to Zigbee profile. Device enters inclusion mode for 3 minutes. Include following your Zigbee system’s instructions.
- Press 3 times → Restart inclusion mode for another 3 minutes if previous window was missed.
Outputs
- LED (Monocolor Indicator)
| LED State | Behavior |
|---|---|
| AP enabled, Wi-Fi disabled | 1 sec ON / 1 sec OFF |
| Wi-Fi enabled, not connected | 1 sec ON / 3 sec OFF |
| Connected to Wi-Fi network | Constantly ON |
| Cloud enabled, not connected | 1 sec ON / 5 sec OFF |
| Connected to Shelly Cloud | Constantly ON |
| OTA Update in progress | ½ sec ON / ½ sec OFF |
| Button pressed & held for 5 sec | ½ sec ON / ½ sec OFF |
| Button pressed & held for 10 sec | ¼ sec ON / ¼ sec OFF |
Note: States are prioritized; later states override earlier ones.
Specifications
| Category | Quantity | Value |
|---|---|---|
| Physical | ||
| Size (HxWxD) | 29×34×16 ±0.5 mm / 1.34×1.11×0.63 ±0.02 inch | |
| Weight | 18 ±1 g / 0.63 ±0.04 oz | |
| Screw terminals max torque | 0.4 Nm / 3.5 lbin | |
| Conductor cross section | 0.5 to 4 mm² / 20 to 11 AWG (solid, stranded, bootlace ferrules) | |
| Conductor stripped length | 6 to 7 mm / 0.24 to 0.28 in | |
| Mounting | Wall box | |
| Shell material | Plastic | |
| Shell color | Red, C-3%; M-100%; Y-70%; K-12% | |
| Connectors color | Grey (Mouse Grey) | |
| Environmental | ||
| Ambient working temperature | -20 °C to 40 °C / -5 °F to 105 °F | |
| Humidity | 30 % to 70 % RH | |
| Max. altitude | 2000 m / 6562 ft | |
| Electrical | ||
| Power supply | 110 - 240 V~ | |
| Relay | NO contact, 1-pole, µ contact | |
| External protection | Tripping characteristic B or C, max. 10A rated current, min. 6 kA interrupting rating, energy limiting class 3 | |
| Output circuits ratings | ||
| Max. switching voltage | 240 V~ | |
| Max. switching current | 8A / 240 V~ | |
| Power measurement | Yes | |
| Voltage protection / Cutoff | Yes | |
| Current protection / Cutoff | Yes | |
| Max power protection / Cutoff | Yes | |
| Sensors, meters | ||
| 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 30 m indoors / 100 ft, up to 50 m outdoors / 160 ft (varies by environment) | |
| Bluetooth | ||
| Protocol | 5.0 | |
| RF band | 2402 – 2480 MHz | |
| Max. RF power | < 4 dBm | |
| Range | Up to 10 m indoors / 33 ft, up to 30 m outdoors / 100 ft (varies by environment) | |
| Zigbee | ||
| Protocol | 802.15.4 | |
| RF bands | 2400 to 2483.5 MHz | |
| Max. RF power | < 20 dBm | |
| Range | Up to 100 m indoors / 328 ft, up to 300 m outdoors / 984 ft (varies by environment) | |
| Microcontroller unit | ||
| CPU | ESP-Shelly-C68F | |
| Flash | 8MB | |
| Firmware capabilities | ||
| Schedules | 20 | |
| Webhooks (URL actions) | 20 with 5 URLs per hook | |
| Scripting | Yes | |
| MQTT | Yes |
Basic Wiring Diagrams

Legend
| Terminals | Description | Wires | Description |
|---|---|---|---|
| SW | Switch (controlling O) input terminal | L | Live (110 - 240 V~) wire |
| O | Load circuit output terminal | N | Neutral wire |
| L | Live (110–240 V) terminal | ||
| N | Neutral terminal |
Shelly Smart Control
Shelly Web User Interface
Components and APIs
Compliance
- Shelly 1PM Mini Gen4 Multilingual EU Declaration of Conformity
- Shelly 1PM Mini Gen4 UK PSTI ACT Statement of Compliance
Compliance Archive
- Shelly 1PM Mini Gen4 Multilingual EU DoC (2025-07-21)
- Shelly 1PM Mini Gen4 Multilingual EU DoC (2025-03-14)
Printed User Guide
Additional Resources
Installation Guides
There are no items with the selected labels at this time.