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

Dsmr: fix busy wait with ser2net #8624

Merged
merged 2 commits into from
Jun 30, 2023
Merged

Dsmr: fix busy wait with ser2net #8624

merged 2 commits into from
Jun 30, 2023

Conversation

andig
Copy link
Member

@andig andig commented Jun 25, 2023

Fix #8564

@andig andig added the bug Something isn't working label Jun 25, 2023
@vinc-vo
Copy link

vinc-vo commented Jun 30, 2023

Yes! Seems to work perfectly 👍

Still getting the errors when the connection is available (as expected), but with a decent amount of time in between.

openhabian@openHABianDevice:~/repo/evcc $ ./evcc
[main  ] INFO 2023/06/30 09:37:39 evcc 0.118.1 (b2b4483b)
[main  ] INFO 2023/06/30 09:37:39 using config file: /etc/evcc.yaml
[main  ] INFO 2023/06/30 09:37:39 starting ui and api at :7070
[db    ] INFO 2023/06/30 09:37:39 using sqlite database: /home/openhabian/.evcc/evcc.db
[dsmr  ] ERROR 2023/06/30 09:37:39 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:39 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:39 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:39 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:40 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:42 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:45 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:37:53 peek: EOF
[main  ] FATAL 2023/06/30 09:37:54 cannot create meter 'grid1': cannot create meter 'template': cannot create meter 'dsmr': i/o timeout
[main  ] FATAL 2023/06/30 09:37:54 will attempt restart in: 5m0s
[dsmr  ] ERROR 2023/06/30 09:38:01 peek: EOF
[dsmr  ] ERROR 2023/06/30 09:38:16 peek: EOF
[main  ] FATAL 2023/06/30 09:38:17 evcc was stopped. OS should restart the service. Or restart manually.

@andig andig merged commit 39cf877 into master Jun 30, 2023
@andig andig deleted the fix/dsmr-busy branch June 30, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When dsmr is not available log is flooded, backoff not working?
2 participants