College work to monitor temperature, humidity and pressure from a BMP280 component configured on Arduino with I2C and SPI communication interfaces, in addition to being coded using STM32.
It has a Python client that collects sensor information and sends it to a Golang server that saves it in the PostgreSQL database. In addition, it has a front in Next.js and a grafana with graphs about measurements.
Make a clone of repository
git clone https://github.com/SamuelMolling/MonitoringSystem.git
Install Docker on MacOS
brew install docker
Install Docker on Windows
https://docs.docker.com/desktop/windows/install/
Make a pull
make install-prerequisites
Make a build
make build
And Run!
make up
If you want to delete a database and grafana directory, use
make destroy
OBS: This will remove any metrics in the existing directory and data