cvmartin
10/2/2018 - 7:38 PM

Node red flows

A collection of Node Red flows

[{"id":"e35aa66f.a25998","type":"inject","z":"92ada0e5.25c188","name":"","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"onceDelay":0.1,"x":132,"y":198.25,"wires":[["e5240019.0ef708"]]},{"id":"e5240019.0ef708","type":"function","z":"92ada0e5.25c188","name":"format message","func":"msg.payload = {};\n\n// Obtain a random number in a range\nfunction getRandomDbl(min, max) {\n  return Math.random() * (max - min) + min;\n}\n\n// round a number with a given number of decimals\nfunction roundDbl(x, decimals) {\n    var y = Math.pow(10, decimals);\n    return (Math.round(x*y))/y;\n}\n\nmsg.payload.value = roundDbl(getRandomDbl(-100, 100),2);\nmsg.payload.unit = \"kWh\";\n\nreturn msg;","outputs":1,"noerr":0,"x":340,"y":197.75,"wires":[["67be9866.529218"]]},{"id":"67be9866.529218","type":"json","z":"92ada0e5.25c188","name":"","property":"payload","action":"","pretty":false,"x":524,"y":198.25,"wires":[["9908e90c.6e5d58"]]},{"id":"9908e90c.6e5d58","type":"mqtt out","z":"92ada0e5.25c188","name":"send mqtt","topic":"get_hb","qos":"1","retain":"true","broker":"57317c55.633c7c","x":681,"y":198.5,"wires":[]},{"id":"57317c55.633c7c","type":"mqtt-broker","z":"","name":"HB API","broker":"api.herobalancer.nl","port":"1883","tls":"","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
[{"id":"ecfe547e.4d86c","type":"tab","label":"Flow 3","disabled":true,"info":""},{"id":"759df8e4.3df7d","type":"function","z":"ecfe547e.4d86c","name":"Wait for all tasks to finish","func":"context.data = context.data || new Object();\n\nswitch (msg.topic) {\n    case \"task1\":\n        context.data.task1 = msg.payload;\n        msg = null;\n        break;\n    case \"task2\":\n        context.data.task2 = msg.payload;\n        msg = null;\n        break;\n    case \"task3\":\n        context.data.task3 = msg.payload;\n        msg = null;\n        break;\n        \n    default:\n        msg = null;\n    \tbreak;\n\n}\n\nif(context.data.task1 != null && context.data.task2 != null && context.data.task3 != null) {\n\tmsg2 = new Object();\n    msg2 = context.data;\n    context.data=null;\n\treturn msg2;\n} else return msg;","outputs":1,"noerr":0,"x":750,"y":260,"wires":[["3f83b814.af012"]]},{"id":"2823ae78.6cfa3a","type":"delay","z":"ecfe547e.4d86c","name":"Random delay","pauseType":"random","timeout":"5","timeoutUnits":"seconds","rate":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":492,"y":169,"wires":[["759df8e4.3df7d"]]},{"id":"3f83b814.af012","type":"debug","z":"ecfe547e.4d86c","name":"","active":true,"console":"false","complete":"true","x":957,"y":259,"wires":[]},{"id":"5b6b6f51.05d6d","type":"delay","z":"ecfe547e.4d86c","name":"Random delay","pauseType":"random","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":496,"y":265,"wires":[["759df8e4.3df7d"]]},{"id":"14f14290.b6a925","type":"delay","z":"ecfe547e.4d86c","name":"Random delay","pauseType":"random","timeout":"5","timeoutUnits":"seconds","rate":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":493,"y":349,"wires":[["759df8e4.3df7d"]]},{"id":"62a1e742.b51e78","type":"function","z":"ecfe547e.4d86c","name":"Task1","func":"msg.topic=\"task1\";\nmsg.payload=\"Task1's payload\"\nreturn msg;","outputs":1,"noerr":0,"x":324,"y":169,"wires":[["2823ae78.6cfa3a"]]},{"id":"83c4774d.f1cf6","type":"function","z":"ecfe547e.4d86c","name":"Task2","func":"msg.topic=\"task2\";\nmsg.payload=\"Task2's payload\"\nreturn msg;","outputs":1,"noerr":0,"x":327,"y":264,"wires":[["5b6b6f51.05d6d"]]},{"id":"81cba3cf.cb321","type":"function","z":"ecfe547e.4d86c","name":"Task3","func":"msg.topic=\"task3\";\nmsg.payload=\"Task3's payload\"\nreturn msg;","outputs":1,"x":322,"y":348,"wires":[["14f14290.b6a925"]]},{"id":"5894d1c5.e11c5","type":"inject","z":"ecfe547e.4d86c","name":"Start","topic":"","payload":"","payloadType":"none","repeat":"","crontab":"","once":false,"x":150,"y":260,"wires":[["62a1e742.b51e78","83c4774d.f1cf6","81cba3cf.cb321"]]}]
[{"id":"a913a309.63efc8","type":"tab","label":"Flow 2","disabled":true,"info":""},{"id":"d35fb27e.a4a3c8","type":"inject","z":"a913a309.63efc8","name":"10 sec","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"onceDelay":0.1,"x":130,"y":88,"wires":[["49326523.330864"]]},{"id":"49326523.330864","type":"http request","z":"a913a309.63efc8","name":"","method":"GET","ret":"txt","url":"http://192.168.178.49/a?f=j","tls":"","x":225,"y":195,"wires":[["6aaae91c.c0b05","b5212348.080058"]]},{"id":"6aaae91c.c0b05","type":"json","z":"a913a309.63efc8","name":"","property":"payload","action":"","pretty":false,"x":261,"y":239,"wires":[["daadcf30.2e6ce8"]]},{"id":"b5212348.080058","type":"debug","z":"a913a309.63efc8","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":771,"y":57,"wires":[]},{"id":"daadcf30.2e6ce8","type":"function","z":"a913a309.63efc8","name":"get pwr","func":"msg.payload = msg.payload.pwr;\nreturn msg;","outputs":1,"noerr":0,"x":295,"y":284,"wires":[["d8108b98.eed6b8","ed7e19c7.fb06b","37f89f0f.f8e77","1076c655.225542","f5b6cdd.f6a6bb","81f41a6d.a13668"]]},{"id":"81f41a6d.a13668","type":"ui_gauge","z":"a913a309.63efc8","name":"Instant Watts","group":"26eb7781.110ac","order":0,"width":"4","height":"4","gtype":"donut","title":"Instant Watts","label":"Watts","format":"{{value}}","min":0,"max":"10000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":496,"y":111,"wires":[]},{"id":"f5b6cdd.f6a6bb","type":"ui_chart","z":"a913a309.63efc8","name":"","group":"8b659ded.46b4c8","order":0,"width":"20","height":"3","label":"10 sec (Watts)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"6","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":656,"y":171,"wires":[[],[]]},{"id":"d8108b98.eed6b8","type":"aggregator","z":"a913a309.63efc8","name":"1 min","topic":"","intervalCount":1,"intervalUnits":"m","submitIncompleteInterval":true,"aggregationType":"mean","x":486,"y":251,"wires":[["1cf28c60.28bc4c"]]},{"id":"37f89f0f.f8e77","type":"aggregator","z":"a913a309.63efc8","name":"5 min","topic":"","intervalCount":"5","intervalUnits":"m","submitIncompleteInterval":true,"aggregationType":"mean","x":486,"y":291,"wires":[["38506548.3d221a","1bc9c063.8cc15"]]},{"id":"ed7e19c7.fb06b","type":"aggregator","z":"a913a309.63efc8","name":"15 min","topic":"","intervalCount":"15","intervalUnits":"m","submitIncompleteInterval":true,"aggregationType":"mean","x":496,"y":331,"wires":[["4aac5f9c.43779"]]},{"id":"1076c655.225542","type":"aggregator","z":"a913a309.63efc8","name":"1 h","topic":"","intervalCount":1,"intervalUnits":"h","submitIncompleteInterval":true,"aggregationType":"mean","x":486,"y":371,"wires":[["b57b1dfd.97d1f8"]]},{"id":"1cf28c60.28bc4c","type":"ui_chart","z":"a913a309.63efc8","name":"","group":"8b659ded.46b4c8","order":0,"width":"20","height":"3","label":"1 min (Watts)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"6","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":656,"y":251,"wires":[[],[]]},{"id":"38506548.3d221a","type":"ui_chart","z":"a913a309.63efc8","name":"","group":"8b659ded.46b4c8","order":0,"width":"20","height":"3","label":"5 min (Watts)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"6","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":656,"y":291,"wires":[[],[]]},{"id":"4aac5f9c.43779","type":"ui_chart","z":"a913a309.63efc8","name":"","group":"8b659ded.46b4c8","order":0,"width":"20","height":"3","label":"15 min (Watts)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"6","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":656,"y":331,"wires":[[],[]]},{"id":"b57b1dfd.97d1f8","type":"ui_chart","z":"a913a309.63efc8","name":"","group":"8b659ded.46b4c8","order":0,"width":"20","height":"3","label":"1 h (Watts)","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"6","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":646,"y":371,"wires":[[],[]]},{"id":"1bc9c063.8cc15","type":"function","z":"a913a309.63efc8","name":"add timestamp","func":"msg.time = Math.round(Date.now()/1000);\nreturn msg;","outputs":1,"noerr":0,"x":656,"y":431,"wires":[["633714b9.68de94"]]},{"id":"633714b9.68de94","type":"template","z":"a913a309.63efc8","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\"time\":{{time}}, \"pwr\": {{payload}}}","output":"str","x":636,"y":471,"wires":[["172c0bbe.f4f9b4"]]},{"id":"172c0bbe.f4f9b4","type":"json","z":"a913a309.63efc8","name":"","property":"payload","action":"","pretty":false,"x":626,"y":511,"wires":[["b5212348.080058","579717bd.d064d8"]]},{"id":"579717bd.d064d8","type":"mongodb3 in","z":"a913a309.63efc8","service":"_ext_","configNode":"26c9d0a6.886fe8","name":"to mongodb","collection":"emmeloord_balance","operation":"insert","x":645,"y":577,"wires":[[]]},{"id":"ff8c699c.a67c98","type":"comment","z":"a913a309.63efc8","name":"Instructions to change URL","info":"The http request is supposed to return a JSON object\nwith information from the Jouless meter. \n\nFor instance, the request to the address\n\nhttp://192.168.178.49/a?f=j\n\npings the Jouless meter with IP address 192.168.178.49\nthe endpoint `/a?f=j` indicates that the data retrieved\nmust be in JSON format. Documentation: \nhttp://wiki.td-er.nl/index.php?title=YouLess\n\nThe IP Address of the two Jouless meters are: \n\n1 - 192.168.178.49\n2 - 192.168.2.42\n\n","x":219,"y":153.25,"wires":[]},{"id":"fd79699a.03f7e8","type":"comment","z":"a913a309.63efc8","name":"check if the flow is disabled","info":"","x":145,"y":23.25,"wires":[]},{"id":"26eb7781.110ac","type":"ui_group","z":"","name":"Now","tab":"873a3ae6.3cd008","disp":true,"width":"4","collapse":false},{"id":"8b659ded.46b4c8","type":"ui_group","z":"","name":"History","tab":"873a3ae6.3cd008","disp":true,"width":"20","collapse":false},{"id":"26c9d0a6.886fe8","type":"mongodb3","z":"","uri":"mongodb+srv://carlos:nI6DGVZ4JnfS0Cbv@enerflows-ikxrd.mongodb.net/base","name":"","options":"","parallelism":"-1"},{"id":"873a3ae6.3cd008","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]
[{"id":"abf6336d.e7a0e8","type":"tab","label":"Charging SMS","disabled":false,"info":""},{"id":"509bb542.f8e554","type":"http in","z":"abf6336d.e7a0e8","name":"","url":"/ev-set","method":"post","upload":false,"swaggerDoc":"","x":110,"y":60,"wires":[["3cb6ef14.748608","f9ef1857.7b598"]]},{"id":"56470a11.79bf24","type":"debug","z":"abf6336d.e7a0e8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":550,"y":300,"wires":[]},{"id":"3cb6ef14.748608","type":"function","z":"abf6336d.e7a0e8","name":"intake","func":"prevContent = msg.payload; \n// start with payload afresh\nmsg.payload = {};\n\nvar thistime = new Date();\nmsg.payload.timestamp = Math.round(thistime.getTime()/1000);\n\nmsg.payload.from = prevContent.From\n\nvar str = prevContent.Body;\ndata = str.split(\",\");\n\nmsg.payload.pole = Number(data[0].match(/\\d+/).toString());\nmsg.payload.deadline = data[1].match(/\\d+:\\d+/) || data[1].match(/\\d+/);\nmsg.payload.deadline = msg.payload.deadline.toString();\nmsg.payload.km = Number(data[2].match(/\\d+/).toString());\n\n\nreturn msg;\n","outputs":1,"noerr":0,"x":130,"y":120,"wires":[["51fcbb45.ec0e64"]]},{"id":"8c53cd50.a3796","type":"function","z":"abf6336d.e7a0e8","name":"processKwh","func":"//kWh per kilometer\nvar consumption = 0.1\n\nmsg.payload.kwh = Math.round(msg.payload.km*consumption*100)/100\n\nreturn msg;","outputs":1,"noerr":0,"x":250,"y":240,"wires":[["18266469.4d6c44","56470a11.79bf24"]]},{"id":"18266469.4d6c44","type":"mongodb3 in","z":"abf6336d.e7a0e8","service":"_ext_","configNode":"5f317c4d.b399e4","name":"upload to mongo","collection":"sms_incoming","operation":"insert","x":550,"y":240,"wires":[[]]},{"id":"51fcbb45.ec0e64","type":"function-npm","z":"abf6336d.e7a0e8","name":"processDeadline","func":"// load moment-timezone, to work in local time\nvar moment = require('moment-timezone');\n\nif (msg.payload.deadline.match(/:/) === null){\n    // Number of hour format\n   hours = Number(msg.payload.deadline);\n   msg.payload.deadline = (msg.payload.timestamp + hours*60*60);\n} else {\n    // hh:mm format\n   var xtime = msg.payload.deadline.match(/\\d+/g);\n   var xhour = Number(xtime[0]);\n   var xminute = Number(xtime[1]);\n\n   var trueDeadline = Number(moment().tz(\"Europe/Amsterdam\").hour(xhour).minute(xminute).format('X'));\n   if (trueDeadline < msg.payload.timestamp) {\n       trueDeadline = trueDeadline + (60*60*24);\n   }\n   msg.payload.deadline = trueDeadline\n}\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":180,"wires":[["8c53cd50.a3796"]]},{"id":"93efa7ab.3b8ff","type":"catch","z":"abf6336d.e7a0e8","name":"","scope":null,"x":180,"y":360,"wires":[["9c72d2d8.a7591"]]},{"id":"9c72d2d8.a7591","type":"function","z":"abf6336d.e7a0e8","name":"return error","func":"msg.topic = flow.get(\"from\");\nmsg.payload = \"There was an error. Please resend the SMS with this format:\\n <pole number>, <hours of stay>, <km to charge>\";\n\nreturn msg;","outputs":1,"noerr":0,"x":350,"y":360,"wires":[["56470a11.79bf24","7ecd0b8c.b1b89c"]]},{"id":"7ecd0b8c.b1b89c","type":"twilio out","z":"abf6336d.e7a0e8","twilio":"656ada38.e31d3c","twilioType":"sms","url":"","number":"","name":"","x":550,"y":360,"wires":[]},{"id":"f9ef1857.7b598","type":"function","z":"abf6336d.e7a0e8","name":"set From as global","func":"// set \"from\" as variable in the flow, that can be used later to receive the SMS\nflow.set(\"from\", msg.payload.From);\n\nreturn msg;","outputs":1,"noerr":0,"x":330,"y":60,"wires":[[]]},{"id":"5f317c4d.b399e4","type":"mongodb3","z":"","uri":"mongodb+srv://cvarela:lOv8leDoavKeHGea@hbcluster-hhcpd.mongodb.net/ev-spanbroek","name":"","options":"","parallelism":"-1"},{"id":"656ada38.e31d3c","type":"twilio-api","z":"","name":"hbtwilio","sid":"AC0f9440aa174bdb5bbae32765475014dc","from":"+3197014200820"}]
[{"id":"aee0fa2d.66c82","type":"inject","z":"4cbfb5dc.5d0c14","name":"10 sec","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":false,"onceDelay":0.1,"x":94,"y":112,"wires":[["3cd03d3d.87f07a","51be3c7.7a968c4","c7335bca.e947f8"]]},{"id":"3cd03d3d.87f07a","type":"http request","z":"4cbfb5dc.5d0c14","name":"solar meter 1","method":"GET","ret":"txt","url":"http://192.168.2.4/a?f=j","tls":"","x":289,"y":43,"wires":[["9dba35bc.4f4b6"]]},{"id":"51be3c7.7a968c4","type":"http request","z":"4cbfb5dc.5d0c14","name":"solar meter 2","method":"GET","ret":"txt","url":"http://192.168.2.6/a?f=j","tls":"","x":282,"y":208,"wires":[["d22103d5.db7f58"]]},{"id":"c73b1d13.c5bbd8","type":"function","z":"4cbfb5dc.5d0c14","name":"process meter 1","func":"\nvar current = parseFloat(msg.payload.cnt.replace(',', '.'))*-1\nvar previous = flow.get(\"count1\");\n\n\nflow.set(\"count1\", current);\n\nflow.set(\"power1\", (msg.payload.pwr*-1));\n\nvar value = current - previous;\n\nmsg.payload = Math.round(value*100)/100;\n\nreturn msg;","outputs":1,"noerr":0,"x":316,"y":128.75,"wires":[["1e67be41.4b29ba"]]},{"id":"9dba35bc.4f4b6","type":"json","z":"4cbfb5dc.5d0c14","name":"","property":"payload","action":"","pretty":false,"x":326,"y":86.75,"wires":[["c73b1d13.c5bbd8"]]},{"id":"2acfedb2.10a222","type":"function","z":"4cbfb5dc.5d0c14","name":"process meter 2","func":"\nvar current = parseFloat(msg.payload.cnt.replace(',', '.'))*-1\nvar previous = flow.get(\"count2\");\n\nflow.set(\"count2\", current);\n\nflow.set(\"power2\", (msg.payload.pwr*-1));\n\nvar value = current - previous;\n\nmsg.payload = Math.round(value*100)/100;\n\nreturn msg;","outputs":1,"noerr":0,"x":296,"y":301,"wires":[["1e67be41.4b29ba"]]},{"id":"d22103d5.db7f58","type":"json","z":"4cbfb5dc.5d0c14","name":"","property":"payload","action":"","pretty":false,"x":320,"y":259,"wires":[["2acfedb2.10a222"]]},{"id":"1e67be41.4b29ba","type":"aggregator","z":"4cbfb5dc.5d0c14","name":"1 sec sum","topic":"","intervalCount":1,"intervalUnits":"s","submitIncompleteInterval":true,"aggregationType":"sum","x":571,"y":191.5,"wires":[["6e33dd09.37c81c"]]},{"id":"6e33dd09.37c81c","type":"aggregator","z":"4cbfb5dc.5d0c14","name":"5 min sum","topic":"","intervalCount":"5","intervalUnits":"m","submitIncompleteInterval":true,"aggregationType":"sum","x":574,"y":264.5,"wires":[["5e7f1309.132fcc"]]},{"id":"5e7f1309.132fcc","type":"ui_chart","z":"4cbfb5dc.5d0c14","name":"","group":"b12ab73f.3da47","order":0,"width":"20","height":"3","label":"5 min kWh sum solar","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"48","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":805,"y":265,"wires":[[],[]]},{"id":"c7335bca.e947f8","type":"delay","z":"4cbfb5dc.5d0c14","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":217.5,"y":412.75,"wires":[["c35cfa73.6ef28"]]},{"id":"c35cfa73.6ef28","type":"function","z":"4cbfb5dc.5d0c14","name":"Process power","func":"\n\nmsg.payload = flow.get(\"power1\") + flow.get(\"power2\");\n\nreturn msg;","outputs":1,"noerr":0,"x":432,"y":413.75,"wires":[["90b5523e.6b70a8","637fafd8.f0107"]]},{"id":"90b5523e.6b70a8","type":"ui_gauge","z":"4cbfb5dc.5d0c14","name":"Watts solar","group":"26eb7781.110ac","order":1,"width":"6","height":"6","gtype":"gage","title":"Instant solar production","label":"Watts","format":"{{value}}","min":0,"max":"10000","colors":["#80ffff","#00ff40","#008000"],"seg1":"","seg2":"","x":759,"y":362.75,"wires":[]},{"id":"637fafd8.f0107","type":"aggregator","z":"4cbfb5dc.5d0c14","name":"5 mean sum","topic":"","intervalCount":"5","intervalUnits":"m","submitIncompleteInterval":true,"aggregationType":"mean","x":563,"y":484,"wires":[["468df99a.7233f8"]]},{"id":"468df99a.7233f8","type":"ui_chart","z":"4cbfb5dc.5d0c14","name":"","group":"26eb7781.110ac","order":2,"width":"20","height":"3","label":"5 min mean Watt solar","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"","removeOlder":"48","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":769,"y":484,"wires":[[],[]]},{"id":"b12ab73f.3da47","type":"ui_group","z":"","name":"Energy meter ","tab":"873a3ae6.3cd008","disp":true,"width":"20","collapse":false},{"id":"26eb7781.110ac","type":"ui_group","z":"","name":"Instant production","tab":"873a3ae6.3cd008","disp":true,"width":"20","collapse":false},{"id":"873a3ae6.3cd008","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]