DIY Home Power & Solar Energy Dashboard - Home Assistant w/ ESPHome

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments

Very informative video!

👍︎︎ 1 👤︎︎ u/tavenger5 📅︎︎ Aug 21 2021 🗫︎ replies

So I was just thinking about this today, you could in theory put one on both the compressor and fan power lines in your air conditioner condenser outside and effectively monitor them not necessarily for power consumption but for amp draw and be alerted when or if they start going over the stated draw of the motors. If your compressor is rated to draw 7 amps but it's starting to draw a 7.2 7.5 etc you could be alerted to a possible failure before it fails.

👍︎︎ 1 👤︎︎ u/FinalF137 📅︎︎ Aug 22 2021 🗫︎ replies

Can you please describe in more detail how to connect ct clamps and how are they work?

👍︎︎ 1 👤︎︎ u/cvelle89 📅︎︎ Aug 22 2021 🗫︎ replies
Captions
so what is all this energy dashboard stuff well in-home assistant and the great developers have made it really stupid simple to go through and add in your power consumption of different devices and your solar and then even feeding back and then the different tariffs and the amounts and everything it's pretty nice what they've done so far and this is only the beginning [Music] [Music] well if you follow the channel for some time i did a video probably a couple years ago of the diy home power monitoring and that is using esp home so of course it's all open source software and it's purely local there's nobody else's server in the cloud to deal with and then to change stuff and turn it off you own the equipment and you control the destiny of that data um let me tell them something um like and subscribe or you will have a flood like this [Applause] and with that said of course there's always going to be all the different markers and chapters that way you can just skip along and don't have to listen to me ramble well i guess you would but you could put it on 2x as well so if there are some other power monitoring solutions that are local open source definitely let us know down in the comments down below i'd like to take a look at them because right now as it stands the one by circuit setup is hands down the most flexible and open solution that i can find because you could do so many different circuits you can just expand and add additional boards to it to do some six channels to 12 and now of course i want to do 18 channels so definitely let us know down below if there's anything else out there that does you know hit all the check boxes that we need so what does this exactly solve well previously i mean you had graphs and you could go look at things in home assistant right absolutely the default graphs they're typically what 24 hours of usage and i can see the total amps for both of my split phases yes i'm in the us so we have a split phase set up in a residential where we have 120 volts on one side and 120 volts on the other side that are out of phase and then if they put those together for our larger appliances such as electric dryers and air conditioning electric stoves electric water heaters etc i mostly have gas in my home of course except for air conditioning so that's what a lot of these you'll see are the different air conditioning cycles running i can even come down here and tell that i know what this was this was the coffee pot that was cycling on and off this morning i probably shouldn't have let it run that long from what 6 40ish to 8 o'clock i don't think i was drinking coffee that long so some stuff like that i could build in some sort of automation of hey i've let the coffee pot run too long and now i'm wasting electricity and i should go shut that off but what about we want to go to yesterday that's not a thing and there's other ways to do it you can installed influx db whether it be in an add-on or docker container along a grafana but there's a little bit of setup to that and i understand yep the learning curve to do that it's yeah it's a little more than some people want to go through and that's the whole thing with the big push with home assistant is making it really easy for anyone to do one particular thing like this solution of the energy dashboard here you go pick your things hit save and you're done and it starts making all kinds of data for every day now i may be a little biased at this point but once you do set up influx or gafana it's downright may make some beautiful looking graphs but there is a big learning curve but of course with that you can do a lot more so i get where things are and i do like both solutions but you can come in here and go grab all your data for say seven days ago i want to see what went on and i can you can click and zoom in on stuff and go all the way down to exactly what you want to see so grafana is very cool but again there's a big learning curve to get it set up so don't get me wrong not knocking grafana influx are great solutions but we're here to do the thing with home assistant all built in right so i don't have solar on my home but hey if any company that wants to sponsor it and drop off some solar panels in the front yard we'll definitely get them installed hey we might even make a video about it because i know a guy what i've done i have mocked up a solar sensor it's just i use the sensor that's actually on my mini split and kind of that was a smaller usage and that way it could look like i do have solar feeding into it and you'll notice there's all the energy usage and then here's the solar production and then here's the sources i have it broken out in all the different phases or split phase and how much it cost i believe i just threw in kind of a roundabout cost i didn't remember what i actually paid and then i actually threw in just some these are some tasmota plugs and if there's no special setup on them you just use the home assistant tasmota integration and that will pop up and we'll get to that in a minute on talking about some of the entities that don't show up and which ones do so how do we get all this in here or power monitoring for the whole home well let's do a little update check on the newer hardware with the circuit setup 612 whatever expandable board and then we'll go through and show you how to set that up into esp home it's pretty simple but there's just a few steps to it and well let's get on and get to it so this is the version 1.3 of this board there's been a few corrections since we've done our power monitoring video on whole home do-it-yourself power monitoring and doing it very accurately and this is the one where we've taken the initial board and then you stack an add-on board on top of it and it does add an additional six channels so you'll get six channels out of this side and you'll get six channels out of this side for doing your ct clamps and one of the big changes since the initial video is the way esp home and the wiring of the board itself all the ics which are these two chips here they actually do the proper power factor and also do the proper wattage calculation it's not just using what we kind of had to do a hacky way of assuming power factor one and doing voltage times watts so that's not going to be the case here and we'll show that in the yaml code so this is just a little 3d case you can buy this from circuit setup if you like if you don't have a 3d printer i did print this out and there are different sizes they do have the stl files for you to download and do print your own case which is pretty cool now one thing i do want to do a little differently before you had to of course you got to use a esp32 chip put it on the board and the wi-fi antenna is this little pcb here well i want to do something a little differently is i want to have the board be able to be inside the breaker box that way not having to run all those wires outside this wire outside of the box itself and give me a longer wi-fi antenna and that way i could mount the wi-fi antenna outside of the breaker box itself because the breaker box is metal and grounded so it's like the perfect faraday cage unfortunately so do make sure when you are putting this on here that you do not remove this little spacer here that prevents you from putting that esp32 too far down and that would fry your esp32 and simply you want to face the usb connector down pop it right in and there we go we have our esp32 it should go on correctly and there we go got a nice little case here all covered up nothing will get in it and then we can plug in all our ct clamps on the side now circuit setup has gotten us some very cool super small little ct clamps and their 20 amp range so these are perfect for in the us your typical household circuit and then it gives you some really high resolution because it's only 20 amp versus say taking a hundred amp ct clamp and trying to only say measure you know one amp or something which it does work great which we did show that but you can even get some stupid resolution by using a proper size 20 amp and this comes with the 25 milliamp output so that means all you have to do is take the 3.5 millimeter jack plug it into and that's it and then put this around your load you're done you don't have to cut any burden resistors or anything and now you're monitoring pretty cool stuff now one thing i did want to talk about is safety yeah i know you're probably bored well and typically on some breaker panels you can't turn off the top of the breaker panel because that's where the mains feeds in and that's where the only way you could do that is unless you pulled the actual meter on the outside of the house and i know in my area we're not supposed to do that we have to cut the lock off and yeah it's i'm not going to go there so please do be careful of what you're doing in your breaker box if you don't know don't guess go find some drunk cousin that thinks he watched some guy on youtube on how to install these clamps and have him do it no don't do that stop it get some help find a professional it'll help you do it or you can watch them do it and you can just assist of where they go with circuits etc and then you'll know kind of how they go but maybe you shouldn't go do your buddies when you've been drinking too much as well so do make sure you are safe and do the thing do all the things don't need any doctors or whatever because they won't get to you quick enough if you pop yourself with all that good mains voltage so that's out the way don't do your thing don't come blame me it's all on you probably not how the lawyers want anybody to say that but whatever so what i highly recommend is test this on the bench first you can test it with a little wire and check it out that way you can get it all configured that way you're not wasting somebody's time that's helping you install it or installing it for you you don't want to go over two of them because that would if they're out of phase they'll actually kind of cancel each other out so you just want to have it on one hot wire now if you do have room say on your air conditioning or dryer or you know those ones in the us that do do split phase it you can if you have enough room in there have one of the leads go through the ct clamp one direction and then have the other lead come down through the other direction and it will add those up for you a little pro tip there for you so that's another thing we did want to talk about is if the clamp is the wrong way and you really don't know until you just really gonna have to try it's a 50 50 chance you will see the wattage showing as negative so as you can see here yeah we have the esp32 nodemcu we will gonna program that with esp home you will need to attach to just this esp chip to your computer or whatever through the usb cable do not double power it by the board in here you'll make this magic smoke come out don't blame anybody except for yourself because you heard it here so if you don't have esp home installed and you are running the supervisor and no i didn't say it with the t go rewind it i can't claim that about the other videos if you go to the add-on store i do believe it's in here now it's under the home assistant community add-ons but i know you can also go to the esp home i o page and i have a little link that'll install it for you there you don't need development you don't need things special with it i don't think there's any even crazy setup there's no configuration at all with it just hit install now for the ones that are doing say unraid you can just go to the app store in your unraid server and you can just install esp home there and it'll just go through kind of like this and to pull that container for you the docker compose people you probably know what you're doing there just go and add in that docker tag and pull it down they have all the information we'll leave the link down below at the esp home webpage so circuit setup has a github web page with a ton of excellent documentation that he keeps up to date all the cool links and if you've done documentation you can appreciate how much time was put into this now the software we're going to go into esp home and we're going to take a look at the one with solar he's got the esp home file all here for you we're just going to copy it straight into ours and change what we need and the cool part he even has all the current transformer sizes from all the different models that people have done or he's done and did the calibrations on them so you don't have to spend the time to do the calibrations on it now if you do have a different size clamp you can go through and basically just change the numbers until you get a good reading on it based on say some other type of meter or known load so we'll go ahead and we'll hit the raw button because we just want to get the raw file we'll copy and paste it into esp home so if we go over to our esp home and yeah i wish they would do dark mode on esp home um so we're gonna go in add a new and we're gonna make up our own file i'm just putting this in here just to kind of make that kind of core file so it's esp32 hit next and it creates the energy monitor i'll go ahead and hit hit edit and i don't want any of this i'm just going to go ahead and go back to the raw control a control c and we'll control a and we'll paste that right over the install here and the display name i'm gonna change that to the 6c meter i guess i should have called it meter but we'll call it monitor why i have a static ip if you're curious i know you don't require for every network i've had issues with mdns and the names not resolving at times so i just chose to do a secrets phone i put all my ip addresses for all my different esb home devices in there and it's a one stop shop and i won't confuse the ip addresses and then same thing for gateway subnet dns i just put a secret entry in there for those as well even though they're not really secrets because it's just a local 10 dot non-routable ip again because there are those six channels so here's the channels you can see he is looking at house l1 amps he's got the solar he's got hot water he's got dryer all the way down and then these are the templates so of course you would change it based on what you had and there is a example let's say if you had the 12 channel you can just use that file and just name it what you name each thing of what circuit they go on of course if you have different size clamps you'll need to also change the calibration size for that clamp because say you may have a 100 amp on say two of the channels for your whole home and then say you did the other four you did say a 20 amp on each of course you'd want to have the calibrations correct for each channel the templates this is where things going to get unique based on your setup again now of course he's got listed in here the house l1 amps and house l2 amps those again this is the us setup so is there's two of those phases that split phase you need to add them together to get the entire whole house amps so you're probably going to use that in your energy consumption panel then same thing for watts you're adding all those watts together and then there's the ever important ones you do need to have these in here for the energy panel to see them you need to have the total daily energy of the house kilowatt hours so here's the kilowatt hours he's doing the entire wattage of the entire house then also he's doing the entire total solar watts for all the panels etc and then he's even got some individual ones for examples say your hot water and no it's not a hot water heater so i just put water heater if i were you then dryer and yeah big plus there if you have an electric dryer you can even put a clamp on electric dryer so you can know if the dryer is turning off and on that give you that ever important notification that the dryer is done and yeah we did that in another video with a gas dryer but that's how you do it with an electric dryer with this as well if you didn't want to build that little diy thing clamp so that's pretty much it it looks a little daunting file but it's done for you you just go in and go change it for what your house is and you call it a day hit save and hit install and that is where things are a little different now with esp home i don't agree with some of the terminology here wirelessly because not all everything's wirelessly there's extra steps to things but hey maybe things will get better as they maybe refine some of this i hope but you can plug into the computer the server and then do your thing but i'm just going to hit manual download and it goes through and it will pull all the parts and pieces and do the compiling on your device and it will download the bin file or flash it straight to the esp32 if you need help with a lot of this stuff there is a great faq guide over on the esp home side and they'll help you go through a lot of the parts and the walkthroughs of installing it as well as if you look at the circuit setup github page has all the installation instructions there as well or just come hit us up in discord there's a lot of cool people and you'll find that link all the way down at the bottom you can jump into our discord and go say hey i need help flashing this thing i guess that shouldn't that's the term it's install now not flash can't use those scary terms so again don't do this do not power it and put your usb in and that way you would double power it don't do that you can just take the esp off of the board it just pops off and then you could program it that way now you will get the errors and it could find the chip of course but that's no big deal you'll just pop it back on power it and then it will be fine or you can remove the power and then you can power it and install the bin file just like that so be careful and be mindful of doing the power and the usb cable but like i said this is just only needed the first time to put esp home on it after that you'll do everything over the wi-fi now of course if you use the other methods you don't have to use the esp home flasher so it'll go through write the bin file to it and you'll be good to go once it's finished remove the usb cable power it up with the board power supply and make sure everything works you can actually see that we do have it as online and if we wanted to we could go look at the logs as you can see we're seeing all our sensors actually can see the frequency is hertz and i can see we have the energy monitor for esp home waiting to be configured if it's not in there you can go through an es hit add integration and then you can manually put in the name of the ip address and to add it in there if you're using the api if you're using mqtt it will appear in your mqtt and we'll jump into energy monitor and you can see we have all the entities there and if you have the web enabled you can just go to the iep address and pull up all the web page information straight on the device now how do we get it into the energy dashboard first time you go in it will go through and do the steps for you if you've already done through messed with it you go to configuration and go to energy there so we're going to go ahead and hit add consumption and there we are we have our consumption there it is hit house and say we'll do a static price it's looks like it's in euros this is just a little test sensor system we'll just put something there yeah you can roast me all the comments down there about the prices then we'll hit next and solar we'll pick solar kilowatts we'll hit next then you can hit individual remember we did the ones for the water heater and the dryer and we'll say show me my dashboard there it is that's it that hard to install now it will like i say take up to two hours here to start showing data but it's going to show all the stuff in here and it'll show your monitor individual devices and then you'll get the days to jump back and forth in there it's pretty cool that they built this all into home assistant and it's not that hard to set up the really difficult part is just getting that data into your system and we all got to kind of do it a little differently some maybe have some power monitoring that comes with their smart meter or whatever but i don't in my area so this is how i have to do it is with that power monitoring board so if you got any questions i know we threw a lot of data at you at one time and parts and products and everything if definitely shoot me a comment down below contact me however you want to do that or just come jump in the discord link down below no we won't bite much we may pick on each other a little bit but hey it's all in good fun but we'll answer all your questions and everything there are some other folks in there with some crazy solar setups and some of them just have some simple stuff and some of them do some great dashboards so a big mix of people definitely check us out in discord and i do appreciate all the patreon subscribers and the youtube members it helps bring new projects and products to the channel all the time click all those buttons and you all take care what is it again press all the buttons and you'll take care [Music] you're killing bro hey bro you're chilling [Music] i'm getting it i know tomorrow why [Music] you
Info
Channel: digiblurDIY
Views: 10,090
Rating: 4.9704432 out of 5
Keywords: digiblur, digiblurDIY, esphome power monitoring, esphome SCT, esphome CT clamp, esphome circuitsetup, ATM90E32, home assistant whole home power, diy power monitoring, how to monitor home power usage, smarthome power monitor, kwh whole home, esp32 power monitor, opencms home assistant, hassio power, hassos power, solar monitoring, smart solar monitor, circuitsetup, shellyem alternative, home assistant dashboard, energy dashboard, digblur, home assistant solar, kwh usage, emporia
Id: n2XZzciz0s4
Channel Id: undefined
Length: 26min 34sec (1594 seconds)
Published: Sat Aug 21 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.