I know this may go against common practice, but this makes it easier for me. I wanted to share how I have my CTs labeled. For me, this is easier to know which CT is connected to which port without having to scroll back and forth. Thanks for all of these videos! This little energy monitor is really freakin neat!!! # Current Transformers: current_20a: '11143' # 20A/25mA SCT-006: 8x current_30a: '8650' # 30A/1V SCT-013-030: None current_50a: '15420' # 50A/1V SCT-013-050: None current_80a: '41660' # 80A/26.6mA SCT-010: 2x current_120a: '41787' # 120A/40mA: SCT-016: 2x current_100a: '27518' # 100A/50ma SCT-013-000: None current_200a: '27518' # 200A/100mA SCT-024: None
After messing with building my own with CT and esphome, with low stability, I made one using emoncms and ESP32 posting the Data to MQTT. Used the "integration" integration to convert the Watts to kWh and move it into the dashboard... DIY tip keep leads short between clamp jack and resistors/esp input, and beware of magnetic flourescent ballasts in close proximity.
Hey Bill, I also build my own monitor with ctClamps+nodemcu+emon-library. I also post realtime watts and amps to an MQTT topic. but what kind of integration do you use to get kw/h for the energy dashboard. i'm having a hard time dropping in nodes with all kinds of formulas in nodeRed. what is the "integration" integration?
Just a heads up for your Canadian viewers. It is illegal for you to install low voltage items inside your circuit breaker panel. Your home insurance may also be voided by doing so. Please consult a qualified hydro inspector or electrician to find out how to interface your system correctly.
Highly recommend the electrician option myself as most places in my area do not have disconnects at the meter pan due to the close proximity of the main panel.
Great video! Ordered the parts. Excited to get going! Planning on using 1 CT clamp on the generator back feed into the house to measure how many amps I'm pulling during a blackout too.
Thanks for the tip ( at about 12:30 in on the video ) on crossing the lines on a 240 volt AC circuit. I was doing a "times 2" in the YAML. To change the currency go to the "General" under "Configuration." You'll see the Currency type. Edit and restart. Then the Energy dashboard will show the U.S. dollar.
I do that in a couple of mine so you grab the real amps of both. Yes, that's just a test little dev container of HA, I wipe it from time to time and I just left it default.
@@digiblurDIY I'm confused about the crossing lines for 240V appliances/circuits - isn't the Current measurement accurate with a single line through the CT, but the Voltage needs to be doubled in the calculation for Power?
Could you explain where you're adding multiplication to your ESP32 YAML's Power calcs? Are you just uncommenting the 'Multiply by 2' under Power for a given CT?
No, think about it. If you ran two 120v bedroom circuits through the same CT clamp you would measure the current in both of them. If you run both legs of an electric dryer in opposite directions through the CT clamp you can measure the current of both. it's still 120v per leg, they are just out of phase.
Yes, if you want to multiply a value to change it from negative value, multiple by 2, etc the filters are great for that. esphome.io/components/sensor/index.html?#sensor-filters
Very cool video. I want to buy a 6-channel board, but I only find a power supply for the US in the shop of CircutSetup. Does anyone know which power supply to use for Europe with 230V and a different plug form factor?
Other cool thing might be to cover the 'use an entity with current price' in the energy config. Alot of people have TOU rates (4-9pm high energy cost, else low) - I dont see much documentation around that at the moment
I assume that is left open to be flexible based on however you want to get the price into your system whether it be some automated way or manual method with helpers/automations. If I had that in would just drive it via a timed automation of some sort via HA or NR.
Thanks for this update. Loved your original video. Just at 07:30, where you mention the power factor and wattage are now done properly. Is this due to a revision of the board itself, or is the change just with ESPHome?
Would be great to update with showing how to setup the different clamps (change current_cal calibration per channel, which channels are where on the device, etc), or is that in your older video? :)
I did cover that in the older one when we had to the calibrations ourselves. I would like to do a ground up one with plenty of room on the mains side or even with a cut off before the panel so I can show more on the clamp install hardware side. Hard to do that on a production house with an older panel that's a mess. I have some ideas....
I was going to use an smaller building I knew of butttt... Hurricane Ida has blessed me with a long power outage and rewired most of my panel and will video some of the clamps going back on.
Great video thank you, With the information provided, really simplified the project. Still trying to figure out how to monitor battery capacity, charge and discharge. Might hit you'all up on discord. 😎
Thanks for the tutorial! It looks like the main boards have been out of stock since August. Do you have any information on why they’re out of stock and if/when they’ll be back in stock?
Cool (and timely) video - I'm looking at wiring up my panel and leveraging data I'm getting from solar to join together what I'm using and what I'm 'banking' with the utility. One question - I noticed that the vue sells 50a ct clamps (but with 2.5mm mono jacks) and was wondering if you or anyone in the comments have tried these - if so, did they work or what did you do to make them work.
No idea why Vue or Emboria decided to screw with people on those 2.5mm jacks. You could try converting them or cut the end off and and do a screw terminal to 3.5mm jack.
is that device measuring apparent or real power cause the emporia suffers from the apparent loads that are partly wrong like all the induction driven motors causing the measurement errors ? Maybe I have not heard it in the video but I had some trouble with the emporia which had been showing 100 W for a inductive heater - on idle so nothing really going on. In reality it has drawn 2 W for the display / light and I guess some basics like the timer.
You know what would be cool is if you could go over the config where you adjust the various channels by various clamps, like the whole house you mentioned you might use the 200amp clamps but then you also have the 20amp clamps.
I think I did that in my previous version video and went through ground up calibration and such too since the cheats weren't there. Feel free to ask here or discord for details or help with your setup.
Hi thanks for your time and effort put into your videos. I am considering getting this system. I have a micro inverter grid tie solar system and would like to monitor import and export values. Can this be done with 2 ct or would I need 4 cts so as to read bidirectional current flow? Any help or link to info would be appreciated.
Thanks for watching my madness! I am not really sure about that as I don't have any solar experience due to costs. CircuitSetup would have more experience on that with the different setups.
@@digiblurDIY ok thanks. I checked the circuitsetup site but didnt see any contact info. Is there a phone number for inquires. You could look at the sun gridtie inverters. Not very expensive. You can start with inverter and panels and add batteries later. Have a merry christmas and prosperous newyear.
Check his discord server discord.gg/rw4sJfWv I would love to do some sort of simple grid tie system that would maybe produce 1000-1500 watts to help offset base usage. Tough to get anyone to mess with a small simple system as they want to install the massive ones but my net metering sucks at 2 cents kwh sell back.
I am setting up very similar thing at my home. But not able to figure out how the ac transformer is connected to panel. I am thinking of using extension cord, female-end connected to transformer plug and other cut-off and connected to circuit-breaker. But not sure if there's an other way.
I had a plug near by the panel and was able to run it in the bottom, some have mounted the box outside of it the panel, some have used directly wired transformers inside the panel itself. Depends on the room in the panel.
I'm measuring 3-phase for house and 3-phase hot water. But i don't know how to get working with ha energy. There is not option in : Configure grid consumption. Do i have to buy Add-on Board so i can meter exactly or what?
Great video thanks. For the solar monitoring are you using post inverter, therefore measuring AC? I'd like to measure the PV DC and not sure the Current monitoring works for both AC/DC feeds.
No solar yet due to ROI issues. I just had this mocked up on my front room mini split as solar. I think I mentioned that. I was measuring AC split phase.
Do you have Sense or tested Sense? I am looking to start monitoring power at home and I am looking for the most accurate and simple way to do it. Any recommendations?
I looked at Sense and the cloud requirement and issues with it made me skip it. Check out my Emporia video too. Both great products but for higher accuracy the CircuitSetup is the way.
Is it an alternative option of the board cheaper?? Because that cost about $70 each! I understand maybe a cheaper alternative is some more work involved, I am ok with that!! Thanks
It reads through the power supply which is AC power based. This is also used as the reference for power factor to calculate watts. There's a whole lot to not like about about Emporia and Sense than just voltage issues.
@@digiblurDIY what's not to like about Emporia? I've been looking at energy monitoring options and the Emporia Vue seems like a good bang for your buck.
Great video, thanks. To add an external aerial do we need a different version of the ESP32 NodeMCU, to have a aerial connector? Also can you recommend a aerial.
I linked one in the video description on Aliexpress. Any ufl antenna with the length you need really. Also try it without as oddly enough mine had enough signal without it which still does not make sense to me.
I noticed in your video, that your clamps have really nice cables. Did you solder these on yourself? I find the ones from CircuitSetup are a bit short.
Thank you, always very well explained. I only have one question: the CT_clamp gives you energy in W by using power = intensity * voltage and you convert it to kWh by simply make a multiplication by 0.001 where is that formula coming from ?
@@digiblurDIY I already have a sensor based on CT_clamp that gives Intensity (A) and Power (W). Using a Reimann integration on power I also have a sensor measuring total energy spent (kWh) but none of this sensor can be used, they do not appear for the energy dashboard. Here is my sensor that should be compatible state_class: measurement last_reset: '2021-08-15T15:27:45.466692+00:00' source: sensor.puissance_electrique unit_of_measurement: kWh friendly_name: energie_consommee icon: mdi:chart-histogram
@@Totophe92130 mine looks like this: state_class: total_increasing source: sensor.mains_power unit_of_measurement: kWh friendly_name: energy_spent icon: mdi:chart-histogram I have my monthly usage stat set to reset monthly in sync with my billing period
I really like this ct clamp but in keeping in line with minimal DIY I'd prefer not spend that much on the breakout board. Anyone got a link to the electrical circuit only using an Esp32?
Here is information on building a simple circuit for the ct clamp: community.home-assistant.io/t/esphome-ct-clamp-30a-1v/284423 and here is the ESPHome config: community.home-assistant.io/t/energy-tracking-ct-clamp-current-sensor/329165/3
Loving the video thank you for this! Hoever, after purchasing everything and finally getting to the esp32 installation, I get a fatal error to connect after it has been flashed. what gives!? why is this not an issue for you or anyone else on YT!? Im not doing anything different...
@@digiblurDIY Im not sure if my reply went thru the first time... the fatal error occurs with the ESP32 plugged in directly to the Pi HA server via usb. it errors while the initial installation of the ESP32
@@digiblurDIY I Love it... never give up trying, I changed nothing int he code, kept retrying for the last 1.5 hours and it eventually installed suceffully! lol
What was the affiliated link for the external antenna version for some reason I am not seeing it, I see the one for the none external antenna. great video as always
@digiblurDIY I am confused maybe you can clarify? Do we need to calibrate the clamps to read the correct voltage gain/amps? I bought the boards when I discovered your first videos but it was a little over my head at the time (still is) and I havent had time to look back into it. I assume I have the older version board. I am really wanting to get this setup.
Ahh. you do have one of the more recent revisions. Nice! Calibrations are in these files for you already in the comments. github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/tree/master/Software/ESPHome
can someone please make a new updated video that shows everything start to finish ESP32 WROOM32U and the 6-CH board? i am using the 6chan_energy_meter_v1.2.yaml file on gethub. i cant get anything to connect to home assistant, however i can connect to unit direct over web IP. other issues, Amps are showing for all 6 CT's but only one Watt calculation. i am new to all this but feel i am learning quick.
Nothing really changed on the process to put esphome on your chip. You can do that part first before ever touching the 6 channel board. You can jump in here discord.digiblur.com too
When I click "Add Consumption", it says "No matching statistic found". You mention above to add the energy tag in the yaml. Can you show what you mean?
Damn, thought it was working. But no go. Sigh! I'll keep working on it. Would really like to see an example of a working .yaml for this board (i.e. one that works with the new Home Assistant Energy). I'm missing something but just can't see what it could be.
@@digiblurDIY OK, that code works. Something in that code is missing in the other examples. Or there is something in the other examples that prevents Home Assistant from detecting the board. Anyway, thanks, I've got a starting point to work from. Great videos btw. Keep it up!
I've been using the FAE (forward active energy) sensor to determine Wh because it's a more accurate measurement than any statistical model can provide. Unfortunately, Energy Dashboard expects that the sensors provide a number representing _cumulative_ consumption. The FAE sensor is _differential_ (it resets to zero after every measurement). Have you tried this sensor at all? Any thoughts on how to fix it?
I come from the recent past. A week lost trying to make ESP32 work. Nah bro, there ARE coffee drip machines with timers. They come on or off when you need them to! Wall jacks that report energy consumption and remote turn on/off. etc. etc.
Everything except for the main IC board but I do believe they ship internationally too. You could use some other smaller solutions for 2-3 circuits like a DIY build, ShellyEM, etc.
Ours is some encrypted 900mhz signal. All sealed and they have a fit if you even put anything attached to the box. Friend had an IP camera looking at his meter to record his values. They sent him a letter to remove it. So it put a wooden pole in front of it not touching the meter. Ha!
@@digiblurDIY From README: What you'll need: Current Transformers (any combination of the following, or any current transformer that does not exceed 1V or 720mA output) So theoreticaly we can use DC-DC hall transformer with 4-20mA output but need to find out how to calibrate it in source code for this board.
I was told on the HA energy you need to add 3 attributes. Energy, measurement and last_reset. Not sure how. I think the energy integration does something else as it does not see any of my tasmota devices.
@@digiblurDIY I am as well as MQTT. I hàd to customize the entity and add the three attributes. Working now. Original directions were wrong on discord. Fixed now. You can follow the tread in discord, energy.
My HA doesn't see any of the device in energy. It does see them in developers tools. I have used MQTT for years. Do I need to reconfigured MQTT? If so, what pain!
I did it with a clamp on my mini split AC that is used for secondary cooling at times. Just to simulate solar since I do not have solar at my location.
@@digiblurDIY The problem seem to be that the Grid Energy measurement value decrements as energy is returned to the grid. That's good except the dashboard's calculations appeare to need that return value for the Energy Distribution graphic to be correct. No clamp measurement can give that. You know the solar output but you don't know how it is distributed between the house and back to the grid. At least it isn't yet obvious to me.
Depends on the use case. If you have enough slack you can loop the other through at the opposite direction but multiplying by 2 also works if the load is somewhat balanced.
I'm in the same boat. Ironically, I have no outlets anywhere near my breaker panel. I like the idea of adding a breaker and running an outside outlet. I'm generally pretty good with electrical stuff but I may get an electrician to do this for me. Not only is this something that has a lot of electrical code restrictions, this is in the warning zone of "burn my house down" that I'm not going to play with.
CT clamps shouldn't impact accuracy. You would need to check if the Emporia ones have burden resistors or not and then convert from 2.5mm to 3.5mm plugs.
I would recommend the IOTAWATT over the Circuit setup solution - it is much cheaper overall - a more mature solution and supports a wider range of CT Clamps
I actually looked at that one myself a while back but bypassed it on the hardware choices used in it for various reasons such resolution, etc. I'm looking forward to see what they do on the esp32 model though when it comes out.
I don't see one on the dashboard of HA itself when using in that manner. But of course it is in the database of HA that you could acquire vis SQL. You can also export out the data to various methods using HA as the middleman.
Does anyone have any thoughts on this this open source kind of solution will ever have support for flexible current sensors (Rogowski coils)? I would love to implement this local only Home Assistant based solution -- which would also be great for monitoring my usage when running off my whole home generator -- but at this time I'm still stuck with Emporia Vue because they are the only company I've found that offers flexible clamps (Rogowski clamps) that actually fit around my mains in my very tiny main breaker panel; regular CT style clamps just physically cannot be installed...
@@digiblurDIY I’m not sure… they are different in that they have their own power source and connect to what they call an “integrator” circuit board…so I assume they work differently but don’t really know. Maybe the power source and “integrator” chipset they connect to normalize it somehow?
Did something change in the home assistant energy setup? I did not have this setup before but I had the esp energy meter already setup but its not seeing any of my sensors in the homeassistant Energy setup, under grid consumption I do not see any of the esp energy meter sensors, but they are clearly visible in home assistant dev tools and under devices... Anyone have this issue?
do you have the daily energy platforms and such set in ESPHome? github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/blob/master/Software/ESPHome/6chan_energy_meter_house_solar_ha_kwh.yaml
Isn't that useless to monitor the amps of an AC line without monitoring the phase of the voltage, I wonder did you draw any conclusions about monitoring the current only for a year?
Been using this product for more than a year and still like it. No regrets. I only have single split phase in the US and only need to monitor the voltage reference of the one phase available to us.
@@digiblurDIY ok so you are monitoring the voltage, I didn't see that in the video... so everything is basically just as I'd do it as well in Taiwan (we have 110V here). Thanks for your reply!
I know this may go against common practice, but this makes it easier for me. I wanted to share how I have my CTs labeled. For me, this is easier to know which CT is connected to which port without having to scroll back and forth. Thanks for all of these videos! This little energy monitor is really freakin neat!!!
# Current Transformers:
current_20a: '11143' # 20A/25mA SCT-006: 8x
current_30a: '8650' # 30A/1V SCT-013-030: None
current_50a: '15420' # 50A/1V SCT-013-050: None
current_80a: '41660' # 80A/26.6mA SCT-010: 2x
current_120a: '41787' # 120A/40mA: SCT-016: 2x
current_100a: '27518' # 100A/50ma SCT-013-000: None
current_200a: '27518' # 200A/100mA SCT-024: None
Thanks! Not a problem at all for throwing comments in your code or even substitutions of things to make it easier.
After messing with building my own with CT and esphome, with low stability, I made one using emoncms and ESP32 posting the Data to MQTT. Used the "integration" integration to convert the Watts to kWh and move it into the dashboard... DIY tip keep leads short between clamp jack and resistors/esp input, and beware of magnetic flourescent ballasts in close proximity.
Hey Bill, I also build my own monitor with ctClamps+nodemcu+emon-library. I also post realtime watts and amps to an MQTT topic. but what kind of integration do you use to get kw/h for the energy dashboard. i'm having a hard time dropping in nodes with all kinds of formulas in nodeRed. what is the "integration" integration?
@@garrox84 excerpts from my sensor.yaml file:
#SUM my two phases power
mains_power:
friendly_name: "Power Usage"
unit_of_measurement: "W"
value_template: "{{((states('sensor.mains1_watts')|float)+(states('sensor.mains2_watts')|float)) | round(0)}}"
#AND
- platform: integration
source: sensor.mains_power
name: energy_spent
unit_prefix: k
round: 2
The integration integration is a built in mathematical function in HA, I guess it is my only practical use for calculus!
@@billkennard4310 i found it! Thnx for the answer
the idea of the boy is original , even you video thank's big thumb !
Nice update has got way easier then when I did it off your original video
Indeed...things are always getting easier as we go.
Just a heads up for your Canadian viewers. It is illegal for you to install low voltage items inside your circuit breaker panel. Your home insurance may also be voided by doing so. Please consult a qualified hydro inspector or electrician to find out how to interface your system correctly.
Highly recommend the electrician option myself as most places in my area do not have disconnects at the meter pan due to the close proximity of the main panel.
Great video! Ordered the parts. Excited to get going! Planning on using 1 CT clamp on the generator back feed into the house to measure how many amps I'm pulling during a blackout too.
Nice! I thought about doing that but I do have the Genmon project running on my generac.
Thanks for the tip ( at about 12:30 in on the video ) on crossing the lines on a 240 volt AC circuit. I was doing a "times 2" in the YAML.
To change the currency go to the "General" under "Configuration." You'll see the Currency type. Edit and restart. Then the Energy dashboard will show the U.S. dollar.
I do that in a couple of mine so you grab the real amps of both. Yes, that's just a test little dev container of HA, I wipe it from time to time and I just left it default.
@@digiblurDIY I'm confused about the crossing lines for 240V appliances/circuits - isn't the Current measurement accurate with a single line through the CT, but the Voltage needs to be doubled in the calculation for Power?
Could you explain where you're adding multiplication to your ESP32 YAML's Power calcs? Are you just uncommenting the 'Multiply by 2' under Power for a given CT?
No, think about it. If you ran two 120v bedroom circuits through the same CT clamp you would measure the current in both of them. If you run both legs of an electric dryer in opposite directions through the CT clamp you can measure the current of both. it's still 120v per leg, they are just out of phase.
Yes, if you want to multiply a value to change it from negative value, multiple by 2, etc the filters are great for that. esphome.io/components/sensor/index.html?#sensor-filters
I very appreciatte your video and your boy saying to subscribe.
Very cool video. I want to buy a 6-channel board, but I only find a power supply for the US in the shop of CircutSetup. Does anyone know which power supply to use for Europe with 230V and a different plug form factor?
No AC to AC power supply options there?
I dealt with the issue of ct's installed backwards by altering the templates to get the ABSOLUTE VALUE of the value. Works perfectly
My OCD gets to me. But yes easily fixed via a template.
Other cool thing might be to cover the 'use an entity with current price' in the energy config. Alot of people have TOU rates (4-9pm high energy cost, else low) - I dont see much documentation around that at the moment
I assume that is left open to be flexible based on however you want to get the price into your system whether it be some automated way or manual method with helpers/automations. If I had that in would just drive it via a timed automation of some sort via HA or NR.
I put examples of my automations for this on the digiblur discord server under "projects and shares"
Thanks for this update. Loved your original video. Just at 07:30, where you mention the power factor and wattage are now done properly. Is this due to a revision of the board itself, or is the change just with ESPHome?
Thanks! Both actually. The voltage reference was fed to all channels on the ICs.
Could this be used with Hall Effect Sensors - to monitor and log DC circuits such as Solar Panels
and 48V Batteries
Please advise
i always remember that marvelous george carlin guy when i hear "hot water heater"
My BIL plumber gets me every time.
Would be great to update with showing how to setup the different clamps (change current_cal calibration per channel, which channels are where on the device, etc), or is that in your older video? :)
I did cover that in the older one when we had to the calibrations ourselves. I would like to do a ground up one with plenty of room on the mains side or even with a cut off before the panel so I can show more on the clamp install hardware side. Hard to do that on a production house with an older panel that's a mess. I have some ideas....
@@digiblurDIY Good part about doing one on a "production house with older panel that's a mess" is it will look like most of ours :D
I was going to use an smaller building I knew of butttt... Hurricane Ida has blessed me with a long power outage and rewired most of my panel and will video some of the clamps going back on.
Great video thank you, With the information provided, really simplified the project. Still trying to figure out how to monitor battery capacity, charge and discharge. Might hit you'all up on discord. 😎
Thanks for the tutorial! It looks like the main boards have been out of stock since August. Do you have any information on why they’re out of stock and if/when they’ll be back in stock?
I don't recall but is there a way to contact them on the website?
They are in stock now.
Great, thanks for letting me know!
Just happened to be checking the site and saw it and then I remembered the comment.
Cool (and timely) video - I'm looking at wiring up my panel and leveraging data I'm getting from solar to join together what I'm using and what I'm 'banking' with the utility.
One question - I noticed that the vue sells 50a ct clamps (but with 2.5mm mono jacks) and was wondering if you or anyone in the comments have tried these - if so, did they work or what did you do to make them work.
No idea why Vue or Emboria decided to screw with people on those 2.5mm jacks. You could try converting them or cut the end off and and do a screw terminal to 3.5mm jack.
Thank you, always very well explained !!!!
Thank you
is that device measuring apparent or real power cause the emporia suffers from the apparent loads that are partly wrong like all the induction driven motors causing the measurement errors ?
Maybe I have not heard it in the video but I had some trouble with the emporia which had been showing 100 W for a inductive heater - on idle so nothing really going on.
In reality it has drawn 2 W for the display / light and I guess some basics like the timer.
esphome.io/components/sensor/atm90e32.html
Probably more power features than you need but it covers most of everyone's needs.
I have a couple of those WiFi antenna cables 20' long.
I put a little jumper on the main power to the ESP32 on my water heater. I can pull the jumper to program via USB.
this is just like solar assistant. nice
You know what would be cool is if you could go over the config where you adjust the various channels by various clamps, like the whole house you mentioned you might use the 200amp clamps but then you also have the 20amp clamps.
I think I did that in my previous version video and went through ground up calibration and such too since the cheats weren't there. Feel free to ask here or discord for details or help with your setup.
Hi thanks for your time and effort put into your videos. I am considering getting this system. I have a micro inverter grid tie solar system and would like to monitor import and export values. Can this be done with 2 ct or would I need 4 cts so as to read bidirectional current flow? Any help or link to info would be appreciated.
Thanks for watching my madness! I am not really sure about that as I don't have any solar experience due to costs. CircuitSetup would have more experience on that with the different setups.
@@digiblurDIY ok thanks. I checked the circuitsetup site but didnt see any contact info. Is there a phone number for inquires. You could look at the sun gridtie inverters. Not very expensive. You can start with inverter and panels and add batteries later. Have a merry christmas and prosperous newyear.
Check his discord server discord.gg/rw4sJfWv
I would love to do some sort of simple grid tie system that would maybe produce 1000-1500 watts to help offset base usage. Tough to get anyone to mess with a small simple system as they want to install the massive ones but my net metering sucks at 2 cents kwh sell back.
can you link to the esp32 board you bought with the external antenna connector? great video BTW
geni.us/gARw9mU
Check the Aliexpress one there
Great videos !
Do you know if we can get the W values + and - to monitor power consumption and solar power injected to the grid?
W values?
I am setting up very similar thing at my home. But not able to figure out how the ac transformer is connected to panel.
I am thinking of using extension cord, female-end connected to transformer plug and other cut-off and connected to circuit-breaker.
But not sure if there's an other way.
I had a plug near by the panel and was able to run it in the bottom, some have mounted the box outside of it the panel, some have used directly wired transformers inside the panel itself. Depends on the room in the panel.
My clamp is 100a/1v how would I configure that can’t find anything for my clamp thanks
You would need to cut the burden resistor on the port. The little trace on the back. Try this gain - gain_ct: 27518
I'm measuring 3-phase for house and 3-phase hot water. But i don't know how to get working with ha energy. There is not option in : Configure grid consumption.
Do i have to buy Add-on Board so i can meter exactly or what?
github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter#measuring-3-phase-electricity
Nice Splunk shirt! :-)
It's a great line!
@@digiblurDIY The Brazilian Portuguese version translates to “… just like my mother-in-law”. True story. 😂
Great video thanks. For the solar monitoring are you using post inverter, therefore measuring AC? I'd like to measure the PV DC and not sure the Current monitoring works for both AC/DC feeds.
No solar yet due to ROI issues. I just had this mocked up on my front room mini split as solar. I think I mentioned that. I was measuring AC split phase.
@@digiblurDIY Thanks, Occurred to me after posting I can just switch the current sensor over and see if it reads the values accurately.
Do you have Sense or tested Sense? I am looking to start monitoring power at home and I am looking for the most accurate and simple way to do it. Any recommendations?
I looked at Sense and the cloud requirement and issues with it made me skip it. Check out my Emporia video too. Both great products but for higher accuracy the CircuitSetup is the way.
ohh liked, i dont want to be flooded.
Is it an alternative option of the board cheaper?? Because that cost about $70 each! I understand maybe a cheaper alternative is some more work involved, I am ok with that!! Thanks
Yes. DIY it with some clamps and ADC to the ESP32
@@digiblurDIY can you do a tutorial for that DIY meter for us pls?
Look at my ESPHome dryer video.
everytime I compile HA crashes, is there a way to use esphome outside of HA? getting to hate it!
Yes. I use the docker container on another box. No HA involved.
How does it read voltage? That’s one thing I don’t like about Emporia and like about Sense. Sense has voltage readings and alerts
It reads through the power supply which is AC power based. This is also used as the reference for power factor to calculate watts. There's a whole lot to not like about about Emporia and Sense than just voltage issues.
@@digiblurDIY what's not to like about Emporia? I've been looking at energy monitoring options and the Emporia Vue seems like a good bang for your buck.
Completely unfiltered honest even after their post I put up in the video?
Great video, thanks. To add an external aerial do we need a different version of the ESP32 NodeMCU, to have a aerial connector? Also can you recommend a aerial.
I linked one in the video description on Aliexpress. Any ufl antenna with the length you need really. Also try it without as oddly enough mine had enough signal without it which still does not make sense to me.
Shelly and itead have modular energy components nowadays, too. Would be interesting to compare...
Only one that I could add would be the 3 channel Shelly one but it is only 3 channel.
I noticed in your video, that your clamps have really nice cables. Did you solder these on yourself? I find the ones from CircuitSetup are a bit short.
I didn't solder any cables on. I used the ones that were there already on them.
@@digiblurDIY Ah, I guess that wasn't your setup. I'm talking about the cables at the 8:02 mark and again at the 9:47 mark.
That is mine at 9:47 but the other is from the github on the CircuitSetup project. Crazy cables there. I suspect they are just extension cables.
Thank you, always very well explained.
I only have one question: the CT_clamp gives you energy in W by using power = intensity * voltage and you convert it to kWh by simply make a multiplication by 0.001 where is that formula coming from ?
Esphome handles that based on the time and wattage. You just feed the info.
The 0.001 is just saying "go out this many decimals" in the calculation for kWh
@@digiblurDIY I already have a sensor based on CT_clamp that gives Intensity (A) and Power (W). Using a Reimann integration on power I also have a sensor measuring total energy spent (kWh) but none of this sensor can be used, they do not appear for the energy dashboard.
Here is my sensor that should be compatible
state_class: measurement
last_reset: '2021-08-15T15:27:45.466692+00:00'
source: sensor.puissance_electrique
unit_of_measurement: kWh
friendly_name: energie_consommee
icon: mdi:chart-histogram
@@Totophe92130 mine looks like this:
state_class: total_increasing
source: sensor.mains_power
unit_of_measurement: kWh
friendly_name: energy_spent
icon: mdi:chart-histogram
I have my monthly usage stat set to reset monthly in sync with my billing period
bonjour comme je fait pour mettre mes sensor de mon inverter dans la carte merci
As always, awesome and informative! Do you have a link to the .stl files for the cases?
Thanks! Yes, CircuitSetup has them all on their Github page for download. Link in description.
I really like this ct clamp but in keeping in line with minimal DIY I'd prefer not spend that much on the breakout board. Anyone got a link to the electrical circuit only using an Esp32?
Here is information on building a simple circuit for the ct clamp: community.home-assistant.io/t/esphome-ct-clamp-30a-1v/284423 and here is the ESPHome config: community.home-assistant.io/t/energy-tracking-ct-clamp-current-sensor/329165/3
@@dklein9164 thank you
Hi!! Excelent Solution! How can i aquire this Shield (Energy Meter Board) in Brazil?
Thanks
Check their website. I am not sure of their shipping options.
Loving the video thank you for this! Hoever, after purchasing everything and finally getting to the esp32 installation, I get a fatal error to connect after it has been flashed. what gives!? why is this not an issue for you or anyone else on YT!? Im not doing anything different...
What's the serial log show? Is this with just the ESP32 naked connected to USB?
@@digiblurDIY Im not sure if my reply went thru the first time... the fatal error occurs with the ESP32 plugged in directly to the Pi HA server via usb. it errors while the initial installation of the ESP32
@@digiblurDIY I Love it... never give up trying, I changed nothing int he code, kept retrying for the last 1.5 hours and it eventually installed suceffully! lol
What was the affiliated link for the external antenna version for some reason I am not seeing it, I see the one for the none external antenna. great video as always
I couldn't find one on Amazon, it was the button on Aliexpress.
@digiblurDIY I am confused maybe you can clarify? Do we need to calibrate the clamps to read the correct voltage gain/amps? I bought the boards when I discovered your first videos but it was a little over my head at the time (still is) and I havent had time to look back into it. I assume I have the older version board. I am really wanting to get this setup.
The github project by CircuitSetup has the calibrations done now as time has passed. You can tweak as needed. Which version do you have?
@@digiblurDIY looks like v1.4 rev 1 and I also have the add-on board also.
Ahh. you do have one of the more recent revisions. Nice! Calibrations are in these files for you already in the comments. github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/tree/master/Software/ESPHome
@@digiblurDIY Thanks I am going to give this a shot... just need to find a drunk cousin or uncle to install them! :P
can someone please make a new updated video that shows everything start to finish ESP32 WROOM32U and the 6-CH board? i am using the 6chan_energy_meter_v1.2.yaml file on gethub. i cant get anything to connect to home assistant, however i can connect to unit direct over web IP. other issues, Amps are showing for all 6 CT's but only one Watt calculation. i am new to all this but feel i am learning quick.
Nothing really changed on the process to put esphome on your chip. You can do that part first before ever touching the 6 channel board. You can jump in here discord.digiblur.com too
When I click "Add Consumption", it says "No matching statistic found". You mention above to add the energy tag in the yaml. Can you show what you mean?
github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter#getting-data-in-the-home-assistant-energy-dashboard
@@digiblurDIY Perfect. Got it working. Thanks.
Damn, thought it was working. But no go. Sigh! I'll keep working on it. Would really like to see an example of a working .yaml for this board (i.e. one that works with the new Home Assistant Energy). I'm missing something but just can't see what it could be.
I use these as a starting point - github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/tree/master/Software/ESPHome
@@digiblurDIY OK, that code works. Something in that code is missing in the other examples. Or there is something in the other examples that prevents Home Assistant from detecting the board. Anyway, thanks, I've got a starting point to work from. Great videos btw. Keep it up!
I've been using the FAE (forward active energy) sensor to determine Wh because it's a more accurate measurement than any statistical model can provide. Unfortunately, Energy Dashboard expects that the sensors provide a number representing _cumulative_ consumption. The FAE sensor is _differential_ (it resets to zero after every measurement). Have you tried this sensor at all? Any thoughts on how to fix it?
I haven't messed with that side of the sensors myself.
With everything inside your panel, how did you get power to the transformer?
I have a plug right next to my panel and ran it in. Some use the power supply in the panel itself.
@@digiblurDIY, Thanks for the reply!
I come from the recent past. A week lost trying to make ESP32 work. Nah bro, there ARE coffee drip machines with timers. They come on or off when you need them to!
Wall jacks that report energy consumption and remote turn on/off. etc. etc.
Mine has a timer to turn on but stays warm way too long.
Can this see what is going on with my Tesla Powerwall?
I don't have any experience with this product but it will monitor the AC amperage/watts of whatever flows through the wire no matter the source.
Very interesting. How would i adapt this to work in my country (Netherlands). And can i source the materials here?
Everything except for the main IC board but I do believe they ship internationally too. You could use some other smaller solutions for 2-3 circuits like a DIY build, ShellyEM, etc.
If you have a smart meter, look up dsmr from the P1 port.
Ours is some encrypted 900mhz signal. All sealed and they have a fit if you even put anything attached to the box. Friend had an IP camera looking at his meter to record his values. They sent him a letter to remove it. So it put a wooden pole in front of it not touching the meter. Ha!
It is documemted at www.home-assistant.io/docs/energy/electricity-grid/
Thanks a lot for great videos! Just a little question - could this be used to measure Direct Current?
I don't believe this chip is designed for DC amp measurement. There are some other DIY projects out there for doing that.
@@digiblurDIY From README:
What you'll need:
Current Transformers (any combination of the following, or any current transformer that does not exceed 1V or 720mA output)
So theoreticaly we can use DC-DC hall transformer with 4-20mA output but need to find out how to calibrate it in source code for this board.
Definitely hit up the guys at CircuitSetup as I just don't have any solar here. Missed my window of opportunity a few years ago for it.
I was told on the HA energy you need to add 3 attributes. Energy, measurement and last_reset. Not sure how. I think the energy integration does something else as it does not see any of my tasmota devices.
Are you using the Tasmota HA integration?
@@digiblurDIY I am as well as MQTT. I hàd to customize the entity and add the three attributes. Working now. Original directions were wrong on discord. Fixed now. You can follow the tread in discord, energy.
Thanks!
Welcome!
Are CT clamps directional? Like if you put th eclip on the mail line backwars would it read a negative current?
Negative wattages is what it reads.
@@digiblurDIY lets goooooo thank you sm
Ty!
My HA doesn't see any of the device in energy. It does see them in developers tools. I have used MQTT for years. Do I need to reconfigured MQTT? If so, what pain!
What devices? Some might need to be added with utility meter integrations to be seen. No reason to configure MQTT as it is just a path for data.
@@digiblurDIY just changing the custom settings worked. Once I understood what was needed it was easy.
How did you get your "Return to Grid"? Seems the displays are wrong without it?
I did it with a clamp on my mini split AC that is used for secondary cooling at times. Just to simulate solar since I do not have solar at my location.
@@digiblurDIY The problem seem to be that the Grid Energy measurement value decrements as energy is returned to the grid. That's good except the dashboard's calculations appeare to need that return value for the Energy Distribution graphic to be correct. No clamp measurement can give that. You know the solar output but you don't know how it is distributed between the house and back to the grid. At least it isn't yet obvious to me.
Would this work with UK voltage, ie single phase?
Yes it sure would.
When I put it on a 240 breaker do I need two clamps or can I (esphome) multiple one clamp by two if so how would I do that thanks
Depends on the use case. If you have enough slack you can loop the other through at the opposite direction but multiplying by 2 also works if the load is somewhat balanced.
Can u tell me the name of the development board which owns lots of 3.5 earphone ports? Or just tell me how to buy it. thx
CircuitSetup
thx bro@@digiblurDIY
Any good ideas on how to power the power monitoring board inside the electrical panel. Panel is outside, exposed to the weather.
In that case I have seen some people put a plastic outlet box in the bottom of their breaker panel connected to a breaker.
You can also take the transformer out of the case and wire it directly to a breaker - kind of like your doorbell transformer.
I'm in the same boat. Ironically, I have no outlets anywhere near my breaker panel. I like the idea of adding a breaker and running an outside outlet. I'm generally pretty good with electrical stuff but I may get an electrician to do this for me. Not only is this something that has a lot of electrical code restrictions, this is in the warning zone of "burn my house down" that I'm not going to play with.
Where can I get this kit to buy
Links in description
Do you know if the emporia ct work with this board? How is the accuracy compared to the circuitsetup ones? I see the emporia are a lot cheaper to buy
CT clamps shouldn't impact accuracy. You would need to check if the Emporia ones have burden resistors or not and then convert from 2.5mm to 3.5mm plugs.
@@digiblurDIY ah so they aren't plug and play and require modifications. That's what I was trying to figure out. Thank you
Not really. Emporia uses a smaller plug than others.
Do u use the same clamps for 220 on AC/Stove,oven, hvac....etc?
Yup, as long as the rating is high enough for the load and of course it fits around the the conductor.
I would recommend the IOTAWATT over the Circuit setup solution - it is much cheaper overall - a more mature solution and supports a wider range of CT Clamps
I actually looked at that one myself a while back but bypassed it on the hardware choices used in it for various reasons such resolution, etc. I'm looking forward to see what they do on the esp32 model though when it comes out.
Sir Its possible to generate analisys report to download the activities of all power consumtion for monitoring purpose?
I don't see one on the dashboard of HA itself when using in that manner. But of course it is in the database of HA that you could acquire vis SQL. You can also export out the data to various methods using HA as the middleman.
@@digiblurDIY that you sir.
This board not available
He goes in and out of stock. Check the Emporia one ua-cam.com/video/z0Jv4nO9OWg/v-deo.html
@@digiblurDIY thanks
Do all of these clamp style readers support dc?
Don't know. I've never tried. I've only used it for AC
Does anyone have any thoughts on this this open source kind of solution will ever have support for flexible current sensors (Rogowski coils)?
I would love to implement this local only Home Assistant based solution -- which would also be great for monitoring my usage when running off my whole home generator -- but at this time I'm still stuck with Emporia Vue because they are the only company I've found that offers flexible clamps (Rogowski clamps) that actually fit around my mains in my very tiny main breaker panel; regular CT style clamps just physically cannot be installed...
Are the specs not the same output as CTs?
@@digiblurDIY I’m not sure… they are different in that they have their own power source and connect to what they call an “integrator” circuit board…so I assume they work differently but don’t really know. Maybe the power source and “integrator” chipset they connect to normalize it somehow?
Which esp32 with external antenna do you recommend? Can you paste the link of one please thanks
Basically one like this...check the pinouts to make sure the correct pins are there though from wherever you get one. amzn.to/3vE503s
Ty
Did something change in the home assistant energy setup? I did not have this setup before but I had the esp energy meter already setup but its not seeing any of my sensors in the homeassistant Energy setup, under grid consumption I do not see any of the esp energy meter sensors, but they are clearly visible in home assistant dev tools and under devices... Anyone have this issue?
I haven't seen issues with mine disappearing. Do you still have the required entities?
@@digiblurDIY yes its not disappearing..it never shows up in the list. The device and entity show fine and show stats in HA fine
do you have the daily energy platforms and such set in ESPHome?
github.com/CircuitSetup/Expandable-6-Channel-ESP32-Energy-Meter/blob/master/Software/ESPHome/6chan_energy_meter_house_solar_ha_kwh.yaml
Anyone know how to get a hold of one of these in the uk?
circuitsetup.us/
2x? Nah, I'd never go above 1.5x for ya, bro. 😜
is there anywhere i can get this board locally in UK ? or EU ?
I don't think so. He does ship internationally from what I've heard.
Lol, yeah I do use 2x.
I don't blame ya. They need to add 3 or 4 for myself.
Isn't that useless to monitor the amps of an AC line without monitoring the phase of the voltage,
I wonder did you draw any conclusions about monitoring the current only for a year?
Been using this product for more than a year and still like it. No regrets. I only have single split phase in the US and only need to monitor the voltage reference of the one phase available to us.
@@digiblurDIY ok so you are monitoring the voltage, I didn't see that in the video... so everything is basically just as I'd do it as well in Taiwan (we have 110V here). Thanks for your reply!
Correct. It uses the AC to AC adapter for reference voltage