Arduino Telegraf

Is there a library to collect data from Arduino UNO, ESP32 or Esp8266. I’m looking to get data from GPIO pins and count pulses.

Hi @Anto_Jobai ,

As far as I know, there isn’t a library for this, but it is fairly straightforward to send data to Telegraf over either TCP or UDP using Influx’s line protocol. Telegraf will then handle the work of batching the points up and writing them to Influx.

We published a blog post about this topic back in 2015; I’m not sure how out of date it is at this point, but it might provide a good starting point: https://www.influxdata.com/blog/how-to-send-sensor-data-to-influxdb-from-an-arduino-uno/

There are also a number of examples and sketches you can find if you do a quick Google search for both Arduino and ESP32 / ESP8266.