NittyGritty icon

Open-DTU-1-WR-2

NittyGritty | PRO | 05/22/24 09:17:54 PM UTC | 0 ⭐ | 11893 👁️ | Never ⏰ | []
JSON |

23.97 KB

|

None

|

0 👍

/

0 👎

[
    {
        "id": "8fdbc9a20ac31f93",
        "type": "tab",
        "label": "Open-DTU-1-WR-2",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "0a66a060fe69f8eb",
        "type": "switch",
        "z": "8fdbc9a20ac31f93",
        "name": "Wechselspannungsseite: BKW 1",
        "property": "topic",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "/0/current",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/efficiency",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/frequency",
                "vt": "str"
            },
            {
                "t": "regex",
                "v": "/0/power$",
                "vt": "str",
                "case": false
            },
            {
                "t": "cont",
                "v": "/0/powerdc",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/powerfactor",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/reactivepower",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/temperature",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/voltage",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/yieldday",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/0/yieldtotal",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 11,
        "x": 830,
        "y": 1080,
        "wires": [
            [],
            [],
            [],
            [
                "e3f365f1233c76dc",
                "3666cd03a9b93807"
            ],
            [],
            [],
            [],
            [],
            [],
            [
                "80a86a849c2a68c8"
            ],
            [
                "07f5fb1168c855ad"
            ]
        ]
    },
    {
        "id": "4d63897c881f6034",
        "type": "switch",
        "z": "8fdbc9a20ac31f93",
        "name": "Moduldaten: BKW 1",
        "property": "topic",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "/1/current",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/1/power",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/1/voltage",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/1/yieldday",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/1/yieldtotal",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/2/current",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/2/power",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/2/voltage",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/2/yieldday",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/2/yieldtotal",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/3/current",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/3/power",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/3/voltage",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/3/yieldday",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/3/yieldtotal",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/4/current",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/4/power",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/4/voltage",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/4/yieldday",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/4/yieldtotal",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 20,
        "x": 800,
        "y": 380,
        "wires": [
            [
                "e2b1afe1279eb094"
            ],
            [
                "157f0f74c4911e95"
            ],
            [
                "349441116637c5f3"
            ],
            [
                "149be161f50640d5"
            ],
            [],
            [
                "ce766e6f3b8fa6bc"
            ],
            [
                "39e94a2e0f7dc1c0"
            ],
            [
                "633b932567481264"
            ],
            [
                "54a8f5b6915bda89"
            ],
            [],
            [
                "c3367eb9b789c5d2"
            ],
            [
                "f4062da4a8ba030b"
            ],
            [
                "06bc4d5d6aba989a"
            ],
            [
                "143f8e6ad104a6f6"
            ],
            [],
            [
                "b23c81a505b9d96b"
            ],
            [
                "98381a55fc6a9efa"
            ],
            [
                "03175626abb08f99"
            ],
            [
                "9edad6c8d93a26e2"
            ],
            []
        ]
    },
    {
        "id": "31daa49667596ab7",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "8705e9555a6bd10f",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Gesamtproduktion",
        "format": "{{msg.payload}} kWh",
        "layout": "row-spread",
        "className": "",
        "x": 1270,
        "y": 1160,
        "wires": []
    },
    {
        "id": "e3f365f1233c76dc",
        "type": "ui_gauge",
        "z": "8fdbc9a20ac31f93",
        "name": "",
        "group": "8705e9555a6bd10f",
        "order": 1,
        "width": "0",
        "height": "0",
        "gtype": "gage",
        "title": "Momentanleistung",
        "label": "W",
        "format": "{{value}}",
        "min": 0,
        "max": "1500",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1270,
        "y": 1020,
        "wires": []
    },
    {
        "id": "80a86a849c2a68c8",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "8705e9555a6bd10f",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "Tagesproduktion",
        "format": "{{msg.payload}} Wh",
        "layout": "row-spread",
        "className": "",
        "x": 1260,
        "y": 1120,
        "wires": []
    },
    {
        "id": "157f0f74c4911e95",
        "type": "ui_gauge",
        "z": "8fdbc9a20ac31f93",
        "name": "Panel 1: Momentanleistung",
        "group": "209a2a25f524853b",
        "order": 1,
        "width": 0,
        "height": 0,
        "gtype": "gage",
        "title": "Momentanleistung P1",
        "label": "Watt",
        "format": "{{value}}",
        "min": 0,
        "max": "400",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1300,
        "y": 80,
        "wires": []
    },
    {
        "id": "349441116637c5f3",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "209a2a25f524853b",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Panel 1: Spannung",
        "label": "Spannung",
        "format": "{{msg.payload}} Volt",
        "layout": "row-spread",
        "className": "",
        "x": 1270,
        "y": 160,
        "wires": []
    },
    {
        "id": "e2b1afe1279eb094",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "209a2a25f524853b",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Panel 1: Strom",
        "label": "Strom",
        "format": "{{msg.payload}} Ampere",
        "layout": "row-spread",
        "className": "",
        "x": 1260,
        "y": 40,
        "wires": []
    },
    {
        "id": "39e94a2e0f7dc1c0",
        "type": "ui_gauge",
        "z": "8fdbc9a20ac31f93",
        "name": "Panel 2: Momentanleistung",
        "group": "209a2a25f524853b",
        "order": 6,
        "width": 0,
        "height": 0,
        "gtype": "gage",
        "title": "Momentanleistung P2",
        "label": "Watt",
        "format": "{{value}}",
        "min": 0,
        "max": "400",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1300,
        "y": 300,
        "wires": []
    },
    {
        "id": "633b932567481264",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "209a2a25f524853b",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Panel 2: Spannung",
        "label": "Spannung",
        "format": "{{msg.payload}} Volt",
        "layout": "row-spread",
        "className": "",
        "x": 1270,
        "y": 380,
        "wires": []
    },
    {
        "id": "ce766e6f3b8fa6bc",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "209a2a25f524853b",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "Panel 2: Strom",
        "label": "Strom",
        "format": "{{msg.payload}} Ampere",
        "layout": "row-spread",
        "className": "",
        "x": 1260,
        "y": 260,
        "wires": []
    },
    {
        "id": "149be161f50640d5",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "209a2a25f524853b",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Panel 1: Tagesproduktion",
        "label": "Tagesproduktion",
        "format": "{{msg.payload}} Wh",
        "layout": "row-spread",
        "className": "",
        "x": 1290,
        "y": 200,
        "wires": []
    },
    {
        "id": "54a8f5b6915bda89",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "209a2a25f524853b",
        "order": 9,
        "width": 0,
        "height": 0,
        "name": "Panel 2: Tagesproduktion",
        "label": "Tagesproduktion",
        "format": "{{msg.payload}} Wh",
        "layout": "row-spread",
        "className": "",
        "x": 1290,
        "y": 420,
        "wires": []
    },
    {
        "id": "3666cd03a9b93807",
        "type": "ui_chart",
        "z": "8fdbc9a20ac31f93",
        "name": "",
        "group": "8705e9555a6bd10f",
        "order": 2,
        "width": 0,
        "height": 0,
        "label": "Leistungsverlauf",
        "chartType": "line",
        "legend": "false",
        "xformat": "HH:mm:ss",
        "interpolate": "linear",
        "nodata": "",
        "dot": false,
        "ymin": "0",
        "ymax": "1600",
        "removeOlder": "12",
        "removeOlderPoints": "",
        "removeOlderUnit": "3600",
        "cutout": 0,
        "useOneColor": false,
        "useUTC": false,
        "colors": [
            "#1f77b4",
            "#aec7e8",
            "#ff7f0e",
            "#2ca02c",
            "#98df8a",
            "#d62728",
            "#ff9896",
            "#9467bd",
            "#c5b0d5"
        ],
        "outputs": 1,
        "useDifferentColor": false,
        "className": "",
        "x": 1260,
        "y": 1060,
        "wires": [
            []
        ]
    },
    {
        "id": "f4062da4a8ba030b",
        "type": "ui_gauge",
        "z": "8fdbc9a20ac31f93",
        "name": "Panel 3: Momentanleistung",
        "group": "2b6db6e6c67da3c4",
        "order": 1,
        "width": 0,
        "height": 0,
        "gtype": "gage",
        "title": "Momentanleistung P3",
        "label": "Watt",
        "format": "{{value}}",
        "min": 0,
        "max": "400",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1300,
        "y": 520,
        "wires": []
    },
    {
        "id": "06bc4d5d6aba989a",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "2b6db6e6c67da3c4",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Panel 3: Spannung",
        "label": "Spannung",
        "format": "{{msg.payload}} Volt",
        "layout": "row-spread",
        "className": "",
        "x": 1270,
        "y": 600,
        "wires": []
    },
    {
        "id": "c3367eb9b789c5d2",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "2b6db6e6c67da3c4",
        "order": 3,
        "width": 0,
        "height": 0,
        "name": "Panel 3: Strom",
        "label": "Strom",
        "format": "{{msg.payload}} Ampere",
        "layout": "row-spread",
        "className": "",
        "x": 1260,
        "y": 480,
        "wires": []
    },
    {
        "id": "143f8e6ad104a6f6",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "2b6db6e6c67da3c4",
        "order": 4,
        "width": 0,
        "height": 0,
        "name": "Panel 3: Tagesproduktion",
        "label": "Tagesproduktion",
        "format": "{{msg.payload}} Wh",
        "layout": "row-spread",
        "className": "",
        "x": 1290,
        "y": 640,
        "wires": []
    },
    {
        "id": "98381a55fc6a9efa",
        "type": "ui_gauge",
        "z": "8fdbc9a20ac31f93",
        "name": "Panel 4: Momentanleistung",
        "group": "2b6db6e6c67da3c4",
        "order": 5,
        "width": 0,
        "height": 0,
        "gtype": "gage",
        "title": "Momentanleistung P4",
        "label": "Watt",
        "format": "{{value}}",
        "min": 0,
        "max": "400",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "className": "",
        "x": 1300,
        "y": 740,
        "wires": []
    },
    {
        "id": "03175626abb08f99",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "2b6db6e6c67da3c4",
        "order": 6,
        "width": 0,
        "height": 0,
        "name": "Panel 4: Spannung",
        "label": "Spannung",
        "format": "{{msg.payload}} Volt",
        "layout": "row-spread",
        "className": "",
        "x": 1270,
        "y": 820,
        "wires": []
    },
    {
        "id": "b23c81a505b9d96b",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "2b6db6e6c67da3c4",
        "order": 7,
        "width": 0,
        "height": 0,
        "name": "Panel 4: Strom",
        "label": "Strom",
        "format": "{{msg.payload}} Ampere",
        "layout": "row-spread",
        "className": "",
        "x": 1260,
        "y": 700,
        "wires": []
    },
    {
        "id": "9edad6c8d93a26e2",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "2b6db6e6c67da3c4",
        "order": 8,
        "width": 0,
        "height": 0,
        "name": "Panel 4: Tagesproduktion",
        "label": "Tagesproduktion",
        "format": "{{msg.payload}} Wh",
        "layout": "row-spread",
        "className": "",
        "x": 1290,
        "y": 860,
        "wires": []
    },
    {
        "id": "22ca8b48efd3bb89",
        "type": "switch",
        "z": "8fdbc9a20ac31f93",
        "name": "Status Display",
        "property": "topic",
        "propertyType": "msg",
        "rules": [
            {
                "t": "cont",
                "v": "/reachable",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/producing",
                "vt": "str"
            },
            {
                "t": "cont",
                "v": "/last_update",
                "vt": "str"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 3,
        "x": 780,
        "y": 1360,
        "wires": [
            [
                "2f16a860af9e55c5"
            ],
            [
                "0fa1649817dcbee3",
                "63c61f8d48801b05"
            ],
            [
                "68d55d8a7fda6f0a"
            ]
        ]
    },
    {
        "id": "2f16a860af9e55c5",
        "type": "ui_led",
        "z": "8fdbc9a20ac31f93",
        "order": 2,
        "group": "fde0e6c52af450ae",
        "width": "0",
        "height": "0",
        "label": "Reachable",
        "labelPlacement": "left",
        "labelAlignment": "left",
        "colorForValue": [
            {
                "color": "#ff0000",
                "value": "0",
                "valueType": "num"
            },
            {
                "color": "#008000",
                "value": "1",
                "valueType": "num"
            }
        ],
        "allowColorForValueInMessage": false,
        "shape": "square",
        "showGlow": true,
        "name": "Reachable",
        "x": 1250,
        "y": 1240,
        "wires": [],
        "icon": "node-red/light.svg"
    },
    {
        "id": "0fa1649817dcbee3",
        "type": "ui_led",
        "z": "8fdbc9a20ac31f93",
        "order": 1,
        "group": "fde0e6c52af450ae",
        "width": "0",
        "height": "0",
        "label": "Producing",
        "labelPlacement": "left",
        "labelAlignment": "left",
        "colorForValue": [
            {
                "color": "#ff0000",
                "value": "0",
                "valueType": "num"
            },
            {
                "color": "#008000",
                "value": "1",
                "valueType": "num"
            }
        ],
        "allowColorForValueInMessage": false,
        "shape": "square",
        "showGlow": true,
        "name": "Producing",
        "x": 1240,
        "y": 1340,
        "wires": [],
        "icon": "node-red/alert.svg"
    },
    {
        "id": "eae58b85270f13a6",
        "type": "debug",
        "z": "8fdbc9a20ac31f93",
        "name": "",
        "active": true,
        "tosidebar": false,
        "console": false,
        "tostatus": true,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "payload",
        "statusType": "auto",
        "x": 1250,
        "y": 1460,
        "wires": []
    },
    {
        "id": "fe46cb6de515be0d",
        "type": "moment",
        "z": "8fdbc9a20ac31f93",
        "name": "",
        "topic": "",
        "input": "payload",
        "inputType": "msg",
        "inTz": "ETC/GMT",
        "adjAmount": "0",
        "adjType": "hours",
        "adjDir": "subtract",
        "format": "dd DD. MMMM YYYY HH:mm:ss ",
        "locale": "de_DE",
        "output": "",
        "outputType": "msg",
        "outTz": "Europe/Berlin",
        "x": 1200,
        "y": 1420,
        "wires": [
            [
                "eae58b85270f13a6",
                "f9abf90ba20ebfee"
            ]
        ]
    },
    {
        "id": "f9abf90ba20ebfee",
        "type": "ui_text",
        "z": "8fdbc9a20ac31f93",
        "group": "fde0e6c52af450ae",
        "order": 4,
        "width": "4",
        "height": 2,
        "name": "Last Update",
        "label": "last update",
        "format": "{{msg.payload}}",
        "layout": "col-center",
        "className": "",
        "x": 1250,
        "y": 1380,
        "wires": []
    },
    {
        "id": "68d55d8a7fda6f0a",
        "type": "function",
        "z": "8fdbc9a20ac31f93",
        "name": "Convert to ms",
        "func": "var DateTime = msg.payload * 1000;\nreturn {payload:DateTime};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 980,
        "y": 1420,
        "wires": [
            [
                "fe46cb6de515be0d"
            ]
        ]
    },
    {
        "id": "07f5fb1168c855ad",
        "type": "function",
        "z": "8fdbc9a20ac31f93",
        "name": "round up",
        "func": "var kWh = msg.payload;\nvar kWh1 = parseFloat(kWh.toFixed(1));\nreturn {payload:kWh1};",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1080,
        "y": 1160,
        "wires": [
            [
                "31daa49667596ab7"
            ]
        ]
    },
    {
        "id": "2c892c6520d918b4",
        "type": "comment",
        "z": "8fdbc9a20ac31f93",
        "name": "Dashboard DTU 1: GS",
        "info": "",
        "x": 140,
        "y": 20,
        "wires": []
    },
    {
        "id": "24ffb4c9aec7ab58",
        "type": "comment",
        "z": "8fdbc9a20ac31f93",
        "name": "Dashboard Panel 1 - 4",
        "info": "",
        "x": 160,
        "y": 160,
        "wires": []
    },
    {
        "id": "ff3e468b9bec4cfa",
        "type": "comment",
        "z": "8fdbc9a20ac31f93",
        "name": "Dashboard BKW1: HM-1500 GS",
        "info": "",
        "x": 230,
        "y": 980,
        "wires": []
    },
    {
        "id": "5610bcb6275158f7",
        "type": "comment",
        "z": "8fdbc9a20ac31f93",
        "name": "Dashboard WR-Status",
        "info": "",
        "x": 160,
        "y": 1300,
        "wires": []
    },
    {
        "id": "2b68ad87487c88dc",
        "type": "link in",
        "z": "8fdbc9a20ac31f93",
        "name": "Open-DTU-WR-2-In",
        "links": [
            "c159e04d40e81b3f",
            "bf81db276f9dc887"
        ],
        "x": 385,
        "y": 380,
        "wires": [
            [
                "4d63897c881f6034",
                "0a66a060fe69f8eb",
                "22ca8b48efd3bb89"
            ]
        ]
    },
    {
        "id": "63c61f8d48801b05",
        "type": "function",
        "z": "8fdbc9a20ac31f93",
        "name": "Store \"Producing\" as Global Variable",
        "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;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 1330,
        "y": 1280,
        "wires": [
            []
        ]
    },
    {
        "id": "8705e9555a6bd10f",
        "type": "ui_group",
        "name": "BKW: HM-1500 GS-WR-2",
        "tab": "f41144552529f02c",
        "order": 2,
        "disp": true,
        "width": "5",
        "collapse": false,
        "className": ""
    },
    {
        "id": "209a2a25f524853b",
        "type": "ui_group",
        "name": "Panel 1 + 2-WR-2",
        "tab": "f41144552529f02c",
        "order": 3,
        "disp": true,
        "width": "4",
        "collapse": false,
        "className": ""
    },
    {
        "id": "2b6db6e6c67da3c4",
        "type": "ui_group",
        "name": "Panel 3 + 4-WR-2",
        "tab": "f41144552529f02c",
        "order": 4,
        "disp": true,
        "width": "4",
        "collapse": false,
        "className": ""
    },
    {
        "id": "fde0e6c52af450ae",
        "type": "ui_group",
        "name": "WR-Status-WR-2",
        "tab": "f41144552529f02c",
        "order": 1,
        "disp": true,
        "width": "4",
        "collapse": false,
        "className": ""
    },
    {
        "id": "f41144552529f02c",
        "type": "ui_tab",
        "name": "Solardaten WR-2",
        "icon": "dashboard",
        "order": 2,
        "disabled": false,
        "hidden": false
    }
]

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎