I modified a flow to save Darksky data to a global variable Apparently it is working fine.
[{"id":"44ca6704.5ad738","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"599cbfd5.c3513","type":"ui_chart","z":"44ca6704.5ad738","name":"Darksky currently","group":"c8171f73.4b8c5","order":36,"width":28,"height":7,"label":"","chartType":"line","legend":"true","xformat":"YYYY-MM-DD HH-mm-ss","interpolate":"bezier","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"2","removeOlderPoints":"1000","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"colors":["#00ffff","#008000","#00ffff","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":690,"y":340,"wires":[["2985ad3a.fb4772"]]},{"id":"1229ac6f.acc444","type":"change","z":"44ca6704.5ad738","name":"","rules":[{"t":"set","p":"yves","pt":"global","to":"payload[0]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1060,"y":260,"wires":[[]]},{"id":"9b11a84.fea8a58","type":"inject","z":"44ca6704.5ad738","name":"","topic":"","payload":"","payloadType":"date","repeat":"19","crontab":"","once":true,"onceDelay":"2.2","x":270,"y":340,"wires":[["bd268b4d.bf3a48"]]},{"id":"bd268b4d.bf3a48","type":"change","z":"44ca6704.5ad738","name":"global.yves","rules":[{"t":"set","p":"payload","pt":"msg","to":"yves","tot":"global"}],"action":"","property":"","from":"","to":"","reg":false,"x":450,"y":340,"wires":[["599cbfd5.c3513"]]},{"id":"2985ad3a.fb4772","type":"switch","z":"44ca6704.5ad738","name":"","property":"payload","propertyType":"msg","rules":[{"t":"istype","v":"undefined","vt":"undefined"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":870,"y":260,"wires":[[],["1229ac6f.acc444"]]},{"id":"5ae39b9a.580fe4","type":"function","z":"44ca6704.5ad738","name":"Temperature","func":"msg.payload = msg.data.currently.temperature;\nmsg.timestamp = 1000 * msg.data.currently.time;\nreturn msg;","outputs":1,"noerr":0,"x":450,"y":260,"wires":[["599cbfd5.c3513","d1299269.19d4a"]]},{"id":"d1299269.19d4a","type":"debug","z":"44ca6704.5ad738","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"timestamp","targetType":"msg","x":630,"y":200,"wires":[]},{"id":"c8171f73.4b8c5","type":"ui_group","z":"","name":"Darksky","tab":"896a5d61.52781","order":32,"disp":false,"width":"28","collapse":false},{"id":"896a5d61.52781","type":"ui_tab","z":"","name":"T1","icon":"fa-television","order":1,"disabled":false,"hidden":false}]
The output of Darsky node would be connected to the function node: