Sensor monitoring with InfluxDB and Grafana

Szilárd Mátis
3 min readMay 22, 2019

TL;DR; Connect Grafana dashboard and InfluxDB services together for sensor monitoring.

Choose the hardware

The first thing that one should do is to setup a hardware which will provide the information to the dashboard. In this example the Particle Photons will provide the sensor data, other hardwares can be used as well. Please check the Hackster.io for alternative solutions (Raspberry Pi, Arduino boards, etc.): https://www.hackster.io .

In this example a DS18B20 temperature is used to show the use case.

DS18B20 Temperature sensor

Reading to sensor value

The Particle community provides a range of library: https://community.particle.io/c/libraries . For reading the temperature sensor value the https://github.com/eliteio/DS18B20 library is used.

--

--