Skip to content

Add attributes and units for trip data #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MasterTim17
Copy link

I want to have access to the last trip data from my car. This PR adds the Attributes and units required for displaying trip data.
Following trip data entities will be created via the connector (which will be following repo https://github.com/MasterTim17/CarConnectivity-connector-seatcupra )

last_trip_distance
last_trip_average_speed
last_trip_duration
last_trip_electric_consumption
last_trip_fuel_consumption

Solves tillsteinbach/CarConnectivity-connector-seatcupra#22

@tillsteinbach
Copy link
Owner

Hi @MasterTim17, thanks for your contribution. I have not yet determined how to properly implement trips because of the very different implementation across different brands.
VW for example has 3 kinds of trips (short term, longterm and since last fueling/charging). Also some brands allow to see more than just the last trip. So I first need to come up with the right structure that works for all.

@MasterTim17
Copy link
Author

Alright,
if anyone needs this function for cupra and with a homeassistant addon via mqtt, here my modified homeassistant addon
https://github.com/[MasterTim17/carconnectivity-addon](https://github.com/MasterTim17/carconnectivity-addon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants