Raspberry Pi 4+ with Influx, TeleGraf, and Grafana to monitor sensor data
PI | Raspberry | Debian | IoT
Let's look at setting up a multi-purpose device for an Infrastructure to Go (ItG) project. Grafana is a Graphical User Interface (GUI) to visually see the data produced by TeleGraf by using an Influx data source. This will help you be able to see your payload prior to sending it off. Letโs begin!
Letโs first install Grafana.
- Update your Pi first:
sudo apt update
sudo apt upgrade
2. Download Grafana Package
wget https://dl.grafana.com/oss/release/grafana_6.6.1_armhf.deb sudo dpkg -i grafana_6.6.1_armhf.deb
3. Enable Grafana for Restart Purposes
sudo systemctl enable grafana-server
4. Start Grafana
sudo systemctl start grafana-server
5. You can test it with:
localhost:3000
Username: admin
Password: admin
Of course, if you are SSHโd to your PI then use your <IP address> then the port.
Connecting a Data Source with Influx
- Setup the keys to download Influx