Hello to everyone,
sorry for my english, I’m from Italy.
I’m trying to configure Hassio to control my blinds through Sonoff bridge tasmoted (6.2.1) with a check RF relé 2ch 220v.
It works like buttons/switch also with cover template
a swtich to open:
- platform: mqtt
name: “Aprire Serranda Salone”
value_template: ‘{{ value_json.RfReceived.RfKey }}’
state_topic: “tele/sonoff_rf/RESULT”
command_topic: “cmnd/sonoff_rf/Rfkey1”
payload_on: “Learned sent”
payload_off: “0”
retain: false
a switch to close:
- platform: mqtt
name: “Chiudere Serranda Salone”
value_template: ‘{{ value_json.RfReceived.RfKey }}’
state_topic: “tele/sonoff_rf/RESULT”
command_topic: “cmnd/sonoff_rf/Rfkey2”
payload_on: “Learned sent”
payload_off: “0”
retain: false
cover panel:
- platform: command_line
covers:
salone:
friendly_name: “Serranda Salone”
command_open: “curl -X POST http:// xx.xx.xx.xx/cm?cmnd=RfKey1 && sleep 25 && curl -X POST http:// xx.xx.xx.xx/cm?cmnd=RfKey1”
command_close: “curl -X POST http:// xx.xx.xx.xx/cm?cmnd=RfKey2 && sleep 22 && curl -X POST http:// xx.xx.xx.xx/cm?cmnd=RfKey2”`
(i can’t copy with the right space, sorry)
about the cover:
to open: 1 click start the motor, 25 seconds to open, another click to stop the motor
to close: 1 click start the motor, 22 seconds to close, another click to stop the motor
I’m a newbe, I try so find a solution but no one use a bridge RF with a blinds motor.
I would like to control better the blinds with the slide (control how much close the blind) and ask to Alexa: “close 50% the living blind”
give me a shout if you can help me
Thanks!