Shelly Plus 2PM Power Monitoring Switch Module (2PM)
Shelly Plus 2PM

Available from:


Install method:
USB to Serial

GPIO #Component
GPIO00 Led_i 1
GPIO01 None
GPIO02 None
GPIO03 None
GPIO04 Button 1
GPIO05 Switch_n 1
GPIO09 None
GPIO10 None
GPIO12 Relay 2
GPIO13 Relay 1
GPIO14 None
GPIO15 None
GPIO16 None
GPIO17 None
GPIO18 Switch_n 2
GPIO19 None
GPIO20 None
GPIO21 None
GPIO22 None
GPIO23 None
GPIO24 None
GPIO6 None
GPIO7 None
GPIO8 None
GPIO11 None
GPIO32 None
GPIO33 None
GPIO34 None
GPIO35 ADC Temperature
GPIO36 None
GPIO37 None
GPIO38 None
GPIO39 None
Configuration for ESP32
{"NAME":"Shelly Plus 2PM PCB v0.1.9","GPIO":[320,0,0,0,32,192,0,0,225,224,0,0,0,0,193,0,0,0,0,0,0,608,640,3456,0,0,0,0,0,0,0,4736,0,0,0,0],"FLAG":0,"BASE":1,"CMND":"AdcParam1 2,10000,10000,3350"}
{"NAME":"Shelly Plus 2PM PCB v0.1.5","GPIO":[320,0,192,0,0,0,1,1,225,224,0,0,0,0,193,0,0,0,0,0,0,608,3840,32,0,0,0,0,0,640,0,0,3456,4736,0,0],"FLAG":0,"BASE":1,"CMND":"AdcParam1 2,32000,40000,3350"}
Flash only with ESP32-SOLO1 tasmota32solo1... binaries.

For more accurate energy consumption measurements this device requires power monitoring calibration.

Use code BLAKADDER10 when buying from mediarath.de Tasmota category for a 10% discount. Code is valid until end of 2022.

Hardware Versions

There are currently 3 known hardware versions of the Shelly Plus 2PM. The pinout is incompatible between PCB version 0.1.5 and 0.1.9.

  • PCB v0.1.5 with ESP32-U4WDH (Single core, 160MHz, 4MB embedded flash) Sold pre 2022
  • PCB v0.1.9 with ESP32-U4WDH (Single core, 160MHz, 4MB embedded flash) Sold first half of 2022
  • PCB v0.1.9 with ESP32-U4WDH (Dual core, 240MHz, 4MB embedded flash) Sold since 2022-09-20 (or earlier)

The PCB version can be found printed on the PCB.

4 units bought directly from Shelly 2022-09-20 where confirmed to be PCB v0.1.9 with 3 units being dual core ESP32-U4WDH, the last a single core. Both single core and dual core works with solo1 firmware

The internal temperature sensor on PCB v0.1.9 was desoldered and measured to be 10k fixed resistor to VCC in series with a 10k@25C NTC to ground. Beta constant is guessed to be 3350.

Serial Pinout

Pin-Layout on the image is for shelly plus 1PM, credit goes to Kalin Dimitrov. The pin ports on this board can handle Dupont cables if done carefully, and will probably crumble shortly thereafter. The other surface connectors seem unusually weakly connected to the PCB, and you may destroy them while using them.