Comments (24)
just as an update, my test version has this running will be online in january
from tesla-style-solar-power-card.
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.
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.
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.
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.
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.
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.
from tesla-style-solar-power-card.
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.
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.
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.
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
from tesla-style-solar-power-card.
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
from tesla-style-solar-power-card.
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.
Thanks @reptilex I will try it
from tesla-style-solar-power-card.
@reptilex It's better, but still seems wrong. In the picture I also added the current values of all entities.
from tesla-style-solar-power-card.
Well three things:
- 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.
- I was missing a sensor for the flow from battery to power
- 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.
The latest beta branch commit has the correction for number 3
from tesla-style-solar-power-card.
Nice, I will try it
from tesla-style-solar-power-card.
@reptilex Still battery data is not shown correctly and panel wattage is wrong (I am still on beta1.1.2)
from tesla-style-solar-power-card.
can you post your configuration? Do you have one config line per line and per bubble?
from tesla-style-solar-power-card.
@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.
I updated to beta1.1.3, the lines are fixed, but data is still shown incorrectly. The config is still the same.
from tesla-style-solar-power-card.
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.
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)
- How to add two cars with same consumption entity? HOT 2
- Car Charging line present when car charger idle HOT 1
- Help Tweaking my sensors... Losses and Multiple Flows...
- Is this the right way? HOT 1
- Battery Entity Doubles value with Solar Generation and Battery Charge
- How to Calculate and Display Home Energy Usage in house_extra_entity
- Ekstra solar pannel option HOT 4
- Why do the Recommended APF Sensors Show Impossible Transfers Compared to the Older "Tesla Card Sensors" ? HOT 2
- Card overlaying top navigation bar HOT 4
- HA log file - SyntaxError: The string did not match the expected pattern.
- Add second PV HOT 7
- Wrong bubble if solar loading battery
- Centre bubbles showing over lovelace header HOT 1
- Replicate Tesla Solar Dashboard View
- Graphic looks strange HOT 6
- Make circles a little bigger in respect to icon and font HOT 1
- indicate grid import/export in icon HOT 1
- Feature Request: House bubble - more than 1 color/source
- Documentation for Powerwall integration usage has wrong entity names
- Display width leads to strange behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesla-style-solar-power-card.