[{"id":"698ae74b.381e38","type":"file","z":"2bc0ec57.eb2a94","name":"","filename":"/home/pi/logs/PlaningSolar","appendNewline":true,"createDir":false,"overwriteFile":"true","x":1089,"y":233,"wires":[]},{"id":"99a6611f.8909","type":"template","z":"2bc0ec57.eb2a94","name":"simulate csv file","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"1x1x0x0,0\n1x1x0x15,0\n1x1x0x30,0\n1x1x0x45,0\n1x1x1x0,0\n1x1x1x15,0\n1x1x1x30,0\n1x1x1x45,0\n1x1x2x0,0\n1x1x2x15,0\n","output":"str","x":802,"y":232,"wires":[["698ae74b.381e38"]]},{"id":"f3792806.b83398","type":"csv","z":"2bc0ec57.eb2a94","name":"","sep":",","hdrin":false,"hdrout":true,"multi":"mult","ret":"\n","temp":"","skip":"0","x":650,"y":548,"wires":[["e14bca0c.ec1f48"]]},{"id":"786d8a25.ed7f44","type":"debug","z":"2bc0ec57.eb2a94","name":"11","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","x":1127,"y":580,"wires":},{"id":"179b17.06e1a4ea","type":"file in","z":"2bc0ec57.eb2a94","name":"","filename":"/home/pi/logs/PlaningSolar","format":"utf8","chunk":false,"sendError":false,"x":415,"y":554,"wires":[["f3792806.b83398"]]},{"id":"e73a973e.9a39c8","type":"inject","z":"2bc0ec57.eb2a94","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":147,"y":555,"wires":[["179b17.06e1a4ea"]]},{"id":"e14bca0c.ec1f48","type":"function","z":"2bc0ec57.eb2a94","name":"66","func":"msg.part_number = flow.get('part')||0;\n\nreturn msg;","outputs":1,"noerr":0,"x":781,"y":550,"wires":[["3cfad59f.9b411a"]]},{"id":"7b23d94d.e45378","type":"inject","z":"2bc0ec57.eb2a94","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":600,"y":232,"wires":[["99a6611f.8909"]]},{"id":"3cfad59f.9b411a","type":"change","z":"2bc0ec57.eb2a94","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload[col1=$string($$.part_number)].col2","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":965,"y":567,"wires":[["786d8a25.ed7f44"]]},{"id":"f53dda7d.2fa3c8","type":"inject","z":"2bc0ec57.eb2a94","name":"","topic":"","payload":"8x22x9x45","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":164,"y":246,"wires":[["45dab645.53c998"]]},{"id":"45dab645.53c998","type":"function","z":"2bc0ec57.eb2a94","name":"55","func":"flow.set('part',msg.payload);\nreturn msg;","outputs":1,"noerr":0,"x":335,"y":247,"wires":[]},{"id":"ede2d6ba.1de2e8","type":"comment","z":"2bc0ec57.eb2a94","name":"variable de la colone1","info":"","x":195,"y":187,"wires":},{"id":"c4e235bf.30aa58","type":"comment","z":"2bc0ec57.eb2a94","name":"planning tracker solaire","info":"","x":805,"y":183,"wires":},{"id":"2478b9bd.665596","type":"comment","z":"2bc0ec57.eb2a94","name":"start the search in column 2","info":"","x":420,"y":500,"wires":}]
here is the flow,