DIY Motorize Curtain Somfy Control Using Esp8266 MQTT Protocol
Datasheet Motorize Curtain
List Item
- Esp8266 (Wemos D1 Mini)
- Optocoupler PC817
- Power Module Hi-Link 220VAC to 5VDC
- Resistor 1k 1/4 Watt
- Terminal Screw 2 Pin Hole
- Open Curtain
- Close Curtain
- Stop Curtain
Under covers in HA, use this config Motorize Curtain Control
- platform: mqtt
name: "Curtain Living Room"
command_topic: "home/curtain/livingroom"
state_topic: "home/curtain/state"
qos: 0
retain: true
payload_open: "u"
payload_close: "d"
payload_stop: "s"
state_open: "open"
state_opening: "opening"
state_closed: "closed"
state_closing: "closing"
optimistic: false
Under covers in HA, use this config MQTT
mqtt:
broker: "Your IP Broker/server"
port: Your port MQTT
username: "Your username"
password: Your password