Hi,
Below a testflow to get data in InfluxDB. What kind of conversion or function do I need to store the data in InfluxDB?
[{"id":"ba27c0a00ee1ad6c","type":"debug","z":"eb156835682f62e8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":550,"y":260,"wires":[]},{"id":"1f945f65e7400655","type":"influxdb out","z":"eb156835682f62e8","influxdb":"1cdcc0c4c2f1b992","name":"AirQuality","measurement":"3545","precision":"","retentionPolicy":"","database":"InfluxEx","precisionV18FluxV20":"ms","retentionPolicyV18Flux":"","org":"organisation","bucket":"bucket","x":540,"y":320,"wires":[]},{"id":"bc178de67f461d1e","type":"inject","z":"eb156835682f62e8","name":"Payload_Encode ","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"protocol_version\":2,\"device_id\":3545,\"battery_voltage\":{\"displayName\":\"Battery voltage\",\"value\":3.095,\"unit\":\"V\"},\"air_temperature\":{\"displayName\":\"Air temperature\",\"value\":32.861448081178,\"unit\":\"°C\"},\"air_humidity\":{\"displayName\":\"Air humidity\",\"value\":37.53871976806287,\"unit\":\"%\"},\"barometric_pressure\":{\"displayName\":\"Barometric pressure\",\"value\":101010,\"unit\":\"Pa\"},\"ambient_light_visible_infrared\":{\"displayName\":\"Ambient light (visible + infrared)\",\"value\":3},\"ambient_light_infrared\":{\"displayName\":\"Ambient light (infrared)\",\"value\":1},\"illuminance\":{\"displayName\":\"Illuminance\",\"value\":2.108544,\"unit\":\"lx\"},\"co2_concentration\":{\"displayName\":\"CO2 concentration\",\"value\":852,\"unit\":\"ppm\"},\"co2_sensor_status\":{\"displayName\":\"CO2 sensor status\",\"value\":0},\"raw_ir_reading\":{\"displayName\":\"Raw IR reading\",\"value\":35456},\"activity_counter\":{\"displayName\":\"Activity counter\",\"value\":35},\"total_voc\":{\"displayName\":\"Total VOC\",\"value\":194,\"unit\":\"ppb\"}}","payloadType":"json","x":300,"y":280,"wires":[["1f945f65e7400655","ba27c0a00ee1ad6c"]]},{"id":"1cdcc0c4c2f1b992","type":"influxdb","hostname":"127.0.0.1","port":"8086","protocol":"http","database":"database","name":"Rpi4","usetls":false,"tls":"355a70c2.0410c8","influxdbVersion":"1.8-flux","url":"","rejectUnauthorized":true,"credentials":{}},{"id":"355a70c2.0410c8","type":"tls-config","name":"","cert":"","key":"","ca":"","certname":"","keyname":"","caname":"","servername":"","verifyservercert":false}]