In this post we’re going to power the ESP8266 (or ESP32) with mains voltage using the Hi-Link HLK-PM03 converter. The ESP-01 controls a relay with a web server.