As before I wrote a small hardware test program verifying that I can correctly read temperature and humidity values before integrating the sensor into our Cayenne IoT network.
Here is the hardware test code:
https://github.com/uraich/MicroPython_IoTDemos/blob/master/drivers/dht11/dht11.py
and here the Cayenne version publishing the temperature and humidity readouts.
https://github.com/uraich/MicroPython_IoTDemos/blob/master/cayenne/dht11/cayenneDHT11.py
-- %USERSIG{UliRaich - 2019-03-22}%
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| |
dht11.py.txt | manage | 176 bytes | 22 Mar 2019 - 14:45 | UnknownUser | |
| |
wemosdht11.png | manage | 141 K | 22 Mar 2019 - 14:43 | UnknownUser |