Code Monkey home page Code Monkey logo

Comments (13)

charles-sd avatar charles-sd commented on May 18, 2024 30

My inverter features two string inputs. It only reports these as two discrete PV power sensors, and I have to create a custom sensor to add them together as a single entity for this card. Other models from the same manufacturer feature 4 strings, and with parallel inverters I trust it can get even more messy, not to mention optimizers that report their individual production.

I have a possible suggestion that should be simple to implement yet flexible:
Allow the user to configure an unbound array of Solar source entities and give each a text label.
e.g.

  - solar:
    - inputs:
      - label: North
        entity: solar.array_1 
        position: top
      - label: South
        entity: solar.array_2 
        position: top
      - label: 'N East'
        entity: solar.array_3 
        position: top

The card could add their values together and display the total input value in the circle.
The inputs themselves could be displayed above the Solar circle. This avoids messing up the grid as long as the current top three cells are bottom aligned. It would extend the vertical size of the card at worst for those using the feature. Last image shows how the current grid could be used for positioning without breaking it,

image

OR

image

With position implemented like this:

image

The items added to each off the 3 areas would be html formatted in some way to keep them compact, preventing the card from expanding when not desired, yet so that it does not cause major jumps when redrawing.

This could easily accommodate many of the use cases, as long as users are economical with the label lengths.

Or could do something dynamic and pretty with Bezier curves like:

image

Thoughts?

from power-flow-card-plus.

RaoulSargent avatar RaoulSargent commented on May 18, 2024 6

@charles-sd
I like the diagram showing each individual PV source ("something dynamic and pretty with Bezier curves").
This would be in keeping with the overall design of the chart and have the ability to show the individual animated flows, again like the rest of the chart.

This also seems a far more flexible solution for people with many PV sources. Sure you would not want to show more than would fit on the screen and look 'pretty', but you could easily combine into groups as required to compromise between having too many and showing enough detail.

In my case I have 2x inverters and 3x strings.

image

from power-flow-card-plus.

xsirpreisx avatar xsirpreisx commented on May 18, 2024

I do have east and west sides as well (and I have 72 SolarEdge panel optimizers), but I don't think I would want this card to display both sides of the roof as separate entities, to be honest.

I would think that some other card (that may pop up when clicking on the solar icon?) should/could display detailed information of the system. You could display detailed information for each direction and maybe even for each panel, but this power flow card will not be overcrowded.

Just my two cents.

from power-flow-card-plus.

thomasvt1 avatar thomasvt1 commented on May 18, 2024

Maybe something similar to what we have for home?
image

Multiple solar sources going to one entity?

from power-flow-card-plus.

thomasvt1 avatar thomasvt1 commented on May 18, 2024

Maybe something similar to what we have for home?
image

Multiple solar sources going to one entitiy?

from power-flow-card-plus.

flixlix avatar flixlix commented on May 18, 2024

Could you maybe do a photoshop of that?
I think the main problem is that the solar production doesn't go into a single entity but instead into the grid, home and, in case you have it, battery... Plus, the top row already has three circles and, like @xsirpreisx said, would be overcrowded with even more circles... Maybe you have an idea on a possible solution?

from power-flow-card-plus.

manofpants avatar manofpants commented on May 18, 2024

@thomasvt1 I have Enphase also, using the Enphase (dev) integration for my HA. How did you set up this card to use? I can't get mine working with just the solar in and home consumption entities.

from power-flow-card-plus.

flixlix avatar flixlix commented on May 18, 2024

Can you share your code? I suspect you didn't enter a grid entity and that's why it's not working for you

from power-flow-card-plus.

manofpants avatar manofpants commented on May 18, 2024

I'll move to the discussions so it won't detract from the feature req :)

from power-flow-card-plus.

andynash avatar andynash commented on May 18, 2024

I have a suggestion for making this work tidily yet displaying 2 x solar:

How about displaying the two solar sources in the same way as the battery production/consumption, i.e. two numeric values within the circle?

This may not suit those with more than two solar sources, or two sources plus a total (unless you allowed removing the solar icon perhaps?), but it would work for the majority who I suspect have no more than two strings/orientations (we have three orientations on two strings, but have no separate data sources for the two orientations on one string).

To identify the two sources, people could configure different icons in place of the up/down arrows for the battery, use different colors, or use text/ rather than an icon. You'd probably only fit one or two characters I guess, for example F[ront]/R[ear] or E[ast]/S[outh]W[est]. Personally I'd go for F and R, e.g.

F: 1.2 kW
R: 2.4 kW

from power-flow-card-plus.

Obmawo avatar Obmawo commented on May 18, 2024

Great Idea! Any news?

from power-flow-card-plus.

JokerGermany avatar JokerGermany commented on May 18, 2024

@charles-sd I like the last one, because it's not only working good for the south, east, north, west example.

from power-flow-card-plus.

thenebu avatar thenebu commented on May 18, 2024

I've got 8 Strings. Would be very nice if I can display them separately with a toggle (all, separat)

from power-flow-card-plus.

Related Issues (20)

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.