I have even seen ESP modules with relays for switching mains voltage already attached to them, quite cheap from the East if you don't mind waiting a few days. I've haven't used them yet, but they seem to do what you want.
I have even seen ESP modules with relays for switching mains voltage already attached to them, quite cheap from the East if you don't mind waiting a few days. I've haven't used them yet, but they seem to do what you want.