Skip to content
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

Add odometer api #1357

Merged
merged 12 commits into from
Aug 23, 2021
Merged

Add odometer api #1357

merged 12 commits into from
Aug 23, 2021

Conversation

andig
Copy link
Member

@andig andig commented Aug 15, 2021

No description provided.

@andig andig added the enhancement New feature or request label Aug 15, 2021
@andig andig marked this pull request as draft August 15, 2021 09:06
@premultiply
Copy link
Member

Renault liefert auch den Kilometerstand:

car-adapter/v2/cars/{vin}/cockpit

Beispielantwort:
[data] => Array ( [type] => Car [id] => VF1BG000155836384 [attributes] => Array ( [totalMileage] => 5134.08 ) )

jamesremuscat/pyze#50 (comment)

@andig
Copy link
Member Author

andig commented Aug 16, 2021

Renault liefert auch den Kilometerstand:

Bitte mal per dump probieren- ich hab keine Zugangsdaten

@premultiply
Copy link
Member

Funktioniert erstaunlicherweise auf Anhieb obwohl du die v1-API verwendet hast. 😃

pi@evcc:~/evcc $ ./evcc vehicle
SoC:            50%
Charge status:  B
Capacity:       40kWh
Range:          121km
Odometer:       96655km
Finish time:    not available
Climate active: false
Outside temp:   21.0°C
Target temp:    20.0°C

@premultiply
Copy link
Member

Jetzt ist es schick:

pi@evcc:~/evcc $ ./evcc vehicle
SoC:            99%
Charge status:  A
Capacity:       40kWh
Range:          256km
Odometer:       96670.51km
Finish time:    not available
Climate active: false
Outside temp:   19.0°C
Target temp:    20.0°C

Auf diese Genauigkeit bestehe ich! :D

@andig andig marked this pull request as ready for review August 23, 2021 11:18
@andig andig merged commit f603582 into master Aug 23, 2021
@andig andig deleted the feature/odometer branch August 24, 2021 06:12
@Flauschi83
Copy link

kann man fürs etron template auch noch das Odometer mit einbauen? evcc vehicle gibts mir nicht aus:

[main ] INFO 2022/12/22 10:46:35 evcc 0.110.0
[main ] INFO 2022/12/22 10:46:35 using config file: /etc/evcc.yaml
[db ] INFO 2022/12/22 10:46:35 using sqlite database: /root/.evcc/evcc.db
[mqtt ] INFO 2022/12/22 10:46:35 connecting evcc-73628617 at tcp://192.168.1.19:8882
SoC: 55%
Charge status: A
Range: 175km
Finish time: 2022-12-22 10:42:00 +0000 UTC
Climate active: false
Outside temp: 22.0°C
Target temp: 22.0°C
Target SoC: 100%
Capacity: 82.0kWh
OnIdentified: Mode:pv, MinCurrent:1, MaxCurrent:16, MinSoC:20, TargetSoC:100

die Api sollte es aber ausgeben:

image

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

Successfully merging this pull request may close these issues.

3 participants