Similar to this issue, Unmodified sonoff RF bridge V2.2 (no Portisch firmware and no direct hack mod) is unable to send RF commands in the RAW format (the orange light doesn’t blink and nothing gets picked up by other devices).
YAML:
api:
services:
- service: send_rf_code
variables:
sync: int
low: int
high: int
code: int
then:
- rf_bridge.send_code:
sync: !lambda 'return sync;'
low: !lambda 'return low;'
high: !lambda 'return high;'
code: !lambda 'return code;'
- service: send_rf_code_raw
variables:
raw: string
then:
- rf_bridge.send_raw:
raw: !lambda 'return raw;'
- service: learn
then:
- rf_bridge.learn
I even tried:
button:
- platform: template
name: open
id: shade_open
on_press:
then:
- rf_bridge.send_raw:
raw: 'AAB04A0314026C010E1374F0011001101010010110100101010101100101100101011010011001101001011010101010101010011010101010101010101010100110010101011010010110100255'
Which didnt work. The documentation of 2024.8.1 firmware does show RAW example under the general firmware not under the Portisch section.
Is this a flaw of ESPhome or is it a Portisch-exclusive feature to send RAW data?
Log output normal code vs RAW code