matpalm / bnn

bee detection tensorflow conv net for a rasp pi on side of a hive
http://matpalm.com/blog/counting_bees/
MIT License
405 stars 66 forks source link

Not reading Temp Sensor #26

Closed jhaltd closed 4 years ago

jhaltd commented 4 years ago

I've tried adding a DHT22 sensor to my Raspberry Pi, but I can't Hivetool to recognize / read it. Enabled the sensor in Settings, selected DHT22, specified GPIO 4 (I've tried a dozen GPIOs actually), set intercept to 0 and slope to 1. When I click reread I get: Temp F, Humidity%, Dew F, Temp C null null null null

When I use the example.py script from Adafruit to read the sensor I get:
Last valid input: 2020-04-29 15:30:40.326392 Temperature: 21.8 C Humidity: 19.5 %

So the sensor is obviously working. What am I doing wrong with Hivetool?

matpalm commented 4 years ago

i've think you've got the wrong repo sorry