[ { "id": "d752e739.4cfbd8", "type": "comment", "z": "9c3b70b.7f4189", "name": "Lliçó 3.18", "info": "Aquest és un exemple de la tercera lliçó.\n\nwiki.binefa.cat\n\nFont:\nhttp://developers.sensetecnic.com/article/a-node-red-dashboard-using-node-red-dashboard/\n", "x": 140, "y": 40, "wires": [] }, { "id": "1912a385.c2c31c", "type": "inject", "z": "9c3b70b.7f4189", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "1", "crontab": "", "once": false, "x": 170, "y": 100, "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": 240, "y": 160, "wires": [ [ "8aa38e89.d82cf", "741e44b6.07121c" ] ] }, { "id": "741e44b6.07121c", "type": "ui_chart", "z": "9c3b70b.7f4189", "name": "", "group": "9f0579c3.68e768", "order": 0, "width": 0, "height": 0, "label": "Gràfica de proves", "chartType": "line", "legend": "false", "xformat": "HH:mm:ss", "interpolate": "linear", "nodata": "", "dot": false, "ymin": "", "ymax": "", "removeOlder": "30", "removeOlderPoints": "", "removeOlderUnit": "1", "cutout": 0, "useOneColor": false, "colors": [ "#1f77b4", "#aec7e8", "#ff7f0e", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5" ], "useOldStyle": false, "x": 430, "y": 220, "wires": [ [], [] ] }, { "id": "8aa38e89.d82cf", "type": "debug", "z": "9c3b70b.7f4189", "name": "", "active": true, "console": "false", "complete": "payload", "x": 370, "y": 100, "wires": [] }, { "id": "9f0579c3.68e768", "type": "ui_group", "z": "", "name": "Default", "tab": "30c4b5bc.f3ec7a", "disp": true, "width": "6", "collapse": false }, { "id": "30c4b5bc.f3ec7a", "type": "ui_tab", "z": "", "name": "Home", "icon": "dashboard" } ]