Enviro, InfluxDB on Trixie

Some years ago I set up an environmental monitoring system following the great “Enviro and InfluxDB/Grafana” tutorial. The heart of the system was a Raspberry Pi 4 running Bullseye. This week I decided to upgrade the Raspberry Pi 4 to Trixie, I installed InfuxDB (it is now in the standard repository) and Grafana, both appeared to work fine and I got data from my homebrew Pi Zero with Adafruit environmental monitors and a Python script, but I can’t get the Enviro’s (Urban and Indoor) to connect, they give an error 404.

I have tried enabling and disabling authentication in InfluxDB and I don’t understand why my Python script still works but the Enviro’s will not.

I installed InfuxDB V1 not V2 (the original tutorial doesn’t specify, I assumed this was the original InfluxDB V1)

I have done a bit more digging and it looks like the Enviro firmware uses V2 of the Influx API, which is supported by InfluxDB v1.8, however the version of InfluxDB included in the Trixie repo is v1.6! Trying to work out how to upgrade InfluxDB on Trixie.

1 Like

Started from a fresh Raspberry PI OS install (Trixie) and installed InfluxDB v1.12 using the instructions in the Influx documentation (found the instructions in the Enviro tutorial don’t work on Trixie). Both Enviro Urban and Enviro Indoor now working with InfluxDB and Grafana.