GithubHelp home page GithubHelp logo

flyrmyr / system-flow-card Goto Github PK

View Code? Open in Web Editor NEW
40.0 40.0 1.0 1.24 MB

A system flow card inspired by the official Energy Distribution card for Home Assistant

JavaScript 11.56% TypeScript 88.44%
dashboard home-assistant lovelace-custom-card

system-flow-card's People

Contributors

dependabot[bot] avatar flyrmyr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

20after4

system-flow-card's Issues

Flow lines don't show in firefox

Using v0.1.2 with latest version of firefox, the flow-lines don't show. They do show in edge. I've got adblock type extensions turned off for this page, can't think what else to do. I realise this might not be a top priority to fix bearing in mind the falling usage of firefox but if it can be fixed I would be grateful.
screenshot

Testing the card

Thanks again @flyrmyr for sharing your card.

Can you confirm how we should go about installing this to test it? I can't seem to find the js file in here.

Thanks!

Rounding of values is incorrect

Hello, first thanks for your work.

Should add a way to set elements values in kW or W as input, and kW or W to display (and calculate).

Some of my sensors are in W (no problem), but others are in kW, and values are rounded to the closest integer.

As a result, power calculation is not good and values are unreadable.

Also, if using an extra, should be able to determine also how to round the value (see atached image, for the dishwasher and washing machine), or at least set a trigger value to display not null values.

image

Here the result is incorrect.

Compare to my other flow (values are good on this one)
image

Solar shows 0, because value is 0.2kW, rounded to 0.
Grid shows 1kW because value is 0.640kW

Center value should display 2180w

Displaying incorrectly with 125% Browser Zoom

I have my Browser on 125% zoom as default, but then it would not display correctly:
image

Issues:

  • creates scrollbar
  • not completely viewable
  • Center Icon has an offset to the right
  • Lines do not connect
  • flow bubbles are not round ;)

But thanks for the cool card, was really looking for something to copy victron into my Hassio!

Assign a value to system

Great work. As the title says, I'm unable to display an entity value in system object. I suspect this is intentional, it is calculated, but in my case, there are some loses (inverter has some power usage) and it's just more precise for me to display the measurement of its ouput.
I also don't export energy and it would be more aestetically pleasing to show a positive value in system.
Awesome job on the extra entities, I think i have a good replacement for tesla-style-solar-power-card by reptilex.

Missing text box / title for elements

Hello,
Thanks a lot for your work on this project, it is good but it could be awesome with a little mods and adds. I would like to ask you if its possible to add a text/title for elements as well, not only for the card itself.
For example:
extra:
main:
text: AC Loads
left: sensor.victron...
right: sensor.victron...

Or something similar, the text could be on top of the element, not in the box like on the default HA Energy distribution chart.

Thanks a lot in advance!

Br,
Gabriel

Add support for 'invert' and 'exclude'

Currently the numbers do not add up as all of the 'consumption' items show as providing into the card - please add support for the 'invert?' property so that the flow direction is shown correctly.

image

I would also like the 'exclude' to be supported so I can add fuel/gas information to the card without it adding to the consumption total.

No Space between Elements

Hey,

i have no Space between the Created Elemts, tho i have no dotted lines:

grafik

Did i make a mistake, or is something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.