Using an ESP8266 to Control Mains Sockets Using 433mhz Transmitter and Receiver

In this Instructable I will show how to control a main socket using a 433mhz transmitter and receiver. I started this project because I wanted to be able to switch my lamp on and off without using the remote that I already had for switching the mains sockets. So that if I was in another room and forgot to switch off the lamp I could do it from my phone using home-assistant.”