Closed fwestenberg closed 1 year ago
This data hasn't been available previously, must have been added last 6 months. Please provide full debug (HTTP response) data and I'll take a look and implement this in futurue release.
I have seen this feature in they MySkoda-app of my previous car (Skoda Octavia PHEV), but it's not implemented in Enyaq (yet). At least not in ME3.0. @fwestenberg Which car are you driving?
I'm driving a Citigo iV.
This data hasn't been available previously, must have been added last 6 months. Please provide full debug (HTTP response) data and I'll take a look and implement this in futurue release.
How can I obtain this data? I tried a debug, but only see data like this in the log:
'2022-12-12 14:42:56.831 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBZAAAABBC123456/tripdata/shortTerm?newest" returned with status code [200]'
If you are using a iPhone, this is how I did it:
A video of the instructions is here: https://www.youtube.com/watch?v=r7aV39-CKg4
Than capture the traffic and how that interacts with the app
I hope this helps.
- Enable SSL Proxy for the domain skoda-auto.cz from your list of traffic
This won't work as the app (at least on android) use SSL pinning to prevent MITM spying.
Is it possible to get the status of the 12v battery? It has gone blank several times and I haven't started the car.
Is it possible to get the status of the 12v battery? It has gone blank several times and I haven't started the car.
Not that I know of. I haven't seen any information related to 12v battery in all of the API responses I've processed.
Too bad. I am looking for a way to get this data in HA. I mostly use FOBARO modules, which have input voltages of 0-10V. You have an idea. But it has to be simple because I'm a beginner.
Too bad. I am looking for a way to get this data in HA. I mostly use FOBARO modules, which have input voltages of 0-10V. You have an idea. But it has to be simple because I'm a beginner.
There's probably some OBD dongle that sends data about 12v battery. The problem is how to get the data from the car to Home Assistant if you don't have wifi coverage.
@klavdijc That's really a different feature-request than what @fwestenberg raised on Nov 13th 2022 in this issue. Because battery voltage info is not available in the API there is no real simple solution. Someone had arranged it with some components over here: https://community.home-assistant.io/t/monitor-your-car-battery-in-home-assistant/201508 . I don't know the Fobaro modules, but they are probably for a real different use. OBD2-plug won't help you out either, they will stop their communication when the car is off.
@fwestenberg Any chance to gather the data yet using a proxy? It still works for me on a iPhone as mentioned three weeks ago, but is not possible on Android phones as Farfar describes in a comment. If you can't gather the data or don't know anybody who can I think it's better to close this feature-request. I can do it for you, but I'm not sure whether you willing to share you login-credentials. I'm also from the Netherlands.
Guys. Thank you for your efforts. The described solution is really complicated for me. I'll have to make sure I start the car at least every third day so it doesn't drain my battery. I live in Slovenia and I started with FIBARO and NETATMO modules, but now I'm switching to HA, which is excellent with integrations to different systems. Please close this feature-request.
I forgot for a minute that the feature request was a different one, reopening.
WeConnect integration for VW cars (I own an e-up) does not provide total electric consumption as well. Maybe this data point is just not available in the API and has to be calculated by the client application.
Therefore I created a template sensor in HA which does the trick for me:
template:
- sensor:
- name: uppsala_last_trip_total_electric_consumption
device_class: energy
state: >-
{{ ( states('sensor.uppsala_last_trip_average_electric_engine_consumption') | float
+ states('sensor.uppsala_last_trip_average_auxillary_consumer_consumption') | float
- states('sensor.uppsala_last_trip_average_recuperation') | float
) | round(1) }}
unit_of_measurement: "kWh/100km"
I hope this is of any help.
Please use the suggested template sensor for now
The Skoda app shows two values:
In HA only the second values is shown, which is always lower than the first one. Best would probably to add the second (engine) sensor, and use the first for the original electric consumption corresponding to the app.
Installation