Raspberry Pi 4B, 64-Bit Raspberry OS, Grafana and InfluxDB2 support

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    I am trying to configure Grafana to import data from InfluxDB2, but it does not give me the option of selecting InfluxDB2 and Flux.

  • How are you trying to achieve it?
    I have Grafana, InfluxDB2 running using Docker. I verified that InfluxDB2 is logging data from Atlas Scientific ph probe. Now I am trying to set up Grafana to graph the data from InfluxDB2.

  • What happened?
    Grafana will not set up InfluxDB2

  • What did you expect to happen?
    I expected to have a choice of InfluxDB or InfluxDB2, and Flux as the query language.

  • Can you copy/paste the configuration(s) that you are having problems with?
    no. The menu options do not include FluxDB2 or Flux

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

Welcome @tadashiyara

have you installed the influxdb plugin in grafana?

No, I have not. I used IOTstack/Docker to install Grafana and influxDB2 and did not realize there were additional packages to install

1 Like

I managed to set up InfluxDB2 as a data source for Grafana, finally. Now I have to debug the rest of my system, which includes reading pH values from an Atlas Scientific pH probe, displaying the reading on a 16 x 2 LCD I2C display, writing the value into the proper bucket in InfluxDB2, and graphing the result in Grafana. I am not a software coder, so I am depending on GPT-4 to write the python scripts for me! Got the reading, display and writing to the correct bucket working so far.

1 Like

Hi,

I managed to get the pH monitoring system running:

  • Raspberry Pi 4B 4GB
  • 64-bit Raspberry OS
  • 16 x 2 LCD display I2C
  • Atlas Scientific pH EVO Circuit
  • Atlas Scientific Gen 2 Electrically Isolated Carrier Board USB
  • Atlas Scientific Lab Grade pH Probe
  • SwitchBot Temp & Humidity monitor
  • SwitchBot Mini Hub
  • Docker, Portainer, influxDB2, Grafana

Using GPT-4 I generated a python script that reads the ph probe, reads the SwitchBot hub to get the ambient temp and humidity, writes the ph, temp and humidity values into an InfluxDB2 bucket. The script also writes the values to the 16 x 2 LCD screen: Line 1 pH = x.xxx, Line 2: Tmp = x.xxF Hum = xx.

For now I have Grafana just building a simple STATS panel with the current readings for pH, Temp and Humidity.

My Question: has anyone found an ARM-64 version of Grafana Image Renderer that runs inside a container that works? My goal is to be able to easily view the current pH, temp and humidity values on my iPhone. Right now I am able to view the Grafana panel from my browser, logged into Grafana on th local Raspberry Pi, and getting to the panel I set up. I keep that link in my browser “reading list” for easy access.

Actually, I would prefer to say “Hey Siri, what is the pH now”.

1 Like