Build your own CT Clamp Power and Energy Monitor with ESPHome

63,256
0
Published 2022-08-27
DIY Wi-Fi connected CT Clamp power monitor. Uses ESPHome and Home Assistant. Full article here: www.speaktothegeek.co.uk/2022/08/esphome-ct-clamp-…

Buy me a coffee:
www.buymeacoffee.com/speaktothegeek
paypal.me/speaktothegeek

D1 Mini: amzn.to/3bkrnTY
Mains Current Sensor Module: ebay.us/J6cOPx (Affiliate Link)
CT Clamp: www.amazon.co.uk/gp/search?ie=UTF8&tag=olisblo-21&…
Mottram Labs: www.mottramlabs.com/
Online 3D Printing: craftcloud3d.com/
T-shirt from Qwertee: www.qwertee.com/r/b00ed24d1b

As an Amazon Associate and member of the eBay Partner Network I earn from qualifying purchases. Most links above are affiliate links and I may earn a small commission from any purchases you make if you use them.

All Comments (21)
  • @hw5533
    I have just ordered my parts and am eager to get this put together for use with my solar panels and home assistant.
  • @robrs210
    Just spotted your how to. Already had the parts to put together, so thanks for your explanation
  • @simonminnican
    This is great, it's so simple and it works. All I have to do now is figure out how to convert the Home Assistant power graph into useable data to show me kWh/day, kWh/month etc.
  • @Hwrrobotics
    Great video! If you ever wanted to get into 3d printing an ender 3 is like 150 American pesos.
  • @odeds358
    Thanks, Could you do video that explain how to connect to HA module with RS485 , like CT clamp?
  • @atfiqdr
    Brilliant video - And subscribed :)
  • @Omobilo
    Nice. Wondering if we wanted to many more than one only clamped (just before the fuse breakers ~ 16 of them), what kit maybe best to consider if such exists if you maybe know? Above will get the per section of house readings, so wanted to get a bunch of smart-plugs to zoom in to each appliance also. Any suggestions how to build these smart plug kits at low cost since I need quite a number?
  • "Won't be quite so accurate" yeah, about that. If you really wanna hardcode it I would go for ~235 or even slightly lower. Because in my experience it's usually closer to 220 then it is to 240. And especially during high load times it goes more towards the low end. Or take a separate average over a week from that phase. Smartplugs can do that.
  • @markvk42
    Thanks very much for the video, ive bought 5 4 gang boards from mottram and 20 CT clamps, now all i need to do is figure out the programming for it! HINT HINT ;)
  • @AndrewEbling
    Nice video - thanks! Could you even make your own CT clamp by manually wrapping a few meters of wire around the cable in question and soldering on the jack? BTW I have a 3D printer and will happily print anything you need for future videos - just my way of saying thanks and giving something back for all the great videos.
  • @georgec2932
    Hi, great video. I’ve ordered the parts (used your links), just waiting for the Mottram PCB to arrive now. Do you have a link to the steps followed and code used to program the device? I’m new to HA but understand you’ve used the ESP Home integration in HA? If you could explain the steps it would be much appreciated.
  • @Speak to the Geek Great video as are all of yours I have watched. This project took my fancy as I am having my Solar Edge system fitted next week. All went great (ordering, soldering etc.) then when I pressed the button to upload I got the error; "Failed to initialize. Try resetting your device or holding the BOOT button while selecting your serial port until it starts preparing the installation". I have searched the web, downloaded the e-book from AZ-Delivery about the D1 mini but cannot find a way out of it. First problem was needing an HTTPS connection but solved that by installing a Cloudflare tunnel. Any suggestions or am I just being thick! I even ordered some more D1-mini's just in case I had blown the first one up with my soldering. But get the same error with those. Really frustrating as I want to build my HA power dashboard. HELP please.
  • @chriscodes1
    Hi! I recently purchased the 4 port esp32 version of the mottramlabs board along with a esp32 version of the d1 mini. Soldered pins, plugged it in, got it into HA through esphome and all connected up... however I can't seem to get ct clamp readings. I had to write up my own yaml file for it and my question is, did you have to do the same or did your d1 mini recognise the mottram esp8266 board automatically and create the yaml file with that in that is on your website? I'm hoping this might point me in the direction as to whether it's actually recognising the mottram board!
  • @CreaturaN
    Hey there, i have CT clap 100A/1V and even after calibrate i still have different value.
  • @oliverwaits8174
    Great video to help get started with this. My stumbling block though with this has been how do you power it. I dont have power in my meter cupboard and I guess most people dont. I had thought I could use batteries but aparently these drain very quickly. Does anyone have thoughts on this. ESPHome seems perfect but there is very little on how you power the devices.