Skip to content

Conversation

@ScrewedCode
Copy link

@ScrewedCode ScrewedCode commented Mar 10, 2018

If you bought a Sonoff TH10 or TH16 you can now use the temperature and humidity sensor. I testet it with AM2301 which basically is a DHT22.

The 1-wire is connected to pin 14. Both values are shown on the default web page. To use it change #define IS_TH10_16 from 0 to 1. And dont forget to install Adafruit dht and Adafruit Unified Sensors Library in your Arduino IDE.

If you bought a Sonoff TH10 or TH16 you can now use the temperature and humidity sensor. I testet it with AM2301 which basically is a DHT22. 

The 1-wire is connected to GPIO14. Both values are shown on the default web page. To use ist change #define IS_TH10_16 from 0 to 1.
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.

1 participant