chr4 / enyaq_exporter

Prometheus exporter for Skoda vehicles
GNU General Public License v3.0
0 stars 2 forks source link

A bit more information needed #1

Closed rogierlommers closed 9 months ago

rogierlommers commented 9 months ago

Hey, first of all: thanks for your exporter! However, I do have a question: can you elaborate a bit more what all the fields exactly are? I already figured out the following:

But the unknown fields to me are:

Example data

# HELP ev_finish_time Electric charging finish time
# TYPE ev_finish_time gauge
ev_finish_time 1.702994483e+09
# HELP ev_odometer Electric odometer
# TYPE ev_odometer gauge
ev_odometer 9108
# HELP ev_range Electric vehicle range
# TYPE ev_range gauge
ev_range 57
# HELP ev_soc Electric vehicle state of charge
# TYPE ev_soc gauge
ev_soc 14
# HELP ev_status Electric vehicle status
# TYPE ev_status gauge
ev_status 3
# HELP evcc_http_request_duration_seconds A summary of HTTP request durations
# TYPE evcc_http_request_duration_seconds summary
chr4 commented 9 months ago

Those values are just passed through by evcc's skoda lib.

I believe you are correct with the three metrics you figured out! The other two are defined as follows:

rogierlommers commented 9 months ago

here you are: https://github.com/chr4/enyaq_exporter/pull/2

chr4 commented 9 months ago

Nice! Just merged. Did you find a way to make Grafana interpret the timestamp correctly?

rogierlommers commented 9 months ago

Nice! Just merged. Did you find a way to make Grafana interpret the timestamp correctly?

Hey, no I haven't checked it. I personally don't need this info. No plans to add it yo my "home dashboard". But when that changes, I will let you know. 👍