Shelly Plus 2pm Firmware Jun 2026

if (currentLoad1 + currentLoad2 > MAX_CURRENT_CONSUMPTION) { // Shed loads in predefined order if (LOAD_SHEDDING_ORDER == 2) { digitalWrite(load2Pin, LOW); } else { digitalWrite(load1Pin, LOW); } }

// Overcurrent Protection and Automated Load Shedding #define OVERCURRENT_THRESHOLD_LOAD1 10 // 10A threshold for load 1 #define OVERCURRENT_THRESHOLD_LOAD2 5 // 5A threshold for load 2 #define LOAD_SHEDDING_ORDER 2 // shed load 2 before load 1 shelly plus 2pm firmware

The Shelly Plus 2PM firmware is interesting because it sits at a crossroads: with just enough openness for tinkerers, yet powerful enough to run custom open-source firmware. Whether you stay on stock + scripting or jump to ESPHome, the device becomes a building block for smart, energy-aware automation. The firmware will:

The Overcurrent Protection and Automated Load Shedding feature can be implemented through a firmware update for the Shelly Plus 2PM. The firmware will: if (currentLoad1 + currentLoad2 &gt