Skip to content

About

Control Somfy RTS blinds over Matter-over-Thread on an ESP32-C6 + CC1101. No MQTT, no cloud, no on-device web server.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

somfy-thread

Control Somfy RTS blinds over Matter-over-Thread — set up entirely from a browser page, no toolchain, no cloud, no app. It's a standard Matter device, so it works with any Matter controller and Thread border router.

somfy-thread browser setup walkthrough
▶ Open the setup page — connect, add your shades, pair Matter. All in the browser.

Open the page in Chrome or Edge, plug the board into USB, and follow the wizard — everything runs locally over Web Serial and nothing is sent anywhere.

  • Board — connects over Web Serial and reads the firmware version; flashes or updates in-page with ESP Web Tools when needed. (Firefox/Safari lack Web Serial — download the .bin and flash with esptool.)
  • Shades — each shade is one motor: name it, run PROG (long-press PROG on the motor's existing remote to pair), and test with Open / Close / My / Stop. Add a shade by cloning a remote the board hears, or PROG-pair a motor with no remote.
  • Matter — get the pairing code and add the device to any Matter controller.
  • Backup — export a JSON backup and import it to restore or migrate.

Each shade exposes its own WindowCovering endpoint with a stable Matter identity; rolling codes are persisted before every transmit, so a reboot never rewinds them.

Test certificate — allow it during pairing. Builds ship an uncertified test/development attestation certificate. In Home Assistant (Matter Server), enable "Enable test-net DCL usage." before pairing. Once somfy-thread has been added successfully, you can turn it off again, but turn it back on before a Matter OTA update: the Matter Server only offers locally imported .ota images while it is enabled. Apple Home and Google Home offer no such override and will refuse the device until the project ships a certified identity.

Hardware

Waveshare ESP32-C6-Zero + E07-M1101D (CC1101, 433 MHz). Full wiring, pin map, and radio notes: hardware & pinout.

Status LED

The board's on-board RGB LED shows where onboarding stands, and any fault after it (first match wins):

LED Meaning
⚪ solid white Radio off — CC1101 not detected at boot; shades can't be driven
🔴 solid red Not paired and the commissioning window is closed — run pair / open it from the setup page
🔵 blinking blue Commissioning window open, waiting for a Matter controller
🟣 blinking violet On the Thread network, no Matter fabric yet
🟡 blinking yellow Paired with Matter but not on the Thread network (border router down or out of range)
🟢 solid green Paired and on Thread — the LED turns off after 5 minutes and comes back as soon as something breaks

Build from source

Needs esp-idf and esp-matter (with submodules). With IDF_PATH and ESP_MATTER_PATH set:

idf.py set-target esp32c6
idf.py build
idf.py -p /dev/cu.usbmodemXXXX flash monitor

The Somfy frame builder has a host self-test with no ESP dependencies:

cc -Imain test/test_somfy_frame.c main/somfy_frame.c -o /tmp/t && /tmp/t

Each release ships a somfy-thread-esp32c6-<version>.bin with a build-provenance attestation: gh attestation verify somfy-thread-esp32c6-<version>.bin --repo lenoxys/somfy-thread.

Scope

Drives Somfy RTS only (433 MHz, OOK, rolling code in the clear). io-homecontrol is out of reach here — different band (868/915 MHz, needs a second radio) and AES-encrypted with no open stack to build on.

Disclaimer

An independent open-source project, not affiliated with, endorsed by, or sponsored by Somfy. Somfy and RTS are trademarks of their respective owner, used here only to describe interoperability.

Credits

Support

Public domain and free — if it saved you a controller, you can sponsor the project. Optional, always appreciated.

License

Released into the public domain under The Unlicense.

About

Control Somfy RTS blinds over Matter-over-Thread on an ESP32-C6 + CC1101. No MQTT, no cloud, no on-device web server.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages