pip install -r requirements.txt
apt install pijuice-base
apt install sqlite3
Example .env
:
DBFILENAME="weatherdb.sql"
ONEWIRESENSORADDRESS="28-00000aee38a9"
DHT11SENSORPIN=27
PLUVIOPIN=21
PLUVIOSIZE=0.2794
ANEMOPIN=13
sqlite
database with the following structure:
Run the backend
gunicorn -b 0.0.0.0:5500 wsgi:app