hello, I'm making a project where I change the displayed groups with a drop down list, it works good but the main problem is that when I make the change some charts lost the values and don't show anything until I refresh the page (F5), is there anything i could make to auto refresh the charts?
I tried to use the UI_contro to refresh the tab but the problem is not the tab, the problem are the charts
Saving current chart values and restoring them on system restart helps to avoid long wait until new data arrives.
Simplest way to save/restore data is using of Persist nodes. https://flows.nodered.org/node/node-red-contrib-persist
Hint: It's good practice to set some text in Graph node in the field of "No data". So you can be sure if data is missing or there are problems with charting.
odd... seems to work for me unfortunately...I'd need a copy of your flow (or the relevant bits) in order to recreate.
it also works for me the first time but i have a lot of charts and more than one page, I mean that in the area selecter I have 4 options and when i check the first time they have the values displayed, but if I go back a second time the lost the graph and I have to reload the page to see again the charts
this is a litte part of my flow, but you will need to recreate the message
[{"id":"76b24d87.ec5044","type":"tab","label":"Fund. Planta 2","disabled":false,"info":""},{"id":"d835d20c.3b00d","type":"inject","z":"76b24d87.ec5044","name":"","topic":"","payload":"","payloadType":"date","repeat":"1800","crontab":"","once":true,"onceDelay":0.1,"x":170,"y":520,"wires":[["1a901461.ced6fc","9a0a153f.ec88e8"]]},{"id":"1a901461.ced6fc","type":"function","z":"76b24d87.ec5044","name":"setDISA","func":"msg.payload = { objFecha: "31/10/2018", objDisa: "2" };\nmsg.headers = {'content-type':'application/x-www-form-urlencoded'};\nmsg.url = "https://rassinifrenos.com/ediRassini/IOT.edi/wsRepLinea/getAnalisisArenas.r"\n\nreturn msg;","outputs":1,"noerr":0,"x":180,"y":560,"wires":[["250601c4.43af6e"]]},{"id":"250601c4.43af6e","type":"http request","z":"76b24d87.ec5044","name":"","method":"POST","ret":"txt","url":"","tls":"","x":170,"y":600,"wires":[["e1616db6.dc71f"]]},{"id":"e1616db6.dc71f","type":"json","z":"76b24d87.ec5044","name":"","property":"payload","action":"","pretty":false,"x":195.00000381469727,"y":640.9999904632568,"wires":[["a2d579af.943e98","87f91f6b.099ae","e7690ff4.1116f","dc1430f4.d6682","82a07360.9af3b","57f73c1.9febdc4","465c14d5.cad26c","26014b.d37daeb6","32200b1b.ffa694","e67d40c9.175de","566ff5a7.1c2e5c"]]},{"id":"a2d579af.943e98","type":"function","z":"76b24d87.ec5044","name":"arcilla","func":"var x = {payload:msg.payload.lstValores[0].Val};\nvar lim={};\nlim.payload = 7;\nlim.topic='limite';\nvar sup={};\nsup.payload = 8.8;\nsup.topic='sup';\nvar status={};\nif ((x.payload<sup.payload)&&(x.payload>lim.payload))\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat1', status.payload);\nreturn [x, lim, sup];","outputs":3,"noerr":0,"x":630,"y":440,"wires":[["1e3a79cd.d66db6","de391448.b62218"],["1e3a79cd.d66db6"],["1e3a79cd.d66db6"]]},{"id":"87f91f6b.099ae","type":"function","z":"76b24d87.ec5044","name":"humedad","func":"var x = {payload:msg.payload.lstValores[1].Val};\nvar lim={};\nlim.payload=2.6;\nvar sup={};\nsup.payload=3.6;\nlim.topic='limite';\nsup.topic='sup';\nvar status={};\nif ((x.payload<=sup.payload)&&(x.payload>=lim.payload))\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat2', status.payload);\nreturn [x, lim, sup];","outputs":3,"noerr":0,"x":620,"y":500,"wires":[["882344d0.945038","ec377f2c.42c92"],["882344d0.945038"],["882344d0.945038"]]},{"id":"e7690ff4.1116f","type":"function","z":"76b24d87.ec5044","name":"compactibilidad","func":"var x = {payload:msg.payload.lstValores[2].Val};\nvar lim={};\nvar sup={};\nlim.payload=29;\nsup.payload=43;\nlim.topic='limite';\nsup.topic='sup';\nvar status={};\nif ((x.payload<sup.payload)&&(x.payload>lim.payload))\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat3', status.payload);\nreturn [x, lim, sup];","outputs":3,"noerr":0,"x":600,"y":560,"wires":[["6654d819.b92d68","5bee3e9.93bc4c"],["6654d819.b92d68"],["6654d819.b92d68"]]},{"id":"dc1430f4.d6682","type":"function","z":"76b24d87.ec5044","name":"temperatura","func":"var x = {payload:msg.payload.lstValores[3].Val};\nvar lim={};\nlim.payload=18;\nlim.topic='limite';\nvar sup={};\nsup.payload=45;\nsup.topic='sup';\nvar status={};\nif ((x.payload<sup.payload)&&(x.payload>lim.payload))\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat4', status.payload);\nreturn [x, lim, sup];\n","outputs":3,"noerr":0,"x":610,"y":620,"wires":[["8570f353.e2b7","69c54557.27939c"],["8570f353.e2b7"],["8570f353.e2b7"]]},{"id":"82a07360.9af3b","type":"function","z":"76b24d87.ec5044","name":"resistencia a la compresion en verde","func":"var x = {payload:msg.payload.lstValores[4].Val};\nvar lim={};\nlim.payload=31;\nlim.topic='limite';\nvar status={};\nif (x.payload>lim.payload)\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat5', status.payload);\n\nreturn [x, lim];","outputs":2,"noerr":0,"x":530,"y":680,"wires":[["bedbe0c8.7239f","5ea929f2.2c10e8"],["bedbe0c8.7239f"]]},{"id":"57f73c1.9febdc4","type":"function","z":"76b24d87.ec5044","name":"permeabilidad","func":"var x = {payload:msg.payload.lstValores[5].Val};\nvar lim={};\nlim.payload=80;\nlim.topic='limite';\nvar status={};\nif (x.payload>lim.payload)\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat6', status.payload);\n\nreturn [x, lim];","outputs":2,"noerr":0,"x":600,"y":720,"wires":[["f1d736b5.661278","b406c18c.3ecb8"],["f1d736b5.661278"]]},{"id":"e67d40c9.175de","type":"function","z":"76b24d87.ec5044","name":"resistencia a la tension en humedo","func":"var x = {payload:msg.payload.lstValores[8].Val};\nvar lim={};\nvar sup={};\nlim.payload=0;\nlim.topic='limite';\nsup.payload=0.18;\nlim.topic='limite';\nsup.topic='sup';\nvar status={};\nif (x.payload>lim.payload)\n{\n status.payload="green";\n}else{status.payload="red";}\n\nflow.set('stat7', status.payload);\n\nreturn [x, lim];\n","outputs":2,"noerr":0,"x":540,"y":760,"wires":[["5e289cd3.b92b84","88b6b5a7.2d1f18"],["5e289cd3.b92b84"]]},{"id":"465c14d5.cad26c","type":"function","z":"76b24d87.ec5044","name":"arena nueva","func":"var x = {payload:msg.payload.lstValores[10].Val};\n\nflow.set('stat8', x.payload);\nreturn [x];","outputs":2,"noerr":0,"x":610,"y":800,"wires":[["c77006c1.f2b7e8","c82ce5ec.4b1328"],["c77006c1.f2b7e8"]]},{"id":"26014b.d37daeb6","type":"function","z":"76b24d87.ec5044","name":"premezcla","func":"var x = {payload:msg.payload.lstValores[11].Val};\nflow.set('stat9', x.payload);\nreturn [x ];","outputs":2,"noerr":0,"x":610,"y":840,"wires":[["b40f7689.d52528","a00b453a.872708"],["b40f7689.d52528"]]},{"id":"32200b1b.ffa694","type":"function","z":"76b24d87.ec5044","name":"agua","func":"var x = {payload:msg.payload.lstValores[12].Val};\nflow.set('stat10', x.payload);\nreturn [x];","outputs":2,"noerr":0,"x":630,"y":880,"wires":[["1ded3a62.8f0ec6","42b37eb2.90d9f"],["1ded3a62.8f0ec6"]]},{"id":"882344d0.945038","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"7b2c4e22.97e6b","order":3,"width":0,"height":0,"label":"Humedad (%)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"2.5","ymax":"4.3","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1060,"y":480,"wires":[[],[]]},{"id":"6654d819.b92d68","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"25d8c313.225b3c","order":1,"width":0,"height":0,"label":"Compactibilidad (%)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"25","ymax":"43","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1080,"y":560,"wires":[[],[]]},{"id":"8570f353.e2b7","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"25d8c313.225b3c","order":3,"width":0,"height":0,"label":"Temperatura °C","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"20","ymax":"50","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1060,"y":640,"wires":[[],[]]},{"id":"bedbe0c8.7239f","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"9ab8e559.336708","order":1,"width":0,"height":0,"label":"Resistencia Minima PSI","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"25","ymax":"43","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1090,"y":720,"wires":[[],[]]},{"id":"f1d736b5.661278","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"9ab8e559.336708","order":3,"width":0,"height":0,"label":"Permeabilidad (LTS/SEG)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"75","ymax":"110","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1090,"y":800,"wires":[[],[]]},{"id":"5e289cd3.b92b84","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"d39522ba.25c8c","order":1,"width":0,"height":0,"label":"Resistencia a la Tension en Húmedo N/cm2","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":".5","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1150,"y":880,"wires":[[],[]]},{"id":"c77006c1.f2b7e8","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"d39522ba.25c8c","order":3,"width":0,"height":0,"label":"Arena Nueva (Kg)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"40","ymax":"50","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1070,"y":960,"wires":[[],[]]},{"id":"b40f7689.d52528","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"fa8e6d15.05415","order":1,"width":0,"height":0,"label":"Premezcla (Kg)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"50","ymax":"70","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1060,"y":1040,"wires":[[],[]]},{"id":"1ded3a62.8f0ec6","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"fa8e6d15.05415","order":3,"width":0,"height":0,"label":"Agua (LTS)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"70","ymax":"150","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1050,"y":1120,"wires":[[],[]]},{"id":"566ff5a7.1c2e5c","type":"debug","z":"76b24d87.ec5044","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":650,"y":360,"wires":[]},{"id":"1e3a79cd.d66db6","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"7b2c4e22.97e6b","order":1,"width":0,"height":0,"label":"Arcilla Activa (%)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"6","ymax":"9.0","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1070,"y":400,"wires":[[],[]]},{"id":"de391448.b62218","type":"ui_text","z":"76b24d87.ec5044","group":"7b2c4e22.97e6b","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":360,"wires":[]},{"id":"ec377f2c.42c92","type":"ui_text","z":"76b24d87.ec5044","group":"7b2c4e22.97e6b","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":440,"wires":[]},{"id":"5bee3e9.93bc4c","type":"ui_text","z":"76b24d87.ec5044","group":"25d8c313.225b3c","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":520,"wires":[]},{"id":"69c54557.27939c","type":"ui_text","z":"76b24d87.ec5044","group":"25d8c313.225b3c","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":600,"wires":[]},{"id":"5ea929f2.2c10e8","type":"ui_text","z":"76b24d87.ec5044","group":"9ab8e559.336708","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":680,"wires":[]},{"id":"b406c18c.3ecb8","type":"ui_text","z":"76b24d87.ec5044","group":"9ab8e559.336708","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":760,"wires":[]},{"id":"88b6b5a7.2d1f18","type":"ui_text","z":"76b24d87.ec5044","group":"d39522ba.25c8c","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":840,"wires":[]},{"id":"c82ce5ec.4b1328","type":"ui_text","z":"76b24d87.ec5044","group":"d39522ba.25c8c","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":920,"wires":[]},{"id":"a00b453a.872708","type":"ui_text","z":"76b24d87.ec5044","group":"fa8e6d15.05415","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":1000,"wires":[]},{"id":"42b37eb2.90d9f","type":"ui_text","z":"76b24d87.ec5044","group":"fa8e6d15.05415","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":1080,"wires":[]},{"id":"ca350b34.e2b658","type":"ui_dropdown","z":"76b24d87.ec5044","name":"","label":"","place":"Select option","group":"dc5d1fb.b5cb6e","order":0,"width":0,"height":0,"passthru":true,"options":[{"label":"Arenas","value":1,"type":"num"},{"label":"Fomet D3 Proceso","value":"2","type":"str"}],"payload":"","topic":"","x":120,"y":80,"wires":[["ed909981.e17ae8","905b13ae.75abe"]]},{"id":"3900a0b6.cd748","type":"function","z":"76b24d87.ec5044","name":"Arenas","func":"if (msg.payload == 1) {\n \n msg.payload = {"group":{"hide":["Fund._Planta_2_temp_p2"],"show":["Fund._Planta_2_arcilla_p2","Fund._Planta_2_compactabilidad_p2","Fund._Planta_2_resistencia_p2","Fund._Planta_2_humedo_p2","Fund._Planta_2_premezcla_p2"]}};\n return [msg];\n}\nreturn null;","outputs":1,"noerr":0,"x":380,"y":60,"wires":[[]]},{"id":"6516cdf7.c79a94","type":"function","z":"76b24d87.ec5044","name":"Fomet Operacion","func":"\nreturn msg;","outputs":1,"noerr":0,"x":410,"y":180,"wires":[[]]},{"id":"ed909981.e17ae8","type":"function","z":"76b24d87.ec5044","name":"Fomet Proceso","func":"if (msg.payload == 2) {\n \n msg.payload = {"group":{"hide":["Fund._Planta_2_arcilla_p2","Fund._Planta_2_compactabilidad_p2","Fund._Planta_2_resistencia_p2","Fund._Planta_2_humedo_p2","Fund._Planta_2_premezcla_p2","Fund._Planta_2_Group_8","Fund._Planta_2_template_p2",],"show":["Fund._Planta_2_temp_p2"]}};\n return [msg];\n}\nreturn null;","outputs":1,"noerr":0,"x":400,"y":100,"wires":[["c9b03879.a91078"]]},{"id":"c9b03879.a91078","type":"ui_ui_control","z":"76b24d87.ec5044","name":"","x":660,"y":80,"wires":[[]]},{"id":"31e28c2c.a6b644","type":"function","z":"76b24d87.ec5044","name":"setDISA","func":"msg.payload = { objFecha: "04/10/2018", objDisa: "2" };\nmsg.headers = {'content-type':'application/x-www-form-urlencoded'};\nmsg.url = "https://rassinifrenos.com/ediRassini/IOT.edi/wsRepLinea/getTmpHeraeus.r"\n\nreturn msg;","outputs":1,"noerr":0,"x":1660,"y":160,"wires":[["e89cfd00.d55af"]]},{"id":"e89cfd00.d55af","type":"http request","z":"76b24d87.ec5044","name":"","method":"POST","ret":"txt","url":"","tls":"","x":1650,"y":200,"wires":[["f161396e.263978"]]},{"id":"f161396e.263978","type":"json","z":"76b24d87.ec5044","name":"","property":"payload","action":"","pretty":false,"x":1670,"y":240,"wires":[["b08dde76.bead7","255cd520.5aeaaa"]]},{"id":"b08dde76.bead7","type":"function","z":"76b24d87.ec5044","name":"temperatura","func":"var x = {payload:msg.payload.ttHeraeus[2].ttTmp};\n/var lim={};\n//lim.payload = 8;\nlim.topic='limite';\nvar sup={};\nsup.payload = 8.8;\nsup.topic='sup';/\nreturn [x];","outputs":1,"noerr":0,"x":1650,"y":280,"wires":[["11670928.551da7","b08c454e.208c68"]]},{"id":"11670928.551da7","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"be7ec636.6b1908","order":0,"width":"6","height":"6","label":"Temperatura D3","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1640,"y":320,"wires":[[],[]]},{"id":"1b40c94c.517f17","type":"inject","z":"76b24d87.ec5044","name":"","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"onceDelay":0.1,"x":1650,"y":120,"wires":[["31e28c2c.a6b644"]]},{"id":"b08c454e.208c68","type":"ui_gauge","z":"76b24d87.ec5044","name":"","group":"be7ec636.6b1908","order":0,"width":0,"height":0,"gtype":"gage","title":"Temperatura","label":"units","format":"{{value}}","min":"900","max":"1600","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1670,"y":360,"wires":[]},{"id":"455b3169.8b458","type":"comment","z":"76b24d87.ec5044","name":"Temmperatura Disa D4 p2","info":"","x":1650,"y":80,"wires":[]},{"id":"255cd520.5aeaaa","type":"debug","z":"76b24d87.ec5044","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1910,"y":220,"wires":[]},{"id":"c629b6af.f9bc38","type":"ui_switch","z":"76b24d87.ec5044","name":"","label":"mas informacion","group":"5c723f4a.f0473","order":1,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":120,"y":280,"wires":[["5ca8622d.64b0ac","53c9927d.86109c","ca350b34.e2b658"]]},{"id":"5ca8622d.64b0ac","type":"function","z":"76b24d87.ec5044","name":"info","func":"var info={};\ninfo.payload= msg.payload;\nflow.set('info', info.payload);\nreturn info;","outputs":1,"noerr":0,"x":150,"y":340,"wires":[[]]},{"id":"53c9927d.86109c","type":"change","z":"76b24d87.ec5044","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"false","fromt":"bool","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":140,"y":240,"wires":[["ca350b34.e2b658"]]},{"id":"905b13ae.75abe","type":"function","z":"76b24d87.ec5044","name":"Arenas","func":"var inf = {};\ninf.payload=flow.get('info');\nif (msg.payload == 1) {\n if (inf.payload===false) {\n \n msg.payload = {"group":{"hide":["Fund._Planta_2_arcilla_p2","Fund._Planta_2_compactabilidad_p2","Fund._Planta_2_resistencia_p2","Fund._Planta_2_humedo_p2","Fund._Planta_2_premezcla_p2","Fund._Planta_2_temp_p2"],"show":["Fund._Planta_2_Group_8","Fund._Planta_2_template_p2","Fund._Planta_2_Group_6"]}};\n return [msg];\n \n }\n\nif (inf.payload===true) {\n\n msg.payload = {"group":{"hide":["Fund._Planta_2_temp_p2","Fund._Planta_2_template_p2","Fund._Planta_2_temp_p2"],"show":["Fund._Planta_2_arcilla_p2","Fund._Planta_2_compactabilidad_p2","Fund._Planta_2_resistencia_p2","Fund._Planta_2_humedo_p2","Fund._Planta_2_premezcla_p2","Fund._Planta_2_Group_8","Fund._Planta_2_Group_6"]}};\n return [msg];\n \n}\n}\nreturn null;","outputs":1,"noerr":0,"x":380,"y":140,"wires":[["c9b03879.a91078"]]},{"id":"9a0a153f.ec88e8","type":"function","z":"76b24d87.ec5044","name":"","func":"var color = new Object({});\ncolor.arcilla=flow.get('stat1');\ncolor.humedad=flow.get('stat2');\ncolor.compactabilidad=flow.get('stat3');\ncolor.temperatura=flow.get('stat4');\ncolor.resistencia=flow.get('stat5');\ncolor.permeabilidad=flow.get('stat6');\ncolor.tension=flow.get('stat7');\ncolor.arena=flow.get('stat8');\ncolor.premezcla=flow.get('stat9');\ncolor.agua=flow.get('stat10');\nmsg.payload = color;\nreturn msg;","outputs":1,"noerr":0,"x":350,"y":980,"wires":[["2187d9ee.931226"]]},{"id":"2187d9ee.931226","type":"ui_template","z":"76b24d87.ec5044","group":"6aeccfbc.1207b","name":"estado","order":1,"width":"15","height":"10","format":"\n .filled { \n height: 100% !important;\n\n padding: 0 !important;\n margin: 0 !important;\n }\n\n.led {\n float: right;\n padding: 20px;\n width: 220px;\n height: 15px;\n margin: 10px 10px 10px 10px;\n border-radius: 5%;\n \n}\n\n\n
<span class="led" "filled" style="background-color: {{msg.payload.arcilla}}; box-shadow: black 0 -1px 1px 0px">
Arcilla | \n \n <span class="led" style="background-color:{{msg.payload.humedad}}; box-shadow: black 0 -1px 1px 0px">
Humedad | \n
<span class="led" style="background-color: {{msg.payload.compactabilidad}}; box-shadow: black 0 -1px 1px 0px">
Compactabilidad | \n \n <span class="led" style="background-color: {{msg.payload.temperatura}}; box-shadow: black 0 -1px 1px 0px">
Temperatura | \n
<span class="led" style="background-color: {{msg.payload.resistencia}}; box-shadow: black 0 -1px 1px 0px">
Resistencia mínima | \n \n <span class="led" style="background-color: {{msg.payload.permeabilidad}}; box-shadow: black 0 -1px 1px 0px">
Permeabilidad | \n
<span class="led" style="background-color: {{msg.payload.tension}}; box-shadow: black 0 -1px 1px 0px">
Resistencia a la Tensión | \n <span class="led" style="background-color: blue; box-shadow: black 0 -1px 1px 0px">
Agua = {{msg.payload.agua}} Lts | \n\n
<span class="led" style="background-color: blue; box-shadow: black 0 -1px 1px 0px">
Arena nueva = {{msg.payload.arena}} Kg | \n <span class="led" style="background-color: blue; box-shadow: black 0 -1px 1px 0px">
Premezcla = {{msg.payload.premezcla}} Kg | \n\n
please use three backticks before and after any code blocks you paste to make them readable and importable.
```
your code
```
oooo sorry and thanks hahaha
[{"id":"76b24d87.ec5044","type":"tab","label":"Fund. Planta 2","disabled":false,"info":""},{"id":"d835d20c.3b00d","type":"inject","z":"76b24d87.ec5044","name":"","topic":"","payload":"","payloadType":"date","repeat":"1800","crontab":"","once":true,"onceDelay":0.1,"x":170,"y":520,"wires":[["1a901461.ced6fc","9a0a153f.ec88e8"]]},{"id":"1a901461.ced6fc","type":"function","z":"76b24d87.ec5044","name":"setDISA","func":"msg.payload = { objFecha: \"31/10/2018\", objDisa: \"2\" };\nmsg.headers = {'content-type':'application/x-www-form-urlencoded'};\nmsg.url = \"https://rassinifrenos.com/ediRassini/IOT.edi/wsRepLinea/getAnalisisArenas.r\"\n\nreturn msg;","outputs":1,"noerr":0,"x":180,"y":560,"wires":[["250601c4.43af6e"]]},{"id":"250601c4.43af6e","type":"http request","z":"76b24d87.ec5044","name":"","method":"POST","ret":"txt","url":"","tls":"","x":170,"y":600,"wires":[["e1616db6.dc71f"]]},{"id":"e1616db6.dc71f","type":"json","z":"76b24d87.ec5044","name":"","property":"payload","action":"","pretty":false,"x":195.00000381469727,"y":640.9999904632568,"wires":[["a2d579af.943e98","87f91f6b.099ae","e7690ff4.1116f","dc1430f4.d6682","82a07360.9af3b","57f73c1.9febdc4","465c14d5.cad26c","26014b.d37daeb6","32200b1b.ffa694","e67d40c9.175de","566ff5a7.1c2e5c"]]},{"id":"a2d579af.943e98","type":"function","z":"76b24d87.ec5044","name":"arcilla","func":"var x = {payload:msg.payload.lstValores[0].Val};\nvar lim={};\nlim.payload = 7;\nlim.topic='limite';\nvar sup={};\nsup.payload = 8.8;\nsup.topic='sup';\nvar status={};\nif ((x.payload<sup.payload)&&(x.payload>lim.payload))\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat1', status.payload);\nreturn [x, lim, sup];","outputs":3,"noerr":0,"x":630,"y":440,"wires":[["1e3a79cd.d66db6","de391448.b62218"],["1e3a79cd.d66db6"],["1e3a79cd.d66db6"]]},{"id":"87f91f6b.099ae","type":"function","z":"76b24d87.ec5044","name":"humedad","func":"var x = {payload:msg.payload.lstValores[1].Val};\nvar lim={};\nlim.payload=2.6;\nvar sup={};\nsup.payload=3.6;\nlim.topic='limite';\nsup.topic='sup';\nvar status={};\nif ((x.payload<=sup.payload)&&(x.payload>=lim.payload))\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat2', status.payload);\nreturn [x, lim, sup];","outputs":3,"noerr":0,"x":620,"y":500,"wires":[["882344d0.945038","ec377f2c.42c92"],["882344d0.945038"],["882344d0.945038"]]},{"id":"e7690ff4.1116f","type":"function","z":"76b24d87.ec5044","name":"compactibilidad","func":"var x = {payload:msg.payload.lstValores[2].Val};\nvar lim={};\nvar sup={};\nlim.payload=29;\nsup.payload=43;\nlim.topic='limite';\nsup.topic='sup';\nvar status={};\nif ((x.payload<sup.payload)&&(x.payload>lim.payload))\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat3', status.payload);\nreturn [x, lim, sup];","outputs":3,"noerr":0,"x":600,"y":560,"wires":[["6654d819.b92d68","5bee3e9.93bc4c"],["6654d819.b92d68"],["6654d819.b92d68"]]},{"id":"dc1430f4.d6682","type":"function","z":"76b24d87.ec5044","name":"temperatura","func":"var x = {payload:msg.payload.lstValores[3].Val};\nvar lim={};\nlim.payload=18;\nlim.topic='limite';\nvar sup={};\nsup.payload=45;\nsup.topic='sup';\nvar status={};\nif ((x.payload<sup.payload)&&(x.payload>lim.payload))\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat4', status.payload);\nreturn [x, lim, sup];\n","outputs":3,"noerr":0,"x":610,"y":620,"wires":[["8570f353.e2b7","69c54557.27939c"],["8570f353.e2b7"],["8570f353.e2b7"]]},{"id":"82a07360.9af3b","type":"function","z":"76b24d87.ec5044","name":"resistencia a la compresion en verde","func":"var x = {payload:msg.payload.lstValores[4].Val};\nvar lim={};\nlim.payload=31;\nlim.topic='limite';\nvar status={};\nif (x.payload>lim.payload)\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat5', status.payload);\n\nreturn [x, lim];","outputs":2,"noerr":0,"x":530,"y":680,"wires":[["bedbe0c8.7239f","5ea929f2.2c10e8"],["bedbe0c8.7239f"]]},{"id":"57f73c1.9febdc4","type":"function","z":"76b24d87.ec5044","name":"permeabilidad","func":"var x = {payload:msg.payload.lstValores[5].Val};\nvar lim={};\nlim.payload=80;\nlim.topic='limite';\nvar status={};\nif (x.payload>lim.payload)\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat6', status.payload);\n\nreturn [x, lim];","outputs":2,"noerr":0,"x":600,"y":720,"wires":[["f1d736b5.661278","b406c18c.3ecb8"],["f1d736b5.661278"]]},{"id":"e67d40c9.175de","type":"function","z":"76b24d87.ec5044","name":"resistencia a la tension en humedo","func":"var x = {payload:msg.payload.lstValores[8].Val};\nvar lim={};\nvar sup={};\nlim.payload=0;\nlim.topic='limite';\nsup.payload=0.18;\nlim.topic='limite';\nsup.topic='sup';\nvar status={};\nif (x.payload>lim.payload)\n{\n status.payload=\"green\";\n}else{status.payload=\"red\";}\n\nflow.set('stat7', status.payload);\n\nreturn [x, lim];\n","outputs":2,"noerr":0,"x":540,"y":760,"wires":[["5e289cd3.b92b84","88b6b5a7.2d1f18"],["5e289cd3.b92b84"]]},{"id":"465c14d5.cad26c","type":"function","z":"76b24d87.ec5044","name":"arena nueva","func":"var x = {payload:msg.payload.lstValores[10].Val};\n\nflow.set('stat8', x.payload);\nreturn [x];","outputs":2,"noerr":0,"x":610,"y":800,"wires":[["c77006c1.f2b7e8","c82ce5ec.4b1328"],["c77006c1.f2b7e8"]]},{"id":"26014b.d37daeb6","type":"function","z":"76b24d87.ec5044","name":"premezcla","func":"var x = {payload:msg.payload.lstValores[11].Val};\nflow.set('stat9', x.payload);\nreturn [x ];","outputs":2,"noerr":0,"x":610,"y":840,"wires":[["b40f7689.d52528","a00b453a.872708"],["b40f7689.d52528"]]},{"id":"32200b1b.ffa694","type":"function","z":"76b24d87.ec5044","name":"agua","func":"var x = {payload:msg.payload.lstValores[12].Val};\nflow.set('stat10', x.payload);\nreturn [x];","outputs":2,"noerr":0,"x":630,"y":880,"wires":[["1ded3a62.8f0ec6","42b37eb2.90d9f"],["1ded3a62.8f0ec6"]]},{"id":"882344d0.945038","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"7b2c4e22.97e6b","order":3,"width":0,"height":0,"label":"Humedad (%)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"2.5","ymax":"4.3","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1060,"y":480,"wires":[[],[]]},{"id":"6654d819.b92d68","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"25d8c313.225b3c","order":1,"width":0,"height":0,"label":"Compactibilidad (%)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"25","ymax":"43","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1080,"y":560,"wires":[[],[]]},{"id":"8570f353.e2b7","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"25d8c313.225b3c","order":3,"width":0,"height":0,"label":"Temperatura °C","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"20","ymax":"50","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1060,"y":640,"wires":[[],[]]},{"id":"bedbe0c8.7239f","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"9ab8e559.336708","order":1,"width":0,"height":0,"label":"Resistencia Minima PSI","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"25","ymax":"43","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1090,"y":720,"wires":[[],[]]},{"id":"f1d736b5.661278","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"9ab8e559.336708","order":3,"width":0,"height":0,"label":"Permeabilidad (LTS/SEG)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"75","ymax":"110","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1090,"y":800,"wires":[[],[]]},{"id":"5e289cd3.b92b84","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"d39522ba.25c8c","order":1,"width":0,"height":0,"label":"Resistencia a la Tension en Húmedo N/cm2","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":".5","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1150,"y":880,"wires":[[],[]]},{"id":"c77006c1.f2b7e8","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"d39522ba.25c8c","order":3,"width":0,"height":0,"label":"Arena Nueva (Kg)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"40","ymax":"50","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1070,"y":960,"wires":[[],[]]},{"id":"b40f7689.d52528","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"fa8e6d15.05415","order":1,"width":0,"height":0,"label":"Premezcla (Kg)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"50","ymax":"70","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1060,"y":1040,"wires":[[],[]]},{"id":"1ded3a62.8f0ec6","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"fa8e6d15.05415","order":3,"width":0,"height":0,"label":"Agua (LTS)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"70","ymax":"150","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1050,"y":1120,"wires":[[],[]]},{"id":"566ff5a7.1c2e5c","type":"debug","z":"76b24d87.ec5044","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":650,"y":360,"wires":[]},{"id":"1e3a79cd.d66db6","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"7b2c4e22.97e6b","order":1,"width":0,"height":0,"label":"Arcilla Activa (%)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"6","ymax":"9.0","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#ffff00","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1070,"y":400,"wires":[[],[]]},{"id":"de391448.b62218","type":"ui_text","z":"76b24d87.ec5044","group":"7b2c4e22.97e6b","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":360,"wires":[]},{"id":"ec377f2c.42c92","type":"ui_text","z":"76b24d87.ec5044","group":"7b2c4e22.97e6b","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":440,"wires":[]},{"id":"5bee3e9.93bc4c","type":"ui_text","z":"76b24d87.ec5044","group":"25d8c313.225b3c","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":520,"wires":[]},{"id":"69c54557.27939c","type":"ui_text","z":"76b24d87.ec5044","group":"25d8c313.225b3c","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":600,"wires":[]},{"id":"5ea929f2.2c10e8","type":"ui_text","z":"76b24d87.ec5044","group":"9ab8e559.336708","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":680,"wires":[]},{"id":"b406c18c.3ecb8","type":"ui_text","z":"76b24d87.ec5044","group":"9ab8e559.336708","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":760,"wires":[]},{"id":"88b6b5a7.2d1f18","type":"ui_text","z":"76b24d87.ec5044","group":"d39522ba.25c8c","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":840,"wires":[]},{"id":"c82ce5ec.4b1328","type":"ui_text","z":"76b24d87.ec5044","group":"d39522ba.25c8c","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":920,"wires":[]},{"id":"a00b453a.872708","type":"ui_text","z":"76b24d87.ec5044","group":"fa8e6d15.05415","order":2,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":1000,"wires":[]},{"id":"42b37eb2.90d9f","type":"ui_text","z":"76b24d87.ec5044","group":"fa8e6d15.05415","order":4,"width":0,"height":0,"name":"","label":"Valor Actual","format":"{{msg.payload}}","layout":"row-spread","x":1050,"y":1080,"wires":[]},{"id":"ca350b34.e2b658","type":"ui_dropdown","z":"76b24d87.ec5044","name":"","label":"","place":"Select option","group":"dc5d1fb.b5cb6e","order":0,"width":0,"height":0,"passthru":true,"options":[{"label":"Arenas","value":1,"type":"num"},{"label":"Fomet D3 Proceso","value":"2","type":"str"}],"payload":"","topic":"","x":120,"y":80,"wires":[["ed909981.e17ae8","905b13ae.75abe"]]},{"id":"3900a0b6.cd748","type":"function","z":"76b24d87.ec5044","name":"Arenas","func":"if (msg.payload == 1) {\n \n msg.payload = {\"group\":{\"hide\":[\"Fund._Planta_2_temp_p2\"],\"show\":[\"Fund._Planta_2_arcilla_p2\",\"Fund._Planta_2_compactabilidad_p2\",\"Fund._Planta_2_resistencia_p2\",\"Fund._Planta_2_humedo_p2\",\"Fund._Planta_2_premezcla_p2\"]}};\n return [msg];\n}\nreturn null;","outputs":1,"noerr":0,"x":380,"y":60,"wires":[[]]},{"id":"6516cdf7.c79a94","type":"function","z":"76b24d87.ec5044","name":"Fomet Operacion","func":"\nreturn msg;","outputs":1,"noerr":0,"x":410,"y":180,"wires":[[]]},{"id":"ed909981.e17ae8","type":"function","z":"76b24d87.ec5044","name":"Fomet Proceso","func":"if (msg.payload == 2) {\n \n msg.payload = {\"group\":{\"hide\":[\"Fund._Planta_2_arcilla_p2\",\"Fund._Planta_2_compactabilidad_p2\",\"Fund._Planta_2_resistencia_p2\",\"Fund._Planta_2_humedo_p2\",\"Fund._Planta_2_premezcla_p2\",\"Fund._Planta_2_Group_8\",\"Fund._Planta_2_template_p2\",],\"show\":[\"Fund._Planta_2_temp_p2\"]}};\n return [msg];\n}\nreturn null;","outputs":1,"noerr":0,"x":400,"y":100,"wires":[["c9b03879.a91078"]]},{"id":"c9b03879.a91078","type":"ui_ui_control","z":"76b24d87.ec5044","name":"","x":660,"y":80,"wires":[[]]},{"id":"31e28c2c.a6b644","type":"function","z":"76b24d87.ec5044","name":"setDISA","func":"msg.payload = { objFecha: \"04/10/2018\", objDisa: \"2\" };\nmsg.headers = {'content-type':'application/x-www-form-urlencoded'};\nmsg.url = \"https://rassinifrenos.com/ediRassini/IOT.edi/wsRepLinea/getTmpHeraeus.r\"\n\nreturn msg;","outputs":1,"noerr":0,"x":1660,"y":160,"wires":[["e89cfd00.d55af"]]},{"id":"e89cfd00.d55af","type":"http request","z":"76b24d87.ec5044","name":"","method":"POST","ret":"txt","url":"","tls":"","x":1650,"y":200,"wires":[["f161396e.263978"]]},{"id":"f161396e.263978","type":"json","z":"76b24d87.ec5044","name":"","property":"payload","action":"","pretty":false,"x":1670,"y":240,"wires":[["b08dde76.bead7","255cd520.5aeaaa"]]},{"id":"b08dde76.bead7","type":"function","z":"76b24d87.ec5044","name":"temperatura","func":"var x = {payload:msg.payload.ttHeraeus[2].ttTmp};\n/*var lim={};\n//lim.payload = 8;\nlim.topic='limite';\nvar sup={};\nsup.payload = 8.8;\nsup.topic='sup';*/\nreturn [x];","outputs":1,"noerr":0,"x":1650,"y":280,"wires":[["11670928.551da7","b08c454e.208c68"]]},{"id":"11670928.551da7","type":"ui_chart","z":"76b24d87.ec5044","name":"","group":"be7ec636.6b1908","order":0,"width":"6","height":"6","label":"Temperatura D3","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":1640,"y":320,"wires":[[],[]]},{"id":"1b40c94c.517f17","type":"inject","z":"76b24d87.ec5044","name":"","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"onceDelay":0.1,"x":1650,"y":120,"wires":[["31e28c2c.a6b644"]]},{"id":"b08c454e.208c68","type":"ui_gauge","z":"76b24d87.ec5044","name":"","group":"be7ec636.6b1908","order":0,"width":0,"height":0,"gtype":"gage","title":"Temperatura","label":"units","format":"{{value}}","min":"900","max":"1600","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1670,"y":360,"wires":[]},{"id":"455b3169.8b458","type":"comment","z":"76b24d87.ec5044","name":"Temmperatura Disa D4 p2","info":"","x":1650,"y":80,"wires":[]},{"id":"255cd520.5aeaaa","type":"debug","z":"76b24d87.ec5044","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1910,"y":220,"wires":[]},{"id":"c629b6af.f9bc38","type":"ui_switch","z":"76b24d87.ec5044","name":"","label":"mas informacion","group":"5c723f4a.f0473","order":1,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":120,"y":280,"wires":[["5ca8622d.64b0ac","53c9927d.86109c","ca350b34.e2b658"]]},{"id":"5ca8622d.64b0ac","type":"function","z":"76b24d87.ec5044","name":"info","func":"var info={};\ninfo.payload= msg.payload;\nflow.set('info', info.payload);\nreturn info;","outputs":1,"noerr":0,"x":150,"y":340,"wires":[[]]},{"id":"53c9927d.86109c","type":"change","z":"76b24d87.ec5044","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"false","fromt":"bool","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":140,"y":240,"wires":[["ca350b34.e2b658"]]},{"id":"905b13ae.75abe","type":"function","z":"76b24d87.ec5044","name":"Arenas","func":"var inf = {};\ninf.payload=flow.get('info');\nif (msg.payload == 1) {\n if (inf.payload===false) {\n \n msg.payload = {\"group\":{\"hide\":[\"Fund._Planta_2_arcilla_p2\",\"Fund._Planta_2_compactabilidad_p2\",\"Fund._Planta_2_resistencia_p2\",\"Fund._Planta_2_humedo_p2\",\"Fund._Planta_2_premezcla_p2\",\"Fund._Planta_2_temp_p2\"],\"show\":[\"Fund._Planta_2_Group_8\",\"Fund._Planta_2_template_p2\",\"Fund._Planta_2_Group_6\"]}};\n return [msg];\n \n }\n\nif (inf.payload===true) {\n\n msg.payload = {\"group\":{\"hide\":[\"Fund._Planta_2_temp_p2\",\"Fund._Planta_2_template_p2\",\"Fund._Planta_2_temp_p2\"],\"show\":[\"Fund._Planta_2_arcilla_p2\",\"Fund._Planta_2_compactabilidad_p2\",\"Fund._Planta_2_resistencia_p2\",\"Fund._Planta_2_humedo_p2\",\"Fund._Planta_2_premezcla_p2\",\"Fund._Planta_2_Group_8\",\"Fund._Planta_2_Group_6\"]}};\n return [msg];\n \n}\n}\nreturn null;","outputs":1,"noerr":0,"x":380,"y":140,"wires":[["c9b03879.a91078"]]},{"id":"9a0a153f.ec88e8","type":"function","z":"76b24d87.ec5044","name":"","func":"var color = new Object({});\ncolor.arcilla=flow.get('stat1');\ncolor.humedad=flow.get('stat2');\ncolor.compactabilidad=flow.get('stat3');\ncolor.temperatura=flow.get('stat4');\ncolor.resistencia=flow.get('stat5');\ncolor.permeabilidad=flow.get('stat6');\ncolor.tension=flow.get('stat7');\ncolor.arena=flow.get('stat8');\ncolor.premezcla=flow.get('stat9');\ncolor.agua=flow.get('stat10');\nmsg.payload = color;\nreturn msg;","outputs":1,"noerr":0,"x":350,"y":980,"wires":[["2187d9ee.931226"]]},{"id":"2187d9ee.931226","type":"ui_template","z":"76b24d87.ec5044","group":"6aeccfbc.1207b","name":"estado","order":1,"width":"15","height":"10","format":"<style>\n .filled { \n height: 100% !important;\n\n padding: 0 !important;\n margin: 0 !important;\n }\n\n.led {\n float: right;\n padding: 20px;\n width: 220px;\n height: 15px;\n margin: 10px 10px 10px 10px;\n border-radius: 5%;\n \n}\n</style>\n\n<table>\n <thead>\n <tr>\n <th colspan=\"2\"><h1 > Estado de la Variable</h1> </th>\n \n \n </tr>\n </thead>\n <tbody>\n <tr>\n \n <td><span class=\"led\" \"filled\" style=\"background-color: {{msg.payload.arcilla}}; box-shadow: black 0 -1px 1px 0px\"><p><h2>Arcilla</h2></p></span></td>\n \n <td><span class=\"led\" style=\"background-color:{{msg.payload.humedad}}; box-shadow: black 0 -1px 1px 0px\"><p><h2>Humedad</h2></p></span></td>\n</tr>\n \n <tr>\n \n <td><span class=\"led\" style=\"background-color: {{msg.payload.compactabilidad}}; box-shadow: black 0 -1px 1px 0px\"><p ><h2>Compactabilidad</h2></p></span></td>\n \n <td><span class=\"led\" style=\"background-color: {{msg.payload.temperatura}}; box-shadow: black 0 -1px 1px 0px\"><p ><h2>Temperatura</h2></p></span></td>\n </tr>\n \n <tr>\n \n <td><span class=\"led\" style=\"background-color: {{msg.payload.resistencia}}; box-shadow: black 0 -1px 1px 0px\"><p ><h2>Resistencia mínima</h2></p></span></td>\n \n <td><span class=\"led\" style=\"background-color: {{msg.payload.permeabilidad}}; box-shadow: black 0 -1px 1px 0px\"><p ><h2>Permeabilidad</h2></p></span></td>\n</tr>\n <tr>\n \n <td><span class=\"led\" style=\"background-color: {{msg.payload.tension}}; box-shadow: black 0 -1px 1px 0px\"><p ><h4>Resistencia a la Tensión</h4></p></span></td>\n <td><span class=\"led\" style=\"background-color: blue; box-shadow: black 0 -1px 1px 0px\"><p ><h3>Agua = {{msg.payload.agua}} Lts </h3></p></span></td>\n\n </tr>\n <tr>\n \n <td><span class=\"led\" style=\"background-color: blue; box-shadow: black 0 -1px 1px 0px\"><p ><h3>Arena nueva = {{msg.payload.arena}} Kg </h3></p></span></td>\n <td><span class=\"led\" style=\"background-color: blue; box-shadow: black 0 -1px 1px 0px\"><p ><h3>Premezcla = {{msg.payload.premezcla}} Kg </h3></p></span></td>\n\n </tr>\n \n \n </tbody>\n \n \n</table>\n\n\n\n\n\n\n \n\n","storeOutMessages":true,"fwdInMessages":true,"templateScope":"local","x":470,"y":980,"wires":[[]]},{"id":"7b2c4e22.97e6b","type":"ui_group","z":"","name":"arcilla p2","tab":"b75f4e6c.b20e9","order":2,"disp":false,"width":"6","collapse":false},{"id":"25d8c313.225b3c","type":"ui_group","z":"","name":"compactabilidad p2","tab":"b75f4e6c.b20e9","order":3,"disp":false,"width":"6","collapse":false},{"id":"9ab8e559.336708","type":"ui_group","z":"","name":"resistencia p2","tab":"b75f4e6c.b20e9","order":4,"disp":false,"width":"6","collapse":false},{"id":"d39522ba.25c8c","type":"ui_group","z":"","name":"humedo p2","tab":"b75f4e6c.b20e9","order":5,"disp":false,"width":"6","collapse":false},{"id":"fa8e6d15.05415","type":"ui_group","z":"","name":"premezcla p2","tab":"b75f4e6c.b20e9","order":6,"disp":false,"width":"6","collapse":false},{"id":"dc5d1fb.b5cb6e","type":"ui_group","z":"","name":"Group 6","tab":"b75f4e6c.b20e9","order":1,"disp":false,"width":"6","collapse":false},{"id":"be7ec636.6b1908","type":"ui_group","z":"","name":"temp p2","tab":"b75f4e6c.b20e9","order":7,"disp":false,"width":"6","collapse":false},{"id":"5c723f4a.f0473","type":"ui_group","z":"","name":"Group 8","tab":"b75f4e6c.b20e9","order":9,"disp":false,"width":"6","collapse":false},{"id":"6aeccfbc.1207b","type":"ui_group","z":"","name":"template p2","tab":"b75f4e6c.b20e9","order":8,"disp":false,"width":"15","collapse":false},{"id":"b75f4e6c.b20e9","type":"ui_tab","z":"","name":"Fund. Planta 2","icon":"dashboard","order":6}]
here is how the message looks
I can't guess what is in that... will need some form of random number / data generator to make it work.. Also the drop down only seems to shrink things to "Temperature D3) group only and never switches back.
I have same issue, when I go to the tab:
- I need to press "F5" to reload the page, otherwise I cannot see any item in dropdown.
- After I see dropdown and select a chart, the chart will show up but no data unless I reload the page again.
I use "degug" node and see most of the time "ui_control" send msg.payload = "lost", and wait I press "F5" msg.payload turn to "connect". Why the page will "lost" unless reload? Please help. Here is my sample code:
[{"id":"277465dd.a2473a","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"3221f63e.3df57a","type":"inject","z":"277465dd.a2473a","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":130,"y":120,"wires":[["67aa9821.3b56e8"]]},{"id":"67aa9821.3b56e8","type":"function","z":"277465dd.a2473a","name":"create option items","func":"var item=[];\nfor(i=1;i<=3;i++)\n item[i] = i;\nreturn {options:item};","outputs":1,"noerr":0,"x":380,"y":120,"wires":[["125de066.4c012"]]},{"id":"125de066.4c012","type":"ui_dropdown","z":"277465dd.a2473a","name":"","label":"","tooltip":"","place":"Select option","group":"84f788f9.e92e58","order":0,"width":0,"height":0,"passthru":true,"options":[],"payload":"","topic":"","x":580,"y":120,"wires":[["9df202ab.dfee4","882c7653.d49a08"]]},{"id":"3bd5bef4.33a9d2","type":"ui_chart","z":"277465dd.a2473a","name":"","group":"b4cb882a.a59d68","order":1,"width":"18","height":"6","label":"Port 1","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":330,"y":260,"wires":[[],[]]},{"id":"dd1ea9ce.af0c38","type":"ui_chart","z":"277465dd.a2473a","name":"","group":"fe75d78.cd9be28","order":1,"width":"18","height":"6","label":"Port 2","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":330,"y":280,"wires":[[],[]]},{"id":"f3c3002a.1d058","type":"ui_chart","z":"277465dd.a2473a","name":"","group":"82aafa89.5a3a18","order":1,"width":"18","height":"6","label":"Port 3","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":330,"y":300,"wires":[[],[]]},{"id":"9df202ab.dfee4","type":"function","z":"277465dd.a2473a","name":"display selected chart","func":"var SelectPort = parseInt(msg.payload);\nvar hideStr=[];\nvar showStr=[];\nvar msgGroup={group:{}};\nfor (i=1;i<=3;i++){\n if (SelectPort!==i)\n hideStr.push(\"DropdownTest_port\"+i);\n else\n showStr.push(\"DropdownTest_port\"+i);\n}\nmsgGroup.group.hide = hideStr;\nmsgGroup.group.show = showStr;\nmsgGroup.group.focus = true;\nmsg.payload = msgGroup;\nmsg.tab = \"\";\nreturn msg;","outputs":1,"noerr":0,"x":160,"y":180,"wires":[["6bc69235.c586cc","a2aeb24.bff295"]]},{"id":"6bc69235.c586cc","type":"ui_ui_control","z":"277465dd.a2473a","name":"","x":420,"y":180,"wires":[[]]},{"id":"33b6300a.c989e","type":"inject","z":"277465dd.a2473a","name":"","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":true,"onceDelay":0.1,"x":130,"y":220,"wires":[["e6c3b6ee.dbdf08"]]},{"id":"e6c3b6ee.dbdf08","type":"function","z":"277465dd.a2473a","name":"Rnd number generator","func":"rnd = Math.round(Math.random() * (3.5-0.0)+0.0);\nmsg.payload = rnd;\nreturn msg;","outputs":1,"noerr":0,"x":140,"y":280,"wires":[["3bd5bef4.33a9d2","dd1ea9ce.af0c38","f3c3002a.1d058"]]},{"id":"a2aeb24.bff295","type":"debug","z":"277465dd.a2473a","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":440,"y":220,"wires":[]},{"id":"882c7653.d49a08","type":"debug","z":"277465dd.a2473a","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":650,"y":220,"wires":[]},{"id":"84f788f9.e92e58","type":"ui_group","z":"","name":"Default","tab":"bb178844.f24848","disp":true,"width":"6","collapse":false},{"id":"b4cb882a.a59d68","type":"ui_group","z":"","name":"port1","tab":"bb178844.f24848","disp":true,"width":"20","collapse":false},{"id":"fe75d78.cd9be28","type":"ui_group","z":"","name":"port2","tab":"bb178844.f24848","disp":true,"width":"20","collapse":false},{"id":"82aafa89.5a3a18","type":"ui_group","z":"","name":"port3","tab":"bb178844.f24848","disp":true,"width":"20","collapse":false},{"id":"bb178844.f24848","type":"ui_tab","z":"","name":"DropdownTest","icon":"dashboard","disabled":false,"hidden":false}]
what platform and OS are you running on ? Which browser ? and which versions of node.js, Node-RED and node-red-dashboard (printed in the startup log).
Your flow works nicely for me in Chrome on Node-RED 0.19.5 and dashboard 2.13.2
Sorry, I didn't see your reply. I am using Windows 10 (Windows_NT 10.0.17134 x64 LE) as OS and Node.js version: v10.14.0, Node-RED version: v0.19.5, Dashboard 2.13.2, Chrome ( 72.0.3626.109 x64) as browser and it happened for IE on desktop, chrome on phone...as well. However, I cannot solve this problem so far.
The first example has only 3 ports, I found it won't have the problem.
then I made an example exactly as same number of ports as my program (20 ports),
the problem still not show up, until I change 20 chart width from 6 to 18, the problem was duplicated. please see the example as below:
[{"id":"11af8890.7bdd97","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"1bff574b.bb6069","type":"inject","z":"11af8890.7bdd97","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":130,"y":120,"wires":[["b3e069c1.808938"]]},{"id":"b3e069c1.808938","type":"function","z":"11af8890.7bdd97","name":"create option items","func":"var item=[];\nfor(i=1;i<=20;i++)\n item[i] = i;\nreturn {options:item};","outputs":1,"noerr":0,"x":380,"y":120,"wires":[["ef84168f.477428"]]},{"id":"ef84168f.477428","type":"ui_dropdown","z":"11af8890.7bdd97","name":"","label":"","tooltip":"","place":"Select option","group":"d89a60fb.22f51","order":0,"width":0,"height":0,"passthru":true,"options":[],"payload":"","topic":"","x":580,"y":120,"wires":[["c095e6d0.a6b2c8","64c7cd43.fddcd4"]]},{"id":"c095e6d0.a6b2c8","type":"function","z":"11af8890.7bdd97","name":"display selected chart","func":"var SelectPort = parseInt(msg.payload);\nvar hideStr=[];\nvar showStr=[];\nvar msgGroup={group:{}};\nfor (i=1;i<=20;i++){\n if (SelectPort!==i)\n hideStr.push(\"test_port\"+i);\n else\n showStr.push(\"test_port\"+i);\n}\nmsgGroup.group.hide = hideStr;\nmsgGroup.group.show = showStr;\nmsgGroup.group.focus = true;\nmsg.payload = msgGroup;\nmsg.tab = \"\";\nreturn msg;","outputs":1,"noerr":0,"x":160,"y":180,"wires":[["281c1af3.fcef36","e0fa99fe.0f0bd8"]]},{"id":"281c1af3.fcef36","type":"ui_ui_control","z":"11af8890.7bdd97","name":"","x":420,"y":180,"wires":[[]]},{"id":"3b8ef1a6.d3649e","type":"inject","z":"11af8890.7bdd97","name":"","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":true,"onceDelay":0.1,"x":130,"y":220,"wires":[["258c646d.17818c"]]},{"id":"258c646d.17818c","type":"function","z":"11af8890.7bdd97","name":"Rnd number generator","func":"rnd = Math.round(Math.random() * (3.5-0.0)+0.0);\nmsg.payload = rnd;\nreturn msg;","outputs":1,"noerr":0,"x":140,"y":280,"wires":[["54973e0a.3ede7","ecd6b8f3.6b68f8","31494105.15d57e","9824e28b.dec69","98ae9663.ee1458","3ea1107d.1828d","1da23778.3e2289","e6ee158b.f357e8","c3bb0472.2afb18","d379c3ec.86075","b1efbb83.5bccf8","dae62ca0.0c1af","411cd254.e9c51c","c01590b8.1e319","fa0376f6.1ae5c8","f1a1df97.7ca7e","1d7ae42e.93165c","6394c91f.3b74c8","6eb05021.4dd4a","75a47ef1.8c1e"]]},{"id":"e0fa99fe.0f0bd8","type":"debug","z":"11af8890.7bdd97","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":430,"y":240,"wires":[]},{"id":"64c7cd43.fddcd4","type":"debug","z":"11af8890.7bdd97","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":650,"y":220,"wires":[]},{"id":"54973e0a.3ede7","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"7a6799cd.49d7b8","order":1,"width":"18","height":"6","label":"Port 1","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":320,"wires":[[],[]]},{"id":"ecd6b8f3.6b68f8","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"264483db.a9e00c","order":1,"width":"18","height":"6","label":"Port 2","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":340,"wires":[[],[]]},{"id":"31494105.15d57e","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"a8b38a17.655928","order":1,"width":"18","height":"6","label":"Port 3","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":360,"wires":[[],[]]},{"id":"9824e28b.dec69","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"a55359a2.6ee978","order":1,"width":"18","height":"6","label":"Port 4","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":380,"wires":[[],[]]},{"id":"98ae9663.ee1458","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"637adb1.0a5bf24","order":1,"width":"18","height":"6","label":"Port 5","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":400,"wires":[[],[]]},{"id":"3ea1107d.1828d","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"2adea283.aa88ae","order":1,"width":"18","height":"6","label":"Port 6","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":420,"wires":[[],[]]},{"id":"1da23778.3e2289","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"61be3baf.16d944","order":1,"width":"18","height":"6","label":"Port 7","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":440,"wires":[[],[]]},{"id":"e6ee158b.f357e8","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"1f2ec2df.79f70d","order":1,"width":"18","height":"6","label":"Port 8","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":460,"wires":[[],[]]},{"id":"c3bb0472.2afb18","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"9f913313.c69b6","order":1,"width":"18","height":"6","label":"Port 9","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":310,"y":480,"wires":[[],[]]},{"id":"d379c3ec.86075","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"549300cd.b5ff1","order":1,"width":"18","height":"6","label":"Port 10","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":320,"y":500,"wires":[[],[]]},{"id":"b1efbb83.5bccf8","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"cde08955.b653b8","order":1,"width":"18","height":"6","label":"Port 11","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":320,"wires":[[],[]]},{"id":"dae62ca0.0c1af","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"210c4e29.398ca2","order":1,"width":"18","height":"6","label":"Port 12","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":340,"wires":[[],[]]},{"id":"411cd254.e9c51c","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"86ca6197.564f3","order":1,"width":"18","height":"6","label":"Port 13","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":360,"wires":[[],[]]},{"id":"c01590b8.1e319","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"f3eeb5a5.5bb5e8","order":1,"width":"18","height":"6","label":"Port 14","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":380,"wires":[[],[]]},{"id":"fa0376f6.1ae5c8","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"29d20c2b.d8ba94","order":1,"width":"18","height":"6","label":"Port 15","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":400,"wires":[[],[]]},{"id":"f1a1df97.7ca7e","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"f96562d9.80a2c","order":1,"width":"18","height":"6","label":"Port 16","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":420,"wires":[[],[]]},{"id":"1d7ae42e.93165c","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"65148b44.500604","order":1,"width":"18","height":"6","label":"Port 17","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":440,"wires":[[],[]]},{"id":"6394c91f.3b74c8","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"ddd5fdd2.71956","order":1,"width":"18","height":"6","label":"Port 18","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":460,"wires":[[],[]]},{"id":"6eb05021.4dd4a","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"ed6793d8.02a3","order":1,"width":"18","height":"6","label":"Port 19","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":480,"wires":[[],[]]},{"id":"75a47ef1.8c1e","type":"ui_chart","z":"11af8890.7bdd97","name":"","group":"a436bc5d.22c58","order":1,"width":"18","height":"6","label":"Port 20","chartType":"line","legend":"false","xformat":"mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"3.5","removeOlder":"10","removeOlderPoints":"","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#00ff40","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":true,"x":480,"y":500,"wires":[[],[]]},{"id":"d89a60fb.22f51","type":"ui_group","z":"","name":"Default","tab":"e1a9f53c.b16c48","disp":true,"width":"21","collapse":false},{"id":"7a6799cd.49d7b8","type":"ui_group","z":"","name":"port1","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"264483db.a9e00c","type":"ui_group","z":"","name":"port2","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"a8b38a17.655928","type":"ui_group","z":"","name":"port3","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"a55359a2.6ee978","type":"ui_group","z":"","name":"port4","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"637adb1.0a5bf24","type":"ui_group","z":"","name":"port5","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"2adea283.aa88ae","type":"ui_group","z":"","name":"port6","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"61be3baf.16d944","type":"ui_group","z":"","name":"port7","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"1f2ec2df.79f70d","type":"ui_group","z":"","name":"port8","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"9f913313.c69b6","type":"ui_group","z":"","name":"port9","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"549300cd.b5ff1","type":"ui_group","z":"","name":"port10","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"cde08955.b653b8","type":"ui_group","z":"","name":"port11","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"210c4e29.398ca2","type":"ui_group","z":"","name":"port12","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"86ca6197.564f3","type":"ui_group","z":"","name":"port13","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"f3eeb5a5.5bb5e8","type":"ui_group","z":"","name":"port14","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"29d20c2b.d8ba94","type":"ui_group","z":"","name":"port15","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"f96562d9.80a2c","type":"ui_group","z":"","name":"port16","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"65148b44.500604","type":"ui_group","z":"","name":"port17","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"ddd5fdd2.71956","type":"ui_group","z":"","name":"port18","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"ed6793d8.02a3","type":"ui_group","z":"","name":"port19","tab":"e1a9f53c.b16c48","disp":true,"width":"19","collapse":false},{"id":"a436bc5d.22c58","type":"ui_group","z":"","name":"port20","tab":"e1a9f53c.b16c48","disp":true,"width":"18","collapse":false},{"id":"e1a9f53c.b16c48","type":"ui_tab","z":"","name":"test","icon":"dashboard","disabled":false,"hidden":false}]
and I found if I wait for 10 secs, the chart will show curve without F5 (reload), that is, the chart will delay for a while to show because of the "width" of charts.
Hi , I'm not sure what you mean exactly - the flow you posted works as I would expect. Once you inject the dropdown you can select any of the charts, and you can then see live data from then on. You are playing with 600 points (one per second for 10 mins) across 20 charts = 12000 data updates which may get quite slow on a slow device.
Thank you for your reply, yes, I guess the reason might be slow device. I'll try to improve my hardware spec. Thank you.