Raspberry Pi monitoring app, a satellite for Helios Swarm
Author: Alexander Chaika [email protected]
Source link: https://github.com/manti-by/apollo/
Requirements:
- Raspberry Pi 2 Model B
- One DHT22 sensor
- Five DS1820 sensors
- Four ESP-01+DHT11 satellites
-
Install Python 3.11 and create a virtual environment for the project.
-
Clone sources and install pip packages
mkdir /home/manti/app/ git clone https://github.com/manti-by/apollo app/ pip install -r app/requirements.txt
-
Install crontabs
*/5 * * * * cd /home/manti/app/ && /home/manti/app/venv/bin/python -m apollo.sensors
-
Run server
cd /home/manti/app/ uvicorn apollo.server:app --host 0.0.0.0 --reload