Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 967 Bytes

README.md

File metadata and controls

43 lines (33 loc) · 967 Bytes

MonitoringSystem

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.

Installation

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