alexellis / growlab

A global contest to grow and monitor your own food with Raspberry Pi
MIT License
442 stars 49 forks source link

:sparkles: Add DTH22 sensor support #58

Open amouchere opened 3 years ago

amouchere commented 3 years ago

Add the DHT22 Sensor (temperature and humidity)

Add a class in sensor.py
Update the readme for the sensor connection
Update the service

Nota: I think the type of sensor can be set via the config.json file instead of an environnement variable. @alexellis what do you think about it ?