Open cazzoo opened 7 months ago
You can use hyundai_kia_connect_monitor.
Cool but seems overkill for what I was looking to do. It seems there's no better way to handle it. Thanks for the link anyway
The data should already be provided by the integration via the daily driving stats sensor - It might be not available for specific regions, but for EU it is. In that case you just need a sensor extracting the consumtion of the current day from the attributes of the driving stats sensor which can be achieved by a template sensor:
{% set attr = state_attr("sensor.[vehicle]_daily_driving_stats", now().strftime("%Y-%m-%d")) %}
{{ attr["total_consumed"]|int(0) if attr != None else 0 }}
But you should keep in mind that these are the consumtion values from Bluelink which are more than unrealistically low for some reason.
That's an interesting sensor to put in place, let me try. Thanks for the hint
I'm tracking my both kia EV & PHEV cars and I wonder if we could implement a daily energy consumption (both KWH and fuel). Indeed, I'm trying to add my EV consumption in HA Energy tab but right now the only sensor is a mean value of the total KWH/km. This is not relevant.
Describe the solution you'd like Have a sensor tracking daily use of the electricity used by the car.
Include the logs of the end point from Data in HA if this is a sensor ?