ESP Somfy RTS Integration

Hi @rstrouse,

Great work on this project!

I’m encountering an issue and would appreciate your help. I flashed my WT32-ETH01 with the latest SomfyController.onboard.esp32.bin file using ESPHome Web, and I disconnected GPIO 02 as required. The flashing process went smoothly.

However, after removing the serial adapter and trying to boot, the board showed no response. Even the Ethernet LEDs didn’t light up. I know the board is functional because I successfully flashed an ESPHome file on it afterward.

I also tried reading the logs via serial but had no success.

Do you have any idea what might be wrong?

I have that device on my desk and it has been working great for months. When you originally flashed the device did you run a jumper from GPIO0 to GND. This puts it into firmware mode to allow the boot loader to be written. You must remove power then boot into the flash mode. After flashing you must then remove power and remove the jumper between GPIO0 and GND.

The start, stop, and favorite (my) positions are stored on the motor. Only the My position can be changed by the software.

Yes, I did it.

The process should be the same as flashing ESPHome onto it. However, the ESPHome .bin file works, while the RTS one doesn’t.

When you flashed did you ignore the Prepare for first use button and go straight to the install? Also, do not activate the PHY by having the network cable plugged in when initially flashing. I have flashed several of these and yes sometimes they are stubborn. Disconnect the network cable and the radio then flash the device.

Also make sure you downloaded the SomfyController.onboard.esp32.zip file then extract the SomfyController.onboard.esp32.bin file from the archive. Do not just rename it to .bin.

Got it! I believe the issue was with the USB-TTL cables. RTS need to be jumpered to GND as wall. Now, I’ll connect the radio and test it. Thanks!

hi,
i succeeded to build it, put the bin file and i also can see the transvers logs but when i do the pairing and press the prog at the screen it does not jogs, when am i missing ?

hi,
i succeeded to make it work but it disconnect my remote ???
why

I assume you used the same address as your remote in the ESPSomfy Integration?

I love this integration for Somfy motors, is there any way to use it for a normal, fixed-code RF 433?

@rafareusch unfortunately the protocols are not compatible at least on the receiver side.

I have a ESP32 S3 Zero and CC1101 and I do NOT get " RADIO NOT INITIALIZED", but I cannot see any of the remotes. The SCAN and LOGS are blank. I’ve tried tuning the receiver but at a loss as to what to try next. Thanks for any assistance. (Somfy 5 RTS PURE II.)

This is most likely due to wiring. Your remote is compatible with the solution. Please go through each of the pins you connected then make sure the radio configuration is set as you have wired it.

Hi thank you for the integration, it is working perfectly; i have only a question, at the moment ha can only know if a shade is opened or closed if i control it by ha but if i use the remote the status in ha is “outdated” is it possible to update the status (open/close) in HA also if i control the shade by pressing a button in the remote?

Yes. See

The remote address from the esp and the physicsl remote had to be different.

I built an ESP Somfy RTS, but I have an issue. I don’t have shutters, but a pergola without state feedback.

My button configuration corresponds to the following:

  • Option 1:
    • Up: Open the pergola.
    • My: Set the pergola to the preferred position.
    • Down: Close the pergola.
  • Option 2:
    • Up: Turn on the light at full power.
    • My: Turn on the light at half power.
    • Down: Turn off the light.

As a result, when ESP Somfy RTS considers that my “shutter” is down, it doesn’t allow me to perform a “My” command.

My question is whether I can completely remove state management and simply send the Up / My / Down commands directly without restriction ?

Did you try the remote under Settings → Somfy → Remote?
But probably your device is not fully supprted and therefore you need to request it on github.

All work. Just I would like to can send without restriction of state.

I have everything configured but I cannot pair. After putting the remote in learn mode and the shade jog, I press PROG and nothing happens. I also can hold it and nothing. This happens with all 6 blinds.

I built a second transceiver and fully configured it to ‘listen’ to the first. The second device sees all of the commands from the remote, but the 1st device NEVER transmits anything to the blinds. If I reverse it and have the 1st device ‘listen’, the send second device never transmits. Wiring is confirmed to be correct. Any ideas?

Double check the wire connected to pin3 on the transceiver. Then verify that the TX pin that is connected is set in the TX drop-down in the configuration.