This project describes a simple way on how to use a Somfy remote control with a Sonoff 4CH Pro.
For this project the Somfy Telis 1 Pure RTS, 1 Channel remote control was used.
3 switches - UP / MY / DOWN
This is how it looks like after putting some shrink-on tube on it.
The Sonoff 4CH Pro has been flashed with Tasmota firmware using SonOTA.
Please see the wiki for known working configurations.
The Somfy remote fits exactly into the Sonoff case and there is still enough space for the cables.
- R1 - unused
- R2 - UP
- R3 - MY
- R4 - DOWN
After flashing Sonoff with Tasmota firmware it is possible to control it using MQTT and therefore easily integrate it into HomeAssistant. There is also a Mosquito broker add-on available for hass.io.
Sample configuration.
mqtt:
broker: IP_ADDRESS
- platform: mqtt
name: SonoffPower1
state_topic: "stat/sonoff4ch/POWER1"
command_topic: "cmnd/sonoff4ch/POWER1"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: SonoffPower2
state_topic: "stat/sonoff4ch/POWER2"
command_topic: "cmnd/sonoff4ch/POWER2"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: SonoffPower3
state_topic: "stat/sonoff4ch/POWER3"
command_topic: "cmnd/sonoff4ch/POWER3"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
- platform: mqtt
name: SonoffPower4
state_topic: "stat/sonoff4ch/POWER4"
command_topic: "cmnd/sonoff4ch/POWER4"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
switch.SonoffPower2:
friendly_name: Somfy Up
icon: mdi:arrow-up
switch.SonoffPower3:
friendly_name: Somfy My
switch.SonoffPower4:
friendly_name: Somfy Down
icon: mdi:arrow-down
somfy:
control: hidden
entities:
- switch.SonoffPower2
- switch.SonoffPower3
- switch.SonoffPower4