Batch measures and influxdb integration

Hi,
I’m reading all the info to do a proper influx integration based on a custom payload codec but I need help for a specific format.

the lora device is sending 6 measures in a single payload (data are sent in a single burst every 6h).

I can decode the payload, each measure has its own date/time associated. no problem here.

but how can we make a proper influxdb integration so that we write the proper timestamp, i.e. the one of each measured which is passed in the payload as a tuple … (datetime, value) ?

thanks for your help!

1 Like