-
Notifications
You must be signed in to change notification settings - Fork 0
InfluxDB and Grafana Configuration
aaronsathya edited this page Jul 14, 2024
·
22 revisions
Important
Start the InfluxDB and Grafana Configuration only after all the I2C Sensor Configuration steps have been completed.
-
Clone the MyVivarium RPi-IoT repository:
git clone https://github.com/myvivarium/RPi-IoT.git
-
cd
into the multisensors directory:cd RPi-IoT/multisensors
-
Run
influxdb-multisensor.py
:python influxdb-multisensor.py
You should begin to start seeing readings from the sensors like this:
Let the script continue running.
-
In a new terminal window we will check if the infludb database "multisensors" has readings being sent to it:
docker exec -it influxdb influx > USE multisensors > show measurements > select * from illuminance > quit
You should begin seeing something like this: