On Wed, 10 May 2023, 03:51 J. Roeleveld, <[email protected]> wrote: > Hi all, > > I've been using a python script for the past 4 years to read out my solar > panels and write the data into InfluxDB to get nice graphs in Grafana. > > Unfortunately, the library I use to write to InfluxDB has a dead upstream > and > doesn't work with Python 3.11 anymore. > Does anyone know of a different way to load the data into InfluxDB using > Python > that is likely to be supported for the foreseeable future? >
The line protocol is pretty simple. It is trivial to write a serialiser for it. https://docs.influxdata.com/influxdb/v2.7/write-data/developer-tools/api/ If you can't get a good nanosecond timestamp you can reduce it to second precision.

