Somfy remote control emulator connected to MQTT
Branch: master
Clone or download
Pull request Compare This branch is 11 commits ahead, 1 commit behind Nickduino:master.
Latest commit c73104c Sep 23, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Add photos and links to hardware Sep 23, 2018
lib Initial commit Aug 19, 2018
src Attempt to reduce power, set hostname Sep 23, 2018
.gitignore Ported to ESP8266 Sep 16, 2018 Formatting readme Sep 23, 2018
platformio.ini Attempt to reduce power, set hostname Sep 23, 2018

Somfy Remote

An ESP32/ESP8266 Arduino program able to emulate a Somfy remote control.

Forked from

If you want to learn more about the Somfy RTS protocol, check out Pushtack.

How the hardware works

Connect a 433.42 Mhz RF transmitter to Pin 23 of the ESP32 (or change the pin in the config file). I ordered 433.42 MHz crystals to replace the one on a 433.92MHz transmitter. A RTL-SDR comes in handy to check the frequency and make sure the transmitter is working.

How the software works

Edit config.h to adapt to your location. You can add or remove remotes to your liking.

The ESP will subscribe to the configured MQTT topics. Watch what is happening on the serial port to make sure it is working.

Programming the blinds:

  1. Press the program button on your actual remote. The blinds will move slightly.
  2. Publish 'p' message on the corresponding MQTT topic. The blinds will move slightly.
  3. Done !

Simply publish these messages on the corresponding topics to control your blinds:

  • u (up)
  • d (down)
  • s (stop, my)

The rolling code value is stored in the EEPROM, so that you don't loose count of your rolling code after a reset. In case you'd like to replace the ESP, write down the current rolling codes which can be read using the serial terminal (and use them as default rolling codes in config.h).

My hardware

The doc folder contains some photos.