opendata-stuttgart / sensors-software

sourcecode for reading sensor data
566 stars 307 forks source link

Dallas DS18B20 data cannot be read #874

Open BertrumUK opened 3 years ago

BertrumUK commented 3 years ago

I have configured a NodeMCU with an SDS011 and DS18B20 sensor. Both are configured but the 1 Wire DS18B20 on D7 (GPIO13) cannot be read -

Sending to madavi.de:

Succeeded - api-rrd.madavi.de Time for Sending (ms): 3961 PM10: 7.72 PM2.5: 1.73

Sending to sensor.community - SDS011

Succeeded - api.sensor.community DS18B20 trying.... DS18B20 trying.... DS18B20 trying.... DS18B20 trying.... DS18B20 trying.... DS18B20 read failed

I have tried other code on the same board using the same connection and it works fine. There is no option to add the DS18B20 unique address so is this why it cannot be read ?

sfeu commented 3 years ago

I have exactly the same sensor setup and the software runnung on a NodeMCU. Same problem here. (NRZ-2020-133)