Advertisement
NittyGritty

Open-DTU-1-WR-2

May 22nd, 2024
1,239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 23.97 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "8fdbc9a20ac31f93",
  4.         "type": "tab",
  5.         "label": "Open-DTU-1-WR-2",
  6.         "disabled": false,
  7.         "info": "",
  8.         "env": []
  9.     },
  10.     {
  11.         "id": "0a66a060fe69f8eb",
  12.         "type": "switch",
  13.         "z": "8fdbc9a20ac31f93",
  14.         "name": "Wechselspannungsseite: BKW 1",
  15.         "property": "topic",
  16.         "propertyType": "msg",
  17.         "rules": [
  18.             {
  19.                 "t": "cont",
  20.                 "v": "/0/current",
  21.                 "vt": "str"
  22.             },
  23.             {
  24.                 "t": "cont",
  25.                 "v": "/0/efficiency",
  26.                 "vt": "str"
  27.             },
  28.             {
  29.                 "t": "cont",
  30.                 "v": "/0/frequency",
  31.                 "vt": "str"
  32.             },
  33.             {
  34.                 "t": "regex",
  35.                 "v": "/0/power$",
  36.                 "vt": "str",
  37.                 "case": false
  38.             },
  39.             {
  40.                 "t": "cont",
  41.                 "v": "/0/powerdc",
  42.                 "vt": "str"
  43.             },
  44.             {
  45.                 "t": "cont",
  46.                 "v": "/0/powerfactor",
  47.                 "vt": "str"
  48.             },
  49.             {
  50.                 "t": "cont",
  51.                 "v": "/0/reactivepower",
  52.                 "vt": "str"
  53.             },
  54.             {
  55.                 "t": "cont",
  56.                 "v": "/0/temperature",
  57.                 "vt": "str"
  58.             },
  59.             {
  60.                 "t": "cont",
  61.                 "v": "/0/voltage",
  62.                 "vt": "str"
  63.             },
  64.             {
  65.                 "t": "cont",
  66.                 "v": "/0/yieldday",
  67.                 "vt": "str"
  68.             },
  69.             {
  70.                 "t": "cont",
  71.                 "v": "/0/yieldtotal",
  72.                 "vt": "str"
  73.             }
  74.         ],
  75.         "checkall": "true",
  76.         "repair": false,
  77.         "outputs": 11,
  78.         "x": 830,
  79.         "y": 1080,
  80.         "wires": [
  81.             [],
  82.             [],
  83.             [],
  84.             [
  85.                 "e3f365f1233c76dc",
  86.                 "3666cd03a9b93807"
  87.             ],
  88.             [],
  89.             [],
  90.             [],
  91.             [],
  92.             [],
  93.             [
  94.                 "80a86a849c2a68c8"
  95.             ],
  96.             [
  97.                 "07f5fb1168c855ad"
  98.             ]
  99.         ]
  100.     },
  101.     {
  102.         "id": "4d63897c881f6034",
  103.         "type": "switch",
  104.         "z": "8fdbc9a20ac31f93",
  105.         "name": "Moduldaten: BKW 1",
  106.         "property": "topic",
  107.         "propertyType": "msg",
  108.         "rules": [
  109.             {
  110.                 "t": "cont",
  111.                 "v": "/1/current",
  112.                 "vt": "str"
  113.             },
  114.             {
  115.                 "t": "cont",
  116.                 "v": "/1/power",
  117.                 "vt": "str"
  118.             },
  119.             {
  120.                 "t": "cont",
  121.                 "v": "/1/voltage",
  122.                 "vt": "str"
  123.             },
  124.             {
  125.                 "t": "cont",
  126.                 "v": "/1/yieldday",
  127.                 "vt": "str"
  128.             },
  129.             {
  130.                 "t": "cont",
  131.                 "v": "/1/yieldtotal",
  132.                 "vt": "str"
  133.             },
  134.             {
  135.                 "t": "cont",
  136.                 "v": "/2/current",
  137.                 "vt": "str"
  138.             },
  139.             {
  140.                 "t": "cont",
  141.                 "v": "/2/power",
  142.                 "vt": "str"
  143.             },
  144.             {
  145.                 "t": "cont",
  146.                 "v": "/2/voltage",
  147.                 "vt": "str"
  148.             },
  149.             {
  150.                 "t": "cont",
  151.                 "v": "/2/yieldday",
  152.                 "vt": "str"
  153.             },
  154.             {
  155.                 "t": "cont",
  156.                 "v": "/2/yieldtotal",
  157.                 "vt": "str"
  158.             },
  159.             {
  160.                 "t": "cont",
  161.                 "v": "/3/current",
  162.                 "vt": "str"
  163.             },
  164.             {
  165.                 "t": "cont",
  166.                 "v": "/3/power",
  167.                 "vt": "str"
  168.             },
  169.             {
  170.                 "t": "cont",
  171.                 "v": "/3/voltage",
  172.                 "vt": "str"
  173.             },
  174.             {
  175.                 "t": "cont",
  176.                 "v": "/3/yieldday",
  177.                 "vt": "str"
  178.             },
  179.             {
  180.                 "t": "cont",
  181.                 "v": "/3/yieldtotal",
  182.                 "vt": "str"
  183.             },
  184.             {
  185.                 "t": "cont",
  186.                 "v": "/4/current",
  187.                 "vt": "str"
  188.             },
  189.             {
  190.                 "t": "cont",
  191.                 "v": "/4/power",
  192.                 "vt": "str"
  193.             },
  194.             {
  195.                 "t": "cont",
  196.                 "v": "/4/voltage",
  197.                 "vt": "str"
  198.             },
  199.             {
  200.                 "t": "cont",
  201.                 "v": "/4/yieldday",
  202.                 "vt": "str"
  203.             },
  204.             {
  205.                 "t": "cont",
  206.                 "v": "/4/yieldtotal",
  207.                 "vt": "str"
  208.             }
  209.         ],
  210.         "checkall": "true",
  211.         "repair": false,
  212.         "outputs": 20,
  213.         "x": 800,
  214.         "y": 380,
  215.         "wires": [
  216.             [
  217.                 "e2b1afe1279eb094"
  218.             ],
  219.             [
  220.                 "157f0f74c4911e95"
  221.             ],
  222.             [
  223.                 "349441116637c5f3"
  224.             ],
  225.             [
  226.                 "149be161f50640d5"
  227.             ],
  228.             [],
  229.             [
  230.                 "ce766e6f3b8fa6bc"
  231.             ],
  232.             [
  233.                 "39e94a2e0f7dc1c0"
  234.             ],
  235.             [
  236.                 "633b932567481264"
  237.             ],
  238.             [
  239.                 "54a8f5b6915bda89"
  240.             ],
  241.             [],
  242.             [
  243.                 "c3367eb9b789c5d2"
  244.             ],
  245.             [
  246.                 "f4062da4a8ba030b"
  247.             ],
  248.             [
  249.                 "06bc4d5d6aba989a"
  250.             ],
  251.             [
  252.                 "143f8e6ad104a6f6"
  253.             ],
  254.             [],
  255.             [
  256.                 "b23c81a505b9d96b"
  257.             ],
  258.             [
  259.                 "98381a55fc6a9efa"
  260.             ],
  261.             [
  262.                 "03175626abb08f99"
  263.             ],
  264.             [
  265.                 "9edad6c8d93a26e2"
  266.             ],
  267.             []
  268.         ]
  269.     },
  270.     {
  271.         "id": "31daa49667596ab7",
  272.         "type": "ui_text",
  273.         "z": "8fdbc9a20ac31f93",
  274.         "group": "8705e9555a6bd10f",
  275.         "order": 3,
  276.         "width": 0,
  277.         "height": 0,
  278.         "name": "",
  279.         "label": "Gesamtproduktion",
  280.         "format": "{{msg.payload}} kWh",
  281.         "layout": "row-spread",
  282.         "className": "",
  283.         "x": 1270,
  284.         "y": 1160,
  285.         "wires": []
  286.     },
  287.     {
  288.         "id": "e3f365f1233c76dc",
  289.         "type": "ui_gauge",
  290.         "z": "8fdbc9a20ac31f93",
  291.         "name": "",
  292.         "group": "8705e9555a6bd10f",
  293.         "order": 1,
  294.         "width": "0",
  295.         "height": "0",
  296.         "gtype": "gage",
  297.         "title": "Momentanleistung",
  298.         "label": "W",
  299.         "format": "{{value}}",
  300.         "min": 0,
  301.         "max": "1500",
  302.         "colors": [
  303.             "#00b500",
  304.             "#e6e600",
  305.             "#ca3838"
  306.         ],
  307.         "seg1": "",
  308.         "seg2": "",
  309.         "className": "",
  310.         "x": 1270,
  311.         "y": 1020,
  312.         "wires": []
  313.     },
  314.     {
  315.         "id": "80a86a849c2a68c8",
  316.         "type": "ui_text",
  317.         "z": "8fdbc9a20ac31f93",
  318.         "group": "8705e9555a6bd10f",
  319.         "order": 4,
  320.         "width": 0,
  321.         "height": 0,
  322.         "name": "",
  323.         "label": "Tagesproduktion",
  324.         "format": "{{msg.payload}} Wh",
  325.         "layout": "row-spread",
  326.         "className": "",
  327.         "x": 1260,
  328.         "y": 1120,
  329.         "wires": []
  330.     },
  331.     {
  332.         "id": "157f0f74c4911e95",
  333.         "type": "ui_gauge",
  334.         "z": "8fdbc9a20ac31f93",
  335.         "name": "Panel 1: Momentanleistung",
  336.         "group": "209a2a25f524853b",
  337.         "order": 1,
  338.         "width": 0,
  339.         "height": 0,
  340.         "gtype": "gage",
  341.         "title": "Momentanleistung P1",
  342.         "label": "Watt",
  343.         "format": "{{value}}",
  344.         "min": 0,
  345.         "max": "400",
  346.         "colors": [
  347.             "#00b500",
  348.             "#e6e600",
  349.             "#ca3838"
  350.         ],
  351.         "seg1": "",
  352.         "seg2": "",
  353.         "className": "",
  354.         "x": 1300,
  355.         "y": 80,
  356.         "wires": []
  357.     },
  358.     {
  359.         "id": "349441116637c5f3",
  360.         "type": "ui_text",
  361.         "z": "8fdbc9a20ac31f93",
  362.         "group": "209a2a25f524853b",
  363.         "order": 2,
  364.         "width": 0,
  365.         "height": 0,
  366.         "name": "Panel 1: Spannung",
  367.         "label": "Spannung",
  368.         "format": "{{msg.payload}} Volt",
  369.         "layout": "row-spread",
  370.         "className": "",
  371.         "x": 1270,
  372.         "y": 160,
  373.         "wires": []
  374.     },
  375.     {
  376.         "id": "e2b1afe1279eb094",
  377.         "type": "ui_text",
  378.         "z": "8fdbc9a20ac31f93",
  379.         "group": "209a2a25f524853b",
  380.         "order": 3,
  381.         "width": 0,
  382.         "height": 0,
  383.         "name": "Panel 1: Strom",
  384.         "label": "Strom",
  385.         "format": "{{msg.payload}} Ampere",
  386.         "layout": "row-spread",
  387.         "className": "",
  388.         "x": 1260,
  389.         "y": 40,
  390.         "wires": []
  391.     },
  392.     {
  393.         "id": "39e94a2e0f7dc1c0",
  394.         "type": "ui_gauge",
  395.         "z": "8fdbc9a20ac31f93",
  396.         "name": "Panel 2: Momentanleistung",
  397.         "group": "209a2a25f524853b",
  398.         "order": 6,
  399.         "width": 0,
  400.         "height": 0,
  401.         "gtype": "gage",
  402.         "title": "Momentanleistung P2",
  403.         "label": "Watt",
  404.         "format": "{{value}}",
  405.         "min": 0,
  406.         "max": "400",
  407.         "colors": [
  408.             "#00b500",
  409.             "#e6e600",
  410.             "#ca3838"
  411.         ],
  412.         "seg1": "",
  413.         "seg2": "",
  414.         "className": "",
  415.         "x": 1300,
  416.         "y": 300,
  417.         "wires": []
  418.     },
  419.     {
  420.         "id": "633b932567481264",
  421.         "type": "ui_text",
  422.         "z": "8fdbc9a20ac31f93",
  423.         "group": "209a2a25f524853b",
  424.         "order": 7,
  425.         "width": 0,
  426.         "height": 0,
  427.         "name": "Panel 2: Spannung",
  428.         "label": "Spannung",
  429.         "format": "{{msg.payload}} Volt",
  430.         "layout": "row-spread",
  431.         "className": "",
  432.         "x": 1270,
  433.         "y": 380,
  434.         "wires": []
  435.     },
  436.     {
  437.         "id": "ce766e6f3b8fa6bc",
  438.         "type": "ui_text",
  439.         "z": "8fdbc9a20ac31f93",
  440.         "group": "209a2a25f524853b",
  441.         "order": 8,
  442.         "width": 0,
  443.         "height": 0,
  444.         "name": "Panel 2: Strom",
  445.         "label": "Strom",
  446.         "format": "{{msg.payload}} Ampere",
  447.         "layout": "row-spread",
  448.         "className": "",
  449.         "x": 1260,
  450.         "y": 260,
  451.         "wires": []
  452.     },
  453.     {
  454.         "id": "149be161f50640d5",
  455.         "type": "ui_text",
  456.         "z": "8fdbc9a20ac31f93",
  457.         "group": "209a2a25f524853b",
  458.         "order": 4,
  459.         "width": 0,
  460.         "height": 0,
  461.         "name": "Panel 1: Tagesproduktion",
  462.         "label": "Tagesproduktion",
  463.         "format": "{{msg.payload}} Wh",
  464.         "layout": "row-spread",
  465.         "className": "",
  466.         "x": 1290,
  467.         "y": 200,
  468.         "wires": []
  469.     },
  470.     {
  471.         "id": "54a8f5b6915bda89",
  472.         "type": "ui_text",
  473.         "z": "8fdbc9a20ac31f93",
  474.         "group": "209a2a25f524853b",
  475.         "order": 9,
  476.         "width": 0,
  477.         "height": 0,
  478.         "name": "Panel 2: Tagesproduktion",
  479.         "label": "Tagesproduktion",
  480.         "format": "{{msg.payload}} Wh",
  481.         "layout": "row-spread",
  482.         "className": "",
  483.         "x": 1290,
  484.         "y": 420,
  485.         "wires": []
  486.     },
  487.     {
  488.         "id": "3666cd03a9b93807",
  489.         "type": "ui_chart",
  490.         "z": "8fdbc9a20ac31f93",
  491.         "name": "",
  492.         "group": "8705e9555a6bd10f",
  493.         "order": 2,
  494.         "width": 0,
  495.         "height": 0,
  496.         "label": "Leistungsverlauf",
  497.         "chartType": "line",
  498.         "legend": "false",
  499.         "xformat": "HH:mm:ss",
  500.         "interpolate": "linear",
  501.         "nodata": "",
  502.         "dot": false,
  503.         "ymin": "0",
  504.         "ymax": "1600",
  505.         "removeOlder": "12",
  506.         "removeOlderPoints": "",
  507.         "removeOlderUnit": "3600",
  508.         "cutout": 0,
  509.         "useOneColor": false,
  510.         "useUTC": false,
  511.         "colors": [
  512.             "#1f77b4",
  513.             "#aec7e8",
  514.             "#ff7f0e",
  515.             "#2ca02c",
  516.             "#98df8a",
  517.             "#d62728",
  518.             "#ff9896",
  519.             "#9467bd",
  520.             "#c5b0d5"
  521.         ],
  522.         "outputs": 1,
  523.         "useDifferentColor": false,
  524.         "className": "",
  525.         "x": 1260,
  526.         "y": 1060,
  527.         "wires": [
  528.             []
  529.         ]
  530.     },
  531.     {
  532.         "id": "f4062da4a8ba030b",
  533.         "type": "ui_gauge",
  534.         "z": "8fdbc9a20ac31f93",
  535.         "name": "Panel 3: Momentanleistung",
  536.         "group": "2b6db6e6c67da3c4",
  537.         "order": 1,
  538.         "width": 0,
  539.         "height": 0,
  540.         "gtype": "gage",
  541.         "title": "Momentanleistung P3",
  542.         "label": "Watt",
  543.         "format": "{{value}}",
  544.         "min": 0,
  545.         "max": "400",
  546.         "colors": [
  547.             "#00b500",
  548.             "#e6e600",
  549.             "#ca3838"
  550.         ],
  551.         "seg1": "",
  552.         "seg2": "",
  553.         "className": "",
  554.         "x": 1300,
  555.         "y": 520,
  556.         "wires": []
  557.     },
  558.     {
  559.         "id": "06bc4d5d6aba989a",
  560.         "type": "ui_text",
  561.         "z": "8fdbc9a20ac31f93",
  562.         "group": "2b6db6e6c67da3c4",
  563.         "order": 2,
  564.         "width": 0,
  565.         "height": 0,
  566.         "name": "Panel 3: Spannung",
  567.         "label": "Spannung",
  568.         "format": "{{msg.payload}} Volt",
  569.         "layout": "row-spread",
  570.         "className": "",
  571.         "x": 1270,
  572.         "y": 600,
  573.         "wires": []
  574.     },
  575.     {
  576.         "id": "c3367eb9b789c5d2",
  577.         "type": "ui_text",
  578.         "z": "8fdbc9a20ac31f93",
  579.         "group": "2b6db6e6c67da3c4",
  580.         "order": 3,
  581.         "width": 0,
  582.         "height": 0,
  583.         "name": "Panel 3: Strom",
  584.         "label": "Strom",
  585.         "format": "{{msg.payload}} Ampere",
  586.         "layout": "row-spread",
  587.         "className": "",
  588.         "x": 1260,
  589.         "y": 480,
  590.         "wires": []
  591.     },
  592.     {
  593.         "id": "143f8e6ad104a6f6",
  594.         "type": "ui_text",
  595.         "z": "8fdbc9a20ac31f93",
  596.         "group": "2b6db6e6c67da3c4",
  597.         "order": 4,
  598.         "width": 0,
  599.         "height": 0,
  600.         "name": "Panel 3: Tagesproduktion",
  601.         "label": "Tagesproduktion",
  602.         "format": "{{msg.payload}} Wh",
  603.         "layout": "row-spread",
  604.         "className": "",
  605.         "x": 1290,
  606.         "y": 640,
  607.         "wires": []
  608.     },
  609.     {
  610.         "id": "98381a55fc6a9efa",
  611.         "type": "ui_gauge",
  612.         "z": "8fdbc9a20ac31f93",
  613.         "name": "Panel 4: Momentanleistung",
  614.         "group": "2b6db6e6c67da3c4",
  615.         "order": 5,
  616.         "width": 0,
  617.         "height": 0,
  618.         "gtype": "gage",
  619.         "title": "Momentanleistung P4",
  620.         "label": "Watt",
  621.         "format": "{{value}}",
  622.         "min": 0,
  623.         "max": "400",
  624.         "colors": [
  625.             "#00b500",
  626.             "#e6e600",
  627.             "#ca3838"
  628.         ],
  629.         "seg1": "",
  630.         "seg2": "",
  631.         "className": "",
  632.         "x": 1300,
  633.         "y": 740,
  634.         "wires": []
  635.     },
  636.     {
  637.         "id": "03175626abb08f99",
  638.         "type": "ui_text",
  639.         "z": "8fdbc9a20ac31f93",
  640.         "group": "2b6db6e6c67da3c4",
  641.         "order": 6,
  642.         "width": 0,
  643.         "height": 0,
  644.         "name": "Panel 4: Spannung",
  645.         "label": "Spannung",
  646.         "format": "{{msg.payload}} Volt",
  647.         "layout": "row-spread",
  648.         "className": "",
  649.         "x": 1270,
  650.         "y": 820,
  651.         "wires": []
  652.     },
  653.     {
  654.         "id": "b23c81a505b9d96b",
  655.         "type": "ui_text",
  656.         "z": "8fdbc9a20ac31f93",
  657.         "group": "2b6db6e6c67da3c4",
  658.         "order": 7,
  659.         "width": 0,
  660.         "height": 0,
  661.         "name": "Panel 4: Strom",
  662.         "label": "Strom",
  663.         "format": "{{msg.payload}} Ampere",
  664.         "layout": "row-spread",
  665.         "className": "",
  666.         "x": 1260,
  667.         "y": 700,
  668.         "wires": []
  669.     },
  670.     {
  671.         "id": "9edad6c8d93a26e2",
  672.         "type": "ui_text",
  673.         "z": "8fdbc9a20ac31f93",
  674.         "group": "2b6db6e6c67da3c4",
  675.         "order": 8,
  676.         "width": 0,
  677.         "height": 0,
  678.         "name": "Panel 4: Tagesproduktion",
  679.         "label": "Tagesproduktion",
  680.         "format": "{{msg.payload}} Wh",
  681.         "layout": "row-spread",
  682.         "className": "",
  683.         "x": 1290,
  684.         "y": 860,
  685.         "wires": []
  686.     },
  687.     {
  688.         "id": "22ca8b48efd3bb89",
  689.         "type": "switch",
  690.         "z": "8fdbc9a20ac31f93",
  691.         "name": "Status Display",
  692.         "property": "topic",
  693.         "propertyType": "msg",
  694.         "rules": [
  695.             {
  696.                 "t": "cont",
  697.                 "v": "/reachable",
  698.                 "vt": "str"
  699.             },
  700.             {
  701.                 "t": "cont",
  702.                 "v": "/producing",
  703.                 "vt": "str"
  704.             },
  705.             {
  706.                 "t": "cont",
  707.                 "v": "/last_update",
  708.                 "vt": "str"
  709.             }
  710.         ],
  711.         "checkall": "true",
  712.         "repair": false,
  713.         "outputs": 3,
  714.         "x": 780,
  715.         "y": 1360,
  716.         "wires": [
  717.             [
  718.                 "2f16a860af9e55c5"
  719.             ],
  720.             [
  721.                 "0fa1649817dcbee3",
  722.                 "63c61f8d48801b05"
  723.             ],
  724.             [
  725.                 "68d55d8a7fda6f0a"
  726.             ]
  727.         ]
  728.     },
  729.     {
  730.         "id": "2f16a860af9e55c5",
  731.         "type": "ui_led",
  732.         "z": "8fdbc9a20ac31f93",
  733.         "order": 2,
  734.         "group": "fde0e6c52af450ae",
  735.         "width": "0",
  736.         "height": "0",
  737.         "label": "Reachable",
  738.         "labelPlacement": "left",
  739.         "labelAlignment": "left",
  740.         "colorForValue": [
  741.             {
  742.                 "color": "#ff0000",
  743.                 "value": "0",
  744.                 "valueType": "num"
  745.             },
  746.             {
  747.                 "color": "#008000",
  748.                 "value": "1",
  749.                 "valueType": "num"
  750.             }
  751.         ],
  752.         "allowColorForValueInMessage": false,
  753.         "shape": "square",
  754.         "showGlow": true,
  755.         "name": "Reachable",
  756.         "x": 1250,
  757.         "y": 1240,
  758.         "wires": [],
  759.         "icon": "node-red/light.svg"
  760.     },
  761.     {
  762.         "id": "0fa1649817dcbee3",
  763.         "type": "ui_led",
  764.         "z": "8fdbc9a20ac31f93",
  765.         "order": 1,
  766.         "group": "fde0e6c52af450ae",
  767.         "width": "0",
  768.         "height": "0",
  769.         "label": "Producing",
  770.         "labelPlacement": "left",
  771.         "labelAlignment": "left",
  772.         "colorForValue": [
  773.             {
  774.                 "color": "#ff0000",
  775.                 "value": "0",
  776.                 "valueType": "num"
  777.             },
  778.             {
  779.                 "color": "#008000",
  780.                 "value": "1",
  781.                 "valueType": "num"
  782.             }
  783.         ],
  784.         "allowColorForValueInMessage": false,
  785.         "shape": "square",
  786.         "showGlow": true,
  787.         "name": "Producing",
  788.         "x": 1240,
  789.         "y": 1340,
  790.         "wires": [],
  791.         "icon": "node-red/alert.svg"
  792.     },
  793.     {
  794.         "id": "eae58b85270f13a6",
  795.         "type": "debug",
  796.         "z": "8fdbc9a20ac31f93",
  797.         "name": "",
  798.         "active": true,
  799.         "tosidebar": false,
  800.         "console": false,
  801.         "tostatus": true,
  802.         "complete": "payload",
  803.         "targetType": "msg",
  804.         "statusVal": "payload",
  805.         "statusType": "auto",
  806.         "x": 1250,
  807.         "y": 1460,
  808.         "wires": []
  809.     },
  810.     {
  811.         "id": "fe46cb6de515be0d",
  812.         "type": "moment",
  813.         "z": "8fdbc9a20ac31f93",
  814.         "name": "",
  815.         "topic": "",
  816.         "input": "payload",
  817.         "inputType": "msg",
  818.         "inTz": "ETC/GMT",
  819.         "adjAmount": "0",
  820.         "adjType": "hours",
  821.         "adjDir": "subtract",
  822.         "format": "dd DD. MMMM YYYY HH:mm:ss ",
  823.         "locale": "de_DE",
  824.         "output": "",
  825.         "outputType": "msg",
  826.         "outTz": "Europe/Berlin",
  827.         "x": 1200,
  828.         "y": 1420,
  829.         "wires": [
  830.             [
  831.                 "eae58b85270f13a6",
  832.                 "f9abf90ba20ebfee"
  833.             ]
  834.         ]
  835.     },
  836.     {
  837.         "id": "f9abf90ba20ebfee",
  838.         "type": "ui_text",
  839.         "z": "8fdbc9a20ac31f93",
  840.         "group": "fde0e6c52af450ae",
  841.         "order": 4,
  842.         "width": "4",
  843.         "height": 2,
  844.         "name": "Last Update",
  845.         "label": "last update",
  846.         "format": "{{msg.payload}}",
  847.         "layout": "col-center",
  848.         "className": "",
  849.         "x": 1250,
  850.         "y": 1380,
  851.         "wires": []
  852.     },
  853.     {
  854.         "id": "68d55d8a7fda6f0a",
  855.         "type": "function",
  856.         "z": "8fdbc9a20ac31f93",
  857.         "name": "Convert to ms",
  858.         "func": "var DateTime = msg.payload * 1000;\nreturn {payload:DateTime};",
  859.         "outputs": 1,
  860.         "noerr": 0,
  861.         "initialize": "",
  862.         "finalize": "",
  863.         "libs": [],
  864.         "x": 980,
  865.         "y": 1420,
  866.         "wires": [
  867.             [
  868.                 "fe46cb6de515be0d"
  869.             ]
  870.         ]
  871.     },
  872.     {
  873.         "id": "07f5fb1168c855ad",
  874.         "type": "function",
  875.         "z": "8fdbc9a20ac31f93",
  876.         "name": "round up",
  877.         "func": "var kWh = msg.payload;\nvar kWh1 = parseFloat(kWh.toFixed(1));\nreturn {payload:kWh1};",
  878.         "outputs": 1,
  879.         "noerr": 0,
  880.         "initialize": "",
  881.         "finalize": "",
  882.         "libs": [],
  883.         "x": 1080,
  884.         "y": 1160,
  885.         "wires": [
  886.             [
  887.                 "31daa49667596ab7"
  888.             ]
  889.         ]
  890.     },
  891.     {
  892.         "id": "2c892c6520d918b4",
  893.         "type": "comment",
  894.         "z": "8fdbc9a20ac31f93",
  895.         "name": "Dashboard DTU 1: GS",
  896.         "info": "",
  897.         "x": 140,
  898.         "y": 20,
  899.         "wires": []
  900.     },
  901.     {
  902.         "id": "24ffb4c9aec7ab58",
  903.         "type": "comment",
  904.         "z": "8fdbc9a20ac31f93",
  905.         "name": "Dashboard Panel 1 - 4",
  906.         "info": "",
  907.         "x": 160,
  908.         "y": 160,
  909.         "wires": []
  910.     },
  911.     {
  912.         "id": "ff3e468b9bec4cfa",
  913.         "type": "comment",
  914.         "z": "8fdbc9a20ac31f93",
  915.         "name": "Dashboard BKW1: HM-1500 GS",
  916.         "info": "",
  917.         "x": 230,
  918.         "y": 980,
  919.         "wires": []
  920.     },
  921.     {
  922.         "id": "5610bcb6275158f7",
  923.         "type": "comment",
  924.         "z": "8fdbc9a20ac31f93",
  925.         "name": "Dashboard WR-Status",
  926.         "info": "",
  927.         "x": 160,
  928.         "y": 1300,
  929.         "wires": []
  930.     },
  931.     {
  932.         "id": "2b68ad87487c88dc",
  933.         "type": "link in",
  934.         "z": "8fdbc9a20ac31f93",
  935.         "name": "Open-DTU-WR-2-In",
  936.         "links": [
  937.             "c159e04d40e81b3f",
  938.             "bf81db276f9dc887"
  939.         ],
  940.         "x": 385,
  941.         "y": 380,
  942.         "wires": [
  943.             [
  944.                 "4d63897c881f6034",
  945.                 "0a66a060fe69f8eb",
  946.                 "22ca8b48efd3bb89"
  947.             ]
  948.         ]
  949.     },
  950.     {
  951.         "id": "63c61f8d48801b05",
  952.         "type": "function",
  953.         "z": "8fdbc9a20ac31f93",
  954.         "name": "Store \"Producing\" as Global Variable",
  955.         "func": "var Producing = msg.payload;\nglobal.set(\"WR2-Producing\", Producing)\n\nnode.status({\n    fill: \"blue\", shape: \"ring\", text: \"Producing: \"+ Producing\n});\n\nreturn msg;",
  956.         "outputs": 1,
  957.         "noerr": 0,
  958.         "initialize": "",
  959.         "finalize": "",
  960.         "libs": [],
  961.         "x": 1330,
  962.         "y": 1280,
  963.         "wires": [
  964.             []
  965.         ]
  966.     },
  967.     {
  968.         "id": "8705e9555a6bd10f",
  969.         "type": "ui_group",
  970.         "name": "BKW: HM-1500 GS-WR-2",
  971.         "tab": "f41144552529f02c",
  972.         "order": 2,
  973.         "disp": true,
  974.         "width": "5",
  975.         "collapse": false,
  976.         "className": ""
  977.     },
  978.     {
  979.         "id": "209a2a25f524853b",
  980.         "type": "ui_group",
  981.         "name": "Panel 1 + 2-WR-2",
  982.         "tab": "f41144552529f02c",
  983.         "order": 3,
  984.         "disp": true,
  985.         "width": "4",
  986.         "collapse": false,
  987.         "className": ""
  988.     },
  989.     {
  990.         "id": "2b6db6e6c67da3c4",
  991.         "type": "ui_group",
  992.         "name": "Panel 3 + 4-WR-2",
  993.         "tab": "f41144552529f02c",
  994.         "order": 4,
  995.         "disp": true,
  996.         "width": "4",
  997.         "collapse": false,
  998.         "className": ""
  999.     },
  1000.     {
  1001.         "id": "fde0e6c52af450ae",
  1002.         "type": "ui_group",
  1003.         "name": "WR-Status-WR-2",
  1004.         "tab": "f41144552529f02c",
  1005.         "order": 1,
  1006.         "disp": true,
  1007.         "width": "4",
  1008.         "collapse": false,
  1009.         "className": ""
  1010.     },
  1011.     {
  1012.         "id": "f41144552529f02c",
  1013.         "type": "ui_tab",
  1014.         "name": "Solardaten WR-2",
  1015.         "icon": "dashboard",
  1016.         "order": 2,
  1017.         "disabled": false,
  1018.         "hidden": false
  1019.     }
  1020. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement