-
Notifications
You must be signed in to change notification settings - Fork 27
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
Data reading float conversion exception #15
Comments
lucagiove
added a commit
to lucagiove/mitemp
that referenced
this issue
Jan 6, 2020
Sometimes data has spurious binary data non properly decoded from utf-8 Example: ValueError: could not convert string to float: '53.0\x02' This fix removes not printable characters to reduce the chances of exceptions.
The fix works for the exception, I don't have the float error anymore but the polling crashed anyway with this error: |
lucagiove
changed the title
Data reading crash after float conversion exception
Data reading float conversion exception
Jan 6, 2020
ratcashdev
added a commit
that referenced
this issue
Mar 31, 2020
Fix Issue #15 float conversion exception
Closing, since #16 is merged. Feel free to file a new issue/pr if you discover the reason behind the |
Edit: Crash already reported in #14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sensor data collection stops after the following traceback.
Probably there is another bug that prevents data to be collected after an exception not sure if in this repository or in the component code, for sure there are many people affected by this problem:
home-assistant/core#24313
I'll try to work on a PR at least for the parsing exception.
The text was updated successfully, but these errors were encountered: