I have an electric car. Its consumption is measured with a seperate meter, but that should be substracted from the total consumption in order to get a meaningfull measure for home consumption. Some cars can even supply power in peak hours. This enables the dashboard to follow the home consumption (and savings) as well as the car consumption.
I currently have created a template sensor to have this insight, but I could not incorporarte that in the Energy Dashboard
I would love to see such a feature in the energy dashboard.
I think, the main information should come from the integration of the Wallbox (OpenWB, evee, etc.).
There are many options how this could be integrated, since you could have a special tarif for car charging, or you can use your own solar production + grid import, there are a lot of different information that would be nice to have integrated into the energy dashboard.
Total consumption for charging
Total cost per Tarif
self consumed energy from solar production vs. imported energy used for charging…
I currently have my Car charger setup under “Monitor Induvidual devices” , however I’d much prefer if it showed in the same area in energy distribution as it’s own entity and possibly with half hourly graphs.
Indeed, seems a great idea. The EVs are more and more like the photovoltaic panels - something accessory to the house and worth to be monitored separately.
For the time being, I use the battery integration for my EV. In order to have a “0 kWh” value for unloading the battery, I created a default value with the powercalc integration:
As I don’t have solar, I also created a default value “0 kWh”. otherwise battery consumption is not subtracted from the overall consumption and house consumption shows the same value as overall consumption.
In case you have another work around, let us know…
having a PV it obviously would be interesting as well how much of the EV’s charge came from one’s own roof. (gotta try @schneemensch’s approach if this can visualize that for now)
thinking further - the same thinking as for BEVs would be true for other ‘big’ consumers … like heat pumps
Thanks a lot for sharing this “trick”.
So you used the “battery_sim” integration from HACS.
I defined the following code in configuration.yaml
battery_sim:
auto_batterij:
name: auto batterij
import_sensor: sensor.laadpaal_real_power_sum # this is the sensor of my charging station
export_sensor: sensor.unload_battery
max_discharge_rate_kw: 11.0
size_kwh: 90.0
energy_tariff: 0.30
And I applied your trick for the battery and solar panels (which I do not yet have)
actually - no. we used the built in battery function of the energy dashboard. but it seems to work similarly.
yes, power going to a battery shows as negative value, i guess as it’s assumed this power should come back again to the home(grid) at some point (adding positively to the statistics then).
Here I got a flat rate contract for free power to my car at home, but the charger runs through the same meter as the rest of the house. Then once a month, the company subtract the charger kWh from the rest, and send a bill separately for the kWh consumption for the house, and a separate fixed bill for the free charging.
So if I use 1000 kWh total and 400 kWh is for the car, the bill would be 600 kWh for the house, and no matter how much I charge the car, the bill for that would be the same, ie. €100
As for now, I’m using the grid return, but it could be nice with a separate option for electric car
Hi, I am planning to use the “battery” option of the Energy Dashboard for my electric car, too - when it finally arrives …
I am not sure, why you need to change the “unload_battery” daily_fixed_energy with 0.00 - I would like to see the behave when this isn’t set…
But considering, that “return2grid” or “return2home” will probably come within a few years for battery based cars, I think havin this implemented into the battery itself would be the best solution atm.
On the other hand:
IF you do have a battery - and want to charge your car from that battery, the configuration might be a bit difficult, because you would add both into one “component”
Do you have ideas for this case (even if it does not apply in my case…)
Well, in general a battery charged as well as discharged, so this is why you have to add both values to the configuration I guess. As the discharge process of the car happens to the car not being attached to the wallbox, I gave it the “0” value in order to be able to add the car as a battery.
On your second point: I’m not sure if the configuration is difficult at all, you just add a second battery (besides the car) an it monitors what goes an comes…
As you can tell by my post, I have only little knowledge about all this. maybe someone else can elaborate on this topic.
Hopefully we get the Car integration for the powerpanel soon…
You all have a nice day!
I would also love to see this functionality added to the HA energy dashboard. I intend to purchase the Shelly 3EM but would love to know if this is actually considered on the roadmap