Turning a remote controller into a (WiFi) lamp switcher using a Sonoff RF bridge that converts a learned RF incoming signal to an MQTT publishing action.
Sonoff original application is used (it needs to send the message to the Sonoff cloud). IFTTT (If-This-Then-That) is created to respond to an RF request to turn on a Sonoff lamp.