Hi there,
a short introduction to my issue (quite HASS off-topic):
I have a Sonoff RF Bridge device which I successfully flashed with Tasmota (10.0.0) and Portisch firmware. I have sniffed the right 433-codes with the Tasmota console to send my roller shutter up and down (very old device with “jollymotor” remote), which I have already converted to B0 format.
For each action I need to send two rfraw commands. I already read through corresponding topics here, but I still got no solution for the behaviour of my system.
Homeassistant:
I set up an MQTT broker in homeassistant which my RF Bridge can connect to. Additionally I added a configuration to control the shutter:
cover:
- platform: mqtt
name: "Child room shutter left"
icon: mdi:window-shutter
command_topic: "cmnd/rf-bridge/backlog"
payload_close: "rfraw AA B0 58 04 08 0154 0E1A 02DA 39F8 380808080808080808080808182A08282A082828282A0A08282A0A082828282A0A0A0A082A0A0A0A082A082A0A0A08282A0A0A082A0A082A0A0A0A08282A0A0A0A0A0A0A0A0A0A0A0A082A0A0828 55; rfraw AA B0 58 04 08 015E 0E24 02B2 3A66 3808080808080808080808081A08282A082A0A082A0A082A0828282A0A08282A0A0A0A082A0A082A08282A0A0A0A08282A0A0A082A0A082A0A0A0A08282A0A0A0A0A0A0A0A0A0A0A0A082A0A0828 55; rfraw 0"
payload_open: "rfraw AA B0 58 04 08 015E 0E24 02B2 39E4 3808080808080808080808081A0A082A0A082A082A0A082A082828282A0A08282A0A082A0828282A082A08282A0A08282A0A0A082A0A082A0A0A0A08282A0A0A0A0A0A0A0A0A0A0A0A0A082A0828 55; rfraw AA B0 58 04 08 015E 0E24 02E4 39EE 3808080808080808080808081828282A0828282A0828282A08282A0A0A0A082A08282A0A0A0A0A082A0A082A0A0A08282A0A0A082A0A082A0A0A0A08282A0A0A0A0A0A0A0A0A0A0A0A0A082A0828 55; rfraw 0"
As you may notice, I send three commands in total per action (open/close). First the two codes, which my shutter needs to take action and finally the switch off rfraw.
I added the shutter entity to my lovelace and when I press “shutter down” for instance, the console of my RF Bridge shows the following
19:42:44.773 MQT: stat/rf-bridge/RESULT = {"RfRaw":"ON"}
19:42:44.971 MQT: stat/rf-bridge/RESULT = {"RfRaw":"ON"}
19:42:45.221 MQT: stat/rf-bridge/RESULT = {"RfRaw":"OFF"}
and nothing happens.
In different threads I read that the “Backlog” command will provide functionality to send commands in batch, but I am afraid, that I miss anything.
Is there anyone who may help me with that? Perhaps there might be totally different approaches? Or may I add some delay? Would that be possible within this kind of configuration or do I have to head to kind of automation (which I would be totally new to).
Thanks and best!