[ { "id": "d752e739.4cfbd8", "type": "comment", "z": "9c3b70b.7f4189", "name": "Lliçó 3.20", "info": "Aquest és un exemple de la tercera lliçó.\n\nwiki.binefa.cat\n\n", "x": 400, "y": 60, "wires": [] }, { "id": "1912a385.c2c31c", "type": "inject", "z": "9c3b70b.7f4189", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "1", "crontab": "", "once": false, "x": 430, "y": 120, "wires": [ [ "2e9d138d.29ba7c" ] ] }, { "id": "2e9d138d.29ba7c", "type": "function", "z": "9c3b70b.7f4189", "name": "Número aleatori entre 0 i 99", "func": "msg.payload = Math.round(Math.random()*100);\n\nreturn msg;", "outputs": 1, "noerr": 0, "x": 440, "y": 220, "wires": [ [ "8aa38e89.d82cf", "741e44b6.07121c", "adbca580.232bd8", "63e7a519.9fbd1c", "4cf6911e.f9e6e", "462760d0.d018d", "34520063.852bc" ] ] }, { "id": "741e44b6.07121c", "type": "ui_chart", "z": "9c3b70b.7f4189", "name": "", "group": "9f0579c3.68e768", "order": 1, "width": 0, "height": 0, "label": "Gràfica de proves", "chartType": "line", "legend": "false", "xformat": "HH:mm:ss", "interpolate": "linear", "nodata": "", "dot": false, "ymin": "0", "ymax": "100", "removeOlder": "30", "removeOlderPoints": "", "removeOlderUnit": "1", "cutout": 0, "useOneColor": false, "colors": [ "#1f77b4", "#aec7e8", "#ff7f0e", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5" ], "useOldStyle": false, "x": 690, "y": 160, "wires": [ [], [] ] }, { "id": "8aa38e89.d82cf", "type": "debug", "z": "9c3b70b.7f4189", "name": "", "active": true, "console": "false", "complete": "payload", "x": 650, "y": 120, "wires": [] }, { "id": "adbca580.232bd8", "type": "ui_text", "z": "9c3b70b.7f4189", "group": "9f0579c3.68e768", "order": 2, "width": 0, "height": 0, "name": "", "label": "Valor", "format": "{{msg.payload}}", "layout": "row-spread", "x": 730, "y": 200, "wires": [] }, { "id": "63e7a519.9fbd1c", "type": "ui_gauge", "z": "9c3b70b.7f4189", "name": "", "group": "ce3aaefc.439e8", "order": 1, "width": 0, "height": 0, "gtype": "gage", "title": "Manòmetre", "label": "punts", "format": "{{value}}", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "seg1": "30", "seg2": "75", "x": 710, "y": 240, "wires": [] }, { "id": "4cf6911e.f9e6e", "type": "ui_gauge", "z": "9c3b70b.7f4189", "name": "", "group": "ce3aaefc.439e8", "order": 2, "width": 0, "height": 0, "gtype": "donut", "title": "Dònut", "label": "punts", "format": "{{value}}", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "seg1": "30", "seg2": "75", "x": 690, "y": 280, "wires": [] }, { "id": "462760d0.d018d", "type": "ui_gauge", "z": "9c3b70b.7f4189", "name": "", "group": "48bf66ce.f2fcf8", "order": 2, "width": 0, "height": 0, "gtype": "compass", "title": "Brúixola", "label": "punts", "format": "{{value}}", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "seg1": "30", "seg2": "75", "x": 700, "y": 320, "wires": [] }, { "id": "34520063.852bc", "type": "ui_gauge", "z": "9c3b70b.7f4189", "name": "", "group": "48bf66ce.f2fcf8", "order": 1, "width": 0, "height": 0, "gtype": "wave", "title": "Nivell", "label": "punts", "format": "{{msg.value}}", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "seg1": "30", "seg2": "75", "x": 690, "y": 360, "wires": [] }, { "id": "9f0579c3.68e768", "type": "ui_group", "z": "", "name": "Principal", "tab": "30c4b5bc.f3ec7a", "disp": true, "width": "7", "collapse": false }, { "id": "ce3aaefc.439e8", "type": "ui_group", "z": "", "name": "Tercera", "tab": "30c4b5bc.f3ec7a", "order": 3, "disp": true, "width": "6", "collapse": false }, { "id": "48bf66ce.f2fcf8", "type": "ui_group", "z": "", "name": "Segona", "tab": "30c4b5bc.f3ec7a", "order": 2, "disp": true, "width": "6", "collapse": false }, { "id": "30c4b5bc.f3ec7a", "type": "ui_tab", "z": "", "name": "Visualització", "icon": "dashboard" } ]