ESPHome configuration and steps used to created energy montiroing boards using an ESP32 chip with a energy board capable of reading 6 CT Clamps across 6 circuits. Integration completed to Home Assistant using API from esphome.
ESPHome device was built using a video from digiblurDIY tutorial for guidance.
My process was modified as I run Home Assistant in a container and do not run Hass.io, therefore I ran esphome in a docker container using the script in my repo. I also had to tune / calibrate the Volts gain and amp gain to get correct calibration for my home. Be sure to perform USB flash initially as noted with the ESP32 chip not connected to the board.
- Split Core Current Transformers 100A/50ma (Note these were too small to fit around my main feeds. Recommend measuring or using the larger split core if planning to use on your main power feeds. Link
- ESP32-S NodeMCU Link
- 9VAC Power Supply(THIS IS AC NOT DC) - Link
- CircuitSetup 6 Channel Board - Link
Docker - esphome/esphome:dev
docker run -d -v "/LOCAL/PATH/esphome/config:/config" --net=host esphome/esphome:dev
- ESPHome Flasher - Used to flash initial config to ESP32. Used this utility on a Mac and it required extra drivers installed for serial to USB.
- Drivers - Installed these drivers to make the Serial port show up when connecting as USB to Mac.
I used a clamp meter on a custom built cord to allow me to place the CT clamp and the clamp meter on the same device. I used a 55 W Rough Service Incadescent bulb to tune the Volts by adjusting gain_voltage until it matched my house voltage. Then changed the gain for the amp readings to match the draw. I used the web page from the ESP device to view readings of amp/watts while tuning. Each clamp was calibrated but all in my set were the exact same settings.