Hi,
Am reading the count data from text file.Path is same but file is different.here i have to monitor the data if data is less than 100 that is "normal" .if it is >100<=150 that is "warning" &
if it is >200 it is "expired" it should display in dashboard with quantity.Am doing my first step with node red, i want to do it Please Anyone help me to do this.
Please find the flow.
[{"id":"126b5227.4cf31e","type":"file in","z":"85644859.76d0b8","name":"","filename":"C:\Users\SESA487319\Desktop\COUNT\COUNT1.cnt","format":"utf8","chunk":false,"sendError":false,"x":620,"y":280,"wires":[["4540a48e.924d7c"]]},{"id":"55318bae.f33df4","type":"file in","z":"85644859.76d0b8","name":"","filename":"C:\Users\SESA487319\Desktop\COUNT\COUNT2.CNT","format":"utf8","chunk":false,"sendError":false,"x":630.2048645019531,"y":313.98958587646484,"wires":[["76412ba9.af5d74"]]},{"id":"9c08dfb7.08422","type":"file in","z":"85644859.76d0b8","name":"","filename":"C:\Users\SESA487319\Desktop\COUNT\COUNT3.cnt","format":"utf8","chunk":false,"sendError":false,"x":620.2048645019531,"y":346.98958587646484,"wires":[["c23595e2.a5d118"]]},{"id":"5c1c590c.f66098","type":"file in","z":"85644859.76d0b8","name":"","filename":"C:\Users\SESA487319\Desktop\COUNT\COUNT4.cnt","format":"utf8","chunk":false,"sendError":false,"x":619.2048645019531,"y":382.00000762939453,"wires":[["fb4b4a9e.841268"]]},{"id":"df7b0ee2.03cc6","type":"inject","z":"85644859.76d0b8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":340,"wires":[["126b5227.4cf31e","55318bae.f33df4","9c08dfb7.08422","5c1c590c.f66098","1bd8cb24.1a6175","7dede9ff.5280e8"]]},{"id":"4540a48e.924d7c","type":"function","z":"85644859.76d0b8","name":"IB2459","func":"var msg;\nconvert = msg.payload.split(",")[0];\nmsg.payload = convert;\nreturn msg;","outputs":1,"noerr":0,"x":940.2048645019531,"y":282.98958587646484,"wires":[["fdf48817.46fa68"]]},{"id":"76412ba9.af5d74","type":"function","z":"85644859.76d0b8","name":"IB2460","func":"var msg;\nconvert = msg.payload.split(",")[0];\nmsg.payload = convert;\nreturn msg;","outputs":1,"noerr":0,"x":940.2048645019531,"y":313.98958587646484,"wires":[["90b4ce12.a3f79"]]},{"id":"c23595e2.a5d118","type":"function","z":"85644859.76d0b8","name":"IB2461","func":"var msg;\nconvert = msg.payload.split(",")[0];\nmsg.payload = convert;\nreturn msg;","outputs":1,"noerr":0,"x":941.2048645019531,"y":346.98958587646484,"wires":[["6e08e197.4346e"]]},{"id":"fb4b4a9e.841268","type":"function","z":"85644859.76d0b8","name":"IB2473","func":"var msg;\nconvert = msg.payload.split(",")[0];\nmsg.payload = convert;\nreturn msg;","outputs":1,"noerr":0,"x":942.2048645019531,"y":382.00000762939453,"wires":[["43f09df4.816854"]]},{"id":"fdf48817.46fa68","type":"ui_gauge","z":"85644859.76d0b8","name":"","group":"4e932cfe.c9c434","order":0,"width":0,"height":0,"gtype":"donut","title":"IB2459","label":"units","format":"{{value}}","min":0,"max":"200","colors":["#00b500","#e6e600","#ca3838"],"seg1":"100","seg2":"150","x":1160,"y":280,"wires":},{"id":"1bd8cb24.1a6175","type":"file in","z":"85644859.76d0b8","name":"","filename":"C:\Users\SESA487319\Desktop\COUNT\COUNT5.cnt","format":"utf8","chunk":false,"sendError":false,"x":620,"y":420,"wires":[["4194ad0a.f52b94"]]},{"id":"7dede9ff.5280e8","type":"file in","z":"85644859.76d0b8","name":"","filename":"C:\Users\SESA487319\Desktop\COUNT\COUNT6.cnt","format":"utf8","chunk":false,"sendError":false,"x":620,"y":460,"wires":[["becf4dac.31aa2"]]},{"id":"4194ad0a.f52b94","type":"function","z":"85644859.76d0b8","name":"IB2474","func":"var msg;\nconvert = msg.payload.split(",")[0];\nmsg.payload = convert;\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":420,"wires":[["672811e2.1d6d9"]]},{"id":"becf4dac.31aa2","type":"function","z":"85644859.76d0b8","name":"IB2475","func":"var msg;\nconvert = msg.payload.split(",")[0];\nmsg.payload = convert;\nreturn msg;","outputs":1,"noerr":0,"x":940,"y":460,"wires":[["a6c0e304.8a39e"]]},{"id":"6e08e197.4346e","type":"ui_gauge","z":"85644859.76d0b8","name":"","group":"b41e914d.269cb","order":0,"width":0,"height":0,"gtype":"donut","title":"IB2461","label":"units","format":"{{value}}","min":0,"max":"200","colors":["#00b500","#e6e600","#ca3838"],"seg1":"100","seg2":"150","x":1160,"y":340,"wires":},{"id":"43f09df4.816854","type":"ui_gauge","z":"85644859.76d0b8","name":"","group":"3299de0.4ba4922","order":0,"width":0,"height":0,"gtype":"donut","title":"IB2473","label":"units","format":"{{value}}","min":0,"max":"200","colors":["#00b500","#e6e600","#ca3838"],"seg1":"100","seg2":"150","x":1160,"y":380,"wires":},{"id":"672811e2.1d6d9","type":"ui_gauge","z":"85644859.76d0b8","name":"","group":"1c27ab28.48b925","order":0,"width":0,"height":0,"gtype":"donut","title":"IB2474","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1160,"y":420,"wires":},{"id":"a6c0e304.8a39e","type":"ui_gauge","z":"85644859.76d0b8","name":"","group":"d0792609.2efb58","order":0,"width":0,"height":0,"gtype":"donut","title":"IB2475","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1160,"y":460,"wires":},{"id":"90b4ce12.a3f79","type":"ui_gauge","z":"85644859.76d0b8","name":"","group":"eca3b5d6.df78f8","order":0,"width":0,"height":0,"gtype":"donut","title":"IB2459","label":"units","format":"{{value}}","min":0,"max":"200","colors":["#00b500","#e6e600","#ca3838"],"seg1":"100","seg2":"150","x":1160,"y":308,"wires":},{"id":"4e932cfe.c9c434","type":"ui_group","z":"","name":"ib2459","tab":"2437af4b.24a54","order":1,"disp":true,"width":"6","collapse":false},{"id":"b41e914d.269cb","type":"ui_group","z":"","name":"IB2461","tab":"2437af4b.24a54","order":3,"disp":true,"width":"6","collapse":false},{"id":"3299de0.4ba4922","type":"ui_group","z":"","name":"IB2473","tab":"2437af4b.24a54","order":4,"disp":true,"width":"6","collapse":false},{"id":"1c27ab28.48b925","type":"ui_group","z":"","name":"IB2474","tab":"2437af4b.24a54","order":5,"disp":true,"width":"6","collapse":false},{"id":"d0792609.2efb58","type":"ui_group","z":"","name":"IB2475","tab":"2437af4b.24a54","order":6,"disp":true,"width":"6","collapse":false},{"id":"eca3b5d6.df78f8","type":"ui_group","z":"","name":"IB2460","tab":"2437af4b.24a54","order":2,"disp":true,"width":"6","collapse":false},{"id":"2437af4b.24a54","type":"ui_tab","z":"","name":"ICT BON COUNT","icon":"dashboard","order":14}]