Shelly 2PM Gen4 and Gen3 for roller shutters and blinds: wiring, calibration and sunset automation

Electric roller shutters and blinds can do more than go up and down at the press of a button. With a Shelly 2PM Gen4 or Shelly 2PM Gen3 module you control them from your phone, set an exact position in percent and let them close automatically at sunset. The module fits into the wall box behind your existing blind switch, which keeps working, and everything runs over Wi-Fi in the Shelly Smart Control app, with no hub. This guide covers choosing between Gen4 and Gen3, wiring, calibration, automations and how to use the module for two lighting circuits.

In short: what you need to know

  • One module = one motorIn cover mode, a Shelly 2PM controls one motor of a roller shutter, blind, awning or screen. Each window gets its own module.
  • Gen4 or Gen3For covers they do the same things, including slat tilt. Gen4 adds Wi-Fi 6, Zigbee and Matter; Gen3 is cheaper.
  • Calibration = position in %After calibration you can send a shutter to, say, 30 %, and precise scenes and obstacle detection work.
  • Sunset without programmingIn a schedule you pick "sunset" and an offset in minutes. You only need your home location set in the app.

Shelly 2PM Gen4 or Gen3: which to choose

The Shelly 2PM Gen3 is still sold and remains an excellent choice for covers. Both modules have the same size, wiring, energy metering, calibration, venetian slat tilt and obstacle detection. They differ mainly in the wireless part. Data comes from Shelly technical documentation.

Shelly 2PM Gen4 Shelly 2PM Gen3
Cover mode and slat tilt yes yes
Load 10 A per channel, 16 A total 10 A per channel, 16 A total
Wi-Fi Wi-Fi 6 (802.11ax) Wi-Fi 4 (802.11n)
Bluetooth 5.0 4.2
Zigbee and Matter yes no
Gateway for Shelly BLU sensors yes yes
Size 37 × 42 × 16 mm 37 × 42 × 16 mm
Price €29.35 €19.49
  • Choose Gen3 if you only want to control the shutters from your phone and automate them in the Shelly app. You save about €10 per window.
  • Choose Gen4 if you have a newer Wi-Fi 6 router, plan to use Home Assistant via Zigbee or want a module ready for Matter. According to the manufacturer, Gen4 uses the switch profile for Matter by default, so we recommend setting up covers in the Shelly Smart Control app.
  • Choose the Shelly Pro 2PM if you want the modules on a DIN rail in the distribution board and connected by cable over LAN. It suits new builds where motor cables run to the board.

All Shelly lines are compared in our article Shelly Gen3 vs Gen4 vs Pro vs Wave.

What you will need

  • A 230 V shutter motor with limit switches. Almost all common shutter, blind and awning motors have them. Shelly recommends only motors with mechanical or electronic limit switches that are set correctly before the module is connected.
  • A neutral wire (N) in the box. The Shelly 2PM needs both live and neutral. Blind switch boxes usually have N because the motor common wire is connected to it.
  • A deeper wall box (the module measures 37 × 42 × 16 mm) and a blind switch with two buttons or rockers, for example from Blind switches. The module also works without a switch, phone only.
  • 2.4 GHz Wi-Fi at the wall box and the Shelly Smart Control app. No hub or controller is needed.
  • One module per motor. Do not connect two motors to one module. Each window needs its own Shelly 2PM; group control is done with a scene in the app.

Wiring the Shelly 2PM to the shutter motor

A shutter motor usually has four wires: a common neutral (often blue), two live wires for up and down (often brown and black) and a green-yellow earth. The module goes between the supply, the blind switch and the motor:

Shelly 2PM terminal What to connect
L live from the supply
N neutral from the supply and the common (blue) motor wire
O1 motor wire for one direction (e.g. up)
O2 motor wire for the other direction (e.g. down)
S1 "up" button output from the blind switch
S2 "down" button output from the blind switch

The common terminal of the blind switch goes to live (L), so a pressed button feeds live to input S1 or S2. Join the motor earth to the supply earth; it does not go into the module. If the shutter moves the wrong way after wiring, there is no need to swap wires: you can reverse the direction in the app.

Safety: Work only with the circuit breaker off and check there is no voltage on the terminals before wiring. The manufacturer states the module should be installed by a qualified electrician and specifies a type B or C breaker of at most 16 A.

Step-by-step setup in the app

1. Add the module to the app

Switch the breaker on, open Shelly Smart Control and add the device. The module is found via Bluetooth and you connect it to your 2.4 GHz home Wi-Fi. Update the firmware straight away.

2. Switch the profile to cover

In the device settings open Device profile and choose cover instead of switch. The module restarts and schedules and actions set in the switch profile are cleared, so change the profile right at the start.

3. Set the inputs to match your switch

For a two-button blind switch choose dual mode with input type Button: a press starts the shutter, another press stops it. For a rocker switch that stays in position choose type Switch. If you do not want physical control, choose Detached.

4. Check the direction

Press Open in the app. If the shutter goes down, enable Reverse directions. If only the wall buttons are swapped, enable Swap inputs.

5. Run the calibration

Start the calibration and stay by the window. The shutter goes fully open, closes completely, opens again and then repeats this in steps. From the motor power draw the module learns where the end positions are and how long movement takes. Nothing may block the shutter during calibration, because obstacle detection is off.

6. Set up venetian slats

For external venetian blinds enable slat control and enter the time the slats take to turn from fully closed to fully open (0.5 to 30 s). This time is entered manually; calibration does not measure it. A short button press then tilts the slats, a long press moves the whole blind.

7. Enable obstacle detection

In the Safety section enable obstacle detection while closing with the action Stop or Reverse. The power threshold is set automatically during calibration. Leave the power-on action at Stop so the shutter does not start moving by itself after a power cut.

Tip: The position in percent is calculated from travel time. If the shutter only moves between middle positions for a long time, accuracy slowly drifts. Just let it go fully up or down now and then, for example with a morning schedule, and the module realigns.

Closing automatically at sunset

Besides fixed times, Shelly schedules can use sunrise and sunset with an offset. The time is recalculated daily from your location, so in winter the shutters close earlier and in summer later without any edits. The device location must be set in the app.

  1. Down in the evening: open Schedules on the module, add a schedule, pick sunset with an offset of, say, 30 minutes after it and the action Close cover.
  2. Up in the morning: a second schedule at sunrise or a fixed time (later at weekends) with the action Open cover. Opening fully also realigns the position.
  3. Summer shade: a schedule at, for example, 1 pm with the action Move to position 30 % on south and west windows. The room overheats less and it is not completely dark.
  4. All shutters at once: create a scene in the app that closes all modules. Run it with one tap on the phone or as part of a schedule.

Schedules are stored on the module and run by the module itself. One module can hold up to 20 schedules. More shading ideas are in the article Smart shading: keep the sun in your home under control.

Two lighting circuits instead of a shutter

In the switch profile, the Shelly 2PM is a double relay: two independent circuits, each up to 10 A (16 A total), each with its own energy metering. It fits behind a double switch, for example for living room and hallway lights, or a bathroom fan and light. Each circuit has its own schedules and can still be controlled by the original switch on inputs S1 and S2.

If you only need one circuit, the Shelly 1PM Gen4 is enough. If you switch a light from two places, see the guide How to wire a two-way staircase switch, which also covers wiring with a smart module.

Do you have a Z-Wave hub?

If you already have a Z-Wave controller at home (for example Homey or Yubii), you can control the shutters through it. Shelly Wave modules cannot be used without a Z-Wave hub and are set up in your hub's app, not in Shelly Smart Control. For a home without a hub, the Wi-Fi Shelly 2PM is simpler.

Ready-made kits with prices

Flat: 3 shutters

Three windows, each with its own module. Sunset schedules and an "all down" scene in the Shelly app.

Total €58.47
Living room: 2 blinds Gen4

Two external blinds with slat tilt, Wi-Fi 6 and Zigbee or Matter options for the future.

Total €58.70
Shutters and light

Two shutters and a light in one room, all in one app. The light can switch on when the shutters close.

Total €59.97

All kits run in one app, Shelly Smart Control, over Wi-Fi with no hub. More modules are in the category Relays and switch modules.

Troubleshooting

  • Calibration fails. The shutter must travel the full way up and down from the app. If it stops early, increase the maximum open and close time. If it reaches the end but calibration still fails, raise the power threshold below which the module considers the motor stopped.
  • The shutter goes the wrong way. Enable Reverse directions in the settings. If only the wall buttons are swapped, enable Swap inputs.
  • After a power cut, position in % does not work. The module may have lost its current position. Calibration is kept; just open or close the shutter fully once.
  • The wall button does nothing or the shutter stops immediately. The input type must match the switch: Button for push buttons, Switch for rockers that stay in position. Check that the switch common terminal is on live.
  • The shutter stops by itself midway. Obstacle detection kicked in. Check that nothing is slowing the shutter (ice, the guide rail). If it keeps happening for no reason, run calibration again to set a new threshold.
  • The sunset schedule does not run. Check that the device has its location and time zone set and that the module time is correct.

Frequently asked questions

Can the Shelly 2PM Gen4 be used for roller shutters?

Yes. In cover mode it controls one motor of a roller shutter, blind, awning or screen, supports position in percent after calibration and slat tilt for external venetian blinds.

What is the difference between the Shelly 2PM Gen3 and Gen4?

For covers they have the same features, load rating and size. Gen4 has Wi-Fi 6, Bluetooth 5.0, Zigbee and Matter support; Gen3 has Wi-Fi 4 and Bluetooth 4.2 and is cheaper.

Do I need a hub for the Shelly 2PM?

No. The Shelly 2PM connects directly to 2.4 GHz Wi-Fi and is controlled in the Shelly Smart Control app.

Can I connect two shutters to one Shelly 2PM?

No. In cover mode one module controls one motor. Give each shutter its own module and use a scene in the app for group control.

Does the Shelly 2PM need a neutral wire?

Yes. The module is powered from live and neutral. Blind switch boxes usually have neutral because the motor common wire is connected to it.

Will my existing blind switch keep working?

Yes. The switch connects to inputs S1 and S2, so you control the shutter both from the phone and the wall.

How do I set shutters to close at sunset?

Create a schedule on the module, pick sunset with an offset (for example +30 minutes) and the action Close cover. The device location must be set.

Why does the shutter need calibrating?

Without calibration the module can only open, close and stop. After calibration it knows the travel time and you can set an exact position in percent.

Does the Shelly 2PM work with external venetian blinds?

Yes, both Gen3 and Gen4 support slat tilt. You enter the slat rotation time manually in the venetian blind settings.

Where are the shutter schedules stored?

On the module itself, which runs them on its own. For the correct time and sunset calculation, the module needs its time, time zone and location set.

Shutters that close by themselves

A Shelly 2PM behind each blind switch, a calibration and two schedules for sunset and sunrise. No hub, all in one app.

See relays and modules