forked from mrmcwethy/Adafruit_CircuitPython_DHT
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Overflow Error After Querying Sensor Every 2 Seconds for ~2 Hours #67
Comments
DrewMayne
changed the title
Overflow Error after Querying Sensor Every 2 Seconds for ~2 Hours
Overflow Error After Querying Sensor Every 2 Seconds for ~2 Hours
Mar 18, 2021
Hello, thanks for the report could you provide some of your code. What kind of hardware are you using. Thanks |
I am using an Adafruit DHT22 sensor with a Rabserry Pi 3B+ running Raspbian GNU/Linux 10 (buster). Here's the python code for interacting with the device:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The sensor is queried via a long running process (run as a systemd service under the user account pi) which crashes every two hours or so. The process gracefully exit and the service can be immediately restarted but it would be nice if the crash could be avoided.
The following is an except from the log of the most recent crash (all previous instances were reported in an identical fashion):
The text was updated successfully, but these errors were encountered: