Power Flow Cards for Home Assistant

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024

ความคิดเห็น • 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: th-cam.com/video/C4Zh35E9wJE/w-d-xo.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.

  • @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  ปีที่แล้ว +1

      Here's a link to the forked repo because matbantube can't post links: github.com/matban666/tesla-style-solar-power-card

  • @MrDBT85
    @MrDBT85 ปีที่แล้ว +1

    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  ปีที่แล้ว +2

      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.

  • @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

  • @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  ปีที่แล้ว +1

      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.

  • @ricobass0253
    @ricobass0253 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

      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!

  • @miguelreyesmelendez
    @miguelreyesmelendez ปีที่แล้ว +1

    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.

  • @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  ปีที่แล้ว +1

      You'd have to be willing to dive into the code in order to tweak the dot speed algorithm I'm afraid.

    • @mangios85
      @mangios85 ปีที่แล้ว +1

      @@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.

  • @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.

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +2

      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.

  • @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  ปีที่แล้ว +1

      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 😀

  • @gaborlipnicki6657
    @gaborlipnicki6657 ปีที่แล้ว

    Is there a way to make the energy distribution card live instead of refreshing every hour?

  • @motormad482
    @motormad482 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      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

  • @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  ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@SpeakToTheGeekTech I saw your fast response after I'd typed mine! It's all working fine now. Thanks again for the excellent videos! 👍

  • @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,

  • @brammerd1040
    @brammerd1040 11 หลายเดือนก่อน

    I saw a Grid2Batt sensor. Can you charge your battery from the grid?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  11 หลายเดือนก่อน

      Yes that’s the main way I charge it, during off peak hours at the cheap rate

  • @Paul001
    @Paul001 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      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/TH-cam 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  ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      Ignore me, entered that line again, seems I had a stray character at the end

  • @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

  • @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  ปีที่แล้ว +1

      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

  • @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.

  • @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.