I have a light that is operated via RF, I have a SONOF RFBridge that is tazmotized.
I’ve used the RFBridge only for receiving codes so far, so I’m a little lost here.
I can see the code the remote sends to the light directly in the console.
So it seems to be able to do this.
But how do I:
Enter a command directly in the RF Bridge console to send the RF code (for testing)
Create an MQTT command that will send this code through the RF Bridge.
I’ve tried searching for this, but I can’t seem to find a ‘simple and modern’ recipe for this.
Am I limited to somehow store these codes in the 16 fields in the RF Bridge, because the light remote has 24 buttons ?
Got it working, I couldn’t find the last part of the topic for it, but finally did.
So for me it’s a topic like
cmnd/rfbridge/RfCode
with a payload of the RF code, and the light reacts on it.
Now I have to figure out how to create this best, as it doesn’t have a ‘toggle’ RF command, just an off and an on (and of course a lot of colours).
My idea at the moment is to have a boolean input that holds the state, and then create two automations based on whether the boolean input says it’s on or not.
Anybody that has a better idea?
And that works. I’ve created two automations that reacts on the RF wallswitches, and then one for turning the light on, and setting the input boolean to on, and one for turning it off, and setting the input boolean to off.
I’m currently letting the automation toggle the input boolean, I could change it so that the RF code does this, as this would allow the remote control to be used as well, but I doubt that I will ever use the remote for turning the light on and off, but maybe for some of the effects.
What do you want to know exactly?
I’m running two RF Bridges, one for transmission (Tasmota) and one for receiving (ESPHome).
The codes for my RF light are stored in the Tasmota firmware with the 16 storage places there.
The RF Bridge that receives codes are an ESPHome, and that has all the wall switches defined locally.
The card I’ve built for controlling my RF led star light look like this:
Just curious, what’s the reason behind using two RF bridges with different firmwares?
Does that mean the ESPHome firmware does not allow for sending RF codes?
I’m on OMG but recently noticed that people are using ESPHome for their RF gateways so I’ve started collecting information for a potential move…
Well it is an intermediate solution, as I haven’t yet found a working setup for ESPHome and transmission of codes. It does support it, but I’ve had less success with controlling the RF light without storing the codes inside the bridge.
My problem is that i want to use more codes than the 16 buttons in tasmota, i need to find a way to send it from within homeassistant configurations.yaml so dont know if its possible.
and my codes seems different “AA B0 29 03 08 0596 021C 1B9E 011001101001100101011010011001010110011010101010011010011010100112 55”
Just to add to your post, to store new codes you run the command “RFKeyX 2” without the quotes at the command line of the RFBridge, where “X” is the slot number you want to store the new code, it will enter learning mode. Then press the RF remote button you want to clone, hold it for about 1-2 seconds and the RFBridge will make a beep and will exit learning mode. That’s it, the new code is learned in the slot number you set in the command. I searched for this for a few hours on the forums and could not find it explained well, people suggested other more difficult ways to do it, but if you don’t need to send more than 16 codes, this is the easiest way. Hope that helps someone.
Hi @chri5tian
Yes, that’s what I had it set up to before I reset it, moved it to a NOT vlan, and is hoping I can get a more advanced set up. But as it is now, I’m going to relearn the codes to the hub, and wait for somebody to help me solve this
It’s been a while since I wrote the YAML so I can’t remember the references I read to come up with this, but it works. I suspect the leading hash symbol will make a difference?
I’m just trying to trigger my wireless doorbell; publishing the RfCode only doesn’t work; is it possibile I also need to publish Sync/Low/High data? (not sure what all of that is)