Read a Non-invasive AC Current Sensor (SCT-013) hooked up to a adc (ADS1115) and a ESP-01. Then emit to mqtt. Saves wifi and mqtt creds to SPIFFS. If wifi creds not found will go into AP mode.
https://www.savjee.be/2019/07/Home-Energy-Monitor-ESP32-CT-Sensor-Emonlib/
https://github.com/openenergymonitor/EmonLib
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-4-channel-adc-breakouts.pdf
https://forum.mysensors.org/topic/4887/sct-013-030-to-measure-watt/3
http://www.sensingthecity.com/creating-a-non-invasive-current-sensor/
https://github.com/Jorgen-VikingGod/ESP8266-WiFi-Relay-Async
https://simple-circuit.com/esp8266-esp-01-i2c-lcd/
https://www.instructables.com/id/FTDI-ESP8266-Definitive-Wiring/
https://www.allaboutcircuits.com/projects/flashing-the-ESP-01-firmware-to-SDK-v2.0.0-is-easier-now/
https://github.com/ppelleti/avr-arduino-kicad
https://www.forward.com.au/pfod/ESP8266/GPIOpins/ESP8266_01_pin_magic.html