Custom Solar Power Card the Tesla Style (almost)

+1 for scaling

1 Like

Anyone else facing the issue, that this card (Altough made as panel card) does not show propberly?

Any help is appreciated, couldnĀ“t find anything usable here ā€¦ .(

Is anyone here using a Powerwall as the source for their Total House Consumption sensor?

If so, could you share how you set up sensor.house_total_consumption or sensor.house_consumption or similar sensor?

Iā€™ve been using a Utility Meter helper that resets daily the increase of sensor.powerwall_load_import from my Tesla Powerwall integration, which has worked well for the last year but has started reporting incorrect values over the last couple day as I reported in this post.

I like to have daily home consumption in the top of the home bubble on the right for house_extra_entity:, but havenā€™t yet figured out why my previous sensor is no longer accurate.

Is it possible to add a second inverter? I already had one inverter with a battery configured in to this nice card. But now from today i installed a new inverter with battery. A completely different brand then my first one. Now is the question can i also add this inverter and battery to this card?

I just add my two inverters together to provide a total production figure which I then include in the card.

    modbus_generation:
      friendly_name: "Production"
      device_class: power
      value_template: "{{ (states('sensor.solaredge_i1_ac_power')|int(0) 
                        + states('sensor.solaredge_i2_ac_power')|int(0)) }}"
      unit_of_measurement: W

If you also have a battery, i find the APF framework essential to get it visualised correctly:

Thanks for your answer. I have indeed 2 inverters (different brands) and 2 batteryā€™s (different brands)
Both of the inverters are hybride inverters. So inverter A can charge battery of inverter B and visa versa.
And thatā€™s where iā€™m completely lost. How do i get this to work ? I already made a custom sensor for the total production , by combining 2 the inverters like in your example. But iā€™m struggeling with the sensors , generation to battery , generation to grid, grid to battery and so on.

With your different batteries do the same as your inverters, combine them into one power flow by addition.

You need to get four power entities; solar, house, battery and grid.

Then use the APF framework in my link above.

never mind I switched to power-flow-card-plus - fits much better my needs.

Hi,
I cannot seem to get the Solar production to show. What am I missing? Here is my config:

type: custom:tesla-style-solar-power-card
name: EcoFlow Delta 2
grid_to_battery_entity: sensor.delta_2_ac_in_power
battery_extra_entity: sensor.delta_2_battery_level
grid_entity: sensor.delta_2_ac_in_power
house_entity: sensor.delta_2_ac_out_power
battery_to_house_entity: sensor.delta_2_total_out_power
solar_consumption_entity: sensor.delta_2_solar_in_power
solar_yield_entity: sensor.delta_2_solar_in_power
generation_to_battery: sensor.delta_2_solar_in_power
show_w_not_kw: 1
show_gap: true
grid_icon: mdi:transmission-tower
generation_icon: mdi:solar-panel-large
house_icon: mdi:home
battery_icon: mdi:battery

Here are the values of the sensors:

Did anyone manage to get this working with an SAJ H1 inverter and batteries? Iā€™m struggling to find the right entities for the card.

Iā€™ve already opened an issue on github, but want to check here if anyone else is getting the same problem:

I upgraded core today to 2024.6.0 and this card stopped working entirely, I just get a small dot in the center, am I alone on this?

I just noticed that if I manage to click on that dot it opens the history for the ā€œappliance1_consumption_entityā€ sensor.

It seems to be a rendering image problem, but it affects both the windows pc and the android app.

I have checked every sensor I use on this card via the developers tool and they all have valid values, so itā€™s not a sensor issue in the sense of having ā€œnoneā€ or ā€œunavailableā€ or something like that.

Any clues on this?

Just discovered that uninstalling the resource and reinstalling again with the latest version solved this.

Got a new problem thoughā€¦ the graph is too damn small now, very hard to read, both on PC and android phone.

Is there a way to zoom in / enlarge the rendered graph anyone? @reptilex ?

anyone?

@reptilex , anyone?

How do we make the graph larger?
The old version I had was perfect, it filled the card almost entirely, this new version requires a magnifying glass to be able to read it.

1 Like

Same problem for me

1 Like

and still no solution in sight, right?

or did you find a way to solve this already?

I too have a similar problem since the last update,
When i use it inside a picture-elements and beyond a certain percentage of size in the card style, and it happens as seen in the image.

image

I tried both from a PC (but it does this if I reduce it to a window beyond a certain size) and from a tablet, and depending on the size of the screen beyond a certain percentage of reduction it breaks.
Iā€™ve done some tests but I canā€™t keep the card in the right square shape

A new version, 1.4, of the integration was released just 3 days ago which fixes the sizing issue.

1 Like

hoping someone can help out - Iā€™ve just had my Envoy-S replaced due to hardware failure, and now got a v7 firmware.

previously, I was using the data from:

sensor.envoy_current_energy_production
and
sensor.envoy_current_energy_consumption

which of course donā€™t exist anymore - how are folks getting around this? can I pull that data using a REST sensor?