GithubHelp home page GithubHelp logo

Comments (24)

reptilex avatar reptilex commented on June 6, 2024 3

just as an update, my test version has this running will be online in january

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024 2

I'm doing a complete redesign this time on typescript and with better memory and update handling, but it's going to take at least a month. Maybe christmas helps. When that is done this feature would be a no brainer.

from tesla-style-solar-power-card.

jesserockz avatar jesserockz commented on June 6, 2024 1

To add to this, Maybe every circle and line could be optional.
Use cases could be:

  • a standalone solar battery charger (doesn't have to be apart of house power)
  • a solar export only system / solar farm
  • A house without solar or battery

Or any combination based on the entities given in the card config.

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024 1

Thanks for posting this, I have added a new patch, but altough it solves the problem, the lines just don't look nice. So if you get the latest js file from the beta you will have the correction. Find it here:
https://github.com/reptilex/tesla-style-solar-power-card/blob/beta1.1/tesla-style-solar-power-card.js

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

Interesting, I will check how much work that would be, but probably I can make it work. Give me a few days

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

That would be awesome, I could also give it a try, but I also have no experience with these sort of plug-ins

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

Also on that regard for small solar installations displaying the wattage as kW might be too large of a unit. At least for me either having an option to specify it or to make it autoscale would be really nice. Another problem with such small systems is that due to the rounding you have implemented, values lower than 5 Watts are floored to 0.
Bildschirmfoto 2020-11-17 um 09 53 58

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

That's a good feature request it means a big refactoring, hope to get it done soon. Have started.

from tesla-style-solar-power-card.

jesserockz avatar jesserockz commented on June 6, 2024

I tried it locally but my js skill level is not high enough and I made a mess. =)
Almost needed to start again to make it all dynamic.

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

Done in Beta. Checkout either the beta release, maybe it's already available through HACS, otherwise either as a release or from the git branch beta1.1. As soon as a few people test this it will become the main branch.

from tesla-style-solar-power-card.

jesserockz avatar jesserockz commented on June 6, 2024

Thanks for the awesome work so far

With the new beta card, and no solar, the layout is overlapped:

type: 'custom:tesla-style-solar-power-card'
grid_consumption_entity: sensor.watts
house_consumption_entity: sensor.watts
grid_to_house_entity: sensor.watts
appliance1_consumption_entity: sensor.charger_power

Screen Shot 2021-03-10 at 7 22 36 AM

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

I am also having some issues. I am using beta1.1.2.

config:

type: 'custom:tesla-style-solar-power-card'
show_w_not_kw: 1
solar_consumption_entity: sensor.solar_01_pl_power
solar_yield_entity: sensor.solar_01_p_power
house_consumption_entity: sensor.solar_01_l_power
battery_charge_entity: sensor.solar_01_b_charge
battery_charging_entity: sensor.solar_01_b_power
battery_consumption_entity: sensor.solar_01_bl_power

screenshot:
Screenshot

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

Well beta has new configuration variables and a different way of defining things, check the NEW Readme. Your configuration should look more like this:

type: 'custom:tesla-style-solar-power-card'
#bubbles
generation_yield_entity: sensor.solar_01_p_power
battery_consumption_entity: sensor.solar_01_bl_power
house_consumption_entity: sensor.solar_01_l_power
#lines
generation_to_house_entity: sensor.solar_01_pl_power
generation_to_battery: sensor.solar_01_b_power
#extra variables for text
battery_extra_entity: sensor.solar_01_b_charge
#other options
show_w_not_kw: 1

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

Thanks @reptilex I will try it

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

@reptilex It's better, but still seems wrong. In the picture I also added the current values of all entities.
Screenshot

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

Well three things:

  1. You cannot use negative values, you will have to change that one with a template. I'm still trying to figure out how I can make that possible, but it's not as easy as you would think.
  2. I was missing a sensor for the flow from battery to power
  3. I think you might have found a bug in that the whole lines are too far left due to the missing grid bubble.
type: 'custom:tesla-style-solar-power-card'
#bubbles
generation_yield_entity: sensor.solar_01_p_power
battery_consumption_entity: sensor.solar_01_bl_power
house_consumption_entity: sensor.solar_01_l_power
#lines
generation_to_house_entity: sensor.solar_01_pl_power
generation_to_battery: sensor.solar_01_b_power
battery_to_house: sensor.solar_01_bl_power
#extra variables for text
battery_extra_entity: sensor.solar_01_b_charge
#other options
show_w_not_kw: 1

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

The latest beta branch commit has the correction for number 3

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

Nice, I will try it

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

@reptilex Still battery data is not shown correctly and panel wattage is wrong (I am still on beta1.1.2)
Screenshot

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

can you post your configuration? Do you have one config line per line and per bubble?

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

@reptilex It's the same as the one you proposed

type: 'custom:tesla-style-solar-power-card'
#bubbles
generation_yield_entity: sensor.solar_01_p_power
battery_consumption_entity: sensor.solar_01_bl_power
house_consumption_entity: sensor.solar_01_l_power
#lines
generation_to_house_entity: sensor.solar_01_pl_power
generation_to_battery: sensor.solar_01_b_power
battery_to_house: sensor.solar_01_bl_power
#extra variables for text
battery_extra_entity: sensor.solar_01_b_charge
#other options
show_w_not_kw: 1

from tesla-style-solar-power-card.

enwi avatar enwi commented on June 6, 2024

I updated to beta1.1.3, the lines are fixed, but data is still shown incorrectly. The config is still the same.

Screenshot_20210315-144300

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

Ok, since the last beta the way it works is the following. You just need to define the flows that you have as positive values. Once you do that every required bubble should appear. To have click entities you have to define the click entity separately according to the latest Readme.

from tesla-style-solar-power-card.

reptilex avatar reptilex commented on June 6, 2024

The feature request has been implemented, if you still have problems with the configuration let me know in a new issue, please.

from tesla-style-solar-power-card.

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.