Sonoff RF Bridge
| Command | Payload | Description |
| SetOption28 | Enable hex (0) or decimal (1) RF signal receive data representation | |
| RfCode | Show last send 24-bit user code | |
| RfCode | 1..8388607 | Send 24-bit user code using RfSync, RfLow and RfHigh timing |
| RfCode | #1..#7FFFFF | Send 24-bit hexadecimal user code using RfSync, RfLow and RfHigh timing |
| RfHigh | Show high pulse time in microseconds | |
| RfHigh | 1 | Reset high pulse time to 840 microseconds |
| RfHigh | 2..32767 | Set high pulse time in microseconds |
| RfHigh | #2..#7FFF | Set high pulse time in hexadecimal microseconds |
| RfHost | Show 16-bit host part of user code | |
| RfHost | 1 | Reset 16-bit host part of user code to 11802 (#2E1A) |
| RfHost | 2..32767 | Set 16-bit host part of user code |
| RfHost | #2..7FFF | Set 16-bit host part of user code in hexadecimal |
| RfKey | Send learned or default RF data for RfKey1 to RfKey16 | |
| RfKey | 1 | Send default RF data for RfKey1 to RfKey16 using RfSync, RfLow, RfHigh and RfHost parameters |
| RfKey | 2 | Learn RF data for RfKey1 to RfKey16 |
| RfKey | 3 | Unlearn RF data for RfKey1 to RfKey16 |
| RfKey | 4 | Save RF data using RfSync, RfLow, RfHigh and last RfCode parameters |
| RfKey | 5 | Show default or learnt RF data |
| RfLow | Show low pulse time in microseconds | |
| RfLow | 1 | Reset low pulse time to 270 microseconds |
| RfLow | 2..32767 | Set low pulse time in microseconds |
| RfLow | #2..#7FFF | Set low pulse time in hexadecimal microseconds |
| RfSync | Show start sync pulse time in microseconds | |
| RfSync | 1 | Reset start sync pulse time to 8470 microseconds |
| RfSync | 2..32767 | Set start sync pulse time in microseconds |
| RfSync | #2..#7FFF | Set start sync pulse time in hexadecimal microseconds |
With EFM8BB1 RF chip firmware update support (released 20180604) the following commands become useful when the firmware has been updated by the provided Portisch firmware in folder tools/fw_efm8bb1.
| Command | Payload | Description |
| RfRaw | Show current state. Off for iTead default firmware, On for Portisch firmware support | |
| RfRaw | 0 | (Default on restart) Set iTead default firmware support and messages |
| RfRaw | 1 | Set Portisch firmware support and messages |
| RfRaw | 166 or AAA655 | (Portisch) Start reading RF signals disabling iTead default RF handling |
| RfRaw | 167 or AAA755 | (Portisch) Stop reading RF signals enabling iTead default RF handling |
| RfRaw | 169 or AAA955 | (Portisch) Start learning predefined protocols |
| RfRaw | 176 or AAB055 | (Portisch) Stop sniffing |
| RfRaw | 177 or AAB155 | (Portisch) Start sniffing |
| RfRaw | 192 or AAC000C055 | (Portisch) Beep - 00C0 is the length of the sound |
| RfRaw | 255 or AAFF55 | (Portisch) Show Rf firmware version |
| RfRaw | (Portisch) Data to be send to RF chip |