Msg.payload to influxdb



My first node red flow here and a newbie question:

I am using openweathermap to get weather data in node red. How do I parse the payload.tempc including a timestamp to InfluxDB (Already created DB).



If you click the icon shown in my screenshot, it will copy the path to the value.
Paste that into a change node, and it will parse the value in your flow.
Something like this;



You don't necessarily need a timestamp as influx will add one itself, as it's a time series database.

You then need to setup your influx output node, take a look at the examples in the influx contrib node, and feed the change node into it.

Trying to get rainfall values from openweather
Extract a Value

Excellent Thanks !