![](https://i1.wp.com/user-images.githubusercontent.com/9037329/32405619-2738c58a-c169-11e7-8226-660193f4b65c.png?w=640&ssl=1)
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.