I use it to run my automated watering system in my garden.
https://github.com/davidbanham/relay_runner
I used to use an esp8266 but replaced it with a Pi after a lightning strike destroyed it. The Pi is just so much easier to write software for and it's been no less reliable in practice.