Living room at dusk with a roller blind half lowered over the window

Open and close the blinds from a wall switch

How it works

A Shelly 2PM Gen4 goes behind the blind's existing up and down switch and drives the motor in cover mode. The switch keeps working through the Shelly's two inputs, and the Shelly app gets Open and Close buttons for the same blind.

Want a second switch, by the bed or at the door? A Shelly i4 Gen3 behind a push button sends the blind its commands over your Wi-Fi: a push to open, a long push to close and a double push to stop. There's no cable to run to the blind.

  1. Shelly app main controls for a cover named Living room blind, with Open and Close buttons. 01

    Your phone

    Open, close or stop the blinds from anywhere.

  2. 2PM Gen4 Smart Relay 02

    Your switch

    The Shelly behind the wall switch carries each press to the blinds, and the switch keeps working.

  3. 03

    Your blinds

    Open in the morning, closed at night, from the wall or your phone.

What it looks like on your phone

  • Open and Close. The blind's main screen runs it from anywhere, alongside the wall switch.

  • Every move. The activity log lists each time the blind opened, closed or stopped.

Step by step

How you'll set it up

Add the device to Wi-Fi from your phone, or straight from a browser.

  1. Check the motor's limits

    Run the blind, shutter or awning fully open and fully closed with its existing switch or remote and make sure it stops by itself at both ends. The Shelly relies on those limits, so set them before it goes in.

  2. Fit the Shelly behind the switch

    Mains goes to L and N. One motor winding goes to O1, the other to O2, and the motor's common returns to neutral. The up and down buttons connect to S1 and S2.

    Wire map 2PM Gen4
    • Active (supply) L
    • Neutral and motor common N
    • Motor winding O1
    • Other motor winding O2
    • Open button (optional) S1
    • Close button (optional) S2
    Circuit overview
    LN230 V~ 50 HzM1Motor2Open button3Close buttonO1LLO2S1S2NShelly 2PM Gen4
    1Motor2Open button3Close button
    Active (supply)Neutral / 0 VSwitched loadSwitch signal / dry contact

    In Australia, fixed 230 V wiring is licensed-electrician work. Use these diagrams to plan the job and brief your electrician.

    Showing the whole circuit

    Shelly 2PM Gen4

    100%
    LN230 V~ 50 HzM1Motor2Open button3Close buttonO1LLO2S1S2NShelly 2PM Gen4
    1Motor2Open button3Close button

    Select a terminal to follow its wiring.

  3. Add the Shelly in the app

    Add the relay in the Shelly Smart Control app and name it after the window, such as Living room blind.

  4. Switch it to cover mode

    Open Device settings, expand Device profile, choose cover and tap Save. The main screen now shows Open and Close buttons, and the Shelly needs calibrating before it can set a position. In the web interface, open Settings, choose Cover under Device profile and click Save settings.

  5. Calibrate the motor

    Clear anything in the cover's path. In Device settings, expand Calibration and tap Start calibration. The Shelly runs the motor to both ends and learns how long it takes. If it opens when you tap Close, turn on Reverse directions and calibrate again. In the web interface, open the cover's settings and click Start beside Calibration.

  6. Check the switch and the app

    Press the wall switch's up and down buttons: the blind runs and stops at each end. The main screen's Open and Close buttons do the same, from anywhere.

Optional: a second switch for the blinds

A Shelly i4 behind a push button anywhere in the room runs the same blind. It talks to the 2PM over your home Wi-Fi, so it keeps working without the internet, and one action can run up to five blinds.

  1. Fit the i4 behind the second button

    Live goes to L and neutral to N. The push button takes live on one side and connects to an input such as SW2 on the other.

  2. Set the input to Button

    Add the i4 in the Shelly app and open the input you wired, such as Blinds button. In its Settings, open Input settings, choose Button and tap Save.

  3. Open the blind with a push

    Open Actions and tap Add action. Name it Open blinds and tap Next twice. Under When, tap Button is pushed, then Next. Tap Add action from another device, pick the blind and tap Next, then choose Open Cover and tap Save, then Save again.

  4. Close it with a long push, stop it with a double push

    Add an action named Close blinds on Button is long pushed with Close Cover, and one named Stop blinds on Button is double pushed with Stop Cover.

  • Three actions, one button. A push opens the blind, a long push closes it and a double push stops it.

Frequently asked questions

Should I use the Shelly app or Home Assistant?

If you don't run Home Assistant, use the Shelly app: no hub, and a second switch works without the internet. If Home Assistant already runs your home, add the blind there so it sits with your other automations.

Do I need the i4?

Not for a wired motor next to its switch: that switch wires straight into the Shelly 2PM. You need it for a second switch elsewhere, one button for several blinds, or a wall switch for blinds that are already in Home Assistant through their own hub.

Will it work with my blind?

The Shelly 2PM suits a mains-powered blind, shutter or awning motor with separate up and down wires and its own limit switches. If your blinds are battery or radio motors on their own hub, and that hub is in Home Assistant, choose Blinds already in Home Assistant: an i4 gives them a wall switch.

Does the blind's own switch still work?

Yes. It connects to the Shelly's two inputs, so up and down work as before, alongside the app.

Does it work if the internet drops out?

Yes. The switch is wired to the Shelly, and the i4 sends its commands straight to it over your home Wi-Fi. Control from outside the house needs the internet.

Does it work while Home Assistant is down?

No. The buttons run Home Assistant automations, so they wait until it's back. The blinds' own remote or app still works.

Which blinds does this work with?

Any motorised blinds that Home Assistant can already open and close, whatever the brand. Check your blinds' hub works with Home Assistant first: the i4 only sends the button presses.

Still need a hand?

We answer most messages within one business day. If your question is about an existing order, have your order number ready. It speeds things up.

Contact us