I’m really not proficient at any of this so please bear with me…
I have flashed ESPHome to my RFB. It is working well with other 433 devices. So all of that is good.
I’m now trying to control a winch using a cheap 433 4-ch relay board. The winch works fine using the relay board remotes. However, the relays only stay on so long as I press and hold the remote button.
There is an option for “self-locking” where a single pulse turns on the winch, and second pulse turns it off. That is ideal in theory, but the RFB sometimes stutters, sending what amounts to a double burst, or a delayed burst. That confuses the relay board. I’m adding a limit switch to the winch just in case the contoler overdrives the winch.
So, ultimately what I’m after is a way to mimic the original remote configuration - while pulse is transmitted, winch operates. When button is released, pulse stops and winch stops.
This is the code I’m using right now on the RFB:
- platform: template
name: Trap door up
turn_on_action:
remote_transmitter.transmit_rc_switch_raw:
code: '100011001100011110100001'# Winch in/up
protocol: 1
repeat:
times: 15
wait_time: 0ms
- platform: template
name: Trap door down
turn_on_action:
remote_transmitter.transmit_rc_switch_raw:
code: '100011001100011110100010'# winch out/down
protocol: 1
repeat:
times: 15
wait_time: 0ms
If I send repeated pulses using node red (or toggling the RFB/ESPHome web page) the winch pulses rapidly on and off, essentially stepping the rope in or out. That is far from ideal.
ETA for clarity:
TL;DR -
How do I configure the RFB to send a continuous transmit where it has some level of precision to control the winch?