Power Flow Cards for Home Assistant

  Рет қаралды 25,513

Speak to the Geek

Speak to the Geek

Жыл бұрын

Today I'm reviewing two power flow cards for Home Assistant: the Tesla Style Solar Power Card; and the Power Flow Card. I'll show you how to install and configure each of them, and go over their individual advantages and disadvantages. Full article here: www.speaktothegeek.co.uk/2022...
Buy me a coffee:
www.buymeacoffee.com/speaktot...
paypal.me/speaktothegeek
Tesla Style Solar Power Card: github.com/reptilex/tesla-sty...
Power Flow Card: github.com/ulic75/power-flow-...
How to install HACS: • How to install HACS in...
AviadorLP's APF template sensors: github.com/reptilex/tesla-sty...
Hildebrand Glow IHD: shop.glowmarkt.com/products/d...
(UPDATE! check out this video I have put together about the Power Flow Card Plus. It fixes a lot of the issues and compromises of the two cards discussed in this article: • Power Flow Card Plus f... )

Пікірлер: 66
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
UPDATE! check out this video I have put together about the Power Flow Card Plus. It fixes a lot of the issues and compromises of the two cards discussed here: kzfaq.info/get/bejne/eZqKm5Zmqp_benk.html
@matbantube
@matbantube Жыл бұрын
Thank you for introducing these power flow cards to me. I was able to install the Tesla Style one by following your instructions.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Good to hear it was useful!
@matbantube
@matbantube Жыл бұрын
For anyone interested I have forked the Tesla Style Power Card and made some layout improvements, particularly around the display of extra entities.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Here's a link to the forked repo because matbantube can't post links: github.com/matban666/tesla-style-solar-power-card
@czi2011
@czi2011 Жыл бұрын
brilliant! thank you. thumbs up, subscribed. Would be interesting to know which browser you were using as you noticed rendering issues. Could you think of how to implement the EV‘s battery not only being charged but also to provide power to your house (replacing the main battery)= power2house or power2grid?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
I honestly can't remember which browser I used for the demo, but it would either be Safari or Chrome. Implementing a specific traffic flow from EV to home would likely require updating the card. Check out the Power Flow Card Plus and maybe make a suggestion in GitHub to the developer: github.com/flixlix/power-flow-card-plus
@mangios85
@mangios85 Жыл бұрын
Thank you so much for your clear summary. I live in Italy. I have been using the power flow card for about a month. Very beautiful and intuitive, but I don't like the movement of the dot. Because when the house is powered by a single source, the speed is the same, both at 1kwh and at 5. In the Tesla style, I had greater fluidity compared to real consumption. Do you think it can be changed? The min and max do not act in this case.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
You'd have to be willing to dive into the code in order to tweak the dot speed algorithm I'm afraid.
@mangios85
@mangios85 Жыл бұрын
@@SpeakToTheGeekTech yes. You're right. Ulic75 wrote the message below: This formula is based on the offical formula used by the Energy Distribution card. max - (value / totalLines) * (max - min); // max = max_flow_rate // min = min_flow_rate // value = line value, solar to grid for example // totalLines = gridConsumption + solarConsumption + solarToBattery + // solarToGrid + batteryConsumption + batteryFromGrid + batteryToGrid I'm not 100% happy with this.
@RichardABW
@RichardABW Жыл бұрын
Thanks for this. I now have HACS on my Docker Home Assistant setup. How do you get your 'File Editor' option on the left menu? I'm excited to see the SolarEdge Modbus repository come up in HACS!
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Assuming you are running Home Assistant operating system, go to Settings > Add-ons > Add-on Store (button bottom right) and search for File Editor. If you're not running Home Assistant OS (so, in Docker for example) then you'll need to find other ways to edit the configuration files.
@miguelreyesmelendez
@miguelreyesmelendez Жыл бұрын
Hi there, i am trying to follow your configuration for the Tesla Style... However i can't find the APF entities on the file editor, is there any reason for that?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Hi, you need to copy and paste the configuration for all of the APF entities from the code snippet on my web site. See the link in the video description.
@Lyngaae
@Lyngaae Жыл бұрын
It's a really great video, and quite easy to follow for a newbie ;) I'm just not smart enough to do this, cause my import/export power is the same entity, but either positive or negative. The same goes for my battery, but opposite of your saying. So I',m not sure if I can use this. Should i create a sensor for import and turn it positive, then create another for export that's also positive. If so, could you please help with that ?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Which card are you configuring, Tesla-style or Power Flow? It's easy and possible with both cards. The Tesla-style one is designed for import/export being the same entity. - name: APF Grid Entity device_class: power state_class: measurement unit_of_measurement: W state: "{{ 0 - states('sensor.simulated_power_grid')|int(default=0) }}" where it says sensor.simulated_power_grid is where you put your actual entity instead. If it's negative when importing then that's fine, otherwise remove the '0 -' bit in the state line. For the Power Flow Card, if you need to reverse the import/export positive and negative then just add an inverterd_entities line before the list of entities like this: inverted_entities: battery, grid entities: grid: sensor.simulated_power_grid solar: sensor.simulated_power_solar_generation battery: sensor.simulated_power_battery battery_charge: sensor.simulated_battery_soc
@Lyngaae
@Lyngaae Жыл бұрын
@@SpeakToTheGeekTech Thangs for your quick reply :) I am trying to configure the Tesla style.
@MrDBT85
@MrDBT85 Жыл бұрын
Just sorted both out for one of my invertors. I prefer what the Tesla one can do (adding the appliances, showing extra data in the circles) however Power Flow card just looks so much nicer. Sadly it seems the dev has no interest at this time in adding additional bubbles or even allowing the Gas/Water ones they have added to be configurable, and sadly fixing that is well beyond my capabilities.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Yeah, same here. I did manage to start playing with the typescript source to tweak some css just to see if I could. Managed to compile it to Javascript too and run it, but it's a very long winded process. I reckon if I could set up a nice streamlined virtual instance of Home Assistant that VSCode can quickly and easily automatically integrate with then I'd stand a chance of being able to fork the card and adjust the gas/water bubbles to be templated. It's just getting the time! I'm sure I'll get around to it some day.
@ramilbrion4344
@ramilbrion4344 Жыл бұрын
Hi. I want to ask you how to get the solar entity? I have solar panels at home as part of new build house installation. By the way, I followed your videos about Hildebrand and purchased the unit. Integration works perfectly fine on my Home Assistant and I love it. Now I'm more interested on solar sensor.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
That’s not an easy question to answer without knowing a lot more details sorry. It depends on the make and model of the solar inverter that you have, whether it has a smart monitoring capability, if there’s a Home Assistant component for it, or whether you’d need to purchase a third party energy monitor to do that for you
@JasperJanssen
@JasperJanssen Жыл бұрын
I use homewizard energy as my energy monitoring solution and thus their SDM230 WiFi meter for the solar, but I wouldn’t recommend that except for people with a DSMR Dutch style smart meter.
@ramilbrion4344
@ramilbrion4344 Жыл бұрын
Upon checking my solar related documents, it appears that I have solar PV from eco2solar. It also looks like Shelly EM is the answer to my question. But would need someone to do the installation.
@eugsmiley
@eugsmiley Жыл бұрын
@@ramilbrion4344 The Shelly EM devices are not designed to be installed in a way to analyze solar production. They are are rated to 2A. The device you want is the Shelley 3EM. You likely need two though. One for Solar production and another for Mains Import/Export metering.
@Andrewfiol
@Andrewfiol Жыл бұрын
Hi, where i should paste the template? if i copy it on configuration or sensor file i have an error message.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Which template part? There are three things in my article to paste in various places depending on which task you are doing
@motormad482
@motormad482 7 ай бұрын
How have you configured your podpoint charger into HA. I have been looking for an away to do it but all in vain..
@SpeakToTheGeekTech
@SpeakToTheGeekTech 7 ай бұрын
I installed this integration using HACS, but it doesn’t give you power. To get power data you need an energy monitor (CT clamp) on the live cable going in to it. github.com/mattrayner/pod-point-home-assistant-component
@davidlucas1844
@davidlucas1844 Жыл бұрын
Hi, when using the power flow script what's the Minimum & maximum flow rate for and threshold?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Those values define how fast the little balls fly along the lines! The values are in seconds, so I have the minimum set to 1.5 which means that at a high rate of power consumption the dot will take 1.5 seconds to move from circle to circle, but the maximum is 6 seconds to it'll never be slower than that at low power flow rates.
@davidlucas1844
@davidlucas1844 Жыл бұрын
@@SpeakToTheGeekTech Thankyou,
@brucethunder
@brucethunder Жыл бұрын
Hi there. For the Tesla style card, I get as far as the card configuration, but when I paste in your yaml configuration I straight away get an error message starting "Custom element doesn't exist: tesla-style-solar-power-card". This is before I've edited the sensor references to my own. What have I done wrong?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Have you installed the custom component in HACS? If so, you need to restart Home Assistant and then properly refresh your browser cache before it starts working. If you're able to use multiple browsers (for example, if you're using Chrome, try opening Home Assistant in Edge or Safari to test) then it may jump in to life too. If you've installed the component, it will start working eventually when your old browser cache expires.
@brucethunder
@brucethunder Жыл бұрын
Solved! The Tesla card hadn't installed correctly. I re-downloaded it and was fine.
@brucethunder
@brucethunder Жыл бұрын
@@SpeakToTheGeekTech I saw your fast response after I'd typed mine! It's all working fine now. Thanks again for the excellent videos! 👍
@jmpcrx
@jmpcrx Жыл бұрын
Hi, regarding Not the tesla card,, does it show live data coming from the solar panels, or just totals for the day so far? Or does it just depend on what sensor you use? If so, do i have to create a rimem sum sensor? Or just use current watts sensor that i made from my inverter? Thanks 👍
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Hi, both of these cards are live power (w) cards, not energy (kWh). You use the power sensors in these cards, but if you want energy then Home Assistant has a built in energy card that looks identical to this non-Tesla card and you can use an integration sensors like you said to calculate energy from power to use in it
@jmpcrx
@jmpcrx Жыл бұрын
@@SpeakToTheGeekTech ahh ok, thank you.. Been messing with the energy tab version and wanted a live power one, so ill give this one a go 👍. Thanks 😀
@ricobass0253
@ricobass0253 5 ай бұрын
No Inverter in the display?? The SolisCloud, which is the first power flow display I ever saw, has an inverter circle in the middle. Makes sense to me. Why does no one else include one?
@SpeakToTheGeekTech
@SpeakToTheGeekTech 5 ай бұрын
It's more abstracted this way and I prefer it, but there is also the Sunsynk card which shows the inverter if you like that sort of layout. I have three inverters so things would get quite messy if they were all on the diagram!
@brammerd1040
@brammerd1040 10 ай бұрын
I saw a Grid2Batt sensor. Can you charge your battery from the grid?
@SpeakToTheGeekTech
@SpeakToTheGeekTech 10 ай бұрын
Yes that’s the main way I charge it, during off peak hours at the cheap rate
@gaborlipnicki6657
@gaborlipnicki6657 Жыл бұрын
Is there a way to make the energy distribution card live instead of refreshing every hour?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Nope
@Paul001
@Paul001 3 ай бұрын
Hi, Im trying to join your channel but even though I am confirming the payment in my banking app I dont seem to be aple to join, any ideas
@SpeakToTheGeekTech
@SpeakToTheGeekTech 3 ай бұрын
Hi, thank you for trying to join. I'm afraid I don't manage (or have any control over) the payment system, it's all Google/KZfaq managed via your Google account and you would need to contact them for assistance. If I could help with it I would but it's very much nothing I can even influence sorry.
@garyreid5319
@garyreid5319 Жыл бұрын
Struggling, completely new to HA and while I seem to have the energy showing ok, I have no idea which of my sensors I should be choosing for either of these cards :( I have 2 givenergy batteries and seem to have a multitude of entities none of which seem to match yours.
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Are you using GivTCP in home assistant to talk to your GivEnergy inverter? If so there is a device called GivTCP power with a bunch of entities under. You want “PV power”, “grid power” and “battery power” although some of those are split into “charge power” and “discharge power” for the battery if you want separate entities
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Also with two inverters you are going to need to do some custom template sensor wizardry to get it working and combine the values for the cards. Maybe figure out getting one inverter working first then move up a difficulty level!
@garyreid5319
@garyreid5319 Жыл бұрын
Just one inverter, 2 batteries. Seem to have it sorted for the power flow one, apart from it shows the battery at 0% despite the entity showing it correctly when I check that directly.
@garyreid5319
@garyreid5319 Жыл бұрын
Ignore me, entered that line again, seems I had a stray character at the end
@88cuco
@88cuco Жыл бұрын
Hi, how do I get simulated power flows?
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Hi. For each fake power sensor I created a helper (which is the actual adjustable slider you see on the dashboard). Then I created a template sensor of type 'power' in YAML which has a state of the value of the associated Helper sensor. Those template sensors are the ones I used in the configuration of the cards. I purely created them in order to demonstrate the power flow cards in the video, I don't actually use them in real life.
@davidlucas1844
@davidlucas1844 Жыл бұрын
Hi, Im well confused with what entities to use. Currently I have the below but somethings wrong. Can you help? type: custom:power-flow-card watt_threshold: 999 w_decimals: 0 min_flow_rate: 1.5 max_flow_rate: 6 entities: grid: sensor.givtcp_**********_grid_to_house solar: sensor.givtcp_**********_solar_to_house battery: consumption: sensor.givtcp_**********_battery_to_house production: sensor.givtcp_**********_battery_charge_energy_total_kwh battery_charge: sensor.givtcp_**********_soc
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
Yeah you're way out, sorry! You're mixing power (watts) and energy (watt-hours) sensors when you should just be using power sensors. You're also potentially using the wrong power sensors. Try this: grid: sensor.givtcp_xxxxxxxxxx_grid_power solar: sensor.givtcp_xxxxxxxxxx_pv_power battery: consumption: sensor.givtcp_xxxxxxxxxx_discharge_power production: sensor.givtcp_xxxxxxxxxx_charge_power
@davidlucas1844
@davidlucas1844 Жыл бұрын
@@SpeakToTheGeekTech that’s great, Thankyou. I was way out
@davidlucas1844
@davidlucas1844 Жыл бұрын
@@SpeakToTheGeekTech Hi, I changed it to the above that you given thank you, but currently with it being dark and the battery at 5% my home is showing its using 0W yet the battery is flowing to the grid that's shows left arrow 1.5kw going out and 0w coming in. So I presume in reality the house is drawing 1.5k so somethings round the wrong way yet its as you mentioned. can you help?
@davidlucas1844
@davidlucas1844 Жыл бұрын
should I maybe be using entity sensor.givtcp_ce2223g376_grid_to_house for grid:
@SpeakToTheGeekTech
@SpeakToTheGeekTech Жыл бұрын
If it's showing power flowing out to the grid, it's likely getting that from the grid entity that you've used. If you look at the actual grid power entity, what value does that show right now? I suspect it's showing 1.5kw
@rebe7800
@rebe7800 Жыл бұрын
Are you in a HURRY?? I was not interestedin the Tesla part 8:50 till 9:00 Give the watchers the time to see what you see.
Power Flow Card Plus for Home Assistant
7:23
Speak to the Geek
Рет қаралды 17 М.
Built-in and Custom Energy & Power Cards in Home Assistant
13:24
BeardedTinker
Рет қаралды 46 М.
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 2,8 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 31 МЛН
No Pi? No Problem! Home Assistant on a Cheap Thin Client
14:58
This Smart House
Рет қаралды 77 М.
How Can Your Solar Setup Benefit From Home Assistant?
14:05
Gary Does Solar
Рет қаралды 19 М.
Everything New In Home Assistant 2024.6!
10:20
Everything Smart Home
Рет қаралды 66 М.
Easy & Effective: The Best 5 Home Assistant Automations for Beginners
17:13
DIY Guide: 8 Essential Sensors to Give Your Smart Home Superpowers
23:07
Have We Been Doing Solar WRONG All Along? 🤷🏻‍♂️
19:48
Artisan Electrics
Рет қаралды 142 М.
DIY Home Power & Solar Energy Dashboard -  Home Assistant w/ ESPHome
26:34
Everything New In Home Assistant 2024.7!
7:02
Everything Smart Home
Рет қаралды 54 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 25 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 8 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 2,1 МЛН