
ESPSomfy RTS
rdalen/myESPSomfyRTS
A DIY controller to operate my SunRain shade, based on the open-source ESPSomfyRTS software

A DIY controller to operate my SunRain shade, based on the open-source ESPSomfyRTS software
Panel ESPSomfy RTS is an open-source printed circuit board by rdalen, from the rdalen/myESPSomfyRTS repository on GitHub. It is a 2-layer board of 100 × 100 mm with 280 parts on 184 nets, routed with 496 tracks and 24 vias.
It is built around the CC1101RGP. Its parts include 16 ICs, 8 capacitors, 8 resistors and 8 diodes. It belongs with the ESP32 boards of this library.
A DIY Somfy RTS controller for my SunRain Awning/Shade, based on the open-source ESPSomfyRTS project.
The controller uses an ESP32 together with a CC1101 433 MHz RF transceiver and integrates with my Home Assistant and Node-RED setup.
Architecture diagram
For the firmware, general wiring information and ESPSomfyRTS documentation, see the official ESPSomfyRTS project.
An instruction video is available on YouTube.
This repository contains the files specific to my implementation:
The ESP32 firmware itself is based on the ESPSomfyRTS project.
My version of the CC1101-based module (E07-M1101D-SMA) exposes only a single GDO line, while ESPSomfyRTS is often configured with separate RX and TX signal pins.
By assigning both RX and TX to the same GPIO, ESPSomfyRTS can use the single GDO line for both receiving and transmitting.
The GPIO configuration with the Seeed Studio XIAO ESP32-S3 is:
Pin connections between the CC1101 module and the XIAO ESP32-S3:
| CC1101 Pin | Description | ESP Signal | ESP Pin |
|---|---|---|---|
| 1 | GND | GND | 13 |
| 2 | VCC | 3V3 | 12 |
| 3 | GDO0 - RX/TX | GPIO 03 | 3 |
| 4 | CSN | GPIO 06 | 6 |
| 5 | SCK | GPIO 07 | 9 |
| 6 | MOSI | GPIO 09 | 11 |
| 7 | MISO | GPIO 08 | 10 |
| 8 | Not connected |
Here is the corresponding ESPSomfyRTS radio configuration:
I designed a small custom PCB for the controller.
The complete KiCad project is available in the KiCad folder.
Before ordering, I panelized the PCB design so I have several boards available for experimenting with and sharing.
Finally, I "Boxified" an enclosure for the controller using my Boxify Parametric Electronics Enclosure Framework.
See also my Boxify Instructable.
The enclosure was then 3D printed.
The STL files are available in the Enclosure folder of this repository, so you can print your own enclosure without having to generate the models yourself.
The folder contains the STL files for the box base, lid, adapter plate, and text labels.
The Somfy motor does not provide a motor-running feedback signal.
I therefore derive the motor-running state from a HomeWizard Energy Socket. The motor uses approximately 200 W while running, making it possible to detect whether the motor is active.
For controlling and monitoring the shade I created a Node-RED dashboard.
The complete Node-RED flow is available in the nodeRed folder.
The dashboard allows me to:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 224 | NPTH | NPTH | KiKit_MB_10_2, KiKit_MB_10_3, KiKit_MB_10_4, KiKit_MB_10_5, KiKit_MB_10_6, KiKit_MB_10_7, KiKit_MB_10_8, KiKit_MB_11_2, KiKit_MB_11_3, KiKit_MB_11_4, KiKit_MB_11_5, KiKit_MB_11_6, KiKit_MB_11_7, KiKit_MB_11_8, KiKit_MB_12_2, KiKit_MB_12_3 +208 |
| 8 | 100n | 01-myFootprints:C-Common-THT-P5.08mm | C1, C1, C1, C1, C1, C1, C1, C1 |
| 8 | 1k | 01-myFootprints:R-Common-THT-P10.16mm | R1, R1, R1, R1, R1, R1, R1, R1 |
| 8 | CC1101 | 01-myFootprints:MOD-CC1101 | U2, U2, U2, U2, U2, U2, U2, U2 |
| 8 | ESP32-S3 Xiao | 01-myFootprints:MOD-ESP32-S3-XIAO-DIP | U1, U1, U1, U1, U1, U1, U1, U1 |
| 8 | LED | 01-myFootprints:LED-D3.0mm | D1, D1, D1, D1, D1, D1, D1, D1 |
| 8 | Logo-RvD | 01-myFootprints:LOGO-RvD-inverted-small | Logo1, Logo1, Logo1, Logo1, Logo1, Logo1, Logo1, Logo1 |
| 8 | Logo-TechDen | 01-myFootprints:LOGO-TechDen-inverted | Logo2, Logo2, Logo2, Logo2, Logo2, Logo2, Logo2, Logo2 |

rdalen/myESPSomfyRTS
A DIY controller to operate my SunRain shade, based on the open-source ESPSomfyRTS software

Rodemfr/MicronetToNMEA
A NMEA 0183 converter for Raymarine's wireless instruments ... and much more !


jp112sdl/HB-Dis-EP-42BW
4.2" ePaper Display mit 10 Tasterkanälen für Homematic

OnionDAO-git/oniondao-badge
An open-source, hacker-conference-style electronic badge built around the ESP32-S3-WROOM-1-N8R8 (8 MB flash + 8 MB Octal PSRAM), with swappable RF / audio / storage modules, an e-paper (or TFT) display socket, a secure…




bnahill/wireless_logger
A compact wireless inertial logging and processing hardware platform
It measures 100 × 100 mm and has 2 copper layers, 1.6 mm thick.
280 parts, built around the CC1101RGP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the rdalen/myESPSomfyRTS repository on GitHub, at the commit this page was made from: the board is KiCad/ESPSomfyRTS-Panel/Panel_ESPSomfy RTS.kicad_pcb and its schematic KiCad/ESPSomfy RTS.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask rdalen before reusing the design.