0
Wiring and technical diagrams

Connecting a Shelly Plus 2PM to a two-way switch

November 24, 20221 min read

Previous model. This guide was written for the Shelly Plus 2PM, which has been replaced by the Shelly 2PM Gen4. The wiring is the same, and the settings are in the same places in the Shelly Smart Control app. The diagram below is already drawn for the new model. Go to the Shelly 2PM Gen4 →

Wiring diagram

שרטוט חיבור Shelly 2PM Gen4 לתאורה עם מתג מחליף: פאזה למשותף של מחליף 1, המשותף של מחליף 2 ל-S1, גוף התאורה ב-O1

Open the diagram full size

The previous diagram from the original guideShelly Plus 2PM wiring diagram with a two-way switch

Legend

  • Setup:
  • Settings: in the app, tap the device you want to configure > Settings > Settings:
  • All done 🙂

Settings in the app

1

Mode: choose Relay.

2

Power On Default Mode: choose Restore Last Mode.

3

Button Type: choose Edge Switch.

How to choose "Edge" in the new app, with screenshots: The full guide →

Need help with installation or setup?
Ask us, book an electrician who knows Shelly devices, or plan your home for free.

More articles

All articles →
November 17, 2026מתכנן בית חכם: איך מתכננים את הבית ומקבלים הצעות מחיר מחשמלאיםאיך משתמשים במתכנן הבית החכם של OZZI בכ-2 דקות, ואיך מקבלים הצעות מחיר מחשמלאים מוסמכים להתקנה. מדריך עם צילומי מסך, בחינם ובלי התחייבות.Read →November 11, 2026Shelly and Matter: which devices support it and how to connect to each systemWhat Matter is and how to connect Shelly devices: which models support it (Gen4 and Gen3), enabling it, where to find the code, connecting to Apple…Read →November 11, 2026Connecting Shelly to Home Assistant: built-in integration, Matter or ZigbeeHow to connect Shelly devices to Home Assistant: the local built-in integration, Matter, or Zigbee through ZHA and Zigbee2MQTT on Gen4 devices. A comparison, which route…Read →