A web application that displays temperature and humidity data from a DHT11/DHT21/DHT22 sensor in clean and user-friendly interface.
Note
Developed with Raspberry Pi 4B and DHT11 sensor.
Clone the repository:
git clone https://github.com/JokkeeZ/thum.git
cd thum(Windows) Create venv and install requirements:
python -m venv .venv
./.venv/Scripts/activate
python -m pip install -r ./requirements.txt(Linux) Create venv and install requirements:
python -m venv .venv
source .venv/bin/activate
python -m pip install -r ./requirements.txtStart backend:
fastapi run api/main.pyImportant
In app/ folder, rename .env.template file to .env and make sure VITE_API_BASE_URL env key
has the correct FastAPI url and port.
Install npm packages for the frontend:
cd app
npm installStart frontend:
npm run devthum is licensed under the MIT License