In this post, you’re going to learn how to flash custom firmware in the Sonoff device, so that you can control it with your own web server. We also have additional resources that describe how to flash a custom firmware to the Sonoff device using an FTDI programmer and the Arduino IDE.