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

Only send telegram every X seconds #83

Closed
mthmulders opened this issue Nov 22, 2023 · 0 comments · Fixed by #85
Closed

Only send telegram every X seconds #83

mthmulders opened this issue Nov 22, 2023 · 0 comments · Fixed by #85

Comments

@mthmulders
Copy link
Owner

With newer meters that emit telegrams every second, it seems some less powerful hardware (for example, the Raspberry Pi 0 that I'm using) have some troubles keeping up with the pace.

I think it might help to send data less frequently (say, every X seconds, where X is configurable). Maybe the application should even close the serial line after that and open it again when it is time. I guess it might make the whole thing consume less hardware resources, but that is a bit of a guess at this point.

mthmulders added a commit that referenced this issue Nov 25, 2023
* Send telegrams using interval
* Also, close serial port after using it.
* Provide example config in Debian package
* Resolve some Clippy warnings
* Avoid repeated logging the settings

Closes #83.
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 a pull request may close this issue.

1 participant