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

Improve SMA error handling #1975

Merged
merged 7 commits into from
Dec 2, 2021
Merged

Conversation

DerAndereAndi
Copy link
Contributor

Call UpdateValues() once. Only on success start the timer with updating the data in a loop. Otherwise return the error

Call `UpdateValues()` once. Only on success start the timer with updating the data in a loop. Otherwise return the error
@DerAndereAndi
Copy link
Contributor Author

@andig @bboehmke Wie wäre das hier? Lokaler Test bei mir funktioniert mit meinen SMA Geräten

@bboehmke
Copy link
Contributor

bboehmke commented Dec 1, 2021

Ich würde das logging noch in die UpdateLoop (StartUpdateLoop()) schieben dann funktioniert UpdateValues() auch ohne log output

meter/sma.go Show resolved Hide resolved
meter/sma.go Outdated Show resolved Hide resolved
@andig
Copy link
Member

andig commented Dec 1, 2021

LGTM

@andig
Copy link
Member

andig commented Dec 1, 2021

Den Fehler löst rebase, hab ich force-pushed, sorry…

@DerAndereAndi
Copy link
Contributor Author

@andig ich sehe auf master noch den gleichen commit auf dem ich hier aufgebaut habe, rebase bringt hier nichts. Ging dein Push nicht durch?

@DerAndereAndi DerAndereAndi requested a review from andig December 2, 2021 09:08
@andig andig merged commit cb3c8ef into master Dec 2, 2021
@andig andig deleted the feature/improve-sma-error-handling branch December 2, 2021 10:12
dontbyte pushed a commit to dontbyte/evcc that referenced this pull request Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants