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

Added support for DHT11 and DHT22 Temp/Humidity Sensors #10

Merged
merged 2 commits into from
Aug 15, 2020

Conversation

sbkirby
Copy link
Contributor

@sbkirby sbkirby commented Aug 13, 2020

Added support for DHT11 and DHT22 Temp/Humidity Sensors to file. Added 'unit' parameter to 'sensors' section of YAML file. User can select Centigrade or Fahrenheit output. Note: There is currently an issue with these sensors and the adafruit_dht module "Error: A full buffer was not returned. Try again" Refn: adafruit/Adafruit_CircuitPython_DHT#33

Although the adafruit_dht modules generates an error from time to time, it still works for the most part.

Added DHT11 and DHT22 Temp/Humidity Sensors to file.  Added 'unit' parameter to 'sensors' section of YAML file.  User can select Centigrade or Fahrenheit output.  Note: There is currently an issue with these sensors and the adafruit_dht module "Error: A full buffer was not returned. Try again" Refn: adafruit/Adafruit_CircuitPython_DHT#33
@jeffbass
Copy link
Owner

Thanks for this. Great contribution. I'm downloading your pull request to test it for a few days before merging.

@jeffbass jeffbass merged commit 5596825 into jeffbass:master Aug 15, 2020
@jeffbass
Copy link
Owner

I tested your code with my own DHT22 sensor and it works well. I wrote a test program to test for the number of DHT22 read errors and they are very infrequent. Thanks again! Merged #10.

@sbkirby sbkirby deleted the sbkirby-patch-6-1 branch October 13, 2020 14:26
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.

2 participants