My energy monitoring in Home Assistant

  Рет қаралды 9,908

John Tisbury

John Tisbury

Күн бұрын

This video covers my current home energy monitoring setup in Home Assistant.
I cover the Tesla Powerwall 2 and myenergi integrations and how I have displayed the data. The myenergi zappi, eddi, harvi x2, hub are integrated.
🔴 Octopus Energy £100 (shared) referral link: share.octopus....
🔴 Setup:
4.0kW solar array, installed Sept 2011, 16 x 250w Sanyo HIT-H250E01 panels
3.8kW SMA Sunny Boy inverter
2.34kW solar array, installed Oct 2019, 6 x SunPower Maxeon 3 390w panels
2.2kW SolareEdge inverter
Tesla Powerwall 2 (Gateway 1), installed Dec 2018
Tesla Model 3 AWD Performance, delivered 28th Sept 2019
Hyundia Kona SE 64kW, delivered 1st July 2019 - sold Dec 2021
Renault Zoe 22kW, delivered 5th Jan 2022
myenergi eddi, installed July 2019
myenergi zappi v1, installed Dec 2018
myenergi harvi x 2
myenergi hub
myenergi iOS app
Kaifa MA120 SMETS2 smart meter
Based in Rushden, East Midlands, UK
🔴 Subscribe for free KZbin: www.youtube.co....
✅ Recommended playlists:
Tesla Powerwall 2, solar and EVs
www.youtube.co....
✅ FOLLOW ME:
Instagram: / johntisbury. .
Twitter: / johntisbury

Пікірлер: 57
@justinpeer5660
@justinpeer5660 2 жыл бұрын
I’ve just started playing with home assistant and energy monitoring is the biggest driver for that. Having just installed a battery system I was wondering if my Eddi diverter data could be added to HA and your video was the top hit on my search. Thanks for explaining it so clearly, I’ll be getting it set up this weekend.
@johntisbury
@johntisbury 2 жыл бұрын
Great to hear. It’s a HACS integration very easy to install: github.com/CJNE/ha-myenergi
@AllElectricLiving
@AllElectricLiving 2 жыл бұрын
Very impressive John ,
@johntisbury
@johntisbury 2 жыл бұрын
Thanks Chris, inspired by Nigel (EVPuzzle) as he tweeted his dashboard with myenergi integration
@robinedwards218
@robinedwards218 2 жыл бұрын
Nice video John. For batteries I use a blueprint that once a a day checks all batteries and pops a message on my phone for any getting low. There are a few blueprints that do similar th8ngs. Works great.
@johntisbury
@johntisbury 2 жыл бұрын
Thanks Robin for watching. I'd seen a similar setup from Smart Home Junkie that only displays a battery percentage when it gets below a certain threshold otherwise its hidden. I will investigate yours too. The batteries in question are for Shelly motion sensors and seem quite efficient being that they are Wi-Fi.
@mrmuds8624
@mrmuds8624 2 жыл бұрын
Great video John!!! Nice to see that the MyEnergi products have nice and useful integrations.
@johntisbury
@johntisbury 2 жыл бұрын
Thank you. Their API is a useful integration
@mrmuds8624
@mrmuds8624 2 жыл бұрын
@@johntisbury I've been experimenting with Home Assistant lately and seeing what works well etc in the hope that in the next 3-5 years when I have the funds to refurb my house top to bottom, I know the spec of hardware that I would need to purchase.
@johntisbury
@johntisbury 2 жыл бұрын
That’s a sensible approach. Hardware, standards and protocols are on a constant product lifecycle. I like that HA is open source and can run locally. Gives longevity and security over not getting locked out of products.
@paologuarino746
@paologuarino746 2 ай бұрын
Hi John, does the myenergy app automatically integrates with Home assistant? What’s the process to add it?
@johntisbury
@johntisbury 2 ай бұрын
@paologuarino746 easy to install via HACS github.com/cjne/ha-myenergi
@RobertFitzgerald85
@RobertFitzgerald85 2 жыл бұрын
Thanks for posting the video - I have just got my own place setup now. Just need solar panels and a battery to finish out the system :)
@johntisbury
@johntisbury 2 жыл бұрын
Thanks Robert for watching, glad to hear you are a fellow home automation geek. Solar and battery will certainly add to your home in many ways all with beneficial outcomes.
@yawson06
@yawson06 7 ай бұрын
@robertfitzgerald85 did you get your solar and battery yet?
@davidbayliss3789
@davidbayliss3789 2 жыл бұрын
Wow - you have an impressive set-up! Thanks for sharing so much detail. It's stuff I can only dream of - living with my partner in a tiny terrace-house. Wall space not occupied by doors or windows is a premium lol. I'm "building" my "lab" onto some internal wall space - with resin studs etc. to hold up the weight although the wall is a mix of some reachable brick and some seemingly steel bar, lots of hollow behind the plaster ... just a real mix of conditions in a tiny square-section. It's an old house and not very accommodating for such projects. I was going to put stuff in the attic but monitoring the seasonal temperature plus realising the size and weight of what I was doing changed my mind. Couple of Intel NUCs with big heatsinks for passive cooling though I have quiet fans for them potentially set-up for ducting (future heat-management project), couple of Pi-4's incl. one for Pi-KVM but I'm looking at getting Docker running on it's Arch Linux r/o system with a writable disk to run HomeAssistant on that one too, all held into recessed steel screwed in behind, and with tamper-resistant nuts on the studs ... and then a lot of din-rail stuff and din-rail smps' and chassis style smps' including ac-dc and dc-dc isolating etc. ... and then a section for my battery module. I try to avoid very high currents so that it's easier to work on things with more available parts, and to avoid opportunities for accidents. I'm using 8x approx. 100Wh LiFePO4 (cheap) batteries and lots of ideal diodes and solid state switching of one kind and another and lots of DC monitoring, and AC monitoring - I've bought 12 sensors using Ali Express lol that have isolated SM Bus connectors ... to mesh it all together with mostly I2C bus tying it together. I want to know exactly where my electricity goes for different devices to help gamify reducing it and understanding what my "baseload" requirements are. I have 4x WiFi plug based sensors for that at the moment, using home assistant to monitor them, but the findings are too broad for my silly mind to take positive action on ... I'm in too much of a "mess" pending this project's completion. I need some at-least semi-permanent infrastructure I can build on top of rather than 0-surface and limited floor-space that I've endured for the last 15-years or so. Further to that I have shelving for my lab instruments. When I get nearer the finishing stages of the hardware build. No space to work in so metal work etc. is hampered by cramped conditions. I'm interested in fractional charging and stand-by UPS use for the DC-DC isolated SMPSs and a 300W AC inverter I have - all double conversion and 2x allowance for derating... but ... I'm also considering using the rig like a mini-home battery. I use Home Assistant too - it's great. :) I'm setting my build-up to be "solar friendly" to tie in directly even individual panels using buck boost stuff as a poor mppt substitute and with some source switching and OR'ing ... though I fear the state of our roof might prevent my solar fantasy from ever succeeding. My design principles are predicated on DIY - and being able to adapt in the future and fix things myself etc. with available parts and future technologies ... plus belts and braces on reliability and lightning surge resistance and stuff. I have RCD and over/under voltage / current etc. even on my 300W inverter with 20V TVS on all the AC-DC outputs. Gas discharge tubes on all the incoming/outgoing network cables even though they're already isolated to 4KV I think. 25A stranded A/C wire that will normally see about 1A (that gets "buried" behind the steel). I might only live a few more decades very-best-case but I tend to build when I can for centuries. :) I have general (expensive) anxiety lol. It's a multi-month and for me, very very expensive project. Hampered by parts availability too. For 8x INA219's I think I have, for example, because I couldn't get the INA... whatever they are with the built in R and more appropriate current capacity, I have to change all the surface-mount resistors to a more suitable value and then program them each suitably. Set their addresses. 8x at least. Because I'm going with this distributed approach. Lots of little things like this add-up in time. My insistence on LiFEPO4 over LiPo is really annoying when it comes to microcontrollers that support battery charging. I use car blade fuses half the value of my 12AWG wiring (worse case - ignoring chassis conditions) and continuous battery discharge rating, and then slightly lower trip-rated polys, fuse and 100mA trip-current poly's on all the VBUS measuring wiring, and microcontroller overload shutdown anyway. On top of the BMS protection provision in the batteries. And the batteries are in LiPo charging bags in a metal enclosure. Yep. Anxiety and over-abundance of caution is me. If I still manage to get a fire despite all my mitigations I'll consider myself extremely unlucky. But it should mean it's easier to maintain and adapt in the future. Lots of redundancies and fewer hard dependencies. I don't have money now and I doubt I ever will have in the future. :) My fantasy of fractional charging ... i.e. charge to 100% and then discharge to a holding state, every so often, with intelligent adaptation to brown outs / black outs and managed load depending on transient residency status doesn't seem to be "done" and I have to implement it myself. I'm my own worse enemy. :) Firewalls and VPNs and VLANs and internal gateways galore. Internal SSL and SSL handoffs on stuff, encryption at rest even for my back-up home-made NAS hidden in the attic. Scared of my own shadow. Overwhelmed by too much information/too-many technologies for work, and home project stuff. Wonder I ever get anything done at all. All I want is stability / capable supporting infrastructure and a "lab" to work on my hardware/software ideas ... I want resilient hardware energy implementation equivalents to kubeneties etc. with high-availability and high-observability. When I achieve that I'll finally be at the starting line. :) Maybe I'll finally get onto general AI and robots lol before I die. Maybe. Anyway - a lot of the time I'm working in the "dark" - not knowing how things should be done or what can be done (with proper resource) - and it's great when people share such details of how they implement these technologies. Ta. :) KZbin suggested your video I think because I'm always looking at energy related stuff - management etc. ... and EV stuff (obviously Tesla) and so on. Cool.
@johntisbury
@johntisbury 2 жыл бұрын
WOW you really are in deep! Awesome!. I read all your comment, I must confess I did'n't understand it all as over my pay grade, but impressed with your level of detail, knowledge and approach. As you say it's great to share setups and information even if at first things don't seem to be related. I often get ideas from other people's projects, workaround and general approach to their problems solving. Good luck with your lab and hope the parts shortages doesn't hamper you too much.
@Eggnog3000
@Eggnog3000 Жыл бұрын
Great video, is it possible to turn a smart plug (tapo etc) on using the myenergi entities. Eg. Your EV is fully charged from Solar by our Zappi and you start to export surplus, can you then make the smart plug turn on to utilise this surplus for the hot tub etc? Was going to buy an Eddi but have hot tub on smart plugs already. Hoping I can get the myenergi data to switch them with HA somehow?
@johntisbury
@johntisbury Жыл бұрын
Yes there's no reason why you could not do this. There is a risk with switching the amps required for this setup, many of the smart switches are not designed to take these types of loads for extended periods of time, despite them being rated for 13amps. Best to get a dedicated relay switch if you want to safely do this. There are smart relay switches that will work in HA I believe.
@glyn1782
@glyn1782 2 жыл бұрын
John excellent I wish I had the patience so 👍👍👍 p.s one question I forgot to ask on your Systematics drawing I noticed it said 60 amp main fuse for a long time now it’s 100 amp ?
@johntisbury
@johntisbury 2 жыл бұрын
Thanks Glyn. It does require a bit of patience and an interest in configuration. My fuse has always been 100amp on my schematic, I've just gone back and checked, you maybe mixing me up with another person's schematic.
@highland-oldgit
@highland-oldgit Жыл бұрын
Looka similar to the setup I'm planning on a new build. Can you sue HA to prioritise where excess solar goes. I mean make rules for Eddi or Battery or EV ?
@johntisbury
@johntisbury Жыл бұрын
You can but there are caveats. Most likely you need to be comfortable dabbling under the hood of HA, also the battery / EV needs to be supported via an integration, full list on the HA website. Myenegi zappi/eddi is supported.
@Jaw0lf
@Jaw0lf 2 жыл бұрын
Great video John, maybe you can help with my setup as the Tesla powerwall has stopped working in my home assistant installation.
@johntisbury
@johntisbury 2 жыл бұрын
How long has it been offline? I've looked at the know issues and there's only 1 outstanding. It's often worth having a look through there. I'd suggest posting a help post in the HA Forum or on GitHub. A copy of the error message from the Log would help to Settings > System > Logs Outstanding issue: github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+powerwall%22
@danieltpope2518
@danieltpope2518 2 жыл бұрын
Nice John! One question, the energy distribution on your energy dashboard. What integration is that?
@johntisbury
@johntisbury 2 жыл бұрын
Thanks Daniel. The Energy dashboard uses Tesla Powerwall in my case. However it can take many feeds. Solar, eg SolarEdge, battery, grid import/ export, gas.
@danieltpope2518
@danieltpope2518 2 жыл бұрын
@@johntisbury is that a specific Tesla powerwall integration to get the powerwall entities?
@johntisbury
@johntisbury 2 жыл бұрын
@@danieltpope2518 yes. There's 2 built in integrations for Tesla. 1. power wall and 2. their wall connector.
@LiveActionFX
@LiveActionFX 9 ай бұрын
I've got a similar system (solar, powerwall, zappi, eddi, harvi and hub), just started with Home Assistant yesterday - can you provide or point me in the direction of an idiots guide to setting up the energy distribution flow - I'd like to use the harvi CT clamp sensors to show the current flow of energy, but they're not available in the grid, solar, battery configurations (can see all the other MyEnergi devices/sensors, but not from the harvi) I just want to get the energy distribution flow to reflect reality - Hope you can help.
@johntisbury
@johntisbury 9 ай бұрын
I’m assuming you have the myenergi HACS integration installed? I can see the harvi ct clamps in my installation but they are not showing when trying to add them to an energy dashboard. Not sure why, above my pay grade.
@LiveActionFX
@LiveActionFX 9 ай бұрын
@@johntisbury From my reading it looks like the device_class is not set to 'energy' so not accessible for the energy dashboard, I've been trying to use the Powerwall sensors instead, but same issue - I'm using the 'Tesla Custom Integration' (which allows mode switching and other controls) rather than the standard 'Tesla' / 'Powerwall' intergration - which are you using?
@johntisbury
@johntisbury 9 ай бұрын
@LiveActionFX I’m using both Tesla integrations, official Powerwall one and HACS custom integration.
@LiveActionFX
@LiveActionFX 9 ай бұрын
@@johntisbury Been trying to add the official one, but every password I try fails - copying password from sticker inside gateway and trying every combination of the password for the Tesla App and no luck 😞
@johntisbury
@johntisbury 9 ай бұрын
@@LiveActionFX password is 5 digits long. It's the last 5 numbers on the sticker in your gateway labelled as TSN:
@nickwilliams1953
@nickwilliams1953 Жыл бұрын
If I wanted to understand my home power consumption better and integrate this into Home Assistant is it possible to have a Harvi and a Hub only?
@johntisbury
@johntisbury Жыл бұрын
You need a master device, an eddi or zappi for the harvi/hub to work. So it's a no.
@Dutchlincoln
@Dutchlincoln 6 ай бұрын
nice dash. No info at all on the integration, or issues you ran into, or how you've done this...
@johntisbury
@johntisbury 6 ай бұрын
Thanks for watching. This video was never intended as a how to video, there’s plenty better qualified out there who do a more in-depth and technical step by step than I ever could.
@m1geo
@m1geo Жыл бұрын
MyEnergi doesn't exist in my HomeAssistant integrations menu. Any ideas? Thanks!
@johntisbury
@johntisbury Жыл бұрын
It’s a custom integration in HACS. Easy to install. github.com/CJNE/ha-myenergi
@MrKlawUK
@MrKlawUK 2 жыл бұрын
nice - thanks. Just starting out with HA. Any particular tips to get the graphs etc to show up or is that standard with those entities? And any tips on how to get the predicted solar generation or sun hours that you showed?
@johntisbury
@johntisbury 2 жыл бұрын
Thanks you. For solar forecast I use Solar Forecast forecast.solar I use AccuWeather for weather forecast and sunshine forecast www.accuweather.com/en/ Search in KZbin for how to install both of the above. Most of my charts are the standard install charts, so nothing fancy. The Energy tab is a great one once it's setup, but that is rather unique to each person based on what devices and components you have.
@damo_c
@damo_c Жыл бұрын
Hey John Which cameras are you using inside the house?
@johntisbury
@johntisbury Жыл бұрын
None, they are photos in HA. Outside I’ve just installed Eufy S330 which are brilliant
@damo_c
@damo_c Жыл бұрын
@@johntisbury I was looking at those. They look great
@shaunwhiteley3544
@shaunwhiteley3544 2 жыл бұрын
5:20 does the solar forecast take into account what the weather is like? Thanks
@johntisbury
@johntisbury 2 жыл бұрын
Yes it does. You can also define your declination, azimuth, total wattage of panels, inverter size and add/reduce a dampener for shading in morning or evenings.
@mikenicholls8901
@mikenicholls8901 2 жыл бұрын
Hi John. I tried to copy your mailbox motion sensor idea, but when I put the sensor in the (steel) mailbox, it lost its WiFi connection. Did you just not get that problem? Or did you find a solution?
@johntisbury
@johntisbury 2 жыл бұрын
Hi Mike, interesting. Our mailbox is cast-iron and enclosed and the wi-fi signal is good, router is about 8 feet away, it's never lost signal yet. Not sure which motion sensor you are using or how far away from the router your postbox is.
@mikenicholls8901
@mikenicholls8901 2 жыл бұрын
@@johntisbury Thanks John. It is about 20m so I think it is the distance and material. The sensor is a Shelly. Which did you use?
@johntisbury
@johntisbury 2 жыл бұрын
@@mikenicholls8901 same as you a Shelly.
Built-in and Custom Energy & Power Cards in Home Assistant
13:24
BeardedTinker
Рет қаралды 53 М.
Energy Monitoring with Home Assistant
10:13
Home Automation Guy
Рет қаралды 94 М.
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,2 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 110 МЛН
Home automation that's private and local?! (Home Assistant Yellow)
19:49
Home Power Monitoring with the Emporia VUE and Home Assistant.
24:29
DIY Home Power & Solar Energy Dashboard -  Home Assistant w/ ESPHome
26:34
Home Assistant Dashboards for Beginners! (+ my favorite custom cards)
17:15
Build your own CT Clamp Power and Energy Monitor with ESPHome
9:34
Speak to the Geek
Рет қаралды 74 М.
Octopus Agile tariff and why I swapped to it
26:34
John Tisbury
Рет қаралды 10 М.
COMPLETE power monitoring for your home!
17:38
BeardedTinker
Рет қаралды 25 М.
Zappi, Tesla, sunshine... and a bit of Home Assistant!
22:39
Quentin Stafford-Fraser
Рет қаралды 15 М.
DIY Whole Home Power Monitoring with ESPHome & Home Assistant
30:39
digiblur DIY
Рет қаралды 255 М.
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,2 МЛН