Read temperature and humidity sensor data and write to database
Make sure to run the following commands for the DHT22 sensor:
sudo apt-get update
sudo apt-get install build-essential python-dev python-openssl git
sudo pip3 install adafruit-circuitpython-dht
sudo apt-get install libgpiod2
sudo pip3 install --force-reinstall adafruit-blinka