Raspberry Pi 4+ with Influx, TeleGraf, and Grafana to monitor sensor data

PI | Raspberry | Debian | IoT

โš— Kevin Summersill ๐Ÿ”‹
Geek Culture

--

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!

https://images.hdqwalls.com/wallpapers/raspberry-pi-logo-h0.jpg

Letโ€™s first install Grafana.

  1. 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

  1. Setup the keys to download Influx

--

--

โš— Kevin Summersill ๐Ÿ”‹
Geek Culture
Writer for

Enterprise Solution Architect | Certified K8s Administrator/Developer โš“ | SAFe SPC | Cert Terraform | AWS Solutions Architect | Dev*Ops/GitOps Engineer ๐Ÿ”ฅ