Canonical: https://domosenso.org/how-to/automate-old-awnings/

# Automate old awnings

Awnings with a Somfy remote can retract at sunset and watch the wind sensor without rewiring. Wall-button motors are coming soon.

Updated: 2026-10-29

If your awnings already open and close with a Somfy remote, you can automate them without
touching the awnings or the wiring: a small radio node learns to speak to them as one more remote,
and Home Assistant then retracts them at sunset and shows them on your phone and wall tablet. Your
old remote keeps working.

Look at your remote first: the label on the back or in the battery compartment usually says RTS
or io. RTS is the older one-way radio this guide covers; Somfy io is a different radio, not
supported yet. Awnings run by buttons in the wall need a relay behind the switch; that branch
waits for the Shelly component ([issue #74](https://github.com/zerostorypoints/domosenso/issues/74)).

## A motor with a Somfy RTS remote

**What to buy**

- One [M5Stack Atom Lite](https://domosenso.org/devices/m5stack-atom-lite/), about €8–15.
- One [CC1101 radio module](https://domosenso.org/devices/cc1101/) (tested: Ebyte E07-M1101D) with a 433 MHz antenna,
  about €5–10.
- A USB power supply for the node.
- An MQTT broker, such as Mosquitto, if your Home Assistant does not have one yet. The node and the
  frame bridge (below) publish to it. It costs nothing; it runs as a container or an add-on.

**Wiring.** Nothing at the awning. The radio module connects to the Atom with eight short wires;
the [CC1101 guide](https://domosenso.org/devices/cc1101/) has the diagram and the pin table. The module runs on 3.3 V,
never 5 V, and the antenna goes on before the node transmits.

**What your agent does, and what you do.** The agent adds the [awnings component](https://domosenso.org/components/awnings/)
to your home, prepares the flashing commands and the node's settings, and puts the awnings on your
staging Home Assistant. It also copies the frame bridge into your home project: a small service
that runs as a container next to the MQTT broker, on a computer that runs Docker. You flash the
node over USB, join its Wi-Fi from your phone once, and pair the awnings. On the Docker host you
fill in the bridge's settings file (the node's address, the broker and the wind sensor's address)
and start it. Nothing reaches your real Home Assistant until you say so.

The bridge carries every radio frame the node hears to Home Assistant. Without it, the wind-sensor
watch does not work and the awnings' positions are lost when Home Assistant restarts.

**What you get**

- Each awning as a cover in Home Assistant, with open, stop and close on your phone and on the
  [Ramka](https://domosenso.org/components/ramka/) wall tablet.
- At sunset, every awning that is not closed retracts by itself.
- If your awnings have a Somfy wind sensor, its reports are watched through the frame bridge, and
  you get an alert if it goes silent. The awnings still retract on wind by themselves, as before.
- Home Assistant follows the old remote too: when someone uses it, the positions update.

**Hints from real installations**

- Pair one awning at a time: hold PROG on a remote that already works for that awning, then pair
  the node's virtual remote. Name each awning as you go, before you pair the next one.
- Somfy RTS only sends, it never answers. Home Assistant knows what it sent, not where the awning
  is, and estimates the position from travel time. Time each awning's full extend and retract once
  and enter it on the node; the default of 10 seconds is wrong for most awnings.
- The node may hear the wind sensor only part of the time. On one installation the sensor was
  heard only intermittently, and the "sensor silent" alert had to be relaxed to 72 hours to stop
  false alarms. Place the node, or its antenna, with a clear line to the awnings and the sensor.
- The node prints your Wi-Fi password in its start-up log. Never paste that log into a chat or an
  issue.
- Reserve the node's address in your router so it comes back after a power cut.

## Situations

### A motor with a Somfy RTS remote

- Needs: A small radio node: an M5Stack Atom Lite with a CC1101 radio module running ESPSomfy-RTS, which pairs with each awning as one more remote, and an MQTT broker such as Mosquitto.
- Wiring: None at the awning. Eight short wires between the radio module and the Atom, on the desk.
- Supported: Yes

Prompt for your coding agent:

```
Add the awnings component to my home, prepare the radio node for my Somfy RTS awnings (I will flash it myself) and the frame bridge for my Docker host, and stop before production so I can check it on staging.
```

### A motor with buttons in the wall

- Needs: A Shelly 2PM behind the wall switch; the buttons keep working.
- Wiring: Mains, by an electrician.
- Supported: Coming soon

Issue: https://github.com/zerostorypoints/domosenso/issues/74

### A Somfy io motor (a two-way remote)

- Needs: Somfy io is a different radio from RTS; the RTS node cannot drive it.
- Wiring: —
- Supported: No

### No motor (a crank or a strap)

- Needs: An awning cannot be automated without a motor. Fitting one is a job for an awning installer.
- Wiring: —
- Supported: No

## Components

- [Awnings](https://domosenso.org/components/awnings/index.md)

## Hardware

- [M5Stack Atom Lite](https://domosenso.org/devices/m5stack-atom-lite/index.md)
- [CC1101 radio module](https://domosenso.org/devices/cc1101/index.md)

## Sources

- https://github.com/zerostorypoints/domosenso/tree/df34993199025856eeac590f959ae54e2a02cd62/components/awnings
