Skip to content

iMarkus/Sonoff-Somfy-HomeAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sonoff-Somfy-HomeAssistant

This project describes a simple way on how to use a Somfy remote control with a Sonoff 4CH Pro.

Somfy Telis 1

For this project the Somfy Telis 1 Pure RTS, 1 Channel remote control was used.

Soldering

3 switches - UP / MY / DOWN

This is how it looks like after putting some shrink-on tube on it.

Sonoff 4CH Pro

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

MQTT

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.

HomeAssistant

Sample configuration.

configuration.yaml

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

customize.yaml

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

groups.yaml

somfy:
  control: hidden
  entities:    
    - switch.SonoffPower2
    - switch.SonoffPower3
    - switch.SonoffPower4

About

A simple way to control a a Somfy remote using Sonoff 4ch Pro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages