Would be nice if you can add the behavior that instead of turning on and off after each time the Sonoff RF receives the RF signal, it just turns on.
This will allow us to use the Sonoff RF as a "receptor" for sensors turning it on ¡on an activation of the sensors and that it does not turn off after the next detection.
This can be an internal jumper of configurable via software.
The other funciontallity would be a countdown timer that if starts counting down each time you turn the device on. This can be used to action an instrussion siren