Maker API, Nodered and InfluxDB

I'm not following what you are trying to do here. The function node takes the raw data flowing in from the event socket and transforms it into the correct format before inserting it into the database. None of this is my forte, I just followed the instructions and flows shared in the main thread and then customized it to suite my needs.

Have you considered installing influxdb without using docker. I remember trying to get this going in a container and it justed seemed to add more complexity than necessary to a relatively simple process.

I'll hunt down the post where @btk shared his entire flow for influxdb. It's what I used as my foundation.

Edit: my mistake, I stole that portion from @dan.t. See below.