jlrpy icon indicating copy to clipboard operation
jlrpy copied to clipboard

question on trips information

Open wawibu opened this issue 2 years ago • 4 comments

first I would like to thanks for that library ! driving a landrover defender p400e plug-inn and this library is quite useful :)

I have a struggle around the trip information. I can see EV distance but all other EV related information are empty

{'trips': [{'id': xxxx, 'name': None, 'category': None, 'routeDetails': {'route': None, 'totalWaypoints': 2, 'boundingBox': {'minLongitude': 6.xxx, 'minLatitude': 51.xxx, 'maxLongitude': 6.xxx, 'maxLatitude': 51.xxx}}, 'tripDetails': {'electricalConsumption': None, 'electricalRegeneration': None, 'fuelConsumption': None, 'distance': 6900, 'startOdometer': 1257000, 'startTime': '2022-05-02T16:58:18+0000', 'startPosition': {'latitude': 51.xxx, 'longitude': 6.xx, 'address': 'xxx, Deutschland', 'postalCode': 'xxxx', 'city': 'xxxx', 'region': 'Nordrhein-Westfalen', 'country': 'Deutschland'}, 'endOdometer': 1264000, 'endTime': '2022-05-02T17:11:13+0000', 'endPosition': {'latitude': 51.xxx, 'longitude': 6.xxx, 'address': 'xxx', 'postalCode': 'xxx', 'city': 'xxx', 'region': 'Nordrhein-Westfalen', 'country': 'Deutschland'}, 'totalEcoScore': {'score': 96.0, 'scoreStatus': 'VALID'}, 'throttleEcoScore': {'score': 4.8, 'scoreStatus': 'VALID'}, 'speedEcoScore': {'score': 4.9, 'scoreStatus': 'VALID'}, 'brakeEcoScore': {'score': 5.0, 'scoreStatus': 'VALID'}, 'averageSpeed': 34.0, 'averageFuelConsumption': 0.0, 'averageEnergyConsumption': 0.0, 'energyRegenerated': 0.0, 'averagePHEVFuelConsumption': 0.0, 'evDistance': 6900.0}}]}

Assume as they are all 0 - there is no way to get that information? like electricalConsumption , electricalRegeneration , fuelConsumption , averageFuelConsumption , averageEnergyConsumption , energyRegenerated , averagePHEVFuelConsumption

Or I'm doing something wrong?

Thanks

wawibu avatar May 04 '22 14:05 wawibu

Unfortunately, I have no experience with JLR PHEVs, but does the official Jaguar apps show you the information?

It seems like you're doing everything correctly and the API just doesn't have EV specific data fields filled out with relevant data for you

ardevd avatar May 04 '22 21:05 ardevd

the app shows also no details further then the EV distance. so might be currently looks like that they have the data points ready for further enhancements

wawibu avatar May 05 '22 19:05 wawibu

Can you explain what is this UUID and where i can find it ? i have signed up on the jaguar incontrol portal but i am confused regarding this UUID

Umair-Butt980 avatar May 10 '22 16:05 Umair-Butt980

What do you mean with UUID? the usage of this phyton library is quite good described on the first page and any kind of further details in regards to the API could be found when you follow the link to the API documentation

wawibu avatar May 11 '22 10:05 wawibu

Closing this due to lack of inactivity.

ardevd avatar Jan 02 '24 10:01 ardevd