Hi, As many other I have barked my path to use nordpool data to find cheapest hours for electricity. The part getting the data, separating it and grouping it to 3hrs intervals (with 2 hrs overlap) works , but when it should group it back (join node) the system works correctly on the 1st time. i.e. 1st group data is from 23:00 / next 00:00 / next 01:00. Second is from 00:00 / next 01:00 / next 02:00. So perfect what I was looking for . But If I run the nodes again I get different values (even though the data until the join is identical). For unknown reason that join now picks 2 last values (21:00 and 22:00) and actually starts the join process like 21:00 /next 22:00 / next 23:00 , second batch 22:00 / next 23:00 / 00:00.
I thought that adding perhaps msg.reset / boolean TRUE would fix it but still the same.
Heres the code, any suggestion how to get it right?
Help much appreciated.
[{"id":"7828b08e04438531","type":"nordpool-api-plus","z":"5e45b8d5.4a6f28","name":"Nordpool_FI","area":"FI","currency":"EUR","x":333.0000190734863,"y":638.0000247955322,"wires":[["687e9a21fa879620"]]},{"id":"b2af7feb40b86c81","type":"inject","z":"5e45b8d5.4a6f28","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"00 20 * * *","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":128.0000114440918,"y":639.0000867843628,"wires":[["7828b08e04438531"]]},{"id":"687e9a21fa879620","type":"split","z":"5e45b8d5.4a6f28","name":"","splt":"","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"topic","x":515.2000350952148,"y":636.2000389099121,"wires":[["ab99cf1e39369a05"]]},{"id":"ab99cf1e39369a05","type":"batch","z":"5e45b8d5.4a6f28","name":"Batch 3 hrs periods","mode":"count","count":"3","overlap":"2","interval":10,"allowEmptySequence":false,"topics":[],"x":328.1999969482422,"y":717.2000389099121,"wires":[["6eb366ba958a5298"]]},{"id":"6eb366ba958a5298","type":"join","z":"5e45b8d5.4a6f28","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"parts.index","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"3","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":653.2000350952148,"y":695.2000389099121,"wires":[["6226d96cfdab07f9"]]},{"id":"6226d96cfdab07f9","type":"debug","z":"5e45b8d5.4a6f28","name":"debug 38","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":768.200065612793,"y":744.8000164031982,"wires":[]}]