Advertisement
NittyGritty

Open-DTU-1-WR-1

May 22nd, 2024
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 46.61 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "67b46672db338c88",
  4.         "type": "tab",
  5.         "label": "Open-DTU-1-WR-1",
  6.         "disabled": false,
  7.         "info": "",
  8.         "env": []
  9.     },
  10.     {
  11.         "id": "a7d81fce6977777b",
  12.         "type": "mqtt in",
  13.         "z": "67b46672db338c88",
  14.         "name": "",
  15.         "topic": "/home/JW/solar/#",
  16.         "qos": "2",
  17.         "datatype": "auto-detect",
  18.         "broker": "1aee3213a7893e0e",
  19.         "nl": false,
  20.         "rap": true,
  21.         "rh": 0,
  22.         "inputs": 0,
  23.         "x": 140,
  24.         "y": 380,
  25.         "wires": [
  26.             [
  27.                 "7735ef1888d288bb",
  28.                 "731d9e4919b5d353",
  29.                 "a357d504ee519fca"
  30.             ]
  31.         ]
  32.     },
  33.     {
  34.         "id": "07621bc29bdd8cde",
  35.         "type": "switch",
  36.         "z": "67b46672db338c88",
  37.         "name": "Wechselspannungsseite: BKW 1",
  38.         "property": "topic",
  39.         "propertyType": "msg",
  40.         "rules": [
  41.             {
  42.                 "t": "cont",
  43.                 "v": "/0/current",
  44.                 "vt": "str"
  45.             },
  46.             {
  47.                 "t": "cont",
  48.                 "v": "/0/efficiency",
  49.                 "vt": "str"
  50.             },
  51.             {
  52.                 "t": "cont",
  53.                 "v": "/0/frequency",
  54.                 "vt": "str"
  55.             },
  56.             {
  57.                 "t": "regex",
  58.                 "v": "/0/power$",
  59.                 "vt": "str",
  60.                 "case": false
  61.             },
  62.             {
  63.                 "t": "cont",
  64.                 "v": "/0/powerdc",
  65.                 "vt": "str"
  66.             },
  67.             {
  68.                 "t": "cont",
  69.                 "v": "/0/powerfactor",
  70.                 "vt": "str"
  71.             },
  72.             {
  73.                 "t": "cont",
  74.                 "v": "/0/reactivepower",
  75.                 "vt": "str"
  76.             },
  77.             {
  78.                 "t": "cont",
  79.                 "v": "/0/temperature",
  80.                 "vt": "str"
  81.             },
  82.             {
  83.                 "t": "cont",
  84.                 "v": "/0/voltage",
  85.                 "vt": "str"
  86.             },
  87.             {
  88.                 "t": "cont",
  89.                 "v": "/0/yieldday",
  90.                 "vt": "str"
  91.             },
  92.             {
  93.                 "t": "cont",
  94.                 "v": "/0/yieldtotal",
  95.                 "vt": "str"
  96.             }
  97.         ],
  98.         "checkall": "true",
  99.         "repair": false,
  100.         "outputs": 11,
  101.         "x": 830,
  102.         "y": 1500,
  103.         "wires": [
  104.             [],
  105.             [],
  106.             [],
  107.             [
  108.                 "e13d6c236e06609a",
  109.                 "eb0cb62d875d9e34"
  110.             ],
  111.             [],
  112.             [],
  113.             [],
  114.             [],
  115.             [],
  116.             [
  117.                 "c50f6485785730c1"
  118.             ],
  119.             [
  120.                 "708616d4e74aa85e"
  121.             ]
  122.         ]
  123.     },
  124.     {
  125.         "id": "2b52c2a59e9c8f0b",
  126.         "type": "switch",
  127.         "z": "67b46672db338c88",
  128.         "name": "Moduldaten: BKW 1",
  129.         "property": "topic",
  130.         "propertyType": "msg",
  131.         "rules": [
  132.             {
  133.                 "t": "cont",
  134.                 "v": "/1/current",
  135.                 "vt": "str"
  136.             },
  137.             {
  138.                 "t": "cont",
  139.                 "v": "/1/power",
  140.                 "vt": "str"
  141.             },
  142.             {
  143.                 "t": "cont",
  144.                 "v": "/1/voltage",
  145.                 "vt": "str"
  146.             },
  147.             {
  148.                 "t": "cont",
  149.                 "v": "/1/yieldday",
  150.                 "vt": "str"
  151.             },
  152.             {
  153.                 "t": "cont",
  154.                 "v": "/1/yieldtotal",
  155.                 "vt": "str"
  156.             },
  157.             {
  158.                 "t": "cont",
  159.                 "v": "/2/current",
  160.                 "vt": "str"
  161.             },
  162.             {
  163.                 "t": "cont",
  164.                 "v": "/2/power",
  165.                 "vt": "str"
  166.             },
  167.             {
  168.                 "t": "cont",
  169.                 "v": "/2/voltage",
  170.                 "vt": "str"
  171.             },
  172.             {
  173.                 "t": "cont",
  174.                 "v": "/2/yieldday",
  175.                 "vt": "str"
  176.             },
  177.             {
  178.                 "t": "cont",
  179.                 "v": "/2/yieldtotal",
  180.                 "vt": "str"
  181.             },
  182.             {
  183.                 "t": "cont",
  184.                 "v": "/3/current",
  185.                 "vt": "str"
  186.             },
  187.             {
  188.                 "t": "cont",
  189.                 "v": "/3/power",
  190.                 "vt": "str"
  191.             },
  192.             {
  193.                 "t": "cont",
  194.                 "v": "/3/voltage",
  195.                 "vt": "str"
  196.             },
  197.             {
  198.                 "t": "cont",
  199.                 "v": "/3/yieldday",
  200.                 "vt": "str"
  201.             },
  202.             {
  203.                 "t": "cont",
  204.                 "v": "/3/yieldtotal",
  205.                 "vt": "str"
  206.             },
  207.             {
  208.                 "t": "cont",
  209.                 "v": "/4/current",
  210.                 "vt": "str"
  211.             },
  212.             {
  213.                 "t": "cont",
  214.                 "v": "/4/power",
  215.                 "vt": "str"
  216.             },
  217.             {
  218.                 "t": "cont",
  219.                 "v": "/4/voltage",
  220.                 "vt": "str"
  221.             },
  222.             {
  223.                 "t": "cont",
  224.                 "v": "/4/yieldday",
  225.                 "vt": "str"
  226.             },
  227.             {
  228.                 "t": "cont",
  229.                 "v": "/4/yieldtotal",
  230.                 "vt": "str"
  231.             }
  232.         ],
  233.         "checkall": "true",
  234.         "repair": false,
  235.         "outputs": 20,
  236.         "x": 840,
  237.         "y": 720,
  238.         "wires": [
  239.             [
  240.                 "f2888baf32f9757e"
  241.             ],
  242.             [
  243.                 "eca0027d19a10001"
  244.             ],
  245.             [
  246.                 "02cf87cead824b86"
  247.             ],
  248.             [
  249.                 "5067959f63aef55b"
  250.             ],
  251.             [],
  252.             [
  253.                 "1e3fefcb16c2a580"
  254.             ],
  255.             [
  256.                 "e81221ad5770f1f1"
  257.             ],
  258.             [
  259.                 "dfb38b3d0a716c38"
  260.             ],
  261.             [
  262.                 "d0607948bb69ef79"
  263.             ],
  264.             [],
  265.             [
  266.                 "3b5754dfd699b1ea"
  267.             ],
  268.             [
  269.                 "1d313db997788c54"
  270.             ],
  271.             [
  272.                 "59f0b16502b687bc"
  273.             ],
  274.             [
  275.                 "41559b22ee47d5ce"
  276.             ],
  277.             [],
  278.             [
  279.                 "f6a3e3e155f0684f"
  280.             ],
  281.             [
  282.                 "8059a3b5b4265775"
  283.             ],
  284.             [
  285.                 "85a670d34e40b084"
  286.             ],
  287.             [
  288.                 "4777aa1e61a119e3"
  289.             ],
  290.             []
  291.         ]
  292.     },
  293.     {
  294.         "id": "a357d504ee519fca",
  295.         "type": "switch",
  296.         "z": "67b46672db338c88",
  297.         "name": "DTU-Daten",
  298.         "property": "topic",
  299.         "propertyType": "msg",
  300.         "rules": [
  301.             {
  302.                 "t": "cont",
  303.                 "v": "/ip",
  304.                 "vt": "str"
  305.             },
  306.             {
  307.                 "t": "cont",
  308.                 "v": "/hostname",
  309.                 "vt": "str"
  310.             },
  311.             {
  312.                 "t": "cont",
  313.                 "v": "/rssi",
  314.                 "vt": "str"
  315.             },
  316.             {
  317.                 "t": "cont",
  318.                 "v": "/uptime",
  319.                 "vt": "str"
  320.             }
  321.         ],
  322.         "checkall": "true",
  323.         "repair": false,
  324.         "outputs": 4,
  325.         "x": 770,
  326.         "y": 360,
  327.         "wires": [
  328.             [
  329.                 "33c62c6a178ea499"
  330.             ],
  331.             [
  332.                 "61341a44a869d262"
  333.             ],
  334.             [
  335.                 "458d77308b829c5a"
  336.             ],
  337.             [
  338.                 "81fd6527fef968bd"
  339.             ]
  340.         ]
  341.     },
  342.     {
  343.         "id": "49067a2d23f31022",
  344.         "type": "ui_text",
  345.         "z": "67b46672db338c88",
  346.         "group": "459aaa63cf88a451",
  347.         "order": 3,
  348.         "width": 0,
  349.         "height": 0,
  350.         "name": "",
  351.         "label": "Gesamtproduktion",
  352.         "format": "{{msg.payload}} kWh",
  353.         "layout": "row-spread",
  354.         "className": "",
  355.         "x": 1230,
  356.         "y": 1580,
  357.         "wires": []
  358.     },
  359.     {
  360.         "id": "e13d6c236e06609a",
  361.         "type": "ui_gauge",
  362.         "z": "67b46672db338c88",
  363.         "name": "",
  364.         "group": "459aaa63cf88a451",
  365.         "order": 1,
  366.         "width": "0",
  367.         "height": "0",
  368.         "gtype": "gage",
  369.         "title": "Momentanleistung",
  370.         "label": "W",
  371.         "format": "{{value}}",
  372.         "min": 0,
  373.         "max": "2000",
  374.         "colors": [
  375.             "#00b500",
  376.             "#e6e600",
  377.             "#ca3838"
  378.         ],
  379.         "seg1": "",
  380.         "seg2": "",
  381.         "className": "",
  382.         "x": 1230,
  383.         "y": 1420,
  384.         "wires": []
  385.     },
  386.     {
  387.         "id": "c50f6485785730c1",
  388.         "type": "ui_text",
  389.         "z": "67b46672db338c88",
  390.         "group": "459aaa63cf88a451",
  391.         "order": 4,
  392.         "width": 0,
  393.         "height": 0,
  394.         "name": "",
  395.         "label": "Tagesproduktion",
  396.         "format": "{{msg.payload}} Wh",
  397.         "layout": "row-spread",
  398.         "className": "",
  399.         "x": 1220,
  400.         "y": 1540,
  401.         "wires": []
  402.     },
  403.     {
  404.         "id": "eca0027d19a10001",
  405.         "type": "ui_gauge",
  406.         "z": "67b46672db338c88",
  407.         "name": "Panel 1: Momentanleistung",
  408.         "group": "110d22d6abec3911",
  409.         "order": 1,
  410.         "width": 0,
  411.         "height": 0,
  412.         "gtype": "gage",
  413.         "title": "Momentanleistung P1",
  414.         "label": "Watt",
  415.         "format": "{{value}}",
  416.         "min": 0,
  417.         "max": "400",
  418.         "colors": [
  419.             "#00b500",
  420.             "#e6e600",
  421.             "#ca3838"
  422.         ],
  423.         "seg1": "",
  424.         "seg2": "",
  425.         "className": "",
  426.         "x": 1260,
  427.         "y": 500,
  428.         "wires": []
  429.     },
  430.     {
  431.         "id": "02cf87cead824b86",
  432.         "type": "ui_text",
  433.         "z": "67b46672db338c88",
  434.         "group": "110d22d6abec3911",
  435.         "order": 2,
  436.         "width": 0,
  437.         "height": 0,
  438.         "name": "Panel 1: Spannung",
  439.         "label": "Spannung",
  440.         "format": "{{msg.payload}} Volt",
  441.         "layout": "row-spread",
  442.         "className": "",
  443.         "x": 1230,
  444.         "y": 580,
  445.         "wires": []
  446.     },
  447.     {
  448.         "id": "f2888baf32f9757e",
  449.         "type": "ui_text",
  450.         "z": "67b46672db338c88",
  451.         "group": "110d22d6abec3911",
  452.         "order": 3,
  453.         "width": 0,
  454.         "height": 0,
  455.         "name": "Panel 1: Strom",
  456.         "label": "Strom",
  457.         "format": "{{msg.payload}} Ampere",
  458.         "layout": "row-spread",
  459.         "className": "",
  460.         "x": 1220,
  461.         "y": 460,
  462.         "wires": []
  463.     },
  464.     {
  465.         "id": "e81221ad5770f1f1",
  466.         "type": "ui_gauge",
  467.         "z": "67b46672db338c88",
  468.         "name": "Panel 2: Momentanleistung",
  469.         "group": "110d22d6abec3911",
  470.         "order": 6,
  471.         "width": 0,
  472.         "height": 0,
  473.         "gtype": "gage",
  474.         "title": "Momentanleistung P2",
  475.         "label": "Watt",
  476.         "format": "{{value}}",
  477.         "min": 0,
  478.         "max": "400",
  479.         "colors": [
  480.             "#00b500",
  481.             "#e6e600",
  482.             "#ca3838"
  483.         ],
  484.         "seg1": "",
  485.         "seg2": "",
  486.         "className": "",
  487.         "x": 1260,
  488.         "y": 720,
  489.         "wires": []
  490.     },
  491.     {
  492.         "id": "dfb38b3d0a716c38",
  493.         "type": "ui_text",
  494.         "z": "67b46672db338c88",
  495.         "group": "110d22d6abec3911",
  496.         "order": 7,
  497.         "width": 0,
  498.         "height": 0,
  499.         "name": "Panel 2: Spannung",
  500.         "label": "Spannung",
  501.         "format": "{{msg.payload}} Volt",
  502.         "layout": "row-spread",
  503.         "className": "",
  504.         "x": 1230,
  505.         "y": 800,
  506.         "wires": []
  507.     },
  508.     {
  509.         "id": "1e3fefcb16c2a580",
  510.         "type": "ui_text",
  511.         "z": "67b46672db338c88",
  512.         "group": "110d22d6abec3911",
  513.         "order": 8,
  514.         "width": 0,
  515.         "height": 0,
  516.         "name": "Panel 2: Strom",
  517.         "label": "Strom",
  518.         "format": "{{msg.payload}} Ampere",
  519.         "layout": "row-spread",
  520.         "className": "",
  521.         "x": 1220,
  522.         "y": 680,
  523.         "wires": []
  524.     },
  525.     {
  526.         "id": "5067959f63aef55b",
  527.         "type": "ui_text",
  528.         "z": "67b46672db338c88",
  529.         "group": "110d22d6abec3911",
  530.         "order": 4,
  531.         "width": 0,
  532.         "height": 0,
  533.         "name": "Panel 1: Tagesproduktion",
  534.         "label": "Tagesproduktion",
  535.         "format": "{{msg.payload}} Wh",
  536.         "layout": "row-spread",
  537.         "className": "",
  538.         "x": 1250,
  539.         "y": 620,
  540.         "wires": []
  541.     },
  542.     {
  543.         "id": "d0607948bb69ef79",
  544.         "type": "ui_text",
  545.         "z": "67b46672db338c88",
  546.         "group": "110d22d6abec3911",
  547.         "order": 9,
  548.         "width": 0,
  549.         "height": 0,
  550.         "name": "Panel 2: Tagesproduktion",
  551.         "label": "Tagesproduktion",
  552.         "format": "{{msg.payload}} Wh",
  553.         "layout": "row-spread",
  554.         "className": "",
  555.         "x": 1250,
  556.         "y": 840,
  557.         "wires": []
  558.     },
  559.     {
  560.         "id": "eb0cb62d875d9e34",
  561.         "type": "ui_chart",
  562.         "z": "67b46672db338c88",
  563.         "name": "",
  564.         "group": "459aaa63cf88a451",
  565.         "order": 2,
  566.         "width": 0,
  567.         "height": 0,
  568.         "label": "Leistungsverlauf",
  569.         "chartType": "line",
  570.         "legend": "false",
  571.         "xformat": "HH:mm:ss",
  572.         "interpolate": "linear",
  573.         "nodata": "",
  574.         "dot": false,
  575.         "ymin": "0",
  576.         "ymax": "2000",
  577.         "removeOlder": "12",
  578.         "removeOlderPoints": "",
  579.         "removeOlderUnit": "3600",
  580.         "cutout": 0,
  581.         "useOneColor": false,
  582.         "useUTC": false,
  583.         "colors": [
  584.             "#1f77b4",
  585.             "#aec7e8",
  586.             "#ff7f0e",
  587.             "#2ca02c",
  588.             "#98df8a",
  589.             "#d62728",
  590.             "#ff9896",
  591.             "#9467bd",
  592.             "#c5b0d5"
  593.         ],
  594.         "outputs": 1,
  595.         "useDifferentColor": false,
  596.         "className": "",
  597.         "x": 1220,
  598.         "y": 1460,
  599.         "wires": [
  600.             []
  601.         ]
  602.     },
  603.     {
  604.         "id": "61341a44a869d262",
  605.         "type": "ui_text",
  606.         "z": "67b46672db338c88",
  607.         "group": "8a2b7e69bc92a27a",
  608.         "order": 2,
  609.         "width": "0",
  610.         "height": "0",
  611.         "name": "Hostname",
  612.         "label": "Hostname",
  613.         "format": "{{msg.payload}}",
  614.         "layout": "row-spread",
  615.         "className": "",
  616.         "x": 1210,
  617.         "y": 320,
  618.         "wires": []
  619.     },
  620.     {
  621.         "id": "33c62c6a178ea499",
  622.         "type": "ui_text",
  623.         "z": "67b46672db338c88",
  624.         "group": "8a2b7e69bc92a27a",
  625.         "order": 3,
  626.         "width": "0",
  627.         "height": "0",
  628.         "name": "IP-Adresse",
  629.         "label": "IP-Adresse",
  630.         "format": "{{msg.payload}}",
  631.         "layout": "row-spread",
  632.         "className": "",
  633.         "x": 1210,
  634.         "y": 280,
  635.         "wires": []
  636.     },
  637.     {
  638.         "id": "7735ef1888d288bb",
  639.         "type": "switch",
  640.         "z": "67b46672db338c88",
  641.         "name": "WR-Namen",
  642.         "property": "topic",
  643.         "propertyType": "msg",
  644.         "rules": [
  645.             {
  646.                 "t": "cont",
  647.                 "v": "/name",
  648.                 "vt": "str"
  649.             }
  650.         ],
  651.         "checkall": "true",
  652.         "repair": false,
  653.         "outputs": 1,
  654.         "x": 770,
  655.         "y": 300,
  656.         "wires": [
  657.             [
  658.                 "f35d012dc5b68713"
  659.             ]
  660.         ]
  661.     },
  662.     {
  663.         "id": "458d77308b829c5a",
  664.         "type": "ui_text",
  665.         "z": "67b46672db338c88",
  666.         "group": "8a2b7e69bc92a27a",
  667.         "order": 4,
  668.         "width": "0",
  669.         "height": "0",
  670.         "name": "WLAN-Signalstärke",
  671.         "label": "WLAN-Signalstärke",
  672.         "format": "{{msg.payload}} dBm",
  673.         "layout": "row-spread",
  674.         "className": "",
  675.         "x": 1230,
  676.         "y": 360,
  677.         "wires": []
  678.     },
  679.     {
  680.         "id": "f35d012dc5b68713",
  681.         "type": "join",
  682.         "z": "67b46672db338c88",
  683.         "name": "Namen zusammenfügen",
  684.         "mode": "custom",
  685.         "build": "string",
  686.         "property": "payload",
  687.         "propertyType": "msg",
  688.         "key": "topic",
  689.         "joiner": ", ",
  690.         "joinerType": "str",
  691.         "accumulate": false,
  692.         "timeout": "1",
  693.         "count": "",
  694.         "reduceRight": false,
  695.         "reduceExp": "",
  696.         "reduceInit": "",
  697.         "reduceInitType": "",
  698.         "reduceFixup": "",
  699.         "x": 810,
  700.         "y": 240,
  701.         "wires": [
  702.             [
  703.                 "a91e9ebe137a015a"
  704.             ]
  705.         ]
  706.     },
  707.     {
  708.         "id": "a91e9ebe137a015a",
  709.         "type": "ui_text",
  710.         "z": "67b46672db338c88",
  711.         "d": true,
  712.         "group": "8a2b7e69bc92a27a",
  713.         "order": 5,
  714.         "width": 0,
  715.         "height": 0,
  716.         "name": "Bediente Wechselrichter",
  717.         "label": "Bediente Wechselrichter",
  718.         "format": "{{msg.payload}}",
  719.         "layout": "row-spread",
  720.         "className": "",
  721.         "x": 1250,
  722.         "y": 240,
  723.         "wires": []
  724.     },
  725.     {
  726.         "id": "731d9e4919b5d353",
  727.         "type": "switch",
  728.         "z": "67b46672db338c88",
  729.         "name": "Wechselrichter-Seriennummer",
  730.         "property": "topic",
  731.         "propertyType": "msg",
  732.         "rules": [
  733.             {
  734.                 "t": "cont",
  735.                 "v": "116162810751",
  736.                 "vt": "str"
  737.             },
  738.             {
  739.                 "t": "cont",
  740.                 "v": "116183924145",
  741.                 "vt": "str"
  742.             }
  743.         ],
  744.         "checkall": "true",
  745.         "repair": false,
  746.         "outputs": 2,
  747.         "x": 450,
  748.         "y": 820,
  749.         "wires": [
  750.             [
  751.                 "2b52c2a59e9c8f0b",
  752.                 "07621bc29bdd8cde",
  753.                 "dd36e82b2c28f357",
  754.                 "8654a9845731a2a8"
  755.             ],
  756.             [
  757.                 "bf81db276f9dc887",
  758.                 "8235fbcdd150b8c9"
  759.             ]
  760.         ]
  761.     },
  762.     {
  763.         "id": "1d313db997788c54",
  764.         "type": "ui_gauge",
  765.         "z": "67b46672db338c88",
  766.         "name": "Panel 3: Momentanleistung",
  767.         "group": "ce3549f1898bdf0b",
  768.         "order": 1,
  769.         "width": 0,
  770.         "height": 0,
  771.         "gtype": "gage",
  772.         "title": "Momentanleistung P3",
  773.         "label": "Watt",
  774.         "format": "{{value}}",
  775.         "min": 0,
  776.         "max": "400",
  777.         "colors": [
  778.             "#00b500",
  779.             "#e6e600",
  780.             "#ca3838"
  781.         ],
  782.         "seg1": "",
  783.         "seg2": "",
  784.         "className": "",
  785.         "x": 1260,
  786.         "y": 940,
  787.         "wires": []
  788.     },
  789.     {
  790.         "id": "59f0b16502b687bc",
  791.         "type": "ui_text",
  792.         "z": "67b46672db338c88",
  793.         "group": "ce3549f1898bdf0b",
  794.         "order": 2,
  795.         "width": 0,
  796.         "height": 0,
  797.         "name": "Panel 3: Spannung",
  798.         "label": "Spannung",
  799.         "format": "{{msg.payload}} Volt",
  800.         "layout": "row-spread",
  801.         "className": "",
  802.         "x": 1230,
  803.         "y": 1020,
  804.         "wires": []
  805.     },
  806.     {
  807.         "id": "3b5754dfd699b1ea",
  808.         "type": "ui_text",
  809.         "z": "67b46672db338c88",
  810.         "group": "ce3549f1898bdf0b",
  811.         "order": 3,
  812.         "width": 0,
  813.         "height": 0,
  814.         "name": "Panel 3: Strom",
  815.         "label": "Strom",
  816.         "format": "{{msg.payload}} Ampere",
  817.         "layout": "row-spread",
  818.         "className": "",
  819.         "x": 1220,
  820.         "y": 900,
  821.         "wires": []
  822.     },
  823.     {
  824.         "id": "41559b22ee47d5ce",
  825.         "type": "ui_text",
  826.         "z": "67b46672db338c88",
  827.         "group": "ce3549f1898bdf0b",
  828.         "order": 4,
  829.         "width": 0,
  830.         "height": 0,
  831.         "name": "Panel 3: Tagesproduktion",
  832.         "label": "Tagesproduktion",
  833.         "format": "{{msg.payload}} Wh",
  834.         "layout": "row-spread",
  835.         "className": "",
  836.         "x": 1250,
  837.         "y": 1060,
  838.         "wires": []
  839.     },
  840.     {
  841.         "id": "8059a3b5b4265775",
  842.         "type": "ui_gauge",
  843.         "z": "67b46672db338c88",
  844.         "name": "Panel 4: Momentanleistung",
  845.         "group": "ce3549f1898bdf0b",
  846.         "order": 5,
  847.         "width": 0,
  848.         "height": 0,
  849.         "gtype": "gage",
  850.         "title": "Momentanleistung P4",
  851.         "label": "Watt",
  852.         "format": "{{value}}",
  853.         "min": 0,
  854.         "max": "400",
  855.         "colors": [
  856.             "#00b500",
  857.             "#e6e600",
  858.             "#ca3838"
  859.         ],
  860.         "seg1": "",
  861.         "seg2": "",
  862.         "className": "",
  863.         "x": 1260,
  864.         "y": 1160,
  865.         "wires": []
  866.     },
  867.     {
  868.         "id": "85a670d34e40b084",
  869.         "type": "ui_text",
  870.         "z": "67b46672db338c88",
  871.         "group": "ce3549f1898bdf0b",
  872.         "order": 6,
  873.         "width": 0,
  874.         "height": 0,
  875.         "name": "Panel 4: Spannung",
  876.         "label": "Spannung",
  877.         "format": "{{msg.payload}} Volt",
  878.         "layout": "row-spread",
  879.         "className": "",
  880.         "x": 1230,
  881.         "y": 1240,
  882.         "wires": []
  883.     },
  884.     {
  885.         "id": "f6a3e3e155f0684f",
  886.         "type": "ui_text",
  887.         "z": "67b46672db338c88",
  888.         "group": "ce3549f1898bdf0b",
  889.         "order": 7,
  890.         "width": 0,
  891.         "height": 0,
  892.         "name": "Panel 4: Strom",
  893.         "label": "Strom",
  894.         "format": "{{msg.payload}} Ampere",
  895.         "layout": "row-spread",
  896.         "className": "",
  897.         "x": 1220,
  898.         "y": 1120,
  899.         "wires": []
  900.     },
  901.     {
  902.         "id": "4777aa1e61a119e3",
  903.         "type": "ui_text",
  904.         "z": "67b46672db338c88",
  905.         "group": "ce3549f1898bdf0b",
  906.         "order": 8,
  907.         "width": 0,
  908.         "height": 0,
  909.         "name": "Panel 4: Tagesproduktion",
  910.         "label": "Tagesproduktion",
  911.         "format": "{{msg.payload}} Wh",
  912.         "layout": "row-spread",
  913.         "className": "",
  914.         "x": 1250,
  915.         "y": 1280,
  916.         "wires": []
  917.     },
  918.     {
  919.         "id": "774ddfbab4253231",
  920.         "type": "ui_text",
  921.         "z": "67b46672db338c88",
  922.         "group": "8a2b7e69bc92a27a",
  923.         "order": 1,
  924.         "width": "0",
  925.         "height": "0",
  926.         "name": "",
  927.         "label": "Uptime: ",
  928.         "format": "{{msg.payload}}",
  929.         "layout": "row-spread",
  930.         "className": "",
  931.         "x": 1200,
  932.         "y": 400,
  933.         "wires": []
  934.     },
  935.     {
  936.         "id": "dd36e82b2c28f357",
  937.         "type": "switch",
  938.         "z": "67b46672db338c88",
  939.         "name": "Status Display",
  940.         "property": "topic",
  941.         "propertyType": "msg",
  942.         "rules": [
  943.             {
  944.                 "t": "cont",
  945.                 "v": "/reachable",
  946.                 "vt": "str"
  947.             },
  948.             {
  949.                 "t": "cont",
  950.                 "v": "/producing",
  951.                 "vt": "str"
  952.             },
  953.             {
  954.                 "t": "cont",
  955.                 "v": "/last_update",
  956.                 "vt": "str"
  957.             }
  958.         ],
  959.         "checkall": "true",
  960.         "repair": false,
  961.         "outputs": 3,
  962.         "x": 780,
  963.         "y": 1780,
  964.         "wires": [
  965.             [
  966.                 "9a055110d5a0a95e"
  967.             ],
  968.             [
  969.                 "be479ffc4936d189",
  970.                 "153723416ff79191"
  971.             ],
  972.             [
  973.                 "af7e46b147d1da2a"
  974.             ]
  975.         ]
  976.     },
  977.     {
  978.         "id": "9a055110d5a0a95e",
  979.         "type": "ui_led",
  980.         "z": "67b46672db338c88",
  981.         "order": 2,
  982.         "group": "2a952f6bd293d8ca",
  983.         "width": "0",
  984.         "height": "0",
  985.         "label": "Reachable",
  986.         "labelPlacement": "left",
  987.         "labelAlignment": "left",
  988.         "colorForValue": [
  989.             {
  990.                 "color": "#ff0000",
  991.                 "value": "0",
  992.                 "valueType": "num"
  993.             },
  994.             {
  995.                 "color": "#008000",
  996.                 "value": "1",
  997.                 "valueType": "num"
  998.             }
  999.         ],
  1000.         "allowColorForValueInMessage": false,
  1001.         "shape": "square",
  1002.         "showGlow": true,
  1003.         "name": "Reachable",
  1004.         "x": 1210,
  1005.         "y": 1660,
  1006.         "wires": [],
  1007.         "icon": "node-red/light.svg"
  1008.     },
  1009.     {
  1010.         "id": "be479ffc4936d189",
  1011.         "type": "ui_led",
  1012.         "z": "67b46672db338c88",
  1013.         "order": 1,
  1014.         "group": "2a952f6bd293d8ca",
  1015.         "width": "0",
  1016.         "height": "0",
  1017.         "label": "Producing",
  1018.         "labelPlacement": "left",
  1019.         "labelAlignment": "left",
  1020.         "colorForValue": [
  1021.             {
  1022.                 "color": "#ff0000",
  1023.                 "value": "0",
  1024.                 "valueType": "num"
  1025.             },
  1026.             {
  1027.                 "color": "#008000",
  1028.                 "value": "1",
  1029.                 "valueType": "num"
  1030.             }
  1031.         ],
  1032.         "allowColorForValueInMessage": false,
  1033.         "shape": "square",
  1034.         "showGlow": true,
  1035.         "name": "Producing",
  1036.         "x": 1200,
  1037.         "y": 1760,
  1038.         "wires": [],
  1039.         "icon": "node-red/alert.svg"
  1040.     },
  1041.     {
  1042.         "id": "f2a7318464db2f10",
  1043.         "type": "debug",
  1044.         "z": "67b46672db338c88",
  1045.         "name": "",
  1046.         "active": true,
  1047.         "tosidebar": false,
  1048.         "console": false,
  1049.         "tostatus": true,
  1050.         "complete": "payload",
  1051.         "targetType": "msg",
  1052.         "statusVal": "payload",
  1053.         "statusType": "auto",
  1054.         "x": 1210,
  1055.         "y": 1880,
  1056.         "wires": []
  1057.     },
  1058.     {
  1059.         "id": "551d18d5e0a9f085",
  1060.         "type": "moment",
  1061.         "z": "67b46672db338c88",
  1062.         "name": "",
  1063.         "topic": "",
  1064.         "input": "payload",
  1065.         "inputType": "msg",
  1066.         "inTz": "ETC/GMT",
  1067.         "adjAmount": "0",
  1068.         "adjType": "hours",
  1069.         "adjDir": "subtract",
  1070.         "format": "dd DD. MMMM YYYY HH:mm:ss ",
  1071.         "locale": "de_DE",
  1072.         "output": "",
  1073.         "outputType": "msg",
  1074.         "outTz": "Europe/Berlin",
  1075.         "x": 1160,
  1076.         "y": 1840,
  1077.         "wires": [
  1078.             [
  1079.                 "f2a7318464db2f10",
  1080.                 "9d372935bfd1ab7a"
  1081.             ]
  1082.         ]
  1083.     },
  1084.     {
  1085.         "id": "9d372935bfd1ab7a",
  1086.         "type": "ui_text",
  1087.         "z": "67b46672db338c88",
  1088.         "group": "2a952f6bd293d8ca",
  1089.         "order": 4,
  1090.         "width": "4",
  1091.         "height": 2,
  1092.         "name": "Last Update",
  1093.         "label": "last update",
  1094.         "format": "{{msg.payload}}",
  1095.         "layout": "col-center",
  1096.         "className": "",
  1097.         "x": 1210,
  1098.         "y": 1800,
  1099.         "wires": []
  1100.     },
  1101.     {
  1102.         "id": "af7e46b147d1da2a",
  1103.         "type": "function",
  1104.         "z": "67b46672db338c88",
  1105.         "name": "Convert to ms",
  1106.         "func": "var DateTime = msg.payload * 1000;\nreturn {payload:DateTime};",
  1107.         "outputs": 1,
  1108.         "noerr": 0,
  1109.         "initialize": "",
  1110.         "finalize": "",
  1111.         "libs": [],
  1112.         "x": 960,
  1113.         "y": 1840,
  1114.         "wires": [
  1115.             [
  1116.                 "551d18d5e0a9f085"
  1117.             ]
  1118.         ]
  1119.     },
  1120.     {
  1121.         "id": "81fd6527fef968bd",
  1122.         "type": "function",
  1123.         "z": "67b46672db338c88",
  1124.         "name": "Convert to \"h m s\"",
  1125.         "func": "var seconds = msg.payload;\nvar h = Math.floor(seconds / (60 * 60));\nvar m = Math.floor(seconds % (60 * 60) / 60);\nvar s = Math.floor(seconds % 60 / 1);\nvar hms = h + \"h \" + m + \"m \" + s + \"s\";\n\nnode.status({\n    fill: \"blue\", shape: \"ring\", text: \"Uptime: \" + hms\n});\n\nreturn {payload:hms};",
  1126.         "outputs": 1,
  1127.         "noerr": 0,
  1128.         "initialize": "",
  1129.         "finalize": "",
  1130.         "libs": [],
  1131.         "x": 1030,
  1132.         "y": 400,
  1133.         "wires": [
  1134.             [
  1135.                 "774ddfbab4253231"
  1136.             ]
  1137.         ]
  1138.     },
  1139.     {
  1140.         "id": "708616d4e74aa85e",
  1141.         "type": "function",
  1142.         "z": "67b46672db338c88",
  1143.         "name": "round up",
  1144.         "func": "var kWh = msg.payload;\nvar kWh1 = parseFloat(kWh.toFixed(1));\nreturn {payload:kWh1};",
  1145.         "outputs": 1,
  1146.         "noerr": 0,
  1147.         "initialize": "",
  1148.         "finalize": "",
  1149.         "libs": [],
  1150.         "x": 1080,
  1151.         "y": 1620,
  1152.         "wires": [
  1153.             [
  1154.                 "49067a2d23f31022"
  1155.             ]
  1156.         ]
  1157.     },
  1158.     {
  1159.         "id": "a41f365b540aab2e",
  1160.         "type": "comment",
  1161.         "z": "67b46672db338c88",
  1162.         "name": "Dashboard DTU 1: GS",
  1163.         "info": "",
  1164.         "x": 160,
  1165.         "y": 200,
  1166.         "wires": []
  1167.     },
  1168.     {
  1169.         "id": "3ed472415d59252f",
  1170.         "type": "comment",
  1171.         "z": "67b46672db338c88",
  1172.         "name": "Dashboard Panel 1 - 4",
  1173.         "info": "",
  1174.         "x": 160,
  1175.         "y": 580,
  1176.         "wires": []
  1177.     },
  1178.     {
  1179.         "id": "288b23a279db5e93",
  1180.         "type": "comment",
  1181.         "z": "67b46672db338c88",
  1182.         "name": "Dashboard BKW1: HM-1500 GS",
  1183.         "info": "",
  1184.         "x": 170,
  1185.         "y": 1520,
  1186.         "wires": []
  1187.     },
  1188.     {
  1189.         "id": "9b311c3f11b2edab",
  1190.         "type": "comment",
  1191.         "z": "67b46672db338c88",
  1192.         "name": "Dashboard WR-Status",
  1193.         "info": "",
  1194.         "x": 160,
  1195.         "y": 1720,
  1196.         "wires": []
  1197.     },
  1198.     {
  1199.         "id": "bf81db276f9dc887",
  1200.         "type": "link out",
  1201.         "z": "67b46672db338c88",
  1202.         "name": "Open-DTU-WR-2-Out",
  1203.         "mode": "link",
  1204.         "links": [
  1205.             "2b68ad87487c88dc"
  1206.         ],
  1207.         "x": 685,
  1208.         "y": 900,
  1209.         "wires": []
  1210.     },
  1211.     {
  1212.         "id": "17a4c555694b5d00",
  1213.         "type": "join",
  1214.         "z": "67b46672db338c88",
  1215.         "name": "",
  1216.         "mode": "custom",
  1217.         "build": "object",
  1218.         "property": "payload",
  1219.         "propertyType": "msg",
  1220.         "key": "topic",
  1221.         "joiner": "\\n",
  1222.         "joinerType": "str",
  1223.         "accumulate": false,
  1224.         "timeout": "3",
  1225.         "count": "",
  1226.         "reduceRight": false,
  1227.         "reduceExp": "",
  1228.         "reduceInit": "",
  1229.         "reduceInitType": "",
  1230.         "reduceFixup": "",
  1231.         "x": 270,
  1232.         "y": 1120,
  1233.         "wires": [
  1234.             [
  1235.                 "4a876dd3052e804d",
  1236.                 "ee70914d74c5b307"
  1237.             ]
  1238.         ]
  1239.     },
  1240.     {
  1241.         "id": "4de39906772d3736",
  1242.         "type": "function",
  1243.         "z": "67b46672db338c88",
  1244.         "name": "function 2",
  1245.         "func": "// /home/JW/solar/116162810751/0/yieldtotal -> 0yieldtotal\n// /home/JW/solar/116162810751/4/power -> 4power\nvar words = msg.topic.split('/');\nvar Serial = (words[4]);\nvar Panel = (words[5]);\nvar FieldName = (words[6]);\nFieldName = FieldName + Panel ;\nmsg.topic=FieldName;\nmsg.Serial= Serial;\nreturn msg;",
  1246.         "outputs": 1,
  1247.         "noerr": 0,
  1248.         "initialize": "",
  1249.         "finalize": "",
  1250.         "libs": [],
  1251.         "x": 260,
  1252.         "y": 1060,
  1253.         "wires": [
  1254.             [
  1255.                 "17a4c555694b5d00",
  1256.                 "b7d52756a7f01d12"
  1257.             ]
  1258.         ]
  1259.     },
  1260.     {
  1261.         "id": "4a876dd3052e804d",
  1262.         "type": "function",
  1263.         "z": "67b46672db338c88",
  1264.         "name": "function 3",
  1265.         "func": "var Serial = msg.Serial;\n\nvar power0 = msg.payload.power0;\nvar power1 = msg.payload.power1;\nvar power2 = msg.payload.power2;\nvar power3 = msg.payload.power3;\nvar power4 = msg.payload.power4;\n\nvar yieldday0 = msg.payload.yieldday0;\nvar yieldday1 = msg.payload.yieldday1;\nvar yieldday2 = msg.payload.yieldday2;\nvar yieldday3 = msg.payload.yieldday3;\nvar yieldday4 = msg.payload.yieldday4;\n\nvar yieldtotal0 = msg.payload.yieldtotal0;\nvar yieldtotal1 = msg.payload.yieldtotal1;\nvar yieldtotal2 = msg.payload.yieldtotal2;\nvar yieldtotal3 = msg.payload.yieldtotal3;\nvar yieldtotal4 = msg.payload.yieldtotal4;\n\nvar voltage0 = msg.payload.voltage0;\nvar voltage1 = msg.payload.voltage1;\nvar voltage2 = msg.payload.voltage2;\nvar voltage3 = msg.payload.voltage3;\nvar voltage4 = msg.payload.voltage4;\n\nvar current0 = msg.payload.current0;\nvar current1 = msg.payload.current1;\nvar current2 = msg.payload.current2;\nvar current3 = msg.payload.current3;\nvar current4 = msg.payload.current4;\n\n// Values from WR only (output to Grid)\nvar Temp = msg.payload.temperature0;\nvar Voltage = msg.payload.voltage0;\nvar Freq = msg.payload.frequency0;\n\nvar Influx = [{\n    Serial: Serial,\n\n    Power0: power0,\n    Power1: power1,\n    Power2: power2,\n    Power3: power3,\n    Power4: power4,\n\n    YieldDay0: yieldday0,\n    YieldDay1: yieldday1,\n    YieldDay2: yieldday2,\n    YieldDay3: yieldday3,\n    YieldDay4: yieldday4,\n\n    YieldTotal0: yieldtotal0,\n    YieldTotal1: yieldtotal1,\n    YieldTotal2: yieldtotal2,\n    YieldTotal3: yieldtotal3,\n    YieldTotal4: yieldtotal4,\n\n    Voltage0: voltage0,\n    Voltage1: voltage1,\n    Voltage2: voltage2,\n    Voltage3: voltage3,\n    Voltage4: voltage4,\n\n    Current0: current0,\n    Current1: current1,\n    Current2: current2,\n    Current3: current3,\n    Current4: current4,\n\n    Temp: Temp,\n    Voltage: Voltage,\n    Freq: Freq\n\n}]\n\nnode.status({\n    fill: \"blue\", shape: \"ring\", text: Serial + \" \"\n});\n\nvar Influx1 = { payload: Influx };\nvar time = Date.now();\nvar Time1 = { payload: time };\n\nreturn [Influx1, Time1];\n\n",
  1266.         "outputs": 2,
  1267.         "noerr": 0,
  1268.         "initialize": "",
  1269.         "finalize": "",
  1270.         "libs": [],
  1271.         "x": 260,
  1272.         "y": 1180,
  1273.         "wires": [
  1274.             [
  1275.                 "0e5a2761cc02ce2f",
  1276.                 "021a0677dc11cef7"
  1277.             ],
  1278.             [
  1279.                 "fd4f2368225e8e13"
  1280.             ]
  1281.         ]
  1282.     },
  1283.     {
  1284.         "id": "0e5a2761cc02ce2f",
  1285.         "type": "debug",
  1286.         "z": "67b46672db338c88",
  1287.         "name": "debug 16",
  1288.         "active": false,
  1289.         "tosidebar": true,
  1290.         "console": false,
  1291.         "tostatus": false,
  1292.         "complete": "false",
  1293.         "statusVal": "",
  1294.         "statusType": "auto",
  1295.         "x": 460,
  1296.         "y": 1160,
  1297.         "wires": []
  1298.     },
  1299.     {
  1300.         "id": "021a0677dc11cef7",
  1301.         "type": "link out",
  1302.         "z": "67b46672db338c88",
  1303.         "name": "WR-1-Influx-Out",
  1304.         "mode": "link",
  1305.         "links": [
  1306.             "33ccdd9af5d41741"
  1307.         ],
  1308.         "x": 415,
  1309.         "y": 1200,
  1310.         "wires": []
  1311.     },
  1312.     {
  1313.         "id": "b7d52756a7f01d12",
  1314.         "type": "debug",
  1315.         "z": "67b46672db338c88",
  1316.         "name": "debug 17",
  1317.         "active": false,
  1318.         "tosidebar": true,
  1319.         "console": false,
  1320.         "tostatus": false,
  1321.         "complete": "true",
  1322.         "targetType": "full",
  1323.         "statusVal": "",
  1324.         "statusType": "auto",
  1325.         "x": 460,
  1326.         "y": 1000,
  1327.         "wires": []
  1328.     },
  1329.     {
  1330.         "id": "ee70914d74c5b307",
  1331.         "type": "debug",
  1332.         "z": "67b46672db338c88",
  1333.         "name": "debug 18",
  1334.         "active": false,
  1335.         "tosidebar": true,
  1336.         "console": false,
  1337.         "tostatus": false,
  1338.         "complete": "payload",
  1339.         "targetType": "msg",
  1340.         "statusVal": "",
  1341.         "statusType": "auto",
  1342.         "x": 460,
  1343.         "y": 1080,
  1344.         "wires": []
  1345.     },
  1346.     {
  1347.         "id": "1dd479370234a46e",
  1348.         "type": "join",
  1349.         "z": "67b46672db338c88",
  1350.         "name": "",
  1351.         "mode": "custom",
  1352.         "build": "object",
  1353.         "property": "payload",
  1354.         "propertyType": "msg",
  1355.         "key": "topic",
  1356.         "joiner": "\\n",
  1357.         "joinerType": "str",
  1358.         "accumulate": false,
  1359.         "timeout": "3",
  1360.         "count": "",
  1361.         "reduceRight": false,
  1362.         "reduceExp": "",
  1363.         "reduceInit": "",
  1364.         "reduceInitType": "",
  1365.         "reduceFixup": "",
  1366.         "x": 750,
  1367.         "y": 1120,
  1368.         "wires": [
  1369.             [
  1370.                 "43c6426e3b12901c",
  1371.                 "6a469cbaba841203"
  1372.             ]
  1373.         ]
  1374.     },
  1375.     {
  1376.         "id": "d03113ef9277bbcc",
  1377.         "type": "function",
  1378.         "z": "67b46672db338c88",
  1379.         "name": "function 4",
  1380.         "func": "// /home/JW/solar/116162810751/0/yieldtotal -> 0yieldtotal\n// /home/JW/solar/116162810751/4/power -> 4power\nvar words = msg.topic.split('/');\nvar Serial = (words[4]);\nvar Panel = (words[5]);\nvar FieldName = (words[6]);\nFieldName = FieldName + Panel;\nmsg.topic = FieldName;\nmsg.Serial = Serial;\nreturn msg;",
  1381.         "outputs": 1,
  1382.         "noerr": 0,
  1383.         "initialize": "",
  1384.         "finalize": "",
  1385.         "libs": [],
  1386.         "x": 740,
  1387.         "y": 1060,
  1388.         "wires": [
  1389.             [
  1390.                 "1dd479370234a46e",
  1391.                 "490bccec8509d8b8"
  1392.             ]
  1393.         ]
  1394.     },
  1395.     {
  1396.         "id": "43c6426e3b12901c",
  1397.         "type": "function",
  1398.         "z": "67b46672db338c88",
  1399.         "name": "function 5",
  1400.         "func": "var Serial = msg.Serial;\n\nvar power0 = msg.payload.power0;\nvar power1 = msg.payload.power1;\nvar power2 = msg.payload.power2;\nvar power3 = msg.payload.power3;\nvar power4 = msg.payload.power4;\n\nvar yieldday0 = msg.payload.yieldday0;\nvar yieldday1 = msg.payload.yieldday1;\nvar yieldday2 = msg.payload.yieldday2;\nvar yieldday3 = msg.payload.yieldday3;\nvar yieldday4 = msg.payload.yieldday4;\n\nvar yieldtotal0 = msg.payload.yieldtotal0;\nvar yieldtotal1 = msg.payload.yieldtotal1;\nvar yieldtotal2 = msg.payload.yieldtotal2;\nvar yieldtotal3 = msg.payload.yieldtotal3;\nvar yieldtotal4 = msg.payload.yieldtotal4;\n\nvar voltage0 = msg.payload.voltage0;\nvar voltage1 = msg.payload.voltage1;\nvar voltage2 = msg.payload.voltage2;\nvar voltage3 = msg.payload.voltage3;\nvar voltage4 = msg.payload.voltage4;\n\nvar current0 = msg.payload.current0;\nvar current1 = msg.payload.current1;\nvar current2 = msg.payload.current2;\nvar current3 = msg.payload.current3;\nvar current4 = msg.payload.current4;\n\n// Values from WR only (output to Grid)\nvar Temp = msg.payload.temperature0;\nvar Voltage = msg.payload.voltage0;\nvar Freq = msg.payload.frequency0;\n\nvar Influx = [{\n    Serial: Serial,\n\n    Power0: power0,\n    Power1: power1,\n    Power2: power2,\n    Power3: power3,\n    Power4: power4,\n\n    YieldDay0: yieldday0,\n    YieldDay1: yieldday1,\n    YieldDay2: yieldday2,\n    YieldDay3: yieldday3,\n    YieldDay4: yieldday4,\n\n    YieldTotal0: yieldtotal0,\n    YieldTotal1: yieldtotal1,\n    YieldTotal2: yieldtotal2,\n    YieldTotal3: yieldtotal3,\n    YieldTotal4: yieldtotal4,\n\n    Voltage0: voltage0,\n    Voltage1: voltage1,\n    Voltage2: voltage2,\n    Voltage3: voltage3,\n    Voltage4: voltage4,\n\n    Current0: current0,\n    Current1: current1,\n    Current2: current2,\n    Current3: current3,\n    Current4: current4,\n\n    Temp: Temp,\n    Voltage: Voltage,\n    Freq: Freq\n\n}]\n\nnode.status({\n    fill: \"blue\", shape: \"ring\", text: Serial + \" \"\n});\n\nvar Influx1 = { payload: Influx };\nvar time = Date.now();\nvar Time1 = { payload: time };\n\nreturn [Influx1, Time1];\n\n",
  1401.         "outputs": 2,
  1402.         "noerr": 0,
  1403.         "initialize": "",
  1404.         "finalize": "",
  1405.         "libs": [],
  1406.         "x": 740,
  1407.         "y": 1180,
  1408.         "wires": [
  1409.             [
  1410.                 "173bc3bef4216221",
  1411.                 "02bc127bc7371a0f"
  1412.             ],
  1413.             [
  1414.                 "4dd518daec4282be"
  1415.             ]
  1416.         ]
  1417.     },
  1418.     {
  1419.         "id": "173bc3bef4216221",
  1420.         "type": "debug",
  1421.         "z": "67b46672db338c88",
  1422.         "name": "Influx-DB-Out",
  1423.         "active": false,
  1424.         "tosidebar": true,
  1425.         "console": false,
  1426.         "tostatus": false,
  1427.         "complete": "payload",
  1428.         "targetType": "msg",
  1429.         "statusVal": "",
  1430.         "statusType": "auto",
  1431.         "x": 940,
  1432.         "y": 1160,
  1433.         "wires": []
  1434.     },
  1435.     {
  1436.         "id": "02bc127bc7371a0f",
  1437.         "type": "link out",
  1438.         "z": "67b46672db338c88",
  1439.         "name": "WR-2-Influx-Out",
  1440.         "mode": "link",
  1441.         "links": [
  1442.             "33ccdd9af5d41741"
  1443.         ],
  1444.         "x": 885,
  1445.         "y": 1200,
  1446.         "wires": []
  1447.     },
  1448.     {
  1449.         "id": "490bccec8509d8b8",
  1450.         "type": "debug",
  1451.         "z": "67b46672db338c88",
  1452.         "name": "debug 20",
  1453.         "active": false,
  1454.         "tosidebar": true,
  1455.         "console": false,
  1456.         "tostatus": false,
  1457.         "complete": "true",
  1458.         "targetType": "full",
  1459.         "statusVal": "",
  1460.         "statusType": "auto",
  1461.         "x": 920,
  1462.         "y": 1020,
  1463.         "wires": []
  1464.     },
  1465.     {
  1466.         "id": "6a469cbaba841203",
  1467.         "type": "debug",
  1468.         "z": "67b46672db338c88",
  1469.         "name": "debug 21",
  1470.         "active": false,
  1471.         "tosidebar": true,
  1472.         "console": false,
  1473.         "tostatus": false,
  1474.         "complete": "true",
  1475.         "targetType": "full",
  1476.         "statusVal": "",
  1477.         "statusType": "auto",
  1478.         "x": 920,
  1479.         "y": 1080,
  1480.         "wires": []
  1481.     },
  1482.     {
  1483.         "id": "153723416ff79191",
  1484.         "type": "function",
  1485.         "z": "67b46672db338c88",
  1486.         "name": "Store \"Producing\" as Global Variable",
  1487.         "func": "var Producing = msg.payload;\nglobal.set(\"WR1-Producing\", Producing)\n\nnode.status({\n    fill: \"blue\", shape: \"ring\", text: \"Producing: \"+ Producing\n});\n\nreturn msg;",
  1488.         "outputs": 1,
  1489.         "noerr": 0,
  1490.         "initialize": "",
  1491.         "finalize": "",
  1492.         "libs": [],
  1493.         "x": 1290,
  1494.         "y": 1700,
  1495.         "wires": [
  1496.             []
  1497.         ]
  1498.     },
  1499.     {
  1500.         "id": "8654a9845731a2a8",
  1501.         "type": "switch",
  1502.         "z": "67b46672db338c88",
  1503.         "name": "",
  1504.         "property": "WR1-Producing",
  1505.         "propertyType": "global",
  1506.         "rules": [
  1507.             {
  1508.                 "t": "eq",
  1509.                 "v": "1",
  1510.                 "vt": "num"
  1511.             }
  1512.         ],
  1513.         "checkall": "true",
  1514.         "repair": false,
  1515.         "outputs": 1,
  1516.         "x": 270,
  1517.         "y": 1000,
  1518.         "wires": [
  1519.             [
  1520.                 "4de39906772d3736"
  1521.             ]
  1522.         ]
  1523.     },
  1524.     {
  1525.         "id": "8235fbcdd150b8c9",
  1526.         "type": "switch",
  1527.         "z": "67b46672db338c88",
  1528.         "name": "",
  1529.         "property": "WR1-Producing",
  1530.         "propertyType": "global",
  1531.         "rules": [
  1532.             {
  1533.                 "t": "eq",
  1534.                 "v": "1",
  1535.                 "vt": "str"
  1536.             }
  1537.         ],
  1538.         "checkall": "true",
  1539.         "repair": false,
  1540.         "outputs": 1,
  1541.         "x": 730,
  1542.         "y": 1000,
  1543.         "wires": [
  1544.             [
  1545.                 "d03113ef9277bbcc"
  1546.             ]
  1547.         ]
  1548.     },
  1549.     {
  1550.         "id": "fd4f2368225e8e13",
  1551.         "type": "moment",
  1552.         "z": "67b46672db338c88",
  1553.         "name": "",
  1554.         "topic": "",
  1555.         "input": "payload",
  1556.         "inputType": "msg",
  1557.         "inTz": "ETC/GMT",
  1558.         "adjAmount": "0",
  1559.         "adjType": "hours",
  1560.         "adjDir": "subtract",
  1561.         "format": "dd DD. MMMM YYYY HH:mm:ss ",
  1562.         "locale": "de_DE",
  1563.         "output": "",
  1564.         "outputType": "msg",
  1565.         "outTz": "Europe/Berlin",
  1566.         "x": 500,
  1567.         "y": 1240,
  1568.         "wires": [
  1569.             [
  1570.                 "24c162118cc9b596"
  1571.             ]
  1572.         ]
  1573.     },
  1574.     {
  1575.         "id": "24c162118cc9b596",
  1576.         "type": "debug",
  1577.         "z": "67b46672db338c88",
  1578.         "name": "",
  1579.         "active": false,
  1580.         "tosidebar": true,
  1581.         "console": false,
  1582.         "tostatus": true,
  1583.         "complete": "payload",
  1584.         "targetType": "msg",
  1585.         "statusVal": "payload",
  1586.         "statusType": "auto",
  1587.         "x": 470,
  1588.         "y": 1280,
  1589.         "wires": []
  1590.     },
  1591.     {
  1592.         "id": "4dd518daec4282be",
  1593.         "type": "moment",
  1594.         "z": "67b46672db338c88",
  1595.         "name": "",
  1596.         "topic": "",
  1597.         "input": "payload",
  1598.         "inputType": "msg",
  1599.         "inTz": "ETC/GMT",
  1600.         "adjAmount": "0",
  1601.         "adjType": "hours",
  1602.         "adjDir": "subtract",
  1603.         "format": "dd DD. MMMM YYYY HH:mm:ss ",
  1604.         "locale": "de_DE",
  1605.         "output": "",
  1606.         "outputType": "msg",
  1607.         "outTz": "Europe/Berlin",
  1608.         "x": 960,
  1609.         "y": 1240,
  1610.         "wires": [
  1611.             [
  1612.                 "f756a4e84b28890f"
  1613.             ]
  1614.         ]
  1615.     },
  1616.     {
  1617.         "id": "f756a4e84b28890f",
  1618.         "type": "debug",
  1619.         "z": "67b46672db338c88",
  1620.         "name": "",
  1621.         "active": false,
  1622.         "tosidebar": true,
  1623.         "console": false,
  1624.         "tostatus": true,
  1625.         "complete": "payload",
  1626.         "targetType": "msg",
  1627.         "statusVal": "payload",
  1628.         "statusType": "auto",
  1629.         "x": 930,
  1630.         "y": 1280,
  1631.         "wires": []
  1632.     },
  1633.     {
  1634.         "id": "7c9e67f106d6c33f",
  1635.         "type": "influxdb out",
  1636.         "z": "67b46672db338c88",
  1637.         "influxdb": "5eb30425.ba7dbc",
  1638.         "name": "JW (local)",
  1639.         "measurement": "Werte",
  1640.         "precision": "",
  1641.         "retentionPolicy": "",
  1642.         "database": "",
  1643.         "retentionPolicyV18Flux": "",
  1644.         "org": "",
  1645.         "bucket": "",
  1646.         "x": 820,
  1647.         "y": 60,
  1648.         "wires": []
  1649.     },
  1650.     {
  1651.         "id": "33ccdd9af5d41741",
  1652.         "type": "link in",
  1653.         "z": "67b46672db338c88",
  1654.         "name": "Influx-All-In",
  1655.         "links": [
  1656.             "e9ebc005ec9d3a49",
  1657.             "6df4b532721b259e",
  1658.             "3b2fe42d8352705c",
  1659.             "b57b6d6933cc9b82",
  1660.             "15deadbca4d5b209",
  1661.             "021a0677dc11cef7",
  1662.             "02bc127bc7371a0f"
  1663.         ],
  1664.         "x": 605,
  1665.         "y": 60,
  1666.         "wires": [
  1667.             [
  1668.                 "7c9e67f106d6c33f"
  1669.             ]
  1670.         ]
  1671.     },
  1672.     {
  1673.         "id": "706f124bcaf5c0ad",
  1674.         "type": "comment",
  1675.         "z": "67b46672db338c88",
  1676.         "name": "write to Influx DB",
  1677.         "info": "",
  1678.         "x": 140,
  1679.         "y": 60,
  1680.         "wires": []
  1681.     },
  1682.     {
  1683.         "id": "1aee3213a7893e0e",
  1684.         "type": "mqtt-broker",
  1685.         "name": "",
  1686.         "broker": "192.168.123.16",
  1687.         "port": "1883",
  1688.         "clientid": "",
  1689.         "autoConnect": true,
  1690.         "usetls": false,
  1691.         "protocolVersion": "4",
  1692.         "keepalive": "60",
  1693.         "cleansession": true,
  1694.         "autoUnsubscribe": true,
  1695.         "birthTopic": "",
  1696.         "birthQos": "0",
  1697.         "birthPayload": "",
  1698.         "birthMsg": {},
  1699.         "closeTopic": "",
  1700.         "closeQos": "0",
  1701.         "closePayload": "",
  1702.         "closeMsg": {},
  1703.         "willTopic": "",
  1704.         "willQos": "0",
  1705.         "willPayload": "",
  1706.         "willMsg": {},
  1707.         "userProps": "",
  1708.         "sessionExpiry": ""
  1709.     },
  1710.     {
  1711.         "id": "459aaa63cf88a451",
  1712.         "type": "ui_group",
  1713.         "name": "BKW: HM-1500 GS-WR-1",
  1714.         "tab": "e7a466ecbe93e634",
  1715.         "order": 3,
  1716.         "disp": true,
  1717.         "width": "5",
  1718.         "collapse": false,
  1719.         "className": ""
  1720.     },
  1721.     {
  1722.         "id": "110d22d6abec3911",
  1723.         "type": "ui_group",
  1724.         "name": "Panel 1 + 2-WR-1",
  1725.         "tab": "e7a466ecbe93e634",
  1726.         "order": 4,
  1727.         "disp": true,
  1728.         "width": "4",
  1729.         "collapse": false,
  1730.         "className": ""
  1731.     },
  1732.     {
  1733.         "id": "8a2b7e69bc92a27a",
  1734.         "type": "ui_group",
  1735.         "name": "DTU: GS-WR-1",
  1736.         "tab": "e7a466ecbe93e634",
  1737.         "order": 1,
  1738.         "disp": true,
  1739.         "width": "5",
  1740.         "collapse": false,
  1741.         "className": ""
  1742.     },
  1743.     {
  1744.         "id": "ce3549f1898bdf0b",
  1745.         "type": "ui_group",
  1746.         "name": "Panel 3 + 4-WR-1",
  1747.         "tab": "e7a466ecbe93e634",
  1748.         "order": 5,
  1749.         "disp": true,
  1750.         "width": "4",
  1751.         "collapse": false,
  1752.         "className": ""
  1753.     },
  1754.     {
  1755.         "id": "2a952f6bd293d8ca",
  1756.         "type": "ui_group",
  1757.         "name": "WR-Status-WR-1",
  1758.         "tab": "e7a466ecbe93e634",
  1759.         "order": 2,
  1760.         "disp": true,
  1761.         "width": "4",
  1762.         "collapse": false,
  1763.         "className": ""
  1764.     },
  1765.     {
  1766.         "id": "5eb30425.ba7dbc",
  1767.         "type": "influxdb",
  1768.         "hostname": "192.168.178.4",
  1769.         "port": "8086",
  1770.         "protocol": "http",
  1771.         "database": "JW01",
  1772.         "name": "JW01",
  1773.         "usetls": false,
  1774.         "tls": "",
  1775.         "influxdbVersion": "1.x",
  1776.         "url": "",
  1777.         "rejectUnauthorized": false
  1778.     },
  1779.     {
  1780.         "id": "e7a466ecbe93e634",
  1781.         "type": "ui_tab",
  1782.         "name": "Solardaten WR-1",
  1783.         "icon": "dashboard",
  1784.         "order": 1,
  1785.         "disabled": false,
  1786.         "hidden": false
  1787.     }
  1788. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement