Skip to main content
Skip table of contents

Use Shelly Plus 2PM and Add-on with a wind sensor to retract your motorized awning in high winds

Read before use

This document contains important technical and safety information about the device, its safety use and installation.

⚠ ATTENTION! Before beginning the installation, please read carefully and entirely this guide and any other documents accompanying the device. Failure to follow the installation procedures could lead to malfunction, danger to your health and life, violation of the law or refusal of legal and/or commercial guarantee (if any). Shelly Europe Ltd is not responsible for any loss or damage in case of incorrect installation or improper operation of this device due to failure of following the user and safety instructions in this guide.

Use case

This guide describes an example of how to use Shelly Plus 2PM and Plus Add-on with a wind sensor to automatically retract your motorized awning and protect it in harsh weather conditions. The installation guide includes the following Shelly products:

You can connect and use any anemometer with an analog output in the range of 0 to 10 V that is commercially available on the market.


  • A retractable awning with a motor with power supply 110 - 240 VAC and end switches.

  • 2.4 GHz Wi-Fi network.


⚠WARNING! Danger of electrocution. Mounting/installation of the Device to the power grid has to be performed with caution, by a qualified electrician!

⚠WARNING! Danger of electrocution. Every change in the connections has to be done after ensuring there is no voltage present at the Device terminals!

⚠CAUTION! Use the Device only with a power grid and appliances which comply with all applicable regulations. A short circuit in the power grid or any appliance connected to the Device may damage the Device!

⚠CAUTION! Тhe Device may be connected to and may control electric circuits and appliances only if they comply with the respective standards and safety norms!

⚠CAUTION! Do not connect the Device to appliances exceeding the given max load!

⚠CAUTION! Connect the Device only in the way shown in these instructions. Any other method could cause damage and/or injury!

⚠CAUTION! Do not install the device where it can get wet!

⚠CAUTION! Do not use the Device if it has been damaged!

⚠CAUTION! Do not attempt to service or repair the Device yourself!


Shelly Plus Addon is intended to be attached to a Shelly Plus device (currently Shelly Plus 1, Shelly Plus 1PM, Shelly Plus 2PM, Shelly i4, and Shelly i4DC).

⚠CAUTION! If you are installing the Shelly Plus Add-on to a Shelly Plus 2PM that is already connected to the power grid, check that the breakers are turned off and there is no voltage on the terminals of the Shelly Plus 2PM device you are attaching the Shelly Plus Add-on to. This can be done with a phase tester or multimeter. When you are sure that there is no voltage, you can proceed to installing the Shelly Plus Add-on.

  • Attach the Shelly Plus Add-on to the Shelly Plus 2PM as shown below.

Attaching Shelly Plus Add-on to a Shelly Plus device

Attaching Shelly Plus Add-on to a Shelly Plus 2PM device

⚠CAUTION! Be very careful not to bend the Device header pins (C) when inserting them to the Shelly Plus device header connector (D).
Make sure the brackets (A) lock on the Shelly Plus device hooks (B) and then proceed to the Device wiring.


  1. Connect the wind speed sensor to Shelly Plus Add-on according to the schematic below.

  2. Connect the OUT wire to the Device ANALOG IN input.

  3. Connect the sensor GND wire to the sensor power supply ground and the Device GND terminal.

  4. Connect the + wire to the sensor power supply VCC wire.

  1. Connect the awning motor to Shelly Plus 2PM and Shelly Wall Switch 2 according to the schematic below.

⚠ CAUTION: For inductive appliances that cause voltage spikes during switching on/off, such as electrical motors, fans, vacuum cleaners, and similar ones, an RC snubber (0.1µF / 100 Ω / 1/2 W / 600 VAC) should be connected in parallel with the appliance. The RC snubber can be purchased at

  • O1 corresponds to Opening.

  • O2 corresponds to Closing.

You can choose a configuration of button/switch options according to your preference. For the purpose of this installation guide we recommend using the switch configuration g).

Add the Shelly Plus Add-on peripheral to the Shelly Plus 2PM device

  1. Connect to the Shelly Plus 2PM and type in your browser to access its embedded Web Interface.

Make sure that the Device is up-to-date with the latest firmware version. To check for updates, go to Settings > Firmware. To install the updates, connect the Device to your local Wi-Fi network. For more details, see Web interface guides.

  1. In the main menu, select Add-on and then, Enable Add-on.

  2. To complete the process, select Reboot now.

  3. To add the Device inputs, select Add Peripheral.

  4. Select Voltmeter, then Save settings.

  5. To use the analog input, select Reboot now. The Voltmeter appears in the list of inputs.

  6. In the Input menu, select Settings.

  7. Type a name of the input, for example Wind. Than, Save settings.

  8. Set Delta threshold for the input, which can be from 0.1 to 5 V.

The Delta Threshold acts as a sensitivity setting. It sets a limit for what change in wind speed is considered significant enough to report.

  1. Select Save settings, then reboot the Device once again.

If the add-on peripheral is successfully installed, in the list of inputs you should be able to see the analog input signal from the wind sensor in voltage.

Set the Device profile to Cover mode

  1. Go to Settings > Device profile.

  2. Select Cover, then Save settings. A confirmation dialog appears to reboot the Device.

  3. Select OK to proceed and complete the process.

Before you continue, make sure to properly calibrate the cover position control. To calibrate the cover position, follow the calibration procedure in the Shelly Plus 2PM - Cover Mode.

Create an Action to detract awning based on specific wind conditions detected by the sensor

  1. To add a new action, select Add-on in the main menu and then the analog input field.

  2. In the input menu, select Actions > Create new action.

  1. Type an Action name, for example Retract awning in high winds.

  2. Set an Active time for the action. If no time is specified, the action will always occur.

  3. From the Execute when list, pick Voltmeter state change.

  4. Keep the default 0 value under Repeat when.

  5. From the Condition list, pick Greater then and specify a value threshold above which you wish the action to occur.

To set the right threshold, find a reference wind speed value for the voltage output in the documentation of your wind sensor. For example, 1 V equals wind speed of approximately 10 km/h. Note that wind speed values above 30 km/h can pose a risk of damage to most standard residential awnings.

  1. From the Then do list, pick Add local action > Action > Close cover.

Make sure that Close cover action retracts the awning. If it opens the awning:

  • Reconnect the awning motor swapping O1 and O2.

  • Alternatively, go to Home > Settings > Reverse direction and Enable direction reverse.

  1. Save the action.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.