These are chat archives for SmingHub/Sming

20th
Feb 2018
Andriy Petrynchyn
@petrynchyn
Feb 20 2018 11:55

Who can check if the Humidity_DHT22 example works? I'm giving out

...
python -m serial.tools.miniterm /dev/ttyUSB0 115200 
--- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
�␛␒gg␌d`␃␏␃o;���g␄␄�ě`␂␇s��n␄␄㌒`␃��␂�␒�g�{��o<�␌l␌ddd`␃␜c�␒␂␌�|␂s�␃l�g�␄�g�␀␄d`␃��{�l�l␛�␄␄␄l`␂��s�d�d␒�␌␌␌l`␃��s�d␌��␀�␌␌dd`␃��␓�g�␃g␇lsl�         DHT improved lib
wait 1 second for the sensor to boot up
Read using Adafruit API methods
Failed to read from DHT

Read using new API methods
Failed to read from DHT: 2Heatindex: nan*C
Dewpoint: nan*C
Comfort is at nan percent, (Unknown:1073645933)
mode : softAP(62:01:94:2b:ae:0b)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100

I tested the SimpleDHT library in the Arduino environment (for esp8266) and the DHT22Default example works.

slaff
@slaff
Feb 20 2018 12:03
Looking at the code I can see that @ADiea is the maintainer Maintainer: ADiea (https://github.com/ADiea). You can ask him directly or open an issue and describe how to reproduce the problem with enough details.