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

Nissan: async soc refresh #1011

Merged
merged 4 commits into from
May 14, 2021
Merged

Nissan: async soc refresh #1011

merged 4 commits into from
May 14, 2021

Conversation

andig
Copy link
Member

@andig andig commented May 13, 2021

Build on top of #1001

@andig andig added the enhancement New feature or request label May 13, 2021
@andig andig marked this pull request as draft May 13, 2021 09:30
@andig andig changed the title Nissan: async soc update Nissan: async soc refresh May 13, 2021
@andig
Copy link
Member Author

andig commented May 13, 2021

/cc @martinez81 @junibart

PR ready for Test. Wenn die Daten vom API älter als 5min sind, wird ein Refresh angefordert:

❯ go run main.go vehicle --log trace -c cfg/nissan.yaml
SoC:           must retry
Charge status: must retry
Capacity:      0kWh
Range:         must retry
Finish time:   must retry

Innerhalb von evcc wird dann so lange erneut abgerufen bis ein aktueller Wert da ist.

@andig andig marked this pull request as ready for review May 13, 2021 13:05
@andig andig merged commit 169d2ca into master May 14, 2021
@delete-merged-branch delete-merged-branch bot deleted the feature/nissan-async branch May 14, 2021 20:29
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.

None yet

1 participant