Dashboard 2 - best format to use for timeseries data

I'm hoping to display weather forecast data in Dashboard 2 that is retrieved from the Met Office.

The format of the incoming data is an array of 48 objects, where each object contains a single timestamp and the corresponding conditions recorded at that time.

This is a typical object from the array, and I will probably use about 10 indicators from each of the objects;

{
  "time": "2023-11-14T19:00Z",
  "screenTemperature": 10.03,
  "maxScreenAirTemp": 10.4,
  "minScreenAirTemp": 9.99,
  "screenDewPointTemperature": 7.56,
  "feelsLikeTemperature": 8.09,
  "windSpeed10m": 3.86,
  "windDirectionFrom10m": 263,
  "windGustSpeed10m": 7.72,
  "max10mWindGust": 10.13,
  "visibility": 16258,
  "screenRelativeHumidity": 84.48,
  "mslp": 100360,
  "uvIndex": 0,
  "significantWeatherCode": 0,
  "precipitationRate": 0,
  "totalPrecipAmount": 0,
  "totalSnowAmount": 0,
  "probOfPrecipitation": 0
}

I've looked at the Dashboard doc's and can't decide what would be the most efficient way to format the data for the chart.

I currently display the data in Grafana, where the input format appears much easier to comprehend & use, as it accepts an array of objects, where each object contains a single timestamp and all of the respective datapoints.

{
  "measurement": "metoffice",
  "fields": {
    "temperature": 10.03,
    "maxTemp": 10.4,
    "minTemp": 9.99,
    "feelsLike": 8.09,
    "windGust": 17,
    "windSpeed": 9,
    "rainProb": 0,
    "rainPrecip": 0,
    "weatherCode": "Clear night",
    "uvIndex": 0
  },
  "tags": {
    "tag1": "weather",
    "tag2": "metoffice"
  },
  "timestamp": 1699988400000
}

Any advice appreciated :smiley:

2 cents I have on that..

Was there any easy way with D1? I don't think so. And there's no way the D2 will be magic problem solver. It tries to be replacement of D1 so it will be almost as limited. Pushing limits is fine but... Things you are trying to achieve have too many specific requirements to fit into that box.
Formating the input has never been part of receiver business. It is just a kindness of developer to allow some of potential easy cases. But there is always a limit how far you can go with it.

Assuming that you want to chart only a subset of the fields then something like this in a function node should do it

const topics = ["temperature", "maxTemp", "minTemp"]
topics.forEach((field) => node.send({topic: field, payload: msg.payload.fields[field]}))
return;

Thanks Colin, I'll try that tomorrow, as I've had to delete my dashboard nodes to remove @flowforge/node-red-dashboard and then install @flowfuse/node-red-dashboard :rage:

1 Like

There was no need to do that really Paul. You could have uninstalled old and installed new from the command line. Then restart node-red. It would have been seamless

I wish that I had known that earlier :worried:
But never mind, it's a fresh start!

Hi @Colin
Not sure how you are integrating that code into a flow.
How is it accessing the incoming payload?

[{"id":"0f7d64927e075415","type":"ui-chart","z":"51a81bf279dcf161","group":"a0643ef6065407fa","name":"","label":"chart","order":9007199254740991,"chartType":"line","category":"topic","categoryType":"msg","xAxisProperty":"","xAxisPropertyType":"msg","xAxisType":"time","yAxisProperty":"","ymin":"","ymax":"","showLegend":true,"removeOlder":1,"removeOlderUnit":"3600","removeOlderPoints":"","colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"width":"21","height":"8","className":"","x":530,"y":200,"wires":[[]]},{"id":"5b32a3aee14a6571","type":"function","z":"51a81bf279dcf161","name":"function 1","func":"const topics = [\"temperature\", \"maxTemp\", \"minTemp\"]\ntopics.forEach((field) => node.send({topic: field, payload: msg.payload.fields[field]}))\nreturn;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":360,"y":200,"wires":[["0f7d64927e075415"]]},{"id":"12ea160dc77d8958","type":"inject","z":"51a81bf279dcf161","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"time\":\"2023-11-15T09:00Z\",\"screenTemperature\":9.67,\"maxScreenAirTemp\":9.84,\"minScreenAirTemp\":9.57,\"screenDewPointTemperature\":6.71,\"feelsLikeTemperature\":6.55,\"windSpeed10m\":6.84,\"windDirectionFrom10m\":252,\"windGustSpeed10m\":11.83,\"max10mWindGust\":13.07,\"visibility\":12746,\"screenRelativeHumidity\":81.66,\"mslp\":101040,\"uvIndex\":1,\"significantWeatherCode\":3,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":2},{\"time\":\"2023-11-15T10:00Z\",\"screenTemperature\":9.55,\"maxScreenAirTemp\":9.67,\"minScreenAirTemp\":9.52,\"screenDewPointTemperature\":6.51,\"feelsLikeTemperature\":6.14,\"windSpeed10m\":7.72,\"windDirectionFrom10m\":250,\"windGustSpeed10m\":13.61,\"max10mWindGust\":13.61,\"visibility\":14844,\"screenRelativeHumidity\":81.19,\"mslp\":101132,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T11:00Z\",\"screenTemperature\":9.77,\"maxScreenAirTemp\":9.78,\"minScreenAirTemp\":9.55,\"screenDewPointTemperature\":6.71,\"feelsLikeTemperature\":6.72,\"windSpeed10m\":6.69,\"windDirectionFrom10m\":257,\"windGustSpeed10m\":12,\"max10mWindGust\":12.72,\"visibility\":15804,\"screenRelativeHumidity\":81.2,\"mslp\":101194,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-15T12:00Z\",\"screenTemperature\":10.36,\"maxScreenAirTemp\":10.38,\"minScreenAirTemp\":9.77,\"screenDewPointTemperature\":6.42,\"feelsLikeTemperature\":7.19,\"windSpeed10m\":7.48,\"windDirectionFrom10m\":266,\"windGustSpeed10m\":13.38,\"max10mWindGust\":13.47,\"visibility\":23911,\"screenRelativeHumidity\":76.58,\"mslp\":101220,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-15T13:00Z\",\"screenTemperature\":10.56,\"maxScreenAirTemp\":10.6,\"minScreenAirTemp\":10.36,\"screenDewPointTemperature\":6.29,\"feelsLikeTemperature\":7.31,\"windSpeed10m\":7.76,\"windDirectionFrom10m\":269,\"windGustSpeed10m\":13.68,\"max10mWindGust\":14.24,\"visibility\":26754,\"screenRelativeHumidity\":74.97,\"mslp\":101260,\"uvIndex\":1,\"significantWeatherCode\":3,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":1},{\"time\":\"2023-11-15T14:00Z\",\"screenTemperature\":10.38,\"maxScreenAirTemp\":10.56,\"minScreenAirTemp\":10.36,\"screenDewPointTemperature\":6.1,\"feelsLikeTemperature\":7.21,\"windSpeed10m\":7.46,\"windDirectionFrom10m\":271,\"windGustSpeed10m\":13.25,\"max10mWindGust\":13.5,\"visibility\":28367,\"screenRelativeHumidity\":74.94,\"mslp\":101300,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T15:00Z\",\"screenTemperature\":10.09,\"maxScreenAirTemp\":10.38,\"minScreenAirTemp\":10.08,\"screenDewPointTemperature\":6.29,\"feelsLikeTemperature\":7.02,\"windSpeed10m\":7.04,\"windDirectionFrom10m\":270,\"windGustSpeed10m\":12.7,\"max10mWindGust\":13.38,\"visibility\":28415,\"screenRelativeHumidity\":77.38,\"mslp\":101350,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-15T16:00Z\",\"screenTemperature\":9.85,\"maxScreenAirTemp\":10.09,\"minScreenAirTemp\":9.84,\"screenDewPointTemperature\":6.41,\"feelsLikeTemperature\":6.91,\"windSpeed10m\":6.36,\"windDirectionFrom10m\":270,\"windGustSpeed10m\":11.99,\"max10mWindGust\":12.52,\"visibility\":29764,\"screenRelativeHumidity\":79.39,\"mslp\":101390,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T17:00Z\",\"screenTemperature\":9.68,\"maxScreenAirTemp\":9.85,\"minScreenAirTemp\":9.66,\"screenDewPointTemperature\":6.3,\"feelsLikeTemperature\":6.93,\"windSpeed10m\":5.75,\"windDirectionFrom10m\":270,\"windGustSpeed10m\":11.13,\"max10mWindGust\":11.88,\"visibility\":27141,\"screenRelativeHumidity\":79.59,\"mslp\":101450,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":5},{\"time\":\"2023-11-15T18:00Z\",\"screenTemperature\":9.5,\"maxScreenAirTemp\":9.68,\"minScreenAirTemp\":9.42,\"screenDewPointTemperature\":6.12,\"feelsLikeTemperature\":6.91,\"windSpeed10m\":5.16,\"windDirectionFrom10m\":269,\"windGustSpeed10m\":10.2,\"max10mWindGust\":11.21,\"visibility\":27560,\"screenRelativeHumidity\":79.49,\"mslp\":101484,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T19:00Z\",\"screenTemperature\":9.26,\"maxScreenAirTemp\":9.5,\"minScreenAirTemp\":9.26,\"screenDewPointTemperature\":6.3,\"feelsLikeTemperature\":7.02,\"windSpeed10m\":4.29,\"windDirectionFrom10m\":271,\"windGustSpeed10m\":8.87,\"max10mWindGust\":10.48,\"visibility\":26546,\"screenRelativeHumidity\":81.8,\"mslp\":101496,\"uvIndex\":0,\"significantWeatherCode\":9,\"precipitationRate\":0.65,\"totalPrecipAmount\":0.12,\"totalSnowAmount\":0,\"probOfPrecipitation\":33},{\"time\":\"2023-11-15T20:00Z\",\"screenTemperature\":8.97,\"maxScreenAirTemp\":9.26,\"minScreenAirTemp\":8.95,\"screenDewPointTemperature\":6.18,\"feelsLikeTemperature\":6.9,\"windSpeed10m\":3.91,\"windDirectionFrom10m\":283,\"windGustSpeed10m\":8.07,\"max10mWindGust\":9.45,\"visibility\":20874,\"screenRelativeHumidity\":82.95,\"mslp\":101512,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-15T21:00Z\",\"screenTemperature\":8.86,\"maxScreenAirTemp\":8.97,\"minScreenAirTemp\":8.83,\"screenDewPointTemperature\":6.32,\"feelsLikeTemperature\":7.14,\"windSpeed10m\":3.17,\"windDirectionFrom10m\":280,\"windGustSpeed10m\":6.76,\"max10mWindGust\":8.34,\"visibility\":19997,\"screenRelativeHumidity\":84.3,\"mslp\":101518,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-15T22:00Z\",\"screenTemperature\":8.47,\"maxScreenAirTemp\":8.86,\"minScreenAirTemp\":8.45,\"screenDewPointTemperature\":6.47,\"feelsLikeTemperature\":7.24,\"windSpeed10m\":2.27,\"windDirectionFrom10m\":290,\"windGustSpeed10m\":5.38,\"max10mWindGust\":7.38,\"visibility\":17364,\"screenRelativeHumidity\":87.49,\"mslp\":101525,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-15T23:00Z\",\"screenTemperature\":8.22,\"maxScreenAirTemp\":8.47,\"minScreenAirTemp\":8.18,\"screenDewPointTemperature\":6.68,\"feelsLikeTemperature\":7.46,\"windSpeed10m\":1.47,\"windDirectionFrom10m\":292,\"windGustSpeed10m\":3.39,\"max10mWindGust\":5.43,\"visibility\":18035,\"screenRelativeHumidity\":90.14,\"mslp\":101522,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-16T00:00Z\",\"screenTemperature\":7.88,\"maxScreenAirTemp\":8.22,\"minScreenAirTemp\":7.81,\"screenDewPointTemperature\":6.55,\"feelsLikeTemperature\":7.22,\"windSpeed10m\":1.09,\"windDirectionFrom10m\":333,\"windGustSpeed10m\":2.58,\"max10mWindGust\":4.36,\"visibility\":17380,\"screenRelativeHumidity\":91.34,\"mslp\":101512,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":5},{\"time\":\"2023-11-16T01:00Z\",\"screenTemperature\":7.4,\"maxScreenAirTemp\":7.88,\"minScreenAirTemp\":7.37,\"screenDewPointTemperature\":6.51,\"feelsLikeTemperature\":6.63,\"windSpeed10m\":1.48,\"windDirectionFrom10m\":348,\"windGustSpeed10m\":2.73,\"max10mWindGust\":3.51,\"visibility\":15747,\"screenRelativeHumidity\":94.16,\"mslp\":101479,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":3},{\"time\":\"2023-11-16T02:00Z\",\"screenTemperature\":6.97,\"maxScreenAirTemp\":7.4,\"minScreenAirTemp\":6.92,\"screenDewPointTemperature\":6.2,\"feelsLikeTemperature\":6.17,\"windSpeed10m\":1.17,\"windDirectionFrom10m\":129,\"windGustSpeed10m\":2.28,\"max10mWindGust\":3.05,\"visibility\":8952,\"screenRelativeHumidity\":94.91,\"mslp\":101429,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":4},{\"time\":\"2023-11-16T03:00Z\",\"screenTemperature\":6.56,\"maxScreenAirTemp\":6.97,\"minScreenAirTemp\":6.53,\"screenDewPointTemperature\":5.73,\"feelsLikeTemperature\":5.65,\"windSpeed10m\":1.4,\"windDirectionFrom10m\":129,\"windGustSpeed10m\":2.34,\"max10mWindGust\":2.64,\"visibility\":9280,\"screenRelativeHumidity\":94.52,\"mslp\":101386,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":4},{\"time\":\"2023-11-16T04:00Z\",\"screenTemperature\":6.32,\"maxScreenAirTemp\":6.56,\"minScreenAirTemp\":6.31,\"screenDewPointTemperature\":5.29,\"feelsLikeTemperature\":5.31,\"windSpeed10m\":1.63,\"windDirectionFrom10m\":107,\"windGustSpeed10m\":2.88,\"max10mWindGust\":3.01,\"visibility\":10121,\"screenRelativeHumidity\":93.39,\"mslp\":101327,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-16T05:00Z\",\"screenTemperature\":6.15,\"maxScreenAirTemp\":6.32,\"minScreenAirTemp\":6.12,\"screenDewPointTemperature\":5.21,\"feelsLikeTemperature\":4.9,\"windSpeed10m\":1.83,\"windDirectionFrom10m\":105,\"windGustSpeed10m\":3.91,\"max10mWindGust\":4.04,\"visibility\":6404,\"screenRelativeHumidity\":93.84,\"mslp\":101251,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-16T06:00Z\",\"screenTemperature\":6,\"maxScreenAirTemp\":6.15,\"minScreenAirTemp\":5.96,\"screenDewPointTemperature\":5.11,\"feelsLikeTemperature\":4.54,\"windSpeed10m\":2.06,\"windDirectionFrom10m\":103,\"windGustSpeed10m\":4.19,\"max10mWindGust\":4.42,\"visibility\":6264,\"screenRelativeHumidity\":94.25,\"mslp\":101208,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-16T07:00Z\",\"screenTemperature\":6.02,\"maxScreenAirTemp\":6.05,\"minScreenAirTemp\":6,\"screenDewPointTemperature\":5.15,\"feelsLikeTemperature\":4.73,\"windSpeed10m\":1.89,\"windDirectionFrom10m\":90,\"windGustSpeed10m\":4.31,\"max10mWindGust\":4.83,\"visibility\":6117,\"screenRelativeHumidity\":94.37,\"mslp\":101161,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-16T08:00Z\",\"screenTemperature\":6.24,\"maxScreenAirTemp\":6.25,\"minScreenAirTemp\":6.02,\"screenDewPointTemperature\":5.45,\"feelsLikeTemperature\":5.22,\"windSpeed10m\":1.67,\"windDirectionFrom10m\":79,\"windGustSpeed10m\":4.07,\"max10mWindGust\":4.65,\"visibility\":5545,\"screenRelativeHumidity\":94.7,\"mslp\":101155,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-16T09:00Z\",\"screenTemperature\":6.61,\"maxScreenAirTemp\":6.64,\"minScreenAirTemp\":6.24,\"screenDewPointTemperature\":5.77,\"feelsLikeTemperature\":5.29,\"windSpeed10m\":2.04,\"windDirectionFrom10m\":77,\"windGustSpeed10m\":4.3,\"max10mWindGust\":4.72,\"visibility\":5494,\"screenRelativeHumidity\":94.73,\"mslp\":101132,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":7},{\"time\":\"2023-11-16T10:00Z\",\"screenTemperature\":7.17,\"maxScreenAirTemp\":7.18,\"minScreenAirTemp\":6.61,\"screenDewPointTemperature\":6.07,\"feelsLikeTemperature\":5.77,\"windSpeed10m\":2.23,\"windDirectionFrom10m\":70,\"windGustSpeed10m\":4.34,\"max10mWindGust\":4.8,\"visibility\":6342,\"screenRelativeHumidity\":93.15,\"mslp\":101102,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-16T11:00Z\",\"screenTemperature\":7.47,\"maxScreenAirTemp\":7.48,\"minScreenAirTemp\":7.17,\"screenDewPointTemperature\":6.22,\"feelsLikeTemperature\":6.22,\"windSpeed10m\":2.16,\"windDirectionFrom10m\":57,\"windGustSpeed10m\":4.13,\"max10mWindGust\":4.52,\"visibility\":18939,\"screenRelativeHumidity\":92.46,\"mslp\":101069,\"uvIndex\":1,\"significantWeatherCode\":12,\"precipitationRate\":0.36,\"totalPrecipAmount\":0.13,\"totalSnowAmount\":0,\"probOfPrecipitation\":50},{\"time\":\"2023-11-16T12:00Z\",\"screenTemperature\":7.7,\"maxScreenAirTemp\":7.7,\"minScreenAirTemp\":7.47,\"screenDewPointTemperature\":5.93,\"feelsLikeTemperature\":6.03,\"windSpeed10m\":2.84,\"windDirectionFrom10m\":54,\"windGustSpeed10m\":5.65,\"max10mWindGust\":5.65,\"visibility\":14163,\"screenRelativeHumidity\":89.39,\"mslp\":101038,\"uvIndex\":1,\"significantWeatherCode\":12,\"precipitationRate\":0.54,\"totalPrecipAmount\":0.34,\"totalSnowAmount\":0,\"probOfPrecipitation\":51},{\"time\":\"2023-11-16T13:00Z\",\"screenTemperature\":7.77,\"maxScreenAirTemp\":7.82,\"minScreenAirTemp\":7.7,\"screenDewPointTemperature\":5.97,\"feelsLikeTemperature\":6.15,\"windSpeed10m\":2.68,\"windDirectionFrom10m\":47,\"windGustSpeed10m\":5.36,\"max10mWindGust\":6.6,\"visibility\":14649,\"screenRelativeHumidity\":89.59,\"mslp\":101034,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":18},{\"time\":\"2023-11-16T14:00Z\",\"screenTemperature\":7.75,\"maxScreenAirTemp\":7.78,\"minScreenAirTemp\":7.72,\"screenDewPointTemperature\":6.16,\"feelsLikeTemperature\":6.38,\"windSpeed10m\":2.36,\"windDirectionFrom10m\":30,\"windGustSpeed10m\":4.74,\"max10mWindGust\":5.52,\"visibility\":10438,\"screenRelativeHumidity\":90.92,\"mslp\":101042,\"uvIndex\":1,\"significantWeatherCode\":12,\"precipitationRate\":0.37,\"totalPrecipAmount\":0.18,\"totalSnowAmount\":0,\"probOfPrecipitation\":53},{\"time\":\"2023-11-16T15:00Z\",\"screenTemperature\":7.86,\"maxScreenAirTemp\":7.89,\"minScreenAirTemp\":7.75,\"screenDewPointTemperature\":6.08,\"feelsLikeTemperature\":6.61,\"windSpeed10m\":2.25,\"windDirectionFrom10m\":12,\"windGustSpeed10m\":4.49,\"max10mWindGust\":5.58,\"visibility\":13505,\"screenRelativeHumidity\":89.54,\"mslp\":101054,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":15},{\"time\":\"2023-11-16T16:00Z\",\"screenTemperature\":7.5,\"maxScreenAirTemp\":7.86,\"minScreenAirTemp\":7.5,\"screenDewPointTemperature\":5.92,\"feelsLikeTemperature\":6.3,\"windSpeed10m\":2.06,\"windDirectionFrom10m\":357,\"windGustSpeed10m\":4.32,\"max10mWindGust\":5.53,\"visibility\":13819,\"screenRelativeHumidity\":90.89,\"mslp\":101074,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":15},{\"time\":\"2023-11-16T17:00Z\",\"screenTemperature\":7.16,\"maxScreenAirTemp\":7.5,\"minScreenAirTemp\":7.14,\"screenDewPointTemperature\":5.78,\"feelsLikeTemperature\":6.09,\"windSpeed10m\":1.86,\"windDirectionFrom10m\":332,\"windGustSpeed10m\":3.95,\"max10mWindGust\":5.46,\"visibility\":13462,\"screenRelativeHumidity\":91.95,\"mslp\":101114,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":16},{\"time\":\"2023-11-16T18:00Z\",\"screenTemperature\":6.87,\"maxScreenAirTemp\":7.16,\"minScreenAirTemp\":6.84,\"screenDewPointTemperature\":5.73,\"feelsLikeTemperature\":5.72,\"windSpeed10m\":1.78,\"windDirectionFrom10m\":315,\"windGustSpeed10m\":3.76,\"max10mWindGust\":5.14,\"visibility\":11425,\"screenRelativeHumidity\":93.21,\"mslp\":101142,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":11},{\"time\":\"2023-11-16T19:00Z\",\"screenTemperature\":6.63,\"maxScreenAirTemp\":6.87,\"minScreenAirTemp\":6.63,\"screenDewPointTemperature\":5.67,\"feelsLikeTemperature\":5.39,\"windSpeed10m\":1.86,\"windDirectionFrom10m\":305,\"windGustSpeed10m\":3.76,\"max10mWindGust\":5.33,\"visibility\":11958,\"screenRelativeHumidity\":93.85,\"mslp\":101169,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":11},{\"time\":\"2023-11-16T20:00Z\",\"screenTemperature\":6.54,\"maxScreenAirTemp\":6.63,\"minScreenAirTemp\":6.53,\"screenDewPointTemperature\":5.43,\"feelsLikeTemperature\":5.45,\"windSpeed10m\":1.65,\"windDirectionFrom10m\":294,\"windGustSpeed10m\":3.16,\"max10mWindGust\":4.81,\"visibility\":10839,\"screenRelativeHumidity\":93.02,\"mslp\":101199,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":13},{\"time\":\"2023-11-16T21:00Z\",\"screenTemperature\":6.47,\"maxScreenAirTemp\":6.54,\"minScreenAirTemp\":6.45,\"screenDewPointTemperature\":5.38,\"feelsLikeTemperature\":5.47,\"windSpeed10m\":1.47,\"windDirectionFrom10m\":285,\"windGustSpeed10m\":2.58,\"max10mWindGust\":3.82,\"visibility\":10767,\"screenRelativeHumidity\":92.93,\"mslp\":101233,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":14},{\"time\":\"2023-11-16T22:00Z\",\"screenTemperature\":6.34,\"maxScreenAirTemp\":6.47,\"minScreenAirTemp\":6.3,\"screenDewPointTemperature\":5.25,\"feelsLikeTemperature\":5.06,\"windSpeed10m\":1.86,\"windDirectionFrom10m\":280,\"windGustSpeed10m\":3.22,\"max10mWindGust\":4.74,\"visibility\":10790,\"screenRelativeHumidity\":92.89,\"mslp\":101278,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-16T23:00Z\",\"screenTemperature\":6.17,\"maxScreenAirTemp\":6.34,\"minScreenAirTemp\":6.15,\"screenDewPointTemperature\":5.21,\"feelsLikeTemperature\":5.07,\"windSpeed10m\":1.7,\"windDirectionFrom10m\":258,\"windGustSpeed10m\":3.46,\"max10mWindGust\":4.72,\"visibility\":14620,\"screenRelativeHumidity\":93.57,\"mslp\":101323,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-17T00:00Z\",\"screenTemperature\":6.05,\"maxScreenAirTemp\":6.17,\"minScreenAirTemp\":6.03,\"screenDewPointTemperature\":5.04,\"feelsLikeTemperature\":4.93,\"windSpeed10m\":1.69,\"windDirectionFrom10m\":251,\"windGustSpeed10m\":3.3,\"max10mWindGust\":4.11,\"visibility\":18234,\"screenRelativeHumidity\":93.28,\"mslp\":101355,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-17T01:00Z\",\"screenTemperature\":5.96,\"maxScreenAirTemp\":6.05,\"minScreenAirTemp\":5.95,\"screenDewPointTemperature\":4.95,\"feelsLikeTemperature\":4.87,\"windSpeed10m\":1.72,\"windDirectionFrom10m\":255,\"windGustSpeed10m\":3.51,\"max10mWindGust\":3.63,\"visibility\":16831,\"screenRelativeHumidity\":93.34,\"mslp\":101400,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-17T02:00Z\",\"screenTemperature\":5.78,\"maxScreenAirTemp\":5.96,\"minScreenAirTemp\":5.76,\"screenDewPointTemperature\":4.78,\"feelsLikeTemperature\":4.64,\"windSpeed10m\":1.64,\"windDirectionFrom10m\":250,\"windGustSpeed10m\":3.19,\"max10mWindGust\":3.42,\"visibility\":16706,\"screenRelativeHumidity\":93.46,\"mslp\":101437,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":7},{\"time\":\"2023-11-17T03:00Z\",\"screenTemperature\":5.64,\"maxScreenAirTemp\":5.78,\"minScreenAirTemp\":5.61,\"screenDewPointTemperature\":4.61,\"feelsLikeTemperature\":4.25,\"windSpeed10m\":1.93,\"windDirectionFrom10m\":248,\"windGustSpeed10m\":3.57,\"max10mWindGust\":3.57,\"visibility\":16051,\"screenRelativeHumidity\":93.14,\"mslp\":101475,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-17T04:00Z\",\"screenTemperature\":5.57,\"maxScreenAirTemp\":5.64,\"minScreenAirTemp\":5.55,\"screenDewPointTemperature\":4.5,\"feelsLikeTemperature\":4.29,\"windSpeed10m\":1.76,\"windDirectionFrom10m\":252,\"windGustSpeed10m\":3.48,\"max10mWindGust\":3.61,\"visibility\":16191,\"screenRelativeHumidity\":93.14,\"mslp\":101532,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-17T05:00Z\",\"screenTemperature\":5.28,\"maxScreenAirTemp\":5.57,\"minScreenAirTemp\":5.28,\"screenDewPointTemperature\":4.4,\"feelsLikeTemperature\":4.03,\"windSpeed10m\":1.71,\"windDirectionFrom10m\":245,\"windGustSpeed10m\":3.32,\"max10mWindGust\":3.46,\"visibility\":17745,\"screenRelativeHumidity\":94.14,\"mslp\":101589,\"uvIndex\":0,\"significantWeatherCode\":2,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":3},{\"time\":\"2023-11-17T06:00Z\",\"screenTemperature\":5.18,\"maxScreenAirTemp\":5.36,\"minScreenAirTemp\":5.09,\"screenDewPointTemperature\":4.27,\"feelsLikeTemperature\":3.96,\"windSpeed10m\":1.61,\"windDirectionFrom10m\":236,\"windGustSpeed10m\":2.85,\"max10mWindGust\":3.7,\"visibility\":17624,\"screenRelativeHumidity\":94.12,\"mslp\":101639,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-17T07:00Z\",\"screenTemperature\":4.96,\"maxScreenAirTemp\":5.18,\"minScreenAirTemp\":4.96,\"screenDewPointTemperature\":3.98,\"feelsLikeTemperature\":3.82,\"windSpeed10m\":1.61,\"windDirectionFrom10m\":232,\"windGustSpeed10m\":2.86,\"max10mWindGust\":2.86,\"visibility\":17973,\"screenRelativeHumidity\":93.53,\"mslp\":101703,\"uvIndex\":0,\"significantWeatherCode\":2,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":3},{\"time\":\"2023-11-17T08:00Z\",\"screenTemperature\":4.94,\"maxScreenAirTemp\":4.96,\"minScreenAirTemp\":4.94,\"screenDewPointTemperature\":4.08,\"feelsLikeTemperature\":3.79,\"windSpeed10m\":1.5,\"windDirectionFrom10m\":224,\"windGustSpeed10m\":2.71,\"max10mWindGust\":2.71,\"visibility\":18226,\"screenRelativeHumidity\":94.17,\"mslp\":101785,\"uvIndex\":1,\"significantWeatherCode\":1,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":2},{\"time\":\"2023-11-17T09:00Z\",\"screenTemperature\":5.3,\"screenDewPointTemperature\":4.2,\"feelsLikeTemperature\":3.99,\"windSpeed10m\":1.75,\"windDirectionFrom10m\":222,\"windGustSpeed10m\":2.94,\"visibility\":19218,\"screenRelativeHumidity\":93.09,\"mslp\":101869,\"uvIndex\":1,\"significantWeatherCode\":3,\"precipitationRate\":0,\"probOfPrecipitation\":3}]","payloadType":"json","x":190,"y":200,"wires":[["5b32a3aee14a6571"]]},{"id":"a0643ef6065407fa","type":"ui-group","name":"My group","page":"5470dfa7d3079c9c","width":"23","height":"13","order":-1,"disp":true,"className":""},{"id":"5470dfa7d3079c9c","type":"ui-page","name":"my page","ui":"94fe9e7257d5a841","path":"/","layout":"grid","theme":"64c9cf69c70b387d","order":-1,"className":""},{"id":"94fe9e7257d5a841","type":"ui-base","name":"my ui_base","path":"/dashboard"},{"id":"64c9cf69c70b387d","type":"ui-theme","name":"my theme","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"}}]

I missed the fact that they are coming in from an array with timestamps. I thought they were coming in one at a time for addition to the chart as they arrived. I haven't looked in detail at how to add multiple points but I see it is addressed in some detail in the migration docs.

Maybe not the most efficient solution but settled upon creating an array of objects which appears to work OK with dashboard 2, I just need to add labels to the x & y axis, and units - °C, mph, %.

const fullArray = msg.payload
const outputArray = []
for (let i = 0; i < fullArray.length; i++) {
let a = (fullArray[i])
// Create individual objects to push into the outputArray
outputArray.push({"index": "temp","y": a.screenTemperature,"x": a.time})
outputArray.push({"index": "feelslike","y": a.feelsLikeTemperature,"x": a.time})
outputArray.push({"index": "windspeed","y": a.windSpeed10m,"x": a.time})
outputArray.push({"index": "gusts","y": a.windGustSpeed10m,"x": a.time})
}
// All objects now created, dispatch the array
node.send({payload:outputArray})
[{"id":"5b32a3aee14a6571","type":"function","z":"51a81bf279dcf161","name":"format for chart","func":"const fullArray = msg.payload\nconst outputArray = []\n\nfor (let i = 0; i < fullArray.length; i++) {\nlet a = (fullArray[i])\n\n// Create individual objects to push into the outputArray\noutputArray.push({\"index\": \"temp\",\"y\": a.screenTemperature,\"x\": a.time})\noutputArray.push({\"index\": \"feelslike\",\"y\": a.feelsLikeTemperature,\"x\": a.time})\noutputArray.push({\"index\": \"windspeed\",\"y\": a.windSpeed10m,\"x\": a.time})\noutputArray.push({\"index\": \"gusts\",\"y\": a.windGustSpeed10m,\"x\": a.time})\n}\n\n// All objects now created, dispatch the array\nnode.send({payload:outputArray})","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":380,"y":120,"wires":[["0fddd7a41ab8c1bf"]]},{"id":"49271f17c8816b73","type":"inject","z":"51a81bf279dcf161","name":"Full array","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"time\":\"2023-11-15T09:00Z\",\"screenTemperature\":9.67,\"maxScreenAirTemp\":9.84,\"minScreenAirTemp\":9.57,\"screenDewPointTemperature\":6.71,\"feelsLikeTemperature\":6.55,\"windSpeed10m\":6.84,\"windDirectionFrom10m\":252,\"windGustSpeed10m\":11.83,\"max10mWindGust\":13.07,\"visibility\":12746,\"screenRelativeHumidity\":81.66,\"mslp\":101040,\"uvIndex\":1,\"significantWeatherCode\":3,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":2},{\"time\":\"2023-11-15T10:00Z\",\"screenTemperature\":9.55,\"maxScreenAirTemp\":9.67,\"minScreenAirTemp\":9.52,\"screenDewPointTemperature\":6.51,\"feelsLikeTemperature\":6.14,\"windSpeed10m\":7.72,\"windDirectionFrom10m\":250,\"windGustSpeed10m\":13.61,\"max10mWindGust\":13.61,\"visibility\":14844,\"screenRelativeHumidity\":81.19,\"mslp\":101132,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T11:00Z\",\"screenTemperature\":9.77,\"maxScreenAirTemp\":9.78,\"minScreenAirTemp\":9.55,\"screenDewPointTemperature\":6.71,\"feelsLikeTemperature\":6.72,\"windSpeed10m\":6.69,\"windDirectionFrom10m\":257,\"windGustSpeed10m\":12,\"max10mWindGust\":12.72,\"visibility\":15804,\"screenRelativeHumidity\":81.2,\"mslp\":101194,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-15T12:00Z\",\"screenTemperature\":10.36,\"maxScreenAirTemp\":10.38,\"minScreenAirTemp\":9.77,\"screenDewPointTemperature\":6.42,\"feelsLikeTemperature\":7.19,\"windSpeed10m\":7.48,\"windDirectionFrom10m\":266,\"windGustSpeed10m\":13.38,\"max10mWindGust\":13.47,\"visibility\":23911,\"screenRelativeHumidity\":76.58,\"mslp\":101220,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-15T13:00Z\",\"screenTemperature\":10.56,\"maxScreenAirTemp\":10.6,\"minScreenAirTemp\":10.36,\"screenDewPointTemperature\":6.29,\"feelsLikeTemperature\":7.31,\"windSpeed10m\":7.76,\"windDirectionFrom10m\":269,\"windGustSpeed10m\":13.68,\"max10mWindGust\":14.24,\"visibility\":26754,\"screenRelativeHumidity\":74.97,\"mslp\":101260,\"uvIndex\":1,\"significantWeatherCode\":3,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":1},{\"time\":\"2023-11-15T14:00Z\",\"screenTemperature\":10.38,\"maxScreenAirTemp\":10.56,\"minScreenAirTemp\":10.36,\"screenDewPointTemperature\":6.1,\"feelsLikeTemperature\":7.21,\"windSpeed10m\":7.46,\"windDirectionFrom10m\":271,\"windGustSpeed10m\":13.25,\"max10mWindGust\":13.5,\"visibility\":28367,\"screenRelativeHumidity\":74.94,\"mslp\":101300,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T15:00Z\",\"screenTemperature\":10.09,\"maxScreenAirTemp\":10.38,\"minScreenAirTemp\":10.08,\"screenDewPointTemperature\":6.29,\"feelsLikeTemperature\":7.02,\"windSpeed10m\":7.04,\"windDirectionFrom10m\":270,\"windGustSpeed10m\":12.7,\"max10mWindGust\":13.38,\"visibility\":28415,\"screenRelativeHumidity\":77.38,\"mslp\":101350,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-15T16:00Z\",\"screenTemperature\":9.85,\"maxScreenAirTemp\":10.09,\"minScreenAirTemp\":9.84,\"screenDewPointTemperature\":6.41,\"feelsLikeTemperature\":6.91,\"windSpeed10m\":6.36,\"windDirectionFrom10m\":270,\"windGustSpeed10m\":11.99,\"max10mWindGust\":12.52,\"visibility\":29764,\"screenRelativeHumidity\":79.39,\"mslp\":101390,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T17:00Z\",\"screenTemperature\":9.68,\"maxScreenAirTemp\":9.85,\"minScreenAirTemp\":9.66,\"screenDewPointTemperature\":6.3,\"feelsLikeTemperature\":6.93,\"windSpeed10m\":5.75,\"windDirectionFrom10m\":270,\"windGustSpeed10m\":11.13,\"max10mWindGust\":11.88,\"visibility\":27141,\"screenRelativeHumidity\":79.59,\"mslp\":101450,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":5},{\"time\":\"2023-11-15T18:00Z\",\"screenTemperature\":9.5,\"maxScreenAirTemp\":9.68,\"minScreenAirTemp\":9.42,\"screenDewPointTemperature\":6.12,\"feelsLikeTemperature\":6.91,\"windSpeed10m\":5.16,\"windDirectionFrom10m\":269,\"windGustSpeed10m\":10.2,\"max10mWindGust\":11.21,\"visibility\":27560,\"screenRelativeHumidity\":79.49,\"mslp\":101484,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-15T19:00Z\",\"screenTemperature\":9.26,\"maxScreenAirTemp\":9.5,\"minScreenAirTemp\":9.26,\"screenDewPointTemperature\":6.3,\"feelsLikeTemperature\":7.02,\"windSpeed10m\":4.29,\"windDirectionFrom10m\":271,\"windGustSpeed10m\":8.87,\"max10mWindGust\":10.48,\"visibility\":26546,\"screenRelativeHumidity\":81.8,\"mslp\":101496,\"uvIndex\":0,\"significantWeatherCode\":9,\"precipitationRate\":0.65,\"totalPrecipAmount\":0.12,\"totalSnowAmount\":0,\"probOfPrecipitation\":33},{\"time\":\"2023-11-15T20:00Z\",\"screenTemperature\":8.97,\"maxScreenAirTemp\":9.26,\"minScreenAirTemp\":8.95,\"screenDewPointTemperature\":6.18,\"feelsLikeTemperature\":6.9,\"windSpeed10m\":3.91,\"windDirectionFrom10m\":283,\"windGustSpeed10m\":8.07,\"max10mWindGust\":9.45,\"visibility\":20874,\"screenRelativeHumidity\":82.95,\"mslp\":101512,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-15T21:00Z\",\"screenTemperature\":8.86,\"maxScreenAirTemp\":8.97,\"minScreenAirTemp\":8.83,\"screenDewPointTemperature\":6.32,\"feelsLikeTemperature\":7.14,\"windSpeed10m\":3.17,\"windDirectionFrom10m\":280,\"windGustSpeed10m\":6.76,\"max10mWindGust\":8.34,\"visibility\":19997,\"screenRelativeHumidity\":84.3,\"mslp\":101518,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-15T22:00Z\",\"screenTemperature\":8.47,\"maxScreenAirTemp\":8.86,\"minScreenAirTemp\":8.45,\"screenDewPointTemperature\":6.47,\"feelsLikeTemperature\":7.24,\"windSpeed10m\":2.27,\"windDirectionFrom10m\":290,\"windGustSpeed10m\":5.38,\"max10mWindGust\":7.38,\"visibility\":17364,\"screenRelativeHumidity\":87.49,\"mslp\":101525,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-15T23:00Z\",\"screenTemperature\":8.22,\"maxScreenAirTemp\":8.47,\"minScreenAirTemp\":8.18,\"screenDewPointTemperature\":6.68,\"feelsLikeTemperature\":7.46,\"windSpeed10m\":1.47,\"windDirectionFrom10m\":292,\"windGustSpeed10m\":3.39,\"max10mWindGust\":5.43,\"visibility\":18035,\"screenRelativeHumidity\":90.14,\"mslp\":101522,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-16T00:00Z\",\"screenTemperature\":7.88,\"maxScreenAirTemp\":8.22,\"minScreenAirTemp\":7.81,\"screenDewPointTemperature\":6.55,\"feelsLikeTemperature\":7.22,\"windSpeed10m\":1.09,\"windDirectionFrom10m\":333,\"windGustSpeed10m\":2.58,\"max10mWindGust\":4.36,\"visibility\":17380,\"screenRelativeHumidity\":91.34,\"mslp\":101512,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":5},{\"time\":\"2023-11-16T01:00Z\",\"screenTemperature\":7.4,\"maxScreenAirTemp\":7.88,\"minScreenAirTemp\":7.37,\"screenDewPointTemperature\":6.51,\"feelsLikeTemperature\":6.63,\"windSpeed10m\":1.48,\"windDirectionFrom10m\":348,\"windGustSpeed10m\":2.73,\"max10mWindGust\":3.51,\"visibility\":15747,\"screenRelativeHumidity\":94.16,\"mslp\":101479,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":3},{\"time\":\"2023-11-16T02:00Z\",\"screenTemperature\":6.97,\"maxScreenAirTemp\":7.4,\"minScreenAirTemp\":6.92,\"screenDewPointTemperature\":6.2,\"feelsLikeTemperature\":6.17,\"windSpeed10m\":1.17,\"windDirectionFrom10m\":129,\"windGustSpeed10m\":2.28,\"max10mWindGust\":3.05,\"visibility\":8952,\"screenRelativeHumidity\":94.91,\"mslp\":101429,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":4},{\"time\":\"2023-11-16T03:00Z\",\"screenTemperature\":6.56,\"maxScreenAirTemp\":6.97,\"minScreenAirTemp\":6.53,\"screenDewPointTemperature\":5.73,\"feelsLikeTemperature\":5.65,\"windSpeed10m\":1.4,\"windDirectionFrom10m\":129,\"windGustSpeed10m\":2.34,\"max10mWindGust\":2.64,\"visibility\":9280,\"screenRelativeHumidity\":94.52,\"mslp\":101386,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":4},{\"time\":\"2023-11-16T04:00Z\",\"screenTemperature\":6.32,\"maxScreenAirTemp\":6.56,\"minScreenAirTemp\":6.31,\"screenDewPointTemperature\":5.29,\"feelsLikeTemperature\":5.31,\"windSpeed10m\":1.63,\"windDirectionFrom10m\":107,\"windGustSpeed10m\":2.88,\"max10mWindGust\":3.01,\"visibility\":10121,\"screenRelativeHumidity\":93.39,\"mslp\":101327,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-16T05:00Z\",\"screenTemperature\":6.15,\"maxScreenAirTemp\":6.32,\"minScreenAirTemp\":6.12,\"screenDewPointTemperature\":5.21,\"feelsLikeTemperature\":4.9,\"windSpeed10m\":1.83,\"windDirectionFrom10m\":105,\"windGustSpeed10m\":3.91,\"max10mWindGust\":4.04,\"visibility\":6404,\"screenRelativeHumidity\":93.84,\"mslp\":101251,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-16T06:00Z\",\"screenTemperature\":6,\"maxScreenAirTemp\":6.15,\"minScreenAirTemp\":5.96,\"screenDewPointTemperature\":5.11,\"feelsLikeTemperature\":4.54,\"windSpeed10m\":2.06,\"windDirectionFrom10m\":103,\"windGustSpeed10m\":4.19,\"max10mWindGust\":4.42,\"visibility\":6264,\"screenRelativeHumidity\":94.25,\"mslp\":101208,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-16T07:00Z\",\"screenTemperature\":6.02,\"maxScreenAirTemp\":6.05,\"minScreenAirTemp\":6,\"screenDewPointTemperature\":5.15,\"feelsLikeTemperature\":4.73,\"windSpeed10m\":1.89,\"windDirectionFrom10m\":90,\"windGustSpeed10m\":4.31,\"max10mWindGust\":4.83,\"visibility\":6117,\"screenRelativeHumidity\":94.37,\"mslp\":101161,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-16T08:00Z\",\"screenTemperature\":6.24,\"maxScreenAirTemp\":6.25,\"minScreenAirTemp\":6.02,\"screenDewPointTemperature\":5.45,\"feelsLikeTemperature\":5.22,\"windSpeed10m\":1.67,\"windDirectionFrom10m\":79,\"windGustSpeed10m\":4.07,\"max10mWindGust\":4.65,\"visibility\":5545,\"screenRelativeHumidity\":94.7,\"mslp\":101155,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":9},{\"time\":\"2023-11-16T09:00Z\",\"screenTemperature\":6.61,\"maxScreenAirTemp\":6.64,\"minScreenAirTemp\":6.24,\"screenDewPointTemperature\":5.77,\"feelsLikeTemperature\":5.29,\"windSpeed10m\":2.04,\"windDirectionFrom10m\":77,\"windGustSpeed10m\":4.3,\"max10mWindGust\":4.72,\"visibility\":5494,\"screenRelativeHumidity\":94.73,\"mslp\":101132,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":7},{\"time\":\"2023-11-16T10:00Z\",\"screenTemperature\":7.17,\"maxScreenAirTemp\":7.18,\"minScreenAirTemp\":6.61,\"screenDewPointTemperature\":6.07,\"feelsLikeTemperature\":5.77,\"windSpeed10m\":2.23,\"windDirectionFrom10m\":70,\"windGustSpeed10m\":4.34,\"max10mWindGust\":4.8,\"visibility\":6342,\"screenRelativeHumidity\":93.15,\"mslp\":101102,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-16T11:00Z\",\"screenTemperature\":7.47,\"maxScreenAirTemp\":7.48,\"minScreenAirTemp\":7.17,\"screenDewPointTemperature\":6.22,\"feelsLikeTemperature\":6.22,\"windSpeed10m\":2.16,\"windDirectionFrom10m\":57,\"windGustSpeed10m\":4.13,\"max10mWindGust\":4.52,\"visibility\":18939,\"screenRelativeHumidity\":92.46,\"mslp\":101069,\"uvIndex\":1,\"significantWeatherCode\":12,\"precipitationRate\":0.36,\"totalPrecipAmount\":0.13,\"totalSnowAmount\":0,\"probOfPrecipitation\":50},{\"time\":\"2023-11-16T12:00Z\",\"screenTemperature\":7.7,\"maxScreenAirTemp\":7.7,\"minScreenAirTemp\":7.47,\"screenDewPointTemperature\":5.93,\"feelsLikeTemperature\":6.03,\"windSpeed10m\":2.84,\"windDirectionFrom10m\":54,\"windGustSpeed10m\":5.65,\"max10mWindGust\":5.65,\"visibility\":14163,\"screenRelativeHumidity\":89.39,\"mslp\":101038,\"uvIndex\":1,\"significantWeatherCode\":12,\"precipitationRate\":0.54,\"totalPrecipAmount\":0.34,\"totalSnowAmount\":0,\"probOfPrecipitation\":51},{\"time\":\"2023-11-16T13:00Z\",\"screenTemperature\":7.77,\"maxScreenAirTemp\":7.82,\"minScreenAirTemp\":7.7,\"screenDewPointTemperature\":5.97,\"feelsLikeTemperature\":6.15,\"windSpeed10m\":2.68,\"windDirectionFrom10m\":47,\"windGustSpeed10m\":5.36,\"max10mWindGust\":6.6,\"visibility\":14649,\"screenRelativeHumidity\":89.59,\"mslp\":101034,\"uvIndex\":1,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":18},{\"time\":\"2023-11-16T14:00Z\",\"screenTemperature\":7.75,\"maxScreenAirTemp\":7.78,\"minScreenAirTemp\":7.72,\"screenDewPointTemperature\":6.16,\"feelsLikeTemperature\":6.38,\"windSpeed10m\":2.36,\"windDirectionFrom10m\":30,\"windGustSpeed10m\":4.74,\"max10mWindGust\":5.52,\"visibility\":10438,\"screenRelativeHumidity\":90.92,\"mslp\":101042,\"uvIndex\":1,\"significantWeatherCode\":12,\"precipitationRate\":0.37,\"totalPrecipAmount\":0.18,\"totalSnowAmount\":0,\"probOfPrecipitation\":53},{\"time\":\"2023-11-16T15:00Z\",\"screenTemperature\":7.86,\"maxScreenAirTemp\":7.89,\"minScreenAirTemp\":7.75,\"screenDewPointTemperature\":6.08,\"feelsLikeTemperature\":6.61,\"windSpeed10m\":2.25,\"windDirectionFrom10m\":12,\"windGustSpeed10m\":4.49,\"max10mWindGust\":5.58,\"visibility\":13505,\"screenRelativeHumidity\":89.54,\"mslp\":101054,\"uvIndex\":1,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":15},{\"time\":\"2023-11-16T16:00Z\",\"screenTemperature\":7.5,\"maxScreenAirTemp\":7.86,\"minScreenAirTemp\":7.5,\"screenDewPointTemperature\":5.92,\"feelsLikeTemperature\":6.3,\"windSpeed10m\":2.06,\"windDirectionFrom10m\":357,\"windGustSpeed10m\":4.32,\"max10mWindGust\":5.53,\"visibility\":13819,\"screenRelativeHumidity\":90.89,\"mslp\":101074,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":15},{\"time\":\"2023-11-16T17:00Z\",\"screenTemperature\":7.16,\"maxScreenAirTemp\":7.5,\"minScreenAirTemp\":7.14,\"screenDewPointTemperature\":5.78,\"feelsLikeTemperature\":6.09,\"windSpeed10m\":1.86,\"windDirectionFrom10m\":332,\"windGustSpeed10m\":3.95,\"max10mWindGust\":5.46,\"visibility\":13462,\"screenRelativeHumidity\":91.95,\"mslp\":101114,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":16},{\"time\":\"2023-11-16T18:00Z\",\"screenTemperature\":6.87,\"maxScreenAirTemp\":7.16,\"minScreenAirTemp\":6.84,\"screenDewPointTemperature\":5.73,\"feelsLikeTemperature\":5.72,\"windSpeed10m\":1.78,\"windDirectionFrom10m\":315,\"windGustSpeed10m\":3.76,\"max10mWindGust\":5.14,\"visibility\":11425,\"screenRelativeHumidity\":93.21,\"mslp\":101142,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":11},{\"time\":\"2023-11-16T19:00Z\",\"screenTemperature\":6.63,\"maxScreenAirTemp\":6.87,\"minScreenAirTemp\":6.63,\"screenDewPointTemperature\":5.67,\"feelsLikeTemperature\":5.39,\"windSpeed10m\":1.86,\"windDirectionFrom10m\":305,\"windGustSpeed10m\":3.76,\"max10mWindGust\":5.33,\"visibility\":11958,\"screenRelativeHumidity\":93.85,\"mslp\":101169,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":11},{\"time\":\"2023-11-16T20:00Z\",\"screenTemperature\":6.54,\"maxScreenAirTemp\":6.63,\"minScreenAirTemp\":6.53,\"screenDewPointTemperature\":5.43,\"feelsLikeTemperature\":5.45,\"windSpeed10m\":1.65,\"windDirectionFrom10m\":294,\"windGustSpeed10m\":3.16,\"max10mWindGust\":4.81,\"visibility\":10839,\"screenRelativeHumidity\":93.02,\"mslp\":101199,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":13},{\"time\":\"2023-11-16T21:00Z\",\"screenTemperature\":6.47,\"maxScreenAirTemp\":6.54,\"minScreenAirTemp\":6.45,\"screenDewPointTemperature\":5.38,\"feelsLikeTemperature\":5.47,\"windSpeed10m\":1.47,\"windDirectionFrom10m\":285,\"windGustSpeed10m\":2.58,\"max10mWindGust\":3.82,\"visibility\":10767,\"screenRelativeHumidity\":92.93,\"mslp\":101233,\"uvIndex\":0,\"significantWeatherCode\":8,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":14},{\"time\":\"2023-11-16T22:00Z\",\"screenTemperature\":6.34,\"maxScreenAirTemp\":6.47,\"minScreenAirTemp\":6.3,\"screenDewPointTemperature\":5.25,\"feelsLikeTemperature\":5.06,\"windSpeed10m\":1.86,\"windDirectionFrom10m\":280,\"windGustSpeed10m\":3.22,\"max10mWindGust\":4.74,\"visibility\":10790,\"screenRelativeHumidity\":92.89,\"mslp\":101278,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-16T23:00Z\",\"screenTemperature\":6.17,\"maxScreenAirTemp\":6.34,\"minScreenAirTemp\":6.15,\"screenDewPointTemperature\":5.21,\"feelsLikeTemperature\":5.07,\"windSpeed10m\":1.7,\"windDirectionFrom10m\":258,\"windGustSpeed10m\":3.46,\"max10mWindGust\":4.72,\"visibility\":14620,\"screenRelativeHumidity\":93.57,\"mslp\":101323,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-17T00:00Z\",\"screenTemperature\":6.05,\"maxScreenAirTemp\":6.17,\"minScreenAirTemp\":6.03,\"screenDewPointTemperature\":5.04,\"feelsLikeTemperature\":4.93,\"windSpeed10m\":1.69,\"windDirectionFrom10m\":251,\"windGustSpeed10m\":3.3,\"max10mWindGust\":4.11,\"visibility\":18234,\"screenRelativeHumidity\":93.28,\"mslp\":101355,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-17T01:00Z\",\"screenTemperature\":5.96,\"maxScreenAirTemp\":6.05,\"minScreenAirTemp\":5.95,\"screenDewPointTemperature\":4.95,\"feelsLikeTemperature\":4.87,\"windSpeed10m\":1.72,\"windDirectionFrom10m\":255,\"windGustSpeed10m\":3.51,\"max10mWindGust\":3.63,\"visibility\":16831,\"screenRelativeHumidity\":93.34,\"mslp\":101400,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":10},{\"time\":\"2023-11-17T02:00Z\",\"screenTemperature\":5.78,\"maxScreenAirTemp\":5.96,\"minScreenAirTemp\":5.76,\"screenDewPointTemperature\":4.78,\"feelsLikeTemperature\":4.64,\"windSpeed10m\":1.64,\"windDirectionFrom10m\":250,\"windGustSpeed10m\":3.19,\"max10mWindGust\":3.42,\"visibility\":16706,\"screenRelativeHumidity\":93.46,\"mslp\":101437,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":7},{\"time\":\"2023-11-17T03:00Z\",\"screenTemperature\":5.64,\"maxScreenAirTemp\":5.78,\"minScreenAirTemp\":5.61,\"screenDewPointTemperature\":4.61,\"feelsLikeTemperature\":4.25,\"windSpeed10m\":1.93,\"windDirectionFrom10m\":248,\"windGustSpeed10m\":3.57,\"max10mWindGust\":3.57,\"visibility\":16051,\"screenRelativeHumidity\":93.14,\"mslp\":101475,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-17T04:00Z\",\"screenTemperature\":5.57,\"maxScreenAirTemp\":5.64,\"minScreenAirTemp\":5.55,\"screenDewPointTemperature\":4.5,\"feelsLikeTemperature\":4.29,\"windSpeed10m\":1.76,\"windDirectionFrom10m\":252,\"windGustSpeed10m\":3.48,\"max10mWindGust\":3.61,\"visibility\":16191,\"screenRelativeHumidity\":93.14,\"mslp\":101532,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":8},{\"time\":\"2023-11-17T05:00Z\",\"screenTemperature\":5.28,\"maxScreenAirTemp\":5.57,\"minScreenAirTemp\":5.28,\"screenDewPointTemperature\":4.4,\"feelsLikeTemperature\":4.03,\"windSpeed10m\":1.71,\"windDirectionFrom10m\":245,\"windGustSpeed10m\":3.32,\"max10mWindGust\":3.46,\"visibility\":17745,\"screenRelativeHumidity\":94.14,\"mslp\":101589,\"uvIndex\":0,\"significantWeatherCode\":2,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":3},{\"time\":\"2023-11-17T06:00Z\",\"screenTemperature\":5.18,\"maxScreenAirTemp\":5.36,\"minScreenAirTemp\":5.09,\"screenDewPointTemperature\":4.27,\"feelsLikeTemperature\":3.96,\"windSpeed10m\":1.61,\"windDirectionFrom10m\":236,\"windGustSpeed10m\":2.85,\"max10mWindGust\":3.7,\"visibility\":17624,\"screenRelativeHumidity\":94.12,\"mslp\":101639,\"uvIndex\":0,\"significantWeatherCode\":7,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":6},{\"time\":\"2023-11-17T07:00Z\",\"screenTemperature\":4.96,\"maxScreenAirTemp\":5.18,\"minScreenAirTemp\":4.96,\"screenDewPointTemperature\":3.98,\"feelsLikeTemperature\":3.82,\"windSpeed10m\":1.61,\"windDirectionFrom10m\":232,\"windGustSpeed10m\":2.86,\"max10mWindGust\":2.86,\"visibility\":17973,\"screenRelativeHumidity\":93.53,\"mslp\":101703,\"uvIndex\":0,\"significantWeatherCode\":2,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":3},{\"time\":\"2023-11-17T08:00Z\",\"screenTemperature\":4.94,\"maxScreenAirTemp\":4.96,\"minScreenAirTemp\":4.94,\"screenDewPointTemperature\":4.08,\"feelsLikeTemperature\":3.79,\"windSpeed10m\":1.5,\"windDirectionFrom10m\":224,\"windGustSpeed10m\":2.71,\"max10mWindGust\":2.71,\"visibility\":18226,\"screenRelativeHumidity\":94.17,\"mslp\":101785,\"uvIndex\":1,\"significantWeatherCode\":1,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":2},{\"time\":\"2023-11-17T09:00Z\",\"screenTemperature\":5.3,\"screenDewPointTemperature\":4.2,\"feelsLikeTemperature\":3.99,\"windSpeed10m\":1.75,\"windDirectionFrom10m\":222,\"windGustSpeed10m\":2.94,\"visibility\":19218,\"screenRelativeHumidity\":93.09,\"mslp\":101869,\"uvIndex\":1,\"significantWeatherCode\":3,\"precipitationRate\":0,\"probOfPrecipitation\":3}]","payloadType":"json","x":200,"y":120,"wires":[["5b32a3aee14a6571"]]},{"id":"0fddd7a41ab8c1bf","type":"ui-chart","z":"51a81bf279dcf161","group":"a0643ef6065407fa","name":"","label":"chart","order":9007199254740991,"chartType":"line","category":"index","categoryType":"property","xAxisProperty":"","xAxisPropertyType":"msg","xAxisType":"time","yAxisProperty":"","ymin":"","ymax":"","showLegend":true,"removeOlder":"1","removeOlderUnit":"3600","removeOlderPoints":"","colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"width":"19","height":"6","className":"","x":550,"y":100,"wires":[[]]},{"id":"28cdb2c5ba310c65","type":"inject","z":"51a81bf279dcf161","name":"Clear Chart","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[]","payloadType":"json","x":390,"y":80,"wires":[["0fddd7a41ab8c1bf"]]},{"id":"a0643ef6065407fa","type":"ui-group","name":"testgroup","page":"8d2cc237fa80b9b9","width":"23","height":"13","order":-1,"disp":true,"className":""},{"id":"8d2cc237fa80b9b9","type":"ui-page","name":"mypage","ui":"94fe9e7257d5a841","path":"/","layout":"grid","theme":"64c9cf69c70b387d","order":-1,"className":""},{"id":"94fe9e7257d5a841","type":"ui-base","name":"ui_base","path":"/dashboard"},{"id":"64c9cf69c70b387d","type":"ui-theme","name":"my theme","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"}}]

I'd almost certainly use fullArray.forEach( a => { ..... }) as it seems much easier to read. But the approach seems fine to me.

1 Like

Yes agree.

Incidentally, I've just run the code through ChatGPT and asked it if it could improve the code. This is what it came back with;

const fullArray = msg.payload;
const outputArray = fullArray.flatMap(dataPoint => [
    {"index": "temp", "y": dataPoint.screenTemperature, "x": dataPoint.time},
    {"index": "feelslike", "y": dataPoint.feelsLikeTemperature, "x": dataPoint.time},
    {"index": "windspeed", "y": dataPoint.windSpeed10m, "x": dataPoint.time},
    {"index": "gusts", "y": dataPoint.windGustSpeed10m, "x": dataPoint.time}
])
node.send({payload: outputArray})

I've never heard of flatMap, but yes, now I've read up on it...

Interesting. I'd heard of flatmap but I certainly don't understand it! :grinning:
I'd not heard of the flat() function at all though!

I guess I wouldn't be that comfortable using that flatMap in my code if it meant that I had to scratch my head over it every time I came back to it months later. At least forEach is obvious. That counts for a lot more than some slight perceived efficiency gains or a couple of fewer lines of code in my book. But each to their own - or should that be forEach to their own. :rofl:

2 Likes

Only just seen this @Paul-Reed - so apologies for delay, but a nice solution here is, unlike Dashboard 1.0, there is no data manipulation required at all...

Not sure if this was added after your original post, but our docs have been updated with an example: Chart ui-chart | Node-RED Dashboard 2.0

Note, you can, in your case, within "Properties", set:

  • x = time
  • y = feelsLikeTemperature (or whichever item you want to render)

In hindsight, I don't think the docs do a good enough job of making this options clear. I'll actually likely steal this exact use case as an example for the docs and get them updated.

1 Like

If instead, you'd like multiple lines on a single chart, we can do that too:

  • Set Series to type JSON, then the value is an array of the keys you want to draw to each line, e.g ["screenTemperature", "feelsLikeTemperature"]
  • Set x to time

and it will render accordingly.

I've uploaded the flow here so you can see it in action:

2 Likes

Thanks Joe, that's exactly what I've done.

3 Likes

I have downloaded the example flow, I expected to see a chart with two lines as in your image above, using the timestamp and temperatures from the sample data.

Instead I get this which looks like it's using the current timestamp not the timestamp in the input data.

FWIW, I'm trying to make a sample chart using weather data from yr.no, partly because it doesn't require an API key.
It returns a Json object with an array where timestamp is in msg.payload.properties.timeseries[n].time and temperature is in msg.payload.properties.timeseries[n].data.instant.details.air_temperature

Do the X and Y key fields of the chart node support this data structure?
A sample yr.no URL: (Trafalgar Square)

There's a typo on @joepavitt's example (x-axis is set to the value 'x', instead of 'time')
Try this;

[{"id":"3ec370c5e23eaf83","type":"inject","z":"03cd1d2be26baaa9","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"time\":\"2023-11-14T19:00Z\",\"screenTemperature\":10.03,\"maxScreenAirTemp\":10.4,\"minScreenAirTemp\":9.99,\"screenDewPointTemperature\":7.56,\"feelsLikeTemperature\":8.09,\"windSpeed10m\":3.86,\"windDirectionFrom10m\":263,\"windGustSpeed10m\":7.72,\"max10mWindGust\":10.13,\"visibility\":16258,\"screenRelativeHumidity\":84.48,\"mslp\":100360,\"uvIndex\":0,\"significantWeatherCode\":0,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":0},{\"time\":\"2023-11-15T19:00Z\",\"screenTemperature\":12.13,\"maxScreenAirTemp\":13.2,\"minScreenAirTemp\":9.9,\"screenDewPointTemperature\":7.56,\"feelsLikeTemperature\":10.1,\"windSpeed10m\":4.53,\"windDirectionFrom10m\":254,\"windGustSpeed10m\":8.4,\"max10mWindGust\":11.1,\"visibility\":16365,\"screenRelativeHumidity\":75.36,\"mslp\":100372,\"uvIndex\":0.1,\"significantWeatherCode\":0,\"precipitationRate\":0,\"totalPrecipAmount\":0,\"totalSnowAmount\":0,\"probOfPrecipitation\":0}]","payloadType":"json","x":690,"y":620,"wires":[["ad9cc366d2cdb6e2"]]},{"id":"ad9cc366d2cdb6e2","type":"ui-chart","z":"03cd1d2be26baaa9","group":"176f5b783dee91f4","name":"","label":"chart","order":9007199254740991,"chartType":"line","category":"[\"screenTemperature\", \"feelsLikeTemperature\"]","categoryType":"json","xAxisProperty":"time","xAxisPropertyType":"msg","xAxisType":"time","yAxisProperty":"","ymin":"","ymax":"","showLegend":true,"removeOlder":1,"removeOlderUnit":"3600","removeOlderPoints":"","colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"width":6,"height":8,"className":"","x":870,"y":620,"wires":[[]]},{"id":"176f5b783dee91f4","type":"ui-group","name":"Met Office","page":"af65bf7594b9e87f","width":"22","height":"10","order":-1,"showTitle":true,"className":""},{"id":"af65bf7594b9e87f","type":"ui-page","name":"Weather","ui":"ID-BASE-1","path":"/weather","layout":"grid","theme":"a965ccfef139317a","order":-1,"className":""},{"id":"ID-BASE-1","type":"ui-base","name":"Dashboard","path":"/dashboard"},{"id":"a965ccfef139317a","type":"ui-theme","name":"Default","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"}}]

Unless Joe has other advice, I would suggest that the format would need to be an array of objects, where the object also contains the timestamp.
So maybe a little more work.

Yes, you can just use nested property, e.g. "data.instant.details.air_temperature" as your y property, although would need to the incoming payload as msg.payload = msg.payload.properties.timeseries which you could easily set with a change node.

my bad! thanks for the spot @Paul-Reed - not sure there is a way to update my gist?

Update - yes there is - have fixed it.

Maybe this would be better in the Dashboard 2 Beta thread, by all means move it if so.
A few little niggles below, but the work so far is looking promising. Thanks for that! :slightly_smiling_face:

Thanks both.

So using the revised example from flows.nodered.org, I now get a graph, albeit a rather limited one, with just two points per line.
Same with Paul's version.

Importing them both did result in a complaint "We currently do not support multiple ui-base nodes in a single flow".
I do not as yet have a clear understanding of the new entity ui-base and I am finding this message hard to get rid of.
I tried moving Paul's nodes to a different flow from Joe's but that made no difference.
This is what I see in the Dashboard 2 config. I'm guessing that "UI Name" and "Dashboard" are the ui_bases, but I don't see any way to delete one of them. There is no "Edit" button.

Other observations:
The colour difference between nodes in the palette is insufficient to immediately tell which dashboard a node on a given editor tab belongs to:
image

The documentation and example flows for charts in Dashboard 1 do not give sufficient help for a beginner to easily get their real-life data into a chart with multiple lines or stored data chart.

Please make the help for Dashboard 2 better than for Dashboard 1.

  • Sample data for a line chart should have more than 2 points but not more than 20.
  • It is better for sample data to begin in a slightly tricky format just like real life data and for the example flow to mould it into a successful chart. I can never recall how to get from an SQL query into a multi-line chart, and the help is, frankly, no help.
  • Entities which may be unfamiliar, such as ui-tab and ui-group should not be named "ui-tab", "ui-group" but "Weather Forecast", "Current Conditions" so that when you look at the result it is clearer. The browser tab which calls itself "Discourse Forums" is currently driving me round the bend. It's a dashboard (ui-base?). Why doesn't it call itself something meaningful to the example?