I have no problems with sonoff-based devices ( PIR, rf-switch, windows sensor) as they produce a clear code, something like: EB5C4E
However, I have a number of rf switches, and so I do sniff the data ( rfraw 177 on device console), then convert to B0 code using the python scrip provided
However, I’m now stuck
I have tried the code on the rf-bridge console and works, but I don’t know how to integrate on HA, on the instructions there is only some info for openHAB
On the sonoff console I run:
RfRaw AA B0 2C 04 08 1B26 0122 0294 2666 38192A192929292929292A1929292929292A192929292A19292A192A19292A192929 55
this is the B0 code, and the light goes on, so is the right code
The configuration.yaml, should look something like this:
Ok
I have been playing with the codes to turn off the switches, but can’t make it happen!
I can turn on the switches, but turning off doesn’t want to work
I have tried sending the codes directly to the sonoff bridge - via console - and they all work, but not from HA
it is as if HA is not sending the codes.
As per the above configuration, I have
payload_on
payload_off
What am I missing?
thanks