[ { "id": "9fc0f809.f00518", "type": "tab", "label": "Kostal", "disabled": false, "info": "" }, { "id": "22bb2ce990740b9b", "type": "tab", "label": "KSEM", "disabled": false, "info": "", "env": [] }, { "id": "bf21ba00.4a211", "type": "tab", "label": "System", "disabled": false, "info": "" }, { "id": "a85445c69706ecc9", "type": "tab", "label": "Wetter", "disabled": false, "info": "" }, { "id": "b4cd9e0d.fcbb7", "type": "modbus-client", "name": "KSEM", "clienttype": "tcp", "bufferCommands": true, "stateLogEnabled": false, "queueLogEnabled": false, "tcpHost": "192.168.74.51", "tcpPort": "502", "tcpType": "TCP-RTU-BUFFERED", "serialPort": "/dev/ttyUSB", "serialType": "RTU-BUFFERD", "serialBaudrate": "9600", "serialDatabits": "8", "serialStopbits": "1", "serialParity": "none", "serialConnectionDelay": "100", "serialAsciiResponseStartDelimiter": "", "unit_id": 71, "commandDelay": 5, "clientTimeout": 1000, "reconnectOnTimeout": true, "reconnectTimeout": 2000, "parallelUnitIdsAllowed": false }, { "id": "df3fb12c.a3cf9", "type": "ui_tab", "name": "Übersicht", "icon": "fa-eercast", "order": 1, "disabled": false, "hidden": false }, { "id": "f378bcd4.e0c9d", "type": "ui_base", "theme": { "name": "theme-light", "lightTheme": { "default": "#0094CE", "baseColor": "#0094CE", "baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif", "edited": true, "reset": false }, "darkTheme": { "default": "#097479", "baseColor": "#097479", "baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif", "edited": false }, "customTheme": { "name": "Untitled Theme 1", "default": "#4B7930", "baseColor": "#4B7930", "baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif" }, "themeState": { "base-color": { "default": "#0094CE", "value": "#0094CE", "edited": false }, "page-titlebar-backgroundColor": { "value": "#0094CE", "edited": false }, "page-backgroundColor": { "value": "#fafafa", "edited": false }, "page-sidebar-backgroundColor": { "value": "#ffffff", "edited": false }, "group-textColor": { "value": "#1bbfff", "edited": false }, "group-borderColor": { "value": "#ffffff", "edited": false }, "group-backgroundColor": { "value": "#ffffff", "edited": false }, "widget-textColor": { "value": "#111111", "edited": false }, "widget-backgroundColor": { "value": "#0094ce", "edited": false }, "widget-borderColor": { "value": "#ffffff", "edited": false }, "base-font": { "value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif" } }, "angularTheme": { "primary": "indigo", "accents": "blue", "warn": "red", "background": "grey", "palette": "light" } }, "site": { "name": "Kostal", "hideToolbar": "false", "allowSwipe": "false", "lockMenu": "false", "allowTempTheme": "true", "dateFormat": "DD.MM.YYYY", "sizes": { "sx": 48, "sy": 48, "gx": 6, "gy": 6, "cx": 6, "cy": 6, "px": 0, "py": 0 } } }, { "id": "b06f4361.eac408", "type": "ui_group", "name": "Wechselrichter", "tab": "fdcb27ff.c2fb08", "order": 1, "disp": true, "width": "6", "collapse": false }, { "id": "2a8873cf.da278c", "type": "ui_group", "name": "Speicher", "tab": "fdcb27ff.c2fb08", "order": 2, "disp": true, "width": "6", "collapse": false }, { "id": "5a1737ac.58b1b8", "type": "ui_group", "name": "Hausanschluss", "tab": "df3fb12c.a3cf9", "order": 1, "disp": true, "width": "6", "collapse": false }, { "id": "3931d9b5.5cb44e", "type": "ui_group", "name": "BYD / Verbrauch gedeckt", "tab": "df3fb12c.a3cf9", "order": 5, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "a98537cd.f2ab58", "type": "ui_group", "name": "Strings (DC)", "tab": "fdcb27ff.c2fb08", "order": 3, "disp": true, "width": "6", "collapse": false }, { "id": "fdcb27ff.c2fb08", "type": "ui_tab", "name": "Wechselrichter", "icon": "fa-sun-o", "order": 3, "disabled": false, "hidden": false }, { "id": "563c5f23.4c80a8", "type": "ui_group", "name": "Wechselrichter (AC)", "tab": "fdcb27ff.c2fb08", "order": 4, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "72e5611c.85f388", "type": "influxdb", "hostname": "127.0.0.1", "port": "8086", "protocol": "http", "database": "db", "name": "InfluxDB", "usetls": false, "tls": "", "influxdbVersion": "1.x", "url": "http://localhost:8086", "rejectUnauthorized": false }, { "id": "c731b1ac.d1ee9", "type": "ui_group", "name": "Verlauf über 15min", "tab": "8556cea1.d1fff", "order": 2, "disp": true, "width": "13", "collapse": false }, { "id": "6af5f2b7.799004", "type": "ui_group", "name": "CPU / RAM / SD-Karte", "tab": "8556cea1.d1fff", "order": 1, "disp": true, "width": "5", "collapse": false }, { "id": "8556cea1.d1fff", "type": "ui_tab", "name": "System", "icon": "fa-microchip ", "order": 6, "disabled": false, "hidden": false }, { "id": "64033f10e63bd8ab", "type": "ui_tab", "name": "Tageswerte", "icon": "trending_up", "order": 5, "disabled": false, "hidden": false }, { "id": "2dceb319b914039f", "type": "ui_group", "name": "Tageswerte", "tab": "64033f10e63bd8ab", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "4316a128c03fd381", "type": "ui_group", "name": "Verlauf über 30min", "tab": "64033f10e63bd8ab", "order": 2, "disp": true, "width": "14", "collapse": false, "className": "" }, { "id": "a1b432331279e425", "type": "modbus-client", "name": "Kostal Plenticore", "clienttype": "tcp", "bufferCommands": true, "stateLogEnabled": false, "queueLogEnabled": false, "tcpHost": "192.168.74.48", "tcpPort": "1502", "tcpType": "TCP-RTU-BUFFERED", "serialPort": "/dev/ttyUSB", "serialType": "RTU-BUFFERD", "serialBaudrate": "9600", "serialDatabits": "8", "serialStopbits": "1", "serialParity": "none", "serialConnectionDelay": "100", "serialAsciiResponseStartDelimiter": "0x3A", "unit_id": 71, "commandDelay": 5, "clientTimeout": 1000, "reconnectOnTimeout": true, "reconnectTimeout": 2000, "parallelUnitIdsAllowed": false }, { "id": "bd2545e77e4ee7ee", "type": "ui_group", "name": "Gesamt", "tab": "1160710e.823717", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "6854fdc6d826a885", "type": "ui_group", "name": "Phasen", "tab": "1160710e.823717", "order": 2, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "7f9b1b2b.f438bc", "type": "ui_group", "name": "Blindleistung Phasen", "tab": "1160710e.823717", "order": 4, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "80b4ccf25a3b9132", "type": "ui_group", "name": "Spannung / Strom", "tab": "1160710e.823717", "order": 3, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "1160710e.823717", "type": "ui_tab", "name": "Hausanschluss", "icon": "fa-bolt ", "order": 2, "disabled": false, "hidden": false }, { "id": "e4be6a94.10844", "type": "ui_group", "name": "Zähler", "tab": "e144c29.81db1c", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "e144c29.81db1c", "type": "ui_tab", "name": "Zähler", "icon": "fa-list ", "order": 7, "disabled": false, "hidden": false }, { "id": "d7d0b490be868cdc", "type": "ui_tab", "name": "Speicher Steuerung", "icon": "battery_charging_full", "order": 4, "disabled": false, "hidden": false }, { "id": "67ee9ca41db4f5bb", "type": "ui_group", "name": "Speicher Steuerung / Kontrolle", "tab": "d7d0b490be868cdc", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "3b9fa61e5a5beebe", "type": "ui_group", "name": "morgen", "tab": "edce8f16ecfc8805", "order": 3, "disp": true, "width": "7", "collapse": false, "className": "" }, { "id": "fd98fa1452bad971", "type": "ui_group", "name": "heute", "tab": "edce8f16ecfc8805", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "53a443c39a1555dc", "type": "ui_group", "name": "in 3h", "tab": "edce8f16ecfc8805", "order": 2, "disp": true, "width": "7", "collapse": false, "className": "" }, { "id": "edce8f16ecfc8805", "type": "ui_tab", "name": "Wetter", "icon": "wb_sunny", "order": 13, "disabled": false, "hidden": false }, { "id": "aa2ccdef.a81888", "type": "modbus-getter", "z": "9fc0f809.f00518", "name": "100 - 179", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "100", "quantity": "80", "server": "a1b432331279e425", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 100, "wires": [ [ "fa8ee63d.afaf18" ], [ "1838b6bb.401ce1" ] ] }, { "id": "fa8ee63d.afaf18", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "Wechselrichter", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "floatle", "name": "P_DC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Hausv_Batt", "offset": 12, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Hausv_Netz", "offset": 16, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Hausv_PV", "offset": 32, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Power_Limit_EVU", "offset": 44, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "cos_phi", "offset": 100, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Frequenz", "offset": 104, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I_L1", "offset": 108, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_L1", "offset": 112, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U_L1", "offset": 116, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I_L2", "offset": 120, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_L2", "offset": 124, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U_L2", "offset": 128, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I_L3", "offset": 132, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_L3", "offset": 136, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U_L3", "offset": 140, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_AC", "offset": 144, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Q", "offset": 148, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "floatle", "name": "S", "offset": 156, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 300, "y": 100, "wires": [ [ "14fab764.2ae4f9", "2dfc6d72.b19b1a", "a0504ce8.b4ba68", "abe58c0d.ff7c18", "463d785b.3157", "456a2eab.c0cd88", "b4262f8f.117268", "319b5af8281203bb" ] ] }, { "id": "616eb1e3.2c7f5", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "Batt, EM, Strings", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "floatle", "name": "Batt_Cyl", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Batt_I", "offset": 12, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "SoC", "offset": 32, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Batt_T", "offset": 40, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Batt_U", "offset": 44, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "cos_phi_EM", "offset": 48, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Frequenz_EM", "offset": 52, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I1_EM", "offset": 56, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P1_EM", "offset": 60, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Q1_EM", "offset": 64, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "floatle", "name": "S1_EM", "offset": 68, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U1_EM", "offset": 72, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I2_EM", "offset": 76, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P2_EM", "offset": 80, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Q2_EM", "offset": 84, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "floatle", "name": "S2_EM", "offset": 88, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U2_EM", "offset": 92, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I3_EM", "offset": 96, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P3_EM", "offset": 100, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Q3_EM", "offset": 104, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "floatle", "name": "S3_EM", "offset": 108, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U3_EM", "offset": 112, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_total", "offset": 116, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Q_total", "offset": 120, "length": 1, "offsetbit": 0, "scale": "-1", "mask": "" }, { "type": "floatle", "name": "S_total", "offset": 124, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I_DC1", "offset": 128, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_DC1", "offset": 132, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U_DC1", "offset": 144, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I_DC2", "offset": 148, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_DC2", "offset": 152, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "U_DC2", "offset": 164, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 310, "y": 480, "wires": [ [ "554226ad.0402d8", "568319dd.6284d8", "6e74ba26.1aab2c", "d9694203.ae1fe8", "4250a0dd.ec6d08", "8086274e.b7a83", "586c13cb65df2288" ] ] }, { "id": "1838b6bb.401ce1", "type": "modbus-getter", "z": "9fc0f809.f00518", "name": "194 - 279", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "194", "quantity": "86", "server": "a1b432331279e425", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 480, "wires": [ [ "616eb1e3.2c7f5" ], [ "a9619c29.fa0478" ] ] }, { "id": "d272cf3c.54cf58", "type": "modbus-getter", "z": "9fc0f809.f00518", "name": "1066", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "1066", "quantity": "2", "server": "a1b432331279e425", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 90, "y": 920, "wires": [ [ "a0bf8b87.a4a6" ], [ "05adf76822b5fdfb" ] ] }, { "id": "a0bf8b87.a4a6", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "Erzeugung", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "floatle", "name": "P_DC_total", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 290, "y": 920, "wires": [ [ "2f0e1c33.c3b85c" ] ] }, { "id": "f43170f9.378dc8", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 2, "width": 0, "height": 0, "name": "Leistung DC", "label": "Leistung DC", "format": "{{msg.payload.PDC}} W", "layout": "row-spread", "className": "", "x": 750, "y": 60, "wires": [] }, { "id": "8b06bd35.b666c", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 3, "width": 0, "height": 0, "name": "Leistung AC", "label": "Leistung AC", "format": "{{msg.payload.PAC}} W", "layout": "row-spread", "className": "", "x": 750, "y": 20, "wires": [] }, { "id": "4e87c62d.b43f5", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 1, "width": 0, "height": 0, "name": "Erzeugung", "label": " Erzeugung", "format": "{{msg.payload}} W", "layout": "row-spread", "x": 750, "y": 920, "wires": [] }, { "id": "a9619c29.fa0478", "type": "modbus-getter", "z": "9fc0f809.f00518", "name": "582", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "582", "quantity": "1", "server": "a1b432331279e425", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 90, "y": 780, "wires": [ [ "3a37099d.4f13f6" ], [ "59cb0ed810fd5e3e" ] ] }, { "id": "3a37099d.4f13f6", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "Batt laden", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "Batt_P", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 290, "y": 780, "wires": [ [ "10f1588e.05c58f" ] ] }, { "id": "d8d7643a.5ad288", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 2, "width": 0, "height": 0, "name": "Batterie laden", "label": "Batterie laden", "format": "{{msg.payload}} W", "layout": "row-spread", "x": 760, "y": 700, "wires": [] }, { "id": "14fab764.2ae4f9", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 5, "width": 0, "height": 0, "name": "Limit", "label": "Limit Einspeisung", "format": "{{msg.payload.Power_Limit_EVU}} %", "layout": "row-spread", "x": 730, "y": 140, "wires": [] }, { "id": "2f0e1c33.c3b85c", "type": "function", "z": "9fc0f809.f00518", "name": "runden", "func": "P = msg.payload.P_DC_total\nmsg.payload = parseFloat(P.toFixed(0));\nmsg.topic = \"P_DC_total\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 520, "y": 920, "wires": [ [ "4e87c62d.b43f5", "6f07f889.bda788", "d045a7d694fc5b7c" ] ] }, { "id": "35bd53fb.3f1144", "type": "ui_gauge", "z": "9fc0f809.f00518", "name": "SoC", "group": "2a8873cf.da278c", "order": 1, "width": 0, "height": 0, "gtype": "gage", "title": "Kapazität", "label": "", "format": "{{msg.payload}} %", "min": 0, "max": "100", "colors": [ "#ff0000", "#ffff00", "#00ff00" ], "seg1": "", "seg2": "", "x": 730, "y": 620, "wires": [] }, { "id": "554226ad.0402d8", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 4, "width": 0, "height": 0, "name": "Temperatur BYD", "label": "Temperatur", "format": "{{msg.payload.Batt_T}} °C", "layout": "row-spread", "x": 770, "y": 500, "wires": [] }, { "id": "2dfc6d72.b19b1a", "type": "function", "z": "9fc0f809.f00518", "name": "Blindleistung WR", "func": "Q = msg.payload.Q;\nif (Q > 9999) {\n Q = 0;\n}\nQ = parseFloat(Q.toFixed(0));\nmsg.payload = Q;\nmsg.topic = \"Q\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 550, "y": 180, "wires": [ [ "190bc38e.03ec84" ] ] }, { "id": "190bc38e.03ec84", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 7, "width": 0, "height": 0, "name": "Blindleistung", "label": "Blindleistung", "format": "{{msg.payload}} var", "layout": "row-spread", "className": "", "x": 750, "y": 180, "wires": [] }, { "id": "68e29c.70664d64", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 6, "width": 0, "height": 0, "name": "cos phi", "label": "cos phi", "format": "{{msg.payload.cosphi}}", "layout": "row-spread", "className": "", "x": 740, "y": 100, "wires": [] }, { "id": "10f1588e.05c58f", "type": "function", "z": "9fc0f809.f00518", "name": "Be-/Entladen", "func": "P = msg.payload.Batt_P;\nvar msg1 = {};\nvar msg2 = {};\nvar Bel;\nvar Ent;\nif(P < 0 ) {\n Bel = (P * -1);\n Ent = 0;\n msg1.payload = Bel;\n msg2.payload = Ent;\n msg1.topic = \"Beladen\";\n msg2.topic = \"Entladen\";\n} else {\n Ent = P;\n Bel = 0;\n msg1.payload = Bel;\n msg2.payload = Ent;\n msg1.topic = \"Beladen\";\n msg2.topic = \"Entladen\";\n}\nreturn [msg1,msg2];", "outputs": 2, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 530, "y": 780, "wires": [ [ "d8d7643a.5ad288", "6f07f889.bda788", "d156f5abcf8309e9" ], [ "5a58f5a7.0e2b74", "6f07f889.bda788", "4a6b09c8f981a2f9" ] ] }, { "id": "5a58f5a7.0e2b74", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 3, "width": 0, "height": 0, "name": "Batterie entladen", "label": "Batterie entladen", "format": "{{msg.payload}} W", "layout": "row-spread", "x": 770, "y": 740, "wires": [] }, { "id": "568319dd.6284d8", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 8, "width": 0, "height": 0, "name": "Ladezyklen", "label": "Ladezyklen", "format": "{{msg.payload.Batt_Cyl}}", "layout": "row-spread", "x": 750, "y": 540, "wires": [] }, { "id": "2cad6ab1.46a54e", "type": "ui_text", "z": "9fc0f809.f00518", "group": "3931d9b5.5cb44e", "order": 4, "width": 0, "height": 0, "name": "durch Batterie", "label": "durch Batterie", "format": "{{msg.payload.Batt}} W", "layout": "row-spread", "className": "", "x": 760, "y": 220, "wires": [] }, { "id": "e7c7f4c3.019088", "type": "ui_text", "z": "9fc0f809.f00518", "group": "3931d9b5.5cb44e", "order": 5, "width": 0, "height": 0, "name": "durch Netzbezug", "label": "durch Netzbezug", "format": "{{msg.payload.Netz}} W", "layout": "row-spread", "className": "", "x": 770, "y": 260, "wires": [] }, { "id": "e1ccaa9f.68df1", "type": "ui_text", "z": "9fc0f809.f00518", "group": "3931d9b5.5cb44e", "order": 6, "width": 0, "height": 0, "name": "durch PV", "label": "durch PV", "format": "{{msg.payload.PV}} W", "layout": "row-spread", "className": "", "x": 740, "y": 300, "wires": [] }, { "id": "a0504ce8.b4ba68", "type": "function", "z": "9fc0f809.f00518", "name": "Hausverbrauch", "func": "Batt = msg.payload.Hausv_Batt;\nBatt = parseFloat(Batt.toFixed(0));\nNetz = msg.payload.Hausv_Netz\nNetz = parseFloat(Netz.toFixed(0));\nPV = msg.payload.Hausv_PV;\nPV = parseFloat(PV.toFixed(0));\nmsg.payload = {Batt,Netz,PV};\nmsg.topic = \"Hausverbrauch\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 540, "y": 260, "wires": [ [ "2cad6ab1.46a54e", "e7c7f4c3.019088", "e1ccaa9f.68df1" ] ] }, { "id": "b4262f8f.117268", "type": "function", "z": "9fc0f809.f00518", "name": "Wirkungsgrad", "func": "W = msg.payload.P_AC / msg.payload.P_DC * 100;\nmsg.payload = parseFloat(W.toFixed(1));\nmsg.topic = \"Wirkungsgrad\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 980, "y": 40, "wires": [ [ "f5159749.197858" ] ] }, { "id": "f5159749.197858", "type": "ui_text", "z": "9fc0f809.f00518", "group": "b06f4361.eac408", "order": 4, "width": 0, "height": 0, "name": "Wirkungsgrad", "label": "Wirkungsgrad", "format": "{{msg.payload}} %", "layout": "row-spread", "x": 1200, "y": 40, "wires": [] }, { "id": "6e74ba26.1aab2c", "type": "function", "z": "9fc0f809.f00518", "name": "String 1 & 2", "func": "var msg1 = {};\nvar msg2 = {};\nvar msg3 = {};\nI1 = msg.payload.I_DC1;\nI1 = parseFloat(I1.toFixed(2));\nP1 = msg.payload.P_DC1;\nP1 = parseFloat(P1.toFixed(0));\nU1 = msg.payload.U_DC1;\nU1 = parseFloat(U1.toFixed(0));\nI2 = msg.payload.I_DC2;\nI2 = parseFloat(I2.toFixed(2));\nP2 = msg.payload.P_DC2;\nP2 = parseFloat(P2.toFixed(0));\nU2 = msg.payload.U_DC2;\nU2 = parseFloat(U2.toFixed(0));\nmsg1.payload = {I1,P1,U1,I2,P2,U2};\nmsg1.topic = \"Strings\";\nmsg2.payload = P1;\nmsg2.topic = \"PDC2A\";\nmsg3.payload = P2;\nmsg3.topic = \"PDC2B\";\nreturn [msg1,msg2,msg3];", "outputs": 3, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 970, "y": 480, "wires": [ [ "7ed45cbe.827aa4", "434fad7b.3872bc", "4c14696f.986238", "e9cdc082.001a2", "5ee3b454.418ce4", "ed0397dc.d8308" ], [ "21d3f8e0ad575c96" ], [ "21d3f8e0ad575c96" ] ] }, { "id": "7ed45cbe.827aa4", "type": "ui_text", "z": "9fc0f809.f00518", "group": "a98537cd.f2ab58", "order": 3, "width": 0, "height": 0, "name": "", "label": "Strom String 1", "format": "{{msg.payload.I1}} A", "layout": "row-spread", "className": "", "x": 1200, "y": 520, "wires": [] }, { "id": "e9cdc082.001a2", "type": "ui_text", "z": "9fc0f809.f00518", "group": "a98537cd.f2ab58", "order": 6, "width": 0, "height": 0, "name": "", "label": "Strom String 2", "format": "{{msg.payload.I2}} A", "layout": "row-spread", "className": "", "x": 1200, "y": 640, "wires": [] }, { "id": "434fad7b.3872bc", "type": "ui_text", "z": "9fc0f809.f00518", "group": "a98537cd.f2ab58", "order": 1, "width": 0, "height": 0, "name": "Leistung String 1", "label": " Leistung String 1", "format": "{{msg.payload.P1}} W", "layout": "row-spread", "className": "", "x": 1210, "y": 440, "wires": [] }, { "id": "5ee3b454.418ce4", "type": "ui_text", "z": "9fc0f809.f00518", "group": "a98537cd.f2ab58", "order": 4, "width": 0, "height": 0, "name": "Leistung String 2", "label": " Leistung String 2", "format": "{{msg.payload.P2}} W", "layout": "row-spread", "className": "", "x": 1210, "y": 560, "wires": [] }, { "id": "4c14696f.986238", "type": "ui_text", "z": "9fc0f809.f00518", "group": "a98537cd.f2ab58", "order": 2, "width": 0, "height": 0, "name": "", "label": "Spannung String 1", "format": "{{msg.payload.U1}} V", "layout": "row-spread", "className": "", "x": 1210, "y": 480, "wires": [] }, { "id": "ed0397dc.d8308", "type": "ui_text", "z": "9fc0f809.f00518", "group": "a98537cd.f2ab58", "order": 5, "width": 0, "height": 0, "name": "", "label": "Spannung String 2", "format": "{{msg.payload.U2}} V", "layout": "row-spread", "className": "", "x": 1210, "y": 600, "wires": [] }, { "id": "d9694203.ae1fe8", "type": "function", "z": "9fc0f809.f00518", "name": "Spannung BYD", "func": "B = msg.payload.Batt_U;\nB1 = parseFloat(B.toFixed(0));\nB2 = parseFloat((B/96).toFixed(2));\nmsg.payload = {B1,B2};\nmsg.topic = \"Batt_U\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 540, "y": 380, "wires": [ [ "5134465d.bda9b", "bb4c92bc.9035d8" ] ] }, { "id": "4250a0dd.ec6d08", "type": "function", "z": "9fc0f809.f00518", "name": "runden", "func": "I = msg.payload.Batt_I;\nmsg.payload = parseFloat(I.toFixed(2));\nmsg.topic = \"Batt_I\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 520, "y": 580, "wires": [ [ "94899fe0.52234" ] ] }, { "id": "5134465d.bda9b", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 5, "width": 0, "height": 0, "name": "Spannung BYD", "label": "Spannung", "format": "{{msg.payload.B1}} V", "layout": "row-spread", "className": "", "x": 760, "y": 360, "wires": [] }, { "id": "94899fe0.52234", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 7, "width": 0, "height": 0, "name": "Strom BYD", "label": "Strom", "format": "{{msg.payload}} A", "layout": "row-spread", "x": 750, "y": 580, "wires": [] }, { "id": "bb4c92bc.9035d8", "type": "ui_text", "z": "9fc0f809.f00518", "group": "2a8873cf.da278c", "order": 6, "width": 0, "height": 0, "name": "Zellspannung BYD", "label": "Zellspannung", "format": "{{msg.payload.B2}} V", "layout": "row-spread", "className": "", "x": 770, "y": 400, "wires": [] }, { "id": "abe58c0d.ff7c18", "type": "function", "z": "9fc0f809.f00518", "name": "Spannung WR", "func": "U1 = msg.payload.U_L1\nU1 = parseFloat(U1.toFixed(1));\nU2 = msg.payload.U_L2\nU2 = parseFloat(U2.toFixed(1));\nU3 = msg.payload.U_L3\nU3 = parseFloat(U3.toFixed(1));\nmsg.payload = {U1,U2,U3};\nmsg.topic = \"Spannung_WR\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 980, "y": 120, "wires": [ [ "96a1bf3e.466238", "f3eff3a7.698be8", "8e519d3.bce326" ] ] }, { "id": "463d785b.3157", "type": "function", "z": "9fc0f809.f00518", "name": "Strom WR", "func": "I1 = msg.payload.I_L1\nI1 = parseFloat(I1.toFixed(2));\nI2 = msg.payload.I_L2\nI2 = parseFloat(I2.toFixed(2));\nI3 = msg.payload.I_L3\nI3 = parseFloat(I3.toFixed(2));\nmsg.payload = {I1,I2,I3};\nmsg.topic = \"Ströme_WR\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 970, "y": 240, "wires": [ [ "60046945.99ade8", "d2ac5608.9e5268", "3d74d850.c3baf" ] ] }, { "id": "456a2eab.c0cd88", "type": "function", "z": "9fc0f809.f00518", "name": "Leistung WR", "func": "P1 = msg.payload.P_L1\nP1 = parseFloat(P1.toFixed(0));\nP2 = msg.payload.P_L2\nP2 = parseFloat(P2.toFixed(0));\nP3 = msg.payload.P_L3\nP3 = parseFloat(P3.toFixed(0));\nmsg.payload = {P1,P2,P3};\nmsg.topic = \"Leistung_WR\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 970, "y": 360, "wires": [ [ "80ad4c91.b8819", "adccecb7.ac1858", "43f5d835.ff82b" ] ] }, { "id": "60046945.99ade8", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 7, "width": 0, "height": 0, "name": "Strom L1", "label": "Strom L1", "format": "{{msg.payload.I1}} A", "layout": "row-spread", "className": "", "x": 1180, "y": 200, "wires": [] }, { "id": "d2ac5608.9e5268", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 8, "width": 0, "height": 0, "name": "Strom L2", "label": "Strom L2", "format": "{{msg.payload.I2}} A", "layout": "row-spread", "className": "", "x": 1180, "y": 240, "wires": [] }, { "id": "3d74d850.c3baf", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 9, "width": 0, "height": 0, "name": "Strom L3", "label": "Strom L3", "format": "{{msg.payload.I3}} A", "layout": "row-spread", "className": "", "x": 1180, "y": 280, "wires": [] }, { "id": "96a1bf3e.466238", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 4, "width": 0, "height": 0, "name": "Spannung L1", "label": "Spannung L1", "format": "{{msg.payload.U1}} V", "layout": "row-spread", "className": "", "x": 1200, "y": 80, "wires": [] }, { "id": "f3eff3a7.698be8", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 5, "width": 0, "height": 0, "name": "Spannung L2", "label": "Spannung L2", "format": "{{msg.payload.U2}} V", "layout": "row-spread", "className": "", "x": 1200, "y": 120, "wires": [] }, { "id": "8e519d3.bce326", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 6, "width": 0, "height": 0, "name": "Spannung L3", "label": "Spannung L3", "format": "{{msg.payload.U3}} V", "layout": "row-spread", "className": "", "x": 1200, "y": 160, "wires": [] }, { "id": "80ad4c91.b8819", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 1, "width": 0, "height": 0, "name": "Leistung L1", "label": "Leistung L1", "format": "{{msg.payload.P1}} W", "layout": "row-spread", "className": "", "x": 1190, "y": 320, "wires": [] }, { "id": "adccecb7.ac1858", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 2, "width": 0, "height": 0, "name": "Leistung L2", "label": "Leistung L2", "format": "{{msg.payload.P2}} W", "layout": "row-spread", "className": "", "x": 1190, "y": 360, "wires": [] }, { "id": "43f5d835.ff82b", "type": "ui_text", "z": "9fc0f809.f00518", "group": "563c5f23.4c80a8", "order": 3, "width": 0, "height": 0, "name": "Leistung L3", "label": "Leistung L3", "format": "{{msg.payload.P3}} W", "layout": "row-spread", "className": "", "x": 1190, "y": 400, "wires": [] }, { "id": "6f07f889.bda788", "type": "calculate", "z": "9fc0f809.f00518", "name": " Ø pro Minute", "pauseType": "timed", "calculation": "average", "timeout": "1", "timeoutUnits": "minutes", "rate": "10", "x": 750, "y": 860, "wires": [ [ "6fa4b617.d9038" ] ] }, { "id": "6fa4b617.d9038", "type": "join", "z": "9fc0f809.f00518", "name": "sammeln", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "6", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 960, "y": 860, "wires": [ [ "44988821.03de48" ] ] }, { "id": "44988821.03de48", "type": "function", "z": "9fc0f809.f00518", "name": "runden", "func": "Object.entries(msg.payload).forEach((v) =>{\n msg.payload[v[0]] = Math.round(v[1]);\n})\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 960, "y": 900, "wires": [ [ "f0884c3c.6cb3c8" ] ] }, { "id": "f0884c3c.6cb3c8", "type": "influxdb out", "z": "9fc0f809.f00518", "influxdb": "72e5611c.85f388", "name": "PV", "measurement": "PV", "precision": "", "retentionPolicy": "", "database": "db", "precisionV18FluxV20": "s", "retentionPolicyV18Flux": "", "org": "organisation", "bucket": "bucket", "x": 950, "y": 940, "wires": [] }, { "id": "8086274e.b7a83", "type": "function", "z": "9fc0f809.f00518", "name": "SoC", "func": "msg.payload = msg.payload.SoC;\nmsg.topic = \"SoC\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 510, "y": 640, "wires": [ [ "35bd53fb.3f1144", "6f07f889.bda788", "a4f8a1f7aa98e422" ] ] }, { "id": "71bd6044.791278", "type": "ui_template", "z": "9fc0f809.f00518", "group": "5a1737ac.58b1b8", "name": "Link zu Grafana", "order": 4, "width": 0, "height": 0, "format": "", "storeOutMessages": true, "fwdInMessages": true, "resendOnRefresh": false, "templateScope": "local", "className": "", "x": 760, "y": 440, "wires": [ [] ] }, { "id": "319b5af8281203bb", "type": "function", "z": "9fc0f809.f00518", "name": "PAC,PDC,PF", "func": "PAC=msg.payload.P_AC;\nPAC=parseFloat(PAC.toFixed(0));\nPDC=msg.payload.P_DC;\nPDC=parseFloat(PDC.toFixed(0));\ncosphi=msg.payload.cos_phi;\ncosphi=parseFloat(cosphi.toFixed(2));\nmsg.payload = {PAC,PDC,cosphi};\nmsg.topic = \"WR\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 530, "y": 60, "wires": [ [ "8b06bd35.b666c", "f43170f9.378dc8", "68e29c.70664d64" ] ] }, { "id": "d045a7d694fc5b7c", "type": "ui_text", "z": "9fc0f809.f00518", "group": "5a1737ac.58b1b8", "order": 1, "width": 0, "height": 0, "name": "Erzeugung", "label": " Erzeugung Plenticore", "format": "{{msg.payload}} W", "layout": "row-spread", "className": "", "x": 750, "y": 960, "wires": [] }, { "id": "40bd7491222c2994", "type": "cronplus", "z": "9fc0f809.f00518", "name": "alle 2s", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "P Bezug", "topic": "P_Bez", "payloadType": "global", "payload": "P-Bezug", "expressionType": "cron", "expression": "*/2 * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "P Einspeisung", "topic": "P_Ein", "payloadType": "global", "payload": "P-Einsp", "expressionType": "cron", "expression": "*/2 * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 510, "y": 860, "wires": [ [ "6f07f889.bda788" ] ] }, { "id": "a4f8a1f7aa98e422", "type": "ui_text", "z": "9fc0f809.f00518", "group": "3931d9b5.5cb44e", "order": 1, "width": 0, "height": 0, "name": "SoC", "label": " SoC", "format": "{{msg.payload}} %", "layout": "row-spread", "className": "", "x": 730, "y": 660, "wires": [] }, { "id": "d156f5abcf8309e9", "type": "ui_text", "z": "9fc0f809.f00518", "group": "3931d9b5.5cb44e", "order": 2, "width": 0, "height": 0, "name": "Batterie laden", "label": " Batterie laden", "format": "{{msg.payload}} W", "layout": "row-spread", "className": "", "x": 760, "y": 780, "wires": [] }, { "id": "4a6b09c8f981a2f9", "type": "ui_text", "z": "9fc0f809.f00518", "group": "3931d9b5.5cb44e", "order": 3, "width": 0, "height": 0, "name": "Batterie entladen", "label": " Batterie entladen", "format": "{{msg.payload}} W", "layout": "row-spread", "className": "", "x": 770, "y": 820, "wires": [] }, { "id": "3cf1eb5233154d32", "type": "cronplus", "z": "9fc0f809.f00518", "name": "alle 2s", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "an", "topic": "an", "payloadType": "bool", "payload": "true", "expressionType": "cron", "expression": "*/2 * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 90, "y": 40, "wires": [ [ "aa2ccdef.a81888" ] ] }, { "id": "59cb0ed810fd5e3e", "type": "modbus-getter", "z": "9fc0f809.f00518", "name": "1026 - 1045", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "1026", "quantity": "20", "server": "a1b432331279e425", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 110, "y": 860, "wires": [ [ "94755f6cee913c04" ], [ "d272cf3c.54cf58" ] ] }, { "id": "94755f6cee913c04", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "Batt", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "floatle", "name": "P_AC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I_rel", "offset": 4, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_AC_rel", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "I", "offset": 12, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_DC", "offset": 16, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "P_DC_rel", "offset": 20, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Pmax_charge", "offset": 24, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "Pmax_discharge", "offset": 28, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "min_SoC", "offset": 32, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "floatle", "name": "max_SoC", "offset": 36, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 270, "y": 860, "wires": [ [ "dc41ef02487b0034" ] ] }, { "id": "2944dd90b4f49503", "type": "buffer-maker", "z": "9fc0f809.f00518", "name": "", "specification": "spec", "specificationType": "ui", "items": [ { "name": "float", "type": "floatle", "length": 1, "dataType": "msg", "data": "payload" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "x": 290, "y": 1060, "wires": [ [ "0a0122983e4af6fb" ] ] }, { "id": "0a0122983e4af6fb", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "data", "offset": 0, "length": 2, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 530, "y": 1060, "wires": [ [ "a7e8209d53dc8fb2" ] ] }, { "id": "a7e8209d53dc8fb2", "type": "modbus-write", "z": "9fc0f809.f00518", "name": "1038 (max Ladeleistung)", "showStatusActivities": false, "showErrors": true, "unitid": "71", "dataType": "MHoldingRegisters", "adr": "1038", "quantity": "2", "server": "a1b432331279e425", "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 790, "y": 1060, "wires": [ [], [ "3cc9aa04587bc7fd" ] ] }, { "id": "05adf76822b5fdfb", "type": "delay", "z": "9fc0f809.f00518", "name": "alle 2min", "pauseType": "rate", "timeout": "5", "timeoutUnits": "seconds", "rate": "1", "nbRateUnits": "2", "rateUnits": "minute", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": true, "allowrate": false, "outputs": 1, "x": 100, "y": 1000, "wires": [ [ "488981e5b2ce8e7b" ] ] }, { "id": "e15fd7aa79e1e881", "type": "buffer-maker", "z": "9fc0f809.f00518", "name": "", "specification": "spec", "specificationType": "ui", "items": [ { "name": "float", "type": "floatle", "length": 1, "dataType": "msg", "data": "payload" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "x": 290, "y": 1180, "wires": [ [ "adfdb76339b7b1cf" ] ] }, { "id": "adfdb76339b7b1cf", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "data", "offset": 0, "length": 2, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 530, "y": 1180, "wires": [ [ "ee49b7d1f0a42c4b" ] ] }, { "id": "ee49b7d1f0a42c4b", "type": "modbus-write", "z": "9fc0f809.f00518", "name": "1044 (max. SoC)", "showStatusActivities": false, "showErrors": true, "unitid": "71", "dataType": "MHoldingRegisters", "adr": "1044", "quantity": "2", "server": "a1b432331279e425", "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 770, "y": 1180, "wires": [ [], [] ] }, { "id": "f5cdcf2d0825f4ea", "type": "buffer-maker", "z": "9fc0f809.f00518", "name": "", "specification": "spec", "specificationType": "ui", "items": [ { "name": "float", "type": "floatle", "length": 1, "dataType": "msg", "data": "payload" } ], "swap1": "swap16", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "x": 290, "y": 1120, "wires": [ [ "d22ee943dc85b34e" ] ] }, { "id": "d22ee943dc85b34e", "type": "buffer-parser", "z": "9fc0f809.f00518", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "data", "offset": 0, "length": 2, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 530, "y": 1120, "wires": [ [ "dfed8d6fb8e4716b" ] ] }, { "id": "dfed8d6fb8e4716b", "type": "modbus-write", "z": "9fc0f809.f00518", "name": "1042 (min SoC)", "showStatusActivities": false, "showErrors": true, "unitid": "71", "dataType": "MHoldingRegisters", "adr": "1042", "quantity": "2", "server": "a1b432331279e425", "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 760, "y": 1120, "wires": [ [], [ "85eb0c2f73e1fa18" ] ] }, { "id": "586c13cb65df2288", "type": "change", "z": "9fc0f809.f00518", "name": "SoC", "rules": [ { "t": "set", "p": "SoC", "pt": "flow", "to": "payload.SoC", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 510, "y": 440, "wires": [ [] ] }, { "id": "c584e99ae971bea6", "type": "cronplus", "z": "9fc0f809.f00518", "name": "SoC / Zeit", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "SoC", "topic": "SoC", "payloadType": "flow", "payload": "SoC", "expressionType": "cron", "expression": "0 * * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Zeit vor 10 Uhr", "topic": "Zeit", "payloadType": "num", "payload": "0", "expressionType": "cron", "expression": "0 */1 0-9 * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Zeit vor 13 Uhr", "topic": "Zeit", "payloadType": "num", "payload": "1", "expressionType": "cron", "expression": "0 */1 10-12 * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Zeit vor 16 Uhr", "topic": "Zeit", "payloadType": "num", "payload": "2", "expressionType": "cron", "expression": "0 */1 13-17 * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Zeit nach 16 Uhr", "topic": "Zeit", "payloadType": "num", "payload": "3", "expressionType": "cron", "expression": "0 */1 18-23 * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Automodus", "topic": "Automodus", "payloadType": "flow", "payload": "Automodus", "expressionType": "cron", "expression": "0 * * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Manuelle LL", "topic": "wmaxlade", "payloadType": "flow", "payload": "wmaxlade", "expressionType": "cron", "expression": "0 * * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Prognose", "topic": "Prognose", "payloadType": "global", "payload": "Prognose", "expressionType": "cron", "expression": "0 * * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 100, "y": 1280, "wires": [ [ "b424efec2c93c349" ] ] }, { "id": "2d6ebadcad99e05d", "type": "function", "z": "9fc0f809.f00518", "name": "Ladeleistung", "func": "SoC = msg.payload.SoC;\nZeit = msg.payload.Zeit;\nA = msg.payload.Automodus;\nW = msg.payload.wmaxlade;\nvar maxLade;\nif (A == false) {\n maxLade = W;\n} else if (Zeit == 0 && SoC < 30) {\n maxLade = 4000;\n} else if (Zeit == 0 && SoC < 40) {\n maxLade = 3000;\n} else if (Zeit == 0 && SoC < 60) {\n maxLade = 2000;\n} else if (Zeit == 0 && SoC >= 60) {\n maxLade = 0;\n} else if (Zeit == 1 && SoC < 40) {\n maxLade = 4000;\n} else if (Zeit == 1 && SoC < 50) {\n maxLade = 2500;\n} else if (Zeit == 1 && SoC < 70) {\n maxLade = 1500;\n} else if (Zeit == 1 && SoC >= 70) {\n maxLade = 0;\n} else if (Zeit == 2 && SoC < 40) {\n maxLade = 4000;\n} else if (Zeit == 2 && SoC < 60) {\n maxLade = 1500;\n} else if (Zeit == 2 && SoC < 85) {\n maxLade = 1000;\n} else if (Zeit == 2 && SoC >= 85) {\n maxLade = 0;\n} else if (Zeit == 3 && SoC < 70) {\n maxLade = 4000;\n} else if (Zeit == 3 && SoC < 80) {\n maxLade = 3000;\n} else if (Zeit == 3 && SoC < 90) {\n maxLade = 2500;\n} else if (Zeit == 3 && SoC < 96) {\n maxLade = 1000;\n} else if (Zeit == 3 && SoC >= 96) {\n maxLade = 600;\n}\nmsg.payload = maxLade;\nmsg.topic = \"max_Lade_0\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 750, "y": 1240, "wires": [ [ "6b4f68ecbc0605d1" ] ] }, { "id": "b424efec2c93c349", "type": "join", "z": "9fc0f809.f00518", "name": "Objekt", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "5", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 270, "y": 1280, "wires": [ [ "b7d4bda743ef9d44" ] ] }, { "id": "6b4f68ecbc0605d1", "type": "change", "z": "9fc0f809.f00518", "name": "max. Ladeleistung", "rules": [ { "t": "set", "p": "maxLL", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 990, "y": 1280, "wires": [ [] ] }, { "id": "488981e5b2ce8e7b", "type": "change", "z": "9fc0f809.f00518", "name": "max. LL", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "maxLL", "tot": "flow" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 100, "y": 1060, "wires": [ [ "2944dd90b4f49503" ] ] }, { "id": "dc41ef02487b0034", "type": "function", "z": "9fc0f809.f00518", "name": "runden", "func": "P_AC = Math.round(msg.payload.P_AC);\nI_rel = Math.round(msg.payload.I_rel);\nP_AC_rel = Math.round(msg.payload.P_AC_rel);\nI = Math.round(msg.payload.I);\nP_DC = Math.round(msg.payload.P_DC);\nP_DC_rel = Math.round(msg.payload.P_DC_rel);\nPmax_ch = Math.round(msg.payload.Pmax_charge);\nPmax_dis = Math.round(msg.payload.Pmax_discharge);\nminSoC = msg.payload.min_SoC;\nmaxSoC = msg.payload.max_SoC;\nmsg.payload = {P_AC,I_rel,P_AC_rel,I,P_DC,P_DC_rel,Pmax_ch,Pmax_dis,minSoC,maxSoC};\nmsg.topic = \"Batt_Parameters\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 960, "y": 760, "wires": [ [ "48277811448d058e", "03013edfbe3b7ba7", "ec610a7ff19501b1", "35508ed946a1750b" ] ] }, { "id": "48277811448d058e", "type": "ui_text", "z": "9fc0f809.f00518", "group": "67ee9ca41db4f5bb", "order": 8, "width": 0, "height": 0, "name": "", "label": "max. Ladeleistung", "format": "{{msg.payload.Pmax_ch}} W", "layout": "row-spread", "className": "", "x": 1210, "y": 700, "wires": [] }, { "id": "03013edfbe3b7ba7", "type": "ui_text", "z": "9fc0f809.f00518", "group": "67ee9ca41db4f5bb", "order": 9, "width": 0, "height": 0, "name": "", "label": "max. Entladeleistung", "format": "{{msg.payload.Pmax_dis}} W", "layout": "row-spread", "className": "", "x": 1220, "y": 740, "wires": [] }, { "id": "ec610a7ff19501b1", "type": "ui_text", "z": "9fc0f809.f00518", "group": "67ee9ca41db4f5bb", "order": 10, "width": 0, "height": 0, "name": "", "label": "min SoC", "format": "{{msg.payload.minSoC}} %", "layout": "row-spread", "className": "", "x": 1180, "y": 780, "wires": [] }, { "id": "35508ed946a1750b", "type": "ui_text", "z": "9fc0f809.f00518", "group": "67ee9ca41db4f5bb", "order": 11, "width": 0, "height": 0, "name": "", "label": "max SoC", "format": "{{msg.payload.maxSoC}} %", "layout": "row-spread", "className": "", "x": 1180, "y": 820, "wires": [] }, { "id": "454d46cae78b4c6f", "type": "ui_dropdown", "z": "9fc0f809.f00518", "name": "", "label": "min SoC", "tooltip": "(5%)", "place": "Select option", "group": "67ee9ca41db4f5bb", "order": 1, "width": 0, "height": 0, "passthru": true, "multiple": false, "options": [ { "label": "5%", "value": 5, "type": "num" }, { "label": "10%", "value": 10, "type": "num" }, { "label": "15%", "value": 15, "type": "num" }, { "label": "20%", "value": 20, "type": "num" }, { "label": "25%", "value": 25, "type": "num" } ], "payload": "", "topic": "topic", "topicType": "msg", "className": "", "x": 280, "y": 1340, "wires": [ [ "50f9d3d8f866b28d" ] ] }, { "id": "50f9d3d8f866b28d", "type": "change", "z": "9fc0f809.f00518", "name": "min SoC", "rules": [ { "t": "set", "p": "minSoC", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 520, "y": 1340, "wires": [ [] ] }, { "id": "0308390ebe6352b3", "type": "inject", "z": "9fc0f809.f00518", "name": "Erstinjektion", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "2", "topic": "", "payload": "5", "payloadType": "num", "x": 110, "y": 1340, "wires": [ [ "454d46cae78b4c6f" ] ] }, { "id": "e2e3e584456706f0", "type": "ui_dropdown", "z": "9fc0f809.f00518", "name": "", "label": "max SoC", "tooltip": "(100%)", "place": "Select option", "group": "67ee9ca41db4f5bb", "order": 2, "width": 0, "height": 0, "passthru": true, "multiple": false, "options": [ { "label": "100%", "value": 100, "type": "num" }, { "label": "90%", "value": 90, "type": "num" }, { "label": "80%", "value": 80, "type": "num" }, { "label": "70%", "value": 70, "type": "num" } ], "payload": "", "topic": "topic", "topicType": "msg", "className": "", "x": 280, "y": 1400, "wires": [ [ "50297fdc9be594cc" ] ] }, { "id": "50297fdc9be594cc", "type": "change", "z": "9fc0f809.f00518", "name": "min SoC", "rules": [ { "t": "set", "p": "maxSoC", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 520, "y": 1400, "wires": [ [] ] }, { "id": "f0fd19977a6ff2f7", "type": "inject", "z": "9fc0f809.f00518", "name": "Erstinjektion", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "2", "topic": "", "payload": "100", "payloadType": "num", "x": 110, "y": 1400, "wires": [ [ "e2e3e584456706f0" ] ] }, { "id": "3cc9aa04587bc7fd", "type": "change", "z": "9fc0f809.f00518", "name": "min SoC", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "minSoC", "tot": "flow" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 100, "y": 1120, "wires": [ [ "f5cdcf2d0825f4ea" ] ] }, { "id": "85eb0c2f73e1fa18", "type": "change", "z": "9fc0f809.f00518", "name": "max SoC", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "maxSoC", "tot": "flow" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 100, "y": 1180, "wires": [ [ "e15fd7aa79e1e881" ] ] }, { "id": "21d3f8e0ad575c96", "type": "calculate", "z": "9fc0f809.f00518", "name": " Ø pro Minute", "pauseType": "timed", "calculation": "average", "timeout": "1", "timeoutUnits": "minutes", "rate": "10", "x": 970, "y": 540, "wires": [ [ "e8891f445bbb6883" ] ] }, { "id": "e8891f445bbb6883", "type": "join", "z": "9fc0f809.f00518", "name": "sammeln", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 960, "y": 600, "wires": [ [ "929d8dda82d6fcec" ] ] }, { "id": "929d8dda82d6fcec", "type": "function", "z": "9fc0f809.f00518", "name": "runden", "func": "Object.entries(msg.payload).forEach((v) =>{\n msg.payload[v[0]] = Math.round(v[1]);\n})\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 960, "y": 640, "wires": [ [ "e27b34f98dd7c65b" ] ] }, { "id": "e27b34f98dd7c65b", "type": "influxdb out", "z": "9fc0f809.f00518", "influxdb": "72e5611c.85f388", "name": "PV2 (DC)", "measurement": "PV2", "precision": "", "retentionPolicy": "", "database": "db", "precisionV18FluxV20": "s", "retentionPolicyV18Flux": "", "org": "organisation", "bucket": "bucket", "x": 960, "y": 680, "wires": [] }, { "id": "d002988eecf1d5e7", "type": "change", "z": "9fc0f809.f00518", "name": "Setze max. Wunschladeleistung", "rules": [ { "t": "set", "p": "wmaxlade", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 590, "y": 1460, "wires": [ [] ] }, { "id": "4e41b3fa9ddc754f", "type": "inject", "z": "9fc0f809.f00518", "name": "Erstinjektion", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "2", "topic": "", "payload": "4200", "payloadType": "num", "x": 110, "y": 1460, "wires": [ [ "16b42f6237771bd3" ] ] }, { "id": "16b42f6237771bd3", "type": "ui_text_input", "z": "9fc0f809.f00518", "name": "max. LL manuell", "label": "max. Ladeleistung manuell:", "tooltip": "(max. 4200)", "group": "67ee9ca41db4f5bb", "order": 3, "width": 0, "height": 0, "passthru": true, "mode": "number", "delay": "0", "topic": "topic", "sendOnBlur": true, "className": "", "topicType": "msg", "x": 300, "y": 1460, "wires": [ [ "d002988eecf1d5e7" ] ] }, { "id": "66c1c27734a2db9c", "type": "ui_switch", "z": "9fc0f809.f00518", "name": "Automodus LL", "label": "Automodus Ladeleistung", "tooltip": "Ladeleistung wird nach SoC, Uhrzeit & Wetter angepasst", "group": "67ee9ca41db4f5bb", "order": 4, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "topic", "topicType": "msg", "style": "", "onvalue": "true", "onvalueType": "bool", "onicon": "", "oncolor": "", "offvalue": "false", "offvalueType": "bool", "officon": "", "offcolor": "", "animate": false, "className": "", "x": 300, "y": 1520, "wires": [ [ "8048c7017ebe93c1" ] ] }, { "id": "095df75179e369b1", "type": "inject", "z": "9fc0f809.f00518", "name": "Erstinjektion", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "2", "topic": "", "payload": "true", "payloadType": "bool", "x": 110, "y": 1520, "wires": [ [ "66c1c27734a2db9c" ] ] }, { "id": "8048c7017ebe93c1", "type": "change", "z": "9fc0f809.f00518", "name": "Automodus", "rules": [ { "t": "set", "p": "Automodus", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 530, "y": 1520, "wires": [ [] ] }, { "id": "866415de3f5509b9", "type": "ui_template", "z": "9fc0f809.f00518", "group": "67ee9ca41db4f5bb", "name": "Folgende Werte", "order": 7, "width": 0, "height": 0, "format": "
\n Folgende Werte sind gespeichert\n
", "storeOutMessages": true, "fwdInMessages": true, "resendOnRefresh": true, "templateScope": "local", "className": "", "x": 120, "y": 1600, "wires": [ [] ] }, { "id": "a05104934f2646a0", "type": "ui_template", "z": "9fc0f809.f00518", "group": "67ee9ca41db4f5bb", "name": "Leerzeile", "order": 6, "width": 0, "height": 0, "format": "
\n \n
", "storeOutMessages": true, "fwdInMessages": true, "resendOnRefresh": true, "templateScope": "local", "className": "", "x": 100, "y": 1560, "wires": [ [] ] }, { "id": "b7d4bda743ef9d44", "type": "switch", "z": "9fc0f809.f00518", "name": "Prognose", "property": "payload.Prognose", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" }, { "t": "eq", "v": "2", "vt": "num" } ], "checkall": "false", "repair": false, "outputs": 3, "x": 520, "y": 1280, "wires": [ [ "2d6ebadcad99e05d" ], [ "84d7db9902224c17" ], [ "c300bb9905d5c0d8" ] ] }, { "id": "c300bb9905d5c0d8", "type": "function", "z": "9fc0f809.f00518", "name": "Ladeleistung 2", "func": "// schlechtes Wetter\nSoC = msg.payload.SoC;\nZeit = msg.payload.Zeit;\nA = msg.payload.Automodus;\nW = msg.payload.wmaxlade;\nvar maxLade;\nif (A == false) {\n maxLade = W;\n} else if (Zeit == 0 && SoC < 65) {\n maxLade = 4000;\n} else if (Zeit == 0 && SoC < 75) {\n maxLade = 3000;\n} else if (Zeit == 0 && SoC >= 75) {\n maxLade = 0;\n} else if (Zeit == 1 && SoC < 65) {\n maxLade = 4000;\n} else if (Zeit == 1 && SoC < 80) {\n maxLade = 2500;\n} else if (Zeit == 1 && SoC >= 80) {\n maxLade = 0;\n} else if (Zeit == 2 && SoC < 70) {\n maxLade = 4000;\n} else if (Zeit == 2 && SoC < 90) {\n maxLade = 2500;\n} else if (Zeit == 2 && SoC >= 90) {\n maxLade = 0;\n} else if (Zeit == 3 && SoC < 80) {\n maxLade = 4000;\n} else if (Zeit == 3 && SoC < 90) {\n maxLade = 3500;\n} else if (Zeit == 3 && SoC < 96) {\n maxLade = 2500;\n} else if (Zeit == 3 && SoC >= 96) {\n maxLade = 1500;\n}\nmsg.payload = maxLade;\nmsg.topic = \"max_Lade_2\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 760, "y": 1320, "wires": [ [ "6b4f68ecbc0605d1" ] ] }, { "id": "84d7db9902224c17", "type": "function", "z": "9fc0f809.f00518", "name": "Ladeleistung 1", "func": "// super Wetter\nSoC = msg.payload.SoC;\nZeit = msg.payload.Zeit;\nA = msg.payload.Automodus;\nW = msg.payload.wmaxlade;\nvar maxLade;\nif (A == false) {\n maxLade = W;\n} else if (Zeit == 0 && SoC < 20) {\n maxLade = 4000;\n} else if (Zeit == 0 && SoC < 30) {\n maxLade = 3000;\n} else if (Zeit == 0 && SoC < 50) {\n maxLade = 2000;\n} else if (Zeit == 0 && SoC >= 50) {\n maxLade = 0;\n} else if (Zeit == 1 && SoC < 30) {\n maxLade = 4000;\n} else if (Zeit == 1 && SoC < 40) {\n maxLade = 2500;\n} else if (Zeit == 1 && SoC < 60) {\n maxLade = 1500;\n} else if (Zeit == 1 && SoC >= 60) {\n maxLade = 0;\n} else if (Zeit == 2 && SoC < 40) {\n maxLade = 2500;\n} else if (Zeit == 2 && SoC < 50) {\n maxLade = 1500;\n} else if (Zeit == 2 && SoC < 85) {\n maxLade = 1000;\n} else if (Zeit == 2 && SoC >= 85) {\n maxLade = 0;\n} else if (Zeit == 3 && SoC < 70) {\n maxLade = 4000;\n} else if (Zeit == 3 && SoC < 80) {\n maxLade = 2000;\n} else if (Zeit == 3 && SoC < 90) {\n maxLade = 1500;\n} else if (Zeit == 3 && SoC < 96) {\n maxLade = 1000;\n} else if (Zeit == 3 && SoC >= 96) {\n maxLade = 600;\n}\nmsg.payload = maxLade;\nmsg.topic = \"max_Lade_1\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 760, "y": 1280, "wires": [ [ "6b4f68ecbc0605d1" ] ] }, { "id": "b7c68fd4574a6a1f", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "512 - 519", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "512", "quantity": "8", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 580, "wires": [ [ "4e895373b1890e21" ], [] ] }, { "id": "4e895373b1890e21", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "W", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "biguint64be", "name": "W_bez", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" }, { "type": "biguint64be", "name": "W_ein", "offset": 8, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "keyvalue", "resultTypeType": "return", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 290, "y": 580, "wires": [ [ "afe10d6a8e05b465" ] ] }, { "id": "afe10d6a8e05b465", "type": "function", "z": "22bb2ce990740b9b", "name": "BigInt zu Num", "func": "//0.1Wh zu kWh\nW_bez=Number(msg.payload.W_bez)/10000;\nW_ein=Number(msg.payload.W_ein)/10000;\nmsg.payload={W_bez,W_ein};\nmsg.topic=\"Zähler\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 500, "y": 580, "wires": [ [ "c136de0d457a367a", "a7538f00.b79748", "d76bd364.777118" ] ] }, { "id": "285e5a3712d79e4c", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "0 - 7", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "0", "quantity": "8", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 90, "y": 100, "wires": [ [ "fedd15222b07ae0e" ], [ "f49a3a6a0e163b73" ] ] }, { "id": "fedd15222b07ae0e", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "P / Q", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "P_bez", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "P_ein", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q_ind", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q_kap", "offset": 12, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 290, "y": 100, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "f49a3a6a0e163b73", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "24 - 27", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "24", "quantity": "4", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 160, "wires": [ [ "8a6b833c973d4786" ], [ "7ecf7492721bf43b" ] ] }, { "id": "8a6b833c973d4786", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "cosphi / Hz", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "cos_phi", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "uint32be", "name": "Hz", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 270, "y": 160, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "975287fb7f7192a1", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "I,U,cos_phi1", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "I1", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "uint32be", "name": "U1", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "int32be", "name": "cos_phi1", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 270, "y": 280, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "7ecf7492721bf43b", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "40 - 47", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "40", "quantity": "8", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 220, "wires": [ [ "a24c8ecfde877290" ], [ "f0424942204b322c" ] ] }, { "id": "f0424942204b322c", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "60 - 65", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "60", "quantity": "6", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 280, "wires": [ [ "975287fb7f7192a1" ], [ "d6127e07ddb3e51b" ] ] }, { "id": "a24c8ecfde877290", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "P1 / Q1", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "P1_bez", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "P1_ein", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q1_ind", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q1_kap", "offset": 12, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 280, "y": 220, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "4c822eec3bfdca38", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "I,U,cos_phi2", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "I2", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "uint32be", "name": "U2", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "int32be", "name": "cos_phi2", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 270, "y": 400, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "d6127e07ddb3e51b", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "80 - 87", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "80", "quantity": "8", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 340, "wires": [ [ "cf3d3f7e4ad9a9a3" ], [ "2b1af7e0151672d9" ] ] }, { "id": "2b1af7e0151672d9", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "100 - 105", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "100", "quantity": "6", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 400, "wires": [ [ "4c822eec3bfdca38" ], [ "ebbce3dd85a0fd50" ] ] }, { "id": "cf3d3f7e4ad9a9a3", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "P2 / Q2", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "P2_bez", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "P2_ein", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q2_ind", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q2_kap", "offset": 12, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 280, "y": 340, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "736502884fe52bd7", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "I,U,cos_phi3", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "I3", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "uint32be", "name": "U3", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" }, { "type": "int32be", "name": "cos_phi3", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.001", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 270, "y": 520, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "ebbce3dd85a0fd50", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "120 - 127", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "120", "quantity": "8", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 460, "wires": [ [ "dc523e960bab4726" ], [ "5354d521745c68a3" ] ] }, { "id": "5354d521745c68a3", "type": "modbus-getter", "z": "22bb2ce990740b9b", "name": "140 - 145", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "71", "dataType": "HoldingRegister", "adr": "140", "quantity": "6", "server": "b4cd9e0d.fcbb7", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 100, "y": 520, "wires": [ [ "736502884fe52bd7" ], [ "b7c68fd4574a6a1f" ] ] }, { "id": "dc523e960bab4726", "type": "buffer-parser", "z": "22bb2ce990740b9b", "name": "P3 / Q3", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "P3_bez", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "P3_ein", "offset": 4, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q3_ind", "offset": 8, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" }, { "type": "uint32be", "name": "Q3_kap", "offset": 12, "length": 1, "offsetbit": 0, "scale": "0.1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "return", "multipleResult": true, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 280, "y": 460, "wires": [ [ "e178ae655ba4f4d3" ] ] }, { "id": "c136de0d457a367a", "type": "change", "z": "22bb2ce990740b9b", "name": "flow W", "rules": [ { "t": "set", "p": "Bezug", "pt": "flow", "to": "payload.W_bez", "tot": "msg" }, { "t": "set", "p": "Einsp", "pt": "flow", "to": "payload.W_ein", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 690, "y": 620, "wires": [ [] ] }, { "id": "96d5961bc7c9d713", "type": "join", "z": "22bb2ce990740b9b", "name": "Objekt für Influx", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 280, "y": 680, "wires": [ [ "a23db8609a598af4" ] ] }, { "id": "a23db8609a598af4", "type": "influxdb out", "z": "22bb2ce990740b9b", "influxdb": "72e5611c.85f388", "name": "KSEM", "measurement": "KSEM", "precision": "", "retentionPolicy": "", "database": "db", "precisionV18FluxV20": "s", "retentionPolicyV18Flux": "", "org": "organisation", "bucket": "bucket", "x": 470, "y": 680, "wires": [] }, { "id": "ccff399381dc6b48", "type": "cronplus", "z": "22bb2ce990740b9b", "name": "täglich 0 Uhr", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "Bezug", "topic": "Bezug", "payloadType": "flow", "payload": "Bezug", "expressionType": "cron", "expression": "0 0 * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Einsp", "topic": "Einsp", "payloadType": "flow", "payload": "Einsp", "expressionType": "cron", "expression": "0 0 * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 110, "y": 680, "wires": [ [ "96d5961bc7c9d713" ] ] }, { "id": "b7cbfbfbe2ea344d", "type": "join", "z": "22bb2ce990740b9b", "name": "Objekt für Influx", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 280, "y": 740, "wires": [ [ "f4f325c982b80680" ] ] }, { "id": "f4f325c982b80680", "type": "influxdb out", "z": "22bb2ce990740b9b", "influxdb": "72e5611c.85f388", "name": "KSEM 2", "measurement": "KSEM2", "precision": "", "retentionPolicy": "", "database": "db", "precisionV18FluxV20": "s", "retentionPolicyV18Flux": "", "org": "organisation", "bucket": "bucket", "x": 480, "y": 740, "wires": [] }, { "id": "b83b52e5d382a18a", "type": "cronplus", "z": "22bb2ce990740b9b", "name": "jeden Monat", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "Bezug", "topic": "Bezug", "payloadType": "flow", "payload": "Bezug", "expressionType": "cron", "expression": "0 0 0 1 * ? *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" }, { "name": "Einsp", "topic": "Einsp", "payloadType": "flow", "payload": "Einsp", "expressionType": "cron", "expression": "0 0 0 1 * ? *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 110, "y": 740, "wires": [ [ "b7cbfbfbe2ea344d" ] ] }, { "id": "80cf3b8f5366e964", "type": "function", "z": "22bb2ce990740b9b", "name": "Messwerte", "func": "// gesamt\nP_bez = msg.payload.P_bez;\nP_bez = parseFloat(P_bez.toFixed(1));\nP_bez2 = parseFloat(P_bez.toFixed(0));\nP_ein = msg.payload.P_ein;\nP_ein = parseFloat(P_ein.toFixed(1));\nP_ein2 = parseFloat(P_ein.toFixed(0));\nQ_ind = msg.payload.Q_ind;\nQ_kap = msg.payload.Q_kap;\nvar Q;\nif (Q_ind > 0 && Q_kap == 0) {\n Q = Q_ind * -1;\n} else {\n Q = Q_kap;\n}\nQ = parseFloat(Q.toFixed(0));\ncos_phi = msg.payload.cos_phi;\ncos_phi = parseFloat(cos_phi.toFixed(2));\nHz = msg.payload.Hz;\nHz = parseFloat(Hz.toFixed(3));\n// L1\nP1_bez = msg.payload.P1_bez;\nP1_bez = parseFloat(P1_bez.toFixed(1));\nQ1_ind = msg.payload.Q1_ind;\nQ1_kap = msg.payload.Q1_kap;\nvar Q1;\nif (Q1_ind > 0 && Q1_kap == 0) {\n Q1 = Q1_ind * -1;\n} else {\n Q1 = Q1_kap;\n}\nQ1 = parseFloat(Q1.toFixed(0));\nU1 = msg.payload.U1;\nU1 = parseFloat(U1.toFixed(2));\ncos_phi1 = msg.payload.cos_phi1;\ncos_phi1 = parseFloat(cos_phi1.toFixed(2));\n// L2\nP2_bez = msg.payload.P2_bez;\nP2_bez = parseFloat(P2_bez.toFixed(1));\nQ2_ind = msg.payload.Q2_ind;\nQ2_kap = msg.payload.Q2_kap;\nvar Q2;\nif (Q2_ind > 0 && Q2_kap == 0) {\n Q2 = Q2_ind * -1;\n} else {\n Q2 = Q2_kap;\n}\nQ2 = parseFloat(Q2.toFixed(0));\nU2 = msg.payload.U2;\nU2 = parseFloat(U2.toFixed(2));\ncos_phi2 = msg.payload.cos_phi2;\ncos_phi2 = parseFloat(cos_phi2.toFixed(2));\n// L3\nP3_bez = msg.payload.P3_bez;\nP3_bez = parseFloat(P3_bez.toFixed(1));\nQ3_ind = msg.payload.Q3_ind;\nQ3_kap = msg.payload.Q3_kap;\nvar Q3;\nif (Q3_ind > 0 && Q3_kap == 0) {\n Q3 = Q3_ind * -1;\n} else {\n Q3 = Q3_kap;\n}\nQ3 = parseFloat(Q3.toFixed(0));\nU3 = msg.payload.U3;\nU3 = parseFloat(U3.toFixed(2));\ncos_phi3 = msg.payload.cos_phi3;\ncos_phi3 = parseFloat(cos_phi3.toFixed(2));\n// Ströme mit Vorzeichen\nI1 = msg.payload.I1;\nI2 = msg.payload.I2;\nI3 = msg.payload.I3;\nE1 = msg.payload.P1_ein;\nP1_ein = parseFloat(E1.toFixed(1));\nE2 = msg.payload.P2_ein;\nP2_ein = parseFloat(E2.toFixed(1));\nE3 = msg.payload.P3_ein;\nP3_ein = parseFloat(E3.toFixed(1));\nvar I1a;\nvar I2a;\nvar I3a;\nif(E1 > 0 ) {\n I1a = I1 * (-1);\n} else {\n I1a = I1;\n}\nif(E2 > 0 ) {\n I2a = I2 * (-1);\n} else {\n I2a = I2;\n}\nif(E3 > 0 ) {\n I3a = I3 * (-1);\n} else {\n I3a = I3;\n}\nI11 = parseFloat(I1a.toFixed(2));\nI22 = parseFloat(I2a.toFixed(2));\nI33 = parseFloat(I3a.toFixed(2));\nmsg.payload = {P_bez,P_bez2,P_ein,P_ein2,Q,cos_phi,Hz,P1_bez,P1_ein,Q1,I11,U1,cos_phi1,P2_bez,P2_ein,Q2,I22,U2,cos_phi2,P3_bez,P3_ein,Q3,I33,U3,cos_phi3};\nmsg.topic = \"Messwerte\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 490, "y": 380, "wires": [ [ "63a59f5304ec31e9", "3925e1de.a66a96", "7664e2f2.f7c174", "8bb6cf58.c755c", "c52dfab.29f0188", "82b0f8e.6c81208" ] ] }, { "id": "b25f4bec4f0703df", "type": "cronplus", "z": "22bb2ce990740b9b", "name": "alle 2s", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "an", "topic": "an", "payloadType": "bool", "payload": "true", "expressionType": "cron", "expression": "*/2 * * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 90, "y": 40, "wires": [ [ "285e5a3712d79e4c" ] ] }, { "id": "e178ae655ba4f4d3", "type": "join", "z": "22bb2ce990740b9b", "name": "Objekt", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "27", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "", "reduceFixup": "", "x": 470, "y": 340, "wires": [ [ "80cf3b8f5366e964" ] ] }, { "id": "3925e1de.a66a96", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "bd2545e77e4ee7ee", "order": 2, "width": 0, "height": 0, "name": "Bezug", "label": " Bezug", "format": "{{msg.payload.P_bez}} W", "layout": "row-spread", "className": "", "x": 690, "y": 300, "wires": [] }, { "id": "7664e2f2.f7c174", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "bd2545e77e4ee7ee", "order": 1, "width": 0, "height": 0, "name": "Einspeisung", "label": " Einspeisung", "format": "{{msg.payload.P_ein}} W", "layout": "row-spread", "className": "", "x": 710, "y": 340, "wires": [] }, { "id": "8bb6cf58.c755c", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "bd2545e77e4ee7ee", "order": 4, "width": 0, "height": 0, "name": "", "label": "Blindleistung", "format": "{{msg.payload.Q}} var", "layout": "row-spread", "className": "", "x": 710, "y": 380, "wires": [] }, { "id": "c52dfab.29f0188", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "bd2545e77e4ee7ee", "order": 6, "width": 0, "height": 0, "name": "Frequenz", "label": "Frequenz", "format": "{{msg.payload.Hz}} Hz", "layout": "row-spread", "className": "", "x": 700, "y": 420, "wires": [] }, { "id": "82b0f8e.6c81208", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "bd2545e77e4ee7ee", "order": 5, "width": 0, "height": 0, "name": "cosphi", "label": "cos phi", "format": "{{msg.payload.cos_phi}}", "layout": "row-spread", "className": "", "x": 690, "y": 460, "wires": [] }, { "id": "3a23a92a.c9ab5e", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "6854fdc6d826a885", "order": 4, "width": 0, "height": 0, "name": "Bezug L1", "label": " Bezug L1", "format": "{{msg.payload.P1_bez}} W", "layout": "row-spread", "className": "", "x": 700, "y": 40, "wires": [] }, { "id": "741bf189.94a", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "6854fdc6d826a885", "order": 1, "width": 0, "height": 0, "name": "Einspeisung L1", "label": " Einspeisung L1", "format": "{{msg.payload.P1_ein}} W", "layout": "row-spread", "className": "", "x": 720, "y": 80, "wires": [] }, { "id": "9b886b46.6d92f", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "7f9b1b2b.f438bc", "order": 1, "width": 0, "height": 0, "name": "", "label": "Blindleistung L1", "format": "{{msg.payload.Q1}} var", "layout": "row-spread", "className": "", "x": 720, "y": 120, "wires": [] }, { "id": "13da8ceb.6f67fb", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 4, "width": 0, "height": 0, "name": "Strom L1", "label": "Strom L1", "format": "{{msg.payload.I11}} A", "layout": "row-spread", "className": "", "x": 700, "y": 160, "wires": [] }, { "id": "b9e36c8d.82ac5", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 1, "width": 0, "height": 0, "name": "Spannung L1", "label": "Spannung L1", "format": "{{msg.payload.U1}} V", "layout": "row-spread", "className": "", "x": 720, "y": 200, "wires": [] }, { "id": "2bb54951.dd5dd6", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "6854fdc6d826a885", "order": 5, "width": 0, "height": 0, "name": "Bezug L2", "label": " Bezug L2", "format": "{{msg.payload.P2_bez}} W", "layout": "row-spread", "className": "", "x": 980, "y": 40, "wires": [] }, { "id": "e178e035.d5a868", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "6854fdc6d826a885", "order": 2, "width": 0, "height": 0, "name": "Einspeisung L2", "label": " Einspeisung L2", "format": "{{msg.payload.P2_ein}} W", "layout": "row-spread", "className": "", "x": 1000, "y": 80, "wires": [] }, { "id": "fbfd10a.d9b3f7", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "7f9b1b2b.f438bc", "order": 2, "width": 0, "height": 0, "name": "", "label": "Blindleistung L2", "format": "{{msg.payload.Q2}} var", "layout": "row-spread", "className": "", "x": 1000, "y": 120, "wires": [] }, { "id": "7eea6d48.d84744", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 5, "width": 0, "height": 0, "name": "Strom L2", "label": "Strom L2", "format": "{{msg.payload.I22}} A", "layout": "row-spread", "className": "", "x": 980, "y": 160, "wires": [] }, { "id": "12a53082.e5a48f", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 2, "width": 0, "height": 0, "name": "Spannung L2", "label": "Spannung L2", "format": "{{msg.payload.U2}} V", "layout": "row-spread", "className": "", "x": 1000, "y": 200, "wires": [] }, { "id": "e54740c5.49cae8", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "6854fdc6d826a885", "order": 6, "width": 0, "height": 0, "name": "Bezug L3", "label": " Bezug L3", "format": "{{msg.payload.P3_bez}} W", "layout": "row-spread", "className": "", "x": 1240, "y": 40, "wires": [] }, { "id": "c6bddf49.101828", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "6854fdc6d826a885", "order": 3, "width": 0, "height": 0, "name": "Einspeisung L3", "label": " Einspeisung L3", "format": "{{msg.payload.P3_ein}} W", "layout": "row-spread", "className": "", "x": 1260, "y": 80, "wires": [] }, { "id": "8af29c29.cf519", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "7f9b1b2b.f438bc", "order": 3, "width": 0, "height": 0, "name": "", "label": "Blindleistung L3", "format": "{{msg.payload.Q3}} var", "layout": "row-spread", "className": "", "x": 1260, "y": 120, "wires": [] }, { "id": "37a21b41.e177e4", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 6, "width": 0, "height": 0, "name": "Strom L3", "label": "Strom L3", "format": "{{msg.payload.I33}} A", "layout": "row-spread", "className": "", "x": 1240, "y": 160, "wires": [] }, { "id": "19ba601d.26fe38", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 3, "width": 0, "height": 0, "name": "Spannung L3", "label": "Spannung L3", "format": "{{msg.payload.U3}} V", "layout": "row-spread", "className": "", "x": 1260, "y": 200, "wires": [] }, { "id": "efa1a740.83bdd", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "7f9b1b2b.f438bc", "order": 4, "width": 0, "height": 0, "name": "cos phi L1", "label": "cos phi L1", "format": "{{msg.payload.cos_phi1}}", "layout": "row-spread", "className": "", "x": 710, "y": 240, "wires": [] }, { "id": "6157f75d.542c98", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "7f9b1b2b.f438bc", "order": 5, "width": 0, "height": 0, "name": "cos phi L2", "label": "cos phi L2", "format": "{{msg.payload.cos_phi2}}", "layout": "row-spread", "className": "", "x": 990, "y": 240, "wires": [] }, { "id": "e77bb50e.86cf9", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "7f9b1b2b.f438bc", "order": 6, "width": 0, "height": 0, "name": "cos phi L3", "label": "cos phi L3", "format": "{{msg.payload.cos_phi3}}", "layout": "row-spread", "className": "", "x": 1250, "y": 240, "wires": [] }, { "id": "d679413920483c79", "type": "link in", "z": "22bb2ce990740b9b", "name": "Messwerte", "links": [ "63a59f5304ec31e9" ], "x": 555, "y": 160, "wires": [ [ "3a23a92a.c9ab5e", "741bf189.94a", "9b886b46.6d92f", "13da8ceb.6f67fb", "b9e36c8d.82ac5", "efa1a740.83bdd" ] ] }, { "id": "3c0f4a40954e8edf", "type": "link in", "z": "22bb2ce990740b9b", "name": "Messwerte", "links": [ "63a59f5304ec31e9" ], "x": 835, "y": 160, "wires": [ [ "2bb54951.dd5dd6", "e178e035.d5a868", "fbfd10a.d9b3f7", "7eea6d48.d84744", "12a53082.e5a48f", "6157f75d.542c98", "552e5ed440b3a2fc" ] ] }, { "id": "388da67ab8f60a41", "type": "link in", "z": "22bb2ce990740b9b", "name": "Messwerte", "links": [ "63a59f5304ec31e9" ], "x": 1095, "y": 160, "wires": [ [ "e54740c5.49cae8", "c6bddf49.101828", "8af29c29.cf519", "37a21b41.e177e4", "19ba601d.26fe38", "e77bb50e.86cf9" ] ] }, { "id": "552e5ed440b3a2fc", "type": "function", "z": "22bb2ce990740b9b", "name": "Schieflast", "func": "I1 = msg.payload.I11;\nI2 = msg.payload.I22;\nI3 = msg.payload.I33;\nmax = Math.max(I1,I2,I3);\nIa = max - I1;\nIb = max - I2;\nIc = max - I3;\nI = Math.max(Ia,Ib,Ic);\nmsg.payload = parseFloat(I.toFixed(1));\nmsg.topic = \"Schieflast\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 980, "y": 280, "wires": [ [ "77af29228e50f2df" ] ] }, { "id": "77af29228e50f2df", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "80b4ccf25a3b9132", "order": 7, "width": 0, "height": 0, "name": "Schieflast", "label": "Schieflast", "format": "{{msg.payload}} A", "layout": "row-spread", "className": "", "x": 1240, "y": 280, "wires": [] }, { "id": "63a59f5304ec31e9", "type": "link out", "z": "22bb2ce990740b9b", "name": "Messwerte", "mode": "link", "links": [ "388da67ab8f60a41", "3c0f4a40954e8edf", "d679413920483c79", "7932dac8bc4be745", "c3d4ebfcc07306c5", "9ff912935ea9fca0" ], "x": 575, "y": 460, "wires": [] }, { "id": "a7538f00.b79748", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "e4be6a94.10844", "order": 1, "width": 0, "height": 0, "name": "Bezug gesamt", "label": " Bezug gesamt", "format": "{{msg.payload.W_bez}} kWh", "layout": "row-spread", "className": "", "x": 720, "y": 540, "wires": [] }, { "id": "d76bd364.777118", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "e4be6a94.10844", "order": 2, "width": 0, "height": 0, "name": "Einspeisung gesamt", "label": " Einspeisung gesamt", "format": "{{msg.payload.W_ein}} kWh", "layout": "row-spread", "className": "", "x": 740, "y": 580, "wires": [] }, { "id": "2b2a913f33483d1f", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "5a1737ac.58b1b8", "order": 3, "width": 0, "height": 0, "name": "Bezug (Übersicht)", "label": " Bezug", "format": "{{msg.payload.P_bez2}} W", "layout": "row-spread", "className": "", "x": 1510, "y": 120, "wires": [] }, { "id": "29c8631cdf2c0300", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "5a1737ac.58b1b8", "order": 2, "width": 0, "height": 0, "name": "Einspeisung (Übersicht)", "label": " Einspeisung", "format": "{{msg.payload.P_ein2}} W", "layout": "row-spread", "className": "", "x": 1530, "y": 160, "wires": [] }, { "id": "c3d4ebfcc07306c5", "type": "link in", "z": "22bb2ce990740b9b", "name": "Messwerte", "links": [ "63a59f5304ec31e9" ], "x": 1355, "y": 160, "wires": [ [ "2b2a913f33483d1f", "29c8631cdf2c0300", "f73c011d7ccc4d9c" ] ] }, { "id": "3b5f0b02aefb7e11", "type": "function", "z": "22bb2ce990740b9b", "name": "Q / Pbez / Pein", "func": "var msg1 = {};\nvar msg2 = {};\nvar msg3 = {};\nQ = msg.payload.Q;\nif(Q > 0 ) {\n Q = 0;\n}\nmsg1.payload = Q;\nmsg1.topic = \"Q\";\nmsg2.payload = msg.payload.P_bez2;\nmsg2.topic = \"Netzbezug\";\nmsg3.payload = msg.payload.P_ein2;\nmsg3.topic = \"Einspeisung\";\nreturn [msg1,msg2,msg3];", "outputs": 3, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1000, "y": 360, "wires": [ [ "744b61463a668eb1" ], [ "6b082c567f58882a", "1201daf5483dc6f7" ], [ "d9f1886753feaabd", "1201daf5483dc6f7" ] ] }, { "id": "9ff912935ea9fca0", "type": "link in", "z": "22bb2ce990740b9b", "name": "Messwerte", "links": [ "63a59f5304ec31e9" ], "x": 835, "y": 360, "wires": [ [ "3b5f0b02aefb7e11" ] ] }, { "id": "744b61463a668eb1", "type": "smooth", "z": "22bb2ce990740b9b", "name": "Minimum", "property": "payload", "action": "min", "count": "32000", "round": "0", "mult": "single", "reduce": false, "x": 1240, "y": 320, "wires": [ [ "1615af288d1ddb0b" ] ] }, { "id": "1615af288d1ddb0b", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "2dceb319b914039f", "order": 2, "width": 0, "height": 0, "name": "", "label": "Blindleistung induktiv", "format": "{{msg.payload}} var", "layout": "row-spread", "className": "", "x": 1520, "y": 320, "wires": [] }, { "id": "6b082c567f58882a", "type": "smooth", "z": "22bb2ce990740b9b", "name": "Maximum", "property": "payload", "action": "max", "count": "32000", "round": "0", "mult": "single", "reduce": false, "x": 1240, "y": 360, "wires": [ [ "2291abee2855f164" ] ] }, { "id": "d9f1886753feaabd", "type": "smooth", "z": "22bb2ce990740b9b", "name": "Maximum", "property": "payload", "action": "max", "count": "32000", "round": "0", "mult": "single", "reduce": false, "x": 1240, "y": 400, "wires": [ [ "d26dc3790cceb444" ] ] }, { "id": "d26dc3790cceb444", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "2dceb319b914039f", "order": 1, "width": 0, "height": 0, "name": "max. Einspeisung", "label": "max. Einspeisung", "format": "{{msg.payload}} W", "layout": "row-spread", "className": "", "x": 1510, "y": 400, "wires": [] }, { "id": "2291abee2855f164", "type": "ui_text", "z": "22bb2ce990740b9b", "group": "2dceb319b914039f", "order": 1, "width": 0, "height": 0, "name": "max Bezug", "label": "max. Bezug", "format": "{{msg.payload}} W", "layout": "row-spread", "className": "", "x": 1490, "y": 360, "wires": [] }, { "id": "1201daf5483dc6f7", "type": "calculate", "z": "22bb2ce990740b9b", "name": " Ø pro 10s", "pauseType": "timed", "calculation": "average", "timeout": "10", "timeoutUnits": "seconds", "rate": "10", "x": 1240, "y": 460, "wires": [ [ "a1887fe4516a23ad" ] ] }, { "id": "a56f23cc98510f9b", "type": "function", "z": "22bb2ce990740b9b", "name": "Reihenfolge", "func": "msg1 = ({\"topic\":\"Einspeisung\",\"payload\":null});\nmsg2 = ({\"topic\":\"Netzbezug\",\"payload\":null});\nreturn [[msg1, msg2]];", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1490, "y": 580, "wires": [ [ "dbb91c24123cad95" ] ] }, { "id": "887a779d57d21c9e", "type": "inject", "z": "22bb2ce990740b9b", "name": "Erstinjektion", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "0.01", "topic": "", "payload": "true", "payloadType": "bool", "x": 1250, "y": 580, "wires": [ [ "a56f23cc98510f9b" ] ] }, { "id": "a1887fe4516a23ad", "type": "function", "z": "22bb2ce990740b9b", "name": "runden", "func": "msg.payload = parseFloat(msg.payload.toFixed(0));\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1480, "y": 460, "wires": [ [ "dbb91c24123cad95" ] ] }, { "id": "dbb91c24123cad95", "type": "ui_chart", "z": "22bb2ce990740b9b", "name": "", "group": "4316a128c03fd381", "order": 1, "width": "0", "height": "0", "label": "Einspeisung / Netzbezug", "chartType": "line", "legend": "true", "xformat": "HH:mm", "interpolate": "linear", "nodata": "", "dot": false, "ymin": "", "ymax": "", "removeOlder": "30", "removeOlderPoints": "", "removeOlderUnit": "60", "cutout": 0, "useOneColor": false, "useUTC": false, "colors": [ "#00d200", "#d90000", "#ff7f0e", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5" ], "outputs": 1, "useDifferentColor": false, "className": "", "x": 1530, "y": 520, "wires": [ [] ] }, { "id": "f73c011d7ccc4d9c", "type": "change", "z": "22bb2ce990740b9b", "name": "global P", "rules": [ { "t": "set", "p": "P-Bezug", "pt": "global", "to": "payload.P_bez2", "tot": "msg" }, { "t": "set", "p": "P-Einsp", "pt": "global", "to": "payload.P_ein2", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1480, "y": 200, "wires": [ [] ] }, { "id": "9235b2b7.d512f", "type": "cpu", "z": "bf21ba00.4a211", "name": "", "msgCore": false, "msgOverall": true, "msgArray": false, "msgTemp": true, "x": 310, "y": 80, "wires": [ [ "8059659a.53d75" ] ] }, { "id": "c4a50eae.b41fd", "type": "inject", "z": "bf21ba00.4a211", "name": "5s Abfrage", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "5", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 130, "y": 80, "wires": [ [ "9235b2b7.d512f", "4a8075e.b68d18c", "87373c3e.fe9ce8", "bac342a9.24f728" ] ] }, { "id": "8059659a.53d75", "type": "join", "z": "bf21ba00.4a211", "name": "Objekt", "mode": "custom", "build": "object", "property": "payload", "propertyType": "msg", "key": "topic", "joiner": "\\n", "joinerType": "str", "accumulate": false, "timeout": "", "count": "2", "reduceRight": false, "reduceExp": "", "reduceInit": "", "reduceInitType": "num", "reduceFixup": "", "x": 470, "y": 80, "wires": [ [ "69d1db5d.3a6ae4" ] ] }, { "id": "4a8075e.b68d18c", "type": "Loadavg", "z": "bf21ba00.4a211", "name": "", "x": 300, "y": 200, "wires": [ [ "e7dfe807.80f1e8", "70b6e9b2.17aff8", "85fbe5f8.8dcb5" ] ] }, { "id": "874dea1a.d2dee8", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 3, "width": 0, "height": 0, "name": "CPU Last Ø 1min", "label": "CPU Last Ø 1min:", "format": "{{msg.payload}}", "layout": "row-spread", "x": 890, "y": 280, "wires": [] }, { "id": "e7dfe807.80f1e8", "type": "function", "z": "bf21ba00.4a211", "name": "CPU Last Ø 1min", "func": "msg.payload = msg.payload.loadavg[0];\nmsg.payload = msg.payload.toFixed(2).replace('.', ',');\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 690, "y": 280, "wires": [ [ "874dea1a.d2dee8" ] ] }, { "id": "70b6e9b2.17aff8", "type": "function", "z": "bf21ba00.4a211", "name": "CPU Last Ø 5min", "func": "msg.payload = msg.payload.loadavg[1];\nmsg.payload = msg.payload.toFixed(2).replace('.', ',');\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 690, "y": 240, "wires": [ [ "2eb8527d.6e8bee" ] ] }, { "id": "85fbe5f8.8dcb5", "type": "function", "z": "bf21ba00.4a211", "name": "CPU Last Ø 15min", "func": "msg.payload = msg.payload.loadavg[2];\nmsg.payload = msg.payload.toFixed(2).replace('.', ',');\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 690, "y": 200, "wires": [ [ "a4b3edfe.e1014" ] ] }, { "id": "2eb8527d.6e8bee", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 4, "width": 0, "height": 0, "name": "CPU Last Ø 5min", "label": "CPU Last Ø 5min:", "format": "{{msg.payload}}", "layout": "row-spread", "x": 890, "y": 240, "wires": [] }, { "id": "a4b3edfe.e1014", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 5, "width": 0, "height": 0, "name": "CPU Last Ø 15min", "label": "CPU Last Ø 15min:", "format": "{{msg.payload}}", "layout": "row-spread", "x": 890, "y": 200, "wires": [] }, { "id": "87373c3e.fe9ce8", "type": "Drives", "z": "bf21ba00.4a211", "name": "", "x": 290, "y": 360, "wires": [ [ "2d91cd33.c53f42" ] ] }, { "id": "2d91cd33.c53f42", "type": "function", "z": "bf21ba00.4a211", "name": "SD-Karte", "func": "msg.payload = msg.payload[0].available /1048576;\nmsg.payload = msg.payload.toFixed(1).replace('.', ',');\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 660, "y": 360, "wires": [ [ "84b89582.12f43" ] ] }, { "id": "84b89582.12f43", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 7, "width": 0, "height": 0, "name": "freier Speicherplatz", "label": "freier Speicherplatz:", "format": "{{msg.payload}} GB", "layout": "row-spread", "x": 890, "y": 360, "wires": [] }, { "id": "bac342a9.24f728", "type": "Memory", "z": "bf21ba00.4a211", "name": "", "scale": "Megabyte", "x": 300, "y": 320, "wires": [ [ "6a0bb21a.d36464" ] ] }, { "id": "6a0bb21a.d36464", "type": "function", "z": "bf21ba00.4a211", "name": "RAM", "func": "msg.payload = msg.payload.memusage;\nmsg.payload = msg.payload.toFixed(1).replace('.', ',');\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 650, "y": 320, "wires": [ [ "441b0b43.4969b4" ] ] }, { "id": "441b0b43.4969b4", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 6, "width": 0, "height": 0, "name": "belegter RAM", "label": "belegter RAM:", "format": "{{msg.payload}} %", "layout": "row-spread", "x": 880, "y": 320, "wires": [] }, { "id": "f57cf365.dca238", "type": "comment", "z": "bf21ba00.4a211", "name": "Bedeutung", "info": "Die drei Zahlen der \"Load\" (auch \"Load Average\") beschreiben die Länge der Run Queue in der letzten 1, 5 und 15 Minuten als exponentiell gewichteten gleitenden Durchschnitt. Die damit einhergehende Glättung vermeidet Ausreißer. Sie soll den Wachstumstrend der Run Queue darstellen und aufgrund ihres Aufbaus nur nur mittelbar zur Bewertung der Systemauslastung geeignet.\n\nVereinfacht ausgerückt zeigt die Load, wie viele lauffähige Prozesse, dazu zählen auf CPU-Zeit und auf IO wartende Prozesse, sich in der Run Queue befinden und somit auf Abarbeitung warten.\n\nEs gibt keinen 1:1 Zusammenhang zwischen der \"Load\" und der Systemauslastung. Die \"Load\" sagt nur, daß eine bestimmte Anzahl von Prozessen in der Vergangenheit auf die Abarbeitung warteten. Sie trifft keine Aussage, in wie weit diese Prozesse die ihnen zur Verfügung gestellte Zeit vollständig genutzt haben oder ob sie ungenutzte Zeit wieder an den Kernel zurückgeben, damit diese Zeit einem weiteren Prozeß zur Verfügung gestellt wird. Die Systemauslastung kann besser über die Metriken \"%user\", \"%system\", \"%iowait\" und \"%idle\" geurteilt werden. top und sar zeigen diese Metriken an.\n\nDie Aussage, daß ein System zu 100% ausgelastet ist, wenn es pro CPU-Core einen wartenden Prozeß in der Run Queue hat, stimmt aufgrund des soeben beschriebenen lockeren Zusammenhang zwischen Load und Systemauslastung nicht zwangsläufig.", "x": 1060, "y": 240, "wires": [] }, { "id": "95fe8b43.a2928", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 1, "width": 0, "height": 0, "name": "CPU Temperatur", "label": " CPU Temperatur:", "format": "{{msg.payload}} °C", "layout": "row-spread", "className": "", "x": 890, "y": 40, "wires": [] }, { "id": "69d1db5d.3a6ae4", "type": "function", "z": "bf21ba00.4a211", "name": "Temp & Last", "func": "var msg1 = {};\nvar msg2 = {};\nT = msg.payload.temperature;\nT = parseFloat(T.toFixed(1));\nO = msg.payload.overall;\nO = parseFloat(O.toFixed(1));\nmsg1.payload = T\nmsg1.topic = \"CPU Temperatur\";\nmsg2.payload = O\nmsg2.topic = \"CPU Last\";\nreturn [msg1,msg2];", "outputs": 2, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 670, "y": 80, "wires": [ [ "95fe8b43.a2928", "d28e024738b389d8" ], [ "d805c8dc.478e", "d28e024738b389d8" ] ] }, { "id": "d805c8dc.478e", "type": "ui_text", "z": "bf21ba00.4a211", "group": "6af5f2b7.799004", "order": 2, "width": 0, "height": 0, "name": "CPU Last", "label": "CPU Last:", "format": "{{msg.payload}} %", "layout": "row-spread", "className": "", "x": 860, "y": 120, "wires": [] }, { "id": "d28e024738b389d8", "type": "ui_chart", "z": "bf21ba00.4a211", "name": "CPU Last & Temperatur", "group": "c731b1ac.d1ee9", "order": 1, "width": 0, "height": 0, "label": "CPU Last & Temperatur", "chartType": "line", "legend": "false", "xformat": "HH:mm", "interpolate": "linear", "nodata": "", "dot": false, "ymin": "0", "ymax": "", "removeOlder": "15", "removeOlderPoints": "", "removeOlderUnit": "60", "cutout": 0, "useOneColor": false, "useUTC": false, "colors": [ "#ff8000", "#2c85c7", "#ff7f0e", "#2ca02c", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5" ], "outputs": 1, "useDifferentColor": false, "className": "", "x": 910, "y": 80, "wires": [ [] ] }, { "id": "0bd6836f8684e3a1", "type": "openweathermap", "z": "a85445c69706ecc9", "name": "Ort", "wtype": "onecall", "lon": "8.4582", "lat": "52.1618", "city": "", "country": "", "language": "de", "x": 160, "y": 100, "wires": [ [ "d4cdd4ead9a03aec", "e0caef141d791d13", "424356ec97bedf23", "07eeabc6f7d1d3c1" ] ] }, { "id": "d4cdd4ead9a03aec", "type": "function", "z": "a85445c69706ecc9", "name": "Morgen", "func": "date = msg.payload.daily[1].dt *1000;\nclouds = msg.payload.daily[1].clouds;\npop = msg.payload.daily[1].pop *100;\npop = parseFloat(pop.toFixed(0));\nrain = msg.payload.daily[1].rain;\nmsg.payload = {date,clouds,pop,rain};\nmsg.topic = \"Wetter_morgen\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 360, "y": 100, "wires": [ [ "14a630f2ffa59d2a", "8004a2c39f85f4ec", "b5048888b8ae0bae", "e913028ba91cc58c", "2a6af5ae9bf512d9" ] ] }, { "id": "895f6db04544a8a8", "type": "ui_text", "z": "a85445c69706ecc9", "group": "3b9fa61e5a5beebe", "order": 1, "width": 0, "height": 0, "name": "", "label": "Datum", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "x": 710, "y": 20, "wires": [] }, { "id": "14a630f2ffa59d2a", "type": "change", "z": "a85445c69706ecc9", "name": "Datum", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$moment(payload.date).locale(\"de\").tz('Europe/Berlin').format('dddd, D.MMMM YYYY') ", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 570, "y": 20, "wires": [ [ "895f6db04544a8a8" ] ] }, { "id": "e0caef141d791d13", "type": "debug", "z": "a85445c69706ecc9", "name": "", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 370, "y": 160, "wires": [] }, { "id": "424356ec97bedf23", "type": "function", "z": "a85445c69706ecc9", "name": "Heute", "func": "sunrise = msg.payload.daily[0].sunrise *1000;\nsunset = msg.payload.daily[0].sunset *1000;\ntday = msg.payload.daily[0].temp.day;\ntday = parseFloat(tday.toFixed(0));\npres = msg.payload.daily[0].pressure;\nhum = msg.payload.daily[0].humidity;\nws = msg.payload.daily[0].wind_speed *3.6;\nws = parseFloat(ws.toFixed(0));\ndes = msg.payload.daily[0].weather[0].description\nclouds = msg.payload.daily[0].clouds;\npop = msg.payload.daily[0].pop *100;\npop = parseFloat(pop.toFixed(0));\nrain = msg.payload.daily[0].rain;\ntmin = msg.payload.daily[0].temp.min;\ntmin = parseFloat(tmin.toFixed(0));\nmsg.payload = {sunrise,sunset,tday,pres,hum,ws,des,clouds,pop,rain,tmin};\nmsg.topic = \"Wetter_heute\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 350, "y": 340, "wires": [ [ "0fdb48e43ece11cb", "7b417fb6673bd476", "e435eeb98b6fad1a", "286a87aae9205de7", "314acc77d7605244", "8e0e3ef8e2315194", "f113a98ce17e0586", "74da9d8966ba866c", "cb51fb1920b701a7", "2bd4e675cc66ae1a", "dc5d8cd78dcb7b2e" ] ] }, { "id": "0fdb48e43ece11cb", "type": "change", "z": "a85445c69706ecc9", "name": "Zeit", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$moment(payload.sunrise).locale(\"de\").tz('Europe/Berlin').format('HH:mm [Uhr]') ", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 570, "y": 240, "wires": [ [ "e4a30163192d676e" ] ] }, { "id": "7b417fb6673bd476", "type": "change", "z": "a85445c69706ecc9", "name": "Zeit", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$moment(payload.sunset).locale(\"de\").tz('Europe/Berlin').format('HH:mm [Uhr]') ", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 570, "y": 280, "wires": [ [ "036c97095ecedeac" ] ] }, { "id": "e4a30163192d676e", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 1, "width": 0, "height": 0, "name": "", "label": "Sonnenaufgang", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "x": 740, "y": 240, "wires": [] }, { "id": "036c97095ecedeac", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 2, "width": 0, "height": 0, "name": "", "label": "Sonnenuntergang", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "x": 750, "y": 280, "wires": [] }, { "id": "e435eeb98b6fad1a", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 6, "width": 0, "height": 0, "name": "", "label": "Tagestemperatur", "format": "{{msg.payload.tday}} °C", "layout": "row-spread", "className": "", "x": 750, "y": 320, "wires": [] }, { "id": "b5048888b8ae0bae", "type": "ui_text", "z": "a85445c69706ecc9", "group": "3b9fa61e5a5beebe", "order": 3, "width": 0, "height": 0, "name": "", "label": "Bewölkung", "format": "{{msg.payload.clouds}} %", "layout": "row-spread", "className": "", "x": 730, "y": 100, "wires": [] }, { "id": "e913028ba91cc58c", "type": "ui_text", "z": "a85445c69706ecc9", "group": "3b9fa61e5a5beebe", "order": 4, "width": 0, "height": 0, "name": "", "label": "Regenwahrscheinlichkeit", "format": "{{msg.payload.pop}} %", "layout": "row-spread", "className": "", "x": 770, "y": 140, "wires": [] }, { "id": "2a6af5ae9bf512d9", "type": "ui_text", "z": "a85445c69706ecc9", "group": "3b9fa61e5a5beebe", "order": 5, "width": 0, "height": 0, "name": "", "label": "Niederschlag", "format": "{{msg.payload.rain}} mm", "layout": "row-spread", "className": "", "x": 730, "y": 180, "wires": [] }, { "id": "286a87aae9205de7", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 8, "width": 0, "height": 0, "name": "", "label": "Druck", "format": "{{msg.payload.pres}} mbar", "layout": "row-spread", "className": "", "x": 710, "y": 360, "wires": [] }, { "id": "314acc77d7605244", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 9, "width": 0, "height": 0, "name": "", "label": "Luftfeuchtigkeit", "format": "{{msg.payload.hum}} %", "layout": "row-spread", "className": "", "x": 740, "y": 400, "wires": [] }, { "id": "8004a2c39f85f4ec", "type": "change", "z": "a85445c69706ecc9", "name": "Zeit", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$moment(payload.date).locale(\"de\").tz('Europe/Berlin').format('HH:mm [Uhr]') ", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 570, "y": 60, "wires": [ [ "3f09f1414a7cb444" ] ] }, { "id": "3f09f1414a7cb444", "type": "ui_text", "z": "a85445c69706ecc9", "group": "3b9fa61e5a5beebe", "order": 2, "width": 0, "height": 0, "name": "", "label": "Zeit", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "x": 710, "y": 60, "wires": [] }, { "id": "8e0e3ef8e2315194", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 10, "width": 0, "height": 0, "name": "", "label": "Windgeschwindigkeit", "format": "{{msg.payload.ws}} km/h", "layout": "row-spread", "className": "", "x": 760, "y": 440, "wires": [] }, { "id": "f113a98ce17e0586", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 11, "width": 0, "height": 0, "name": "", "label": "Beschreibung", "format": "{{msg.payload.des}}", "layout": "row-spread", "className": "", "x": 740, "y": 480, "wires": [] }, { "id": "74da9d8966ba866c", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 3, "width": 0, "height": 0, "name": "", "label": "Bewölkung", "format": "{{msg.payload.clouds}} %", "layout": "row-spread", "className": "", "x": 730, "y": 520, "wires": [] }, { "id": "cb51fb1920b701a7", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 4, "width": 0, "height": 0, "name": "", "label": "Regenwahrscheinlichkeit", "format": "{{msg.payload.pop}} %", "layout": "row-spread", "className": "", "x": 770, "y": 560, "wires": [] }, { "id": "2bd4e675cc66ae1a", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 5, "width": 0, "height": 0, "name": "", "label": "Niederschlag", "format": "{{msg.payload.rain}} mm", "layout": "row-spread", "className": "", "x": 730, "y": 600, "wires": [] }, { "id": "dc5d8cd78dcb7b2e", "type": "ui_text", "z": "a85445c69706ecc9", "group": "fd98fa1452bad971", "order": 7, "width": 0, "height": 0, "name": "", "label": "Minimaltemperatur", "format": "{{msg.payload.tmin}} °C", "layout": "row-spread", "className": "", "x": 750, "y": 640, "wires": [] }, { "id": "07eeabc6f7d1d3c1", "type": "function", "z": "a85445c69706ecc9", "name": "in 3h", "func": "date = msg.payload.hourly[3].dt *1000;\nclouds = msg.payload.hourly[3].clouds;\npop = msg.payload.hourly[3].pop *100;\npop = Math.round(pop);\nvar P;\nif (clouds > 95 || pop > 95) {\n P = 2;\n} else if (clouds < 20) {\n P = 1;\n} else {\n P = 0;\n}\nvar Pr;\nif (P == 0) {\n Pr = \"normales Wetter\";\n} else if (P == 1) {\n Pr = \"super Wetter\";\n} else if (P == 2) {\n Pr = \"schlechtes Wetter\";\n} else {\n Pr = \"Fehler\";\n}\nmsg.payload = {date,clouds,pop,P,Pr};\nmsg.topic = \"in_3h\";\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 970, "y": 100, "wires": [ [ "634eca73854f6eda", "abcd9a742317182f", "1281f810a8036ea8", "934ee7bf62ad7233", "6ab08369ae83ef38", "8e5682aa0d9bae59", "a1c44b60301f4dbb" ] ] }, { "id": "634eca73854f6eda", "type": "ui_text", "z": "a85445c69706ecc9", "group": "53a443c39a1555dc", "order": 3, "width": 0, "height": 0, "name": "", "label": "Bewölkung", "format": "{{msg.payload.clouds}} %", "layout": "row-spread", "className": "", "x": 1330, "y": 100, "wires": [] }, { "id": "1281f810a8036ea8", "type": "change", "z": "a85445c69706ecc9", "name": "Zeit", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$moment(payload.date).locale(\"de\").tz('Europe/Berlin').format('HH:mm [Uhr]') ", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1170, "y": 60, "wires": [ [ "90eadd2e893bed6c" ] ] }, { "id": "abcd9a742317182f", "type": "change", "z": "a85445c69706ecc9", "name": "Datum", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "$moment(payload.date).locale(\"de\").tz('Europe/Berlin').format('dddd, D.MMMM YYYY') ", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1170, "y": 20, "wires": [ [ "4ac806933b3ebf75" ] ] }, { "id": "4ac806933b3ebf75", "type": "ui_text", "z": "a85445c69706ecc9", "group": "53a443c39a1555dc", "order": 1, "width": 0, "height": 0, "name": "", "label": "Datum", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "x": 1310, "y": 20, "wires": [] }, { "id": "90eadd2e893bed6c", "type": "ui_text", "z": "a85445c69706ecc9", "group": "53a443c39a1555dc", "order": 2, "width": 0, "height": 0, "name": "", "label": "Zeit", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "x": 1310, "y": 60, "wires": [] }, { "id": "934ee7bf62ad7233", "type": "ui_text", "z": "a85445c69706ecc9", "group": "53a443c39a1555dc", "order": 4, "width": 0, "height": 0, "name": "", "label": "Regenwahrscheinlichkeit", "format": "{{msg.payload.pop}} %", "layout": "row-spread", "className": "", "x": 1370, "y": 140, "wires": [] }, { "id": "6ab08369ae83ef38", "type": "ui_text", "z": "a85445c69706ecc9", "group": "53a443c39a1555dc", "order": 4, "width": 0, "height": 0, "name": "", "label": "Prognose", "format": "{{msg.payload.Pr}}", "layout": "row-spread", "className": "", "x": 1320, "y": 180, "wires": [] }, { "id": "f3a768db47ce2881", "type": "cronplus", "z": "a85445c69706ecc9", "name": "jede Stunde", "outputField": "payload", "timeZone": "", "persistDynamic": false, "commandResponseMsgOutput": "output1", "outputs": 1, "options": [ { "name": "true", "topic": "true", "payloadType": "bool", "payload": "true", "expressionType": "cron", "expression": "10 0 * * * *", "location": "", "offset": "0", "solarType": "all", "solarEvents": "sunrise,sunset" } ], "x": 110, "y": 40, "wires": [ [ "0bd6836f8684e3a1" ] ] }, { "id": "4f00f284d797e598", "type": "inject", "z": "a85445c69706ecc9", "name": "Erstinjektion", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": "5", "topic": "", "payload": "true", "payloadType": "bool", "x": 110, "y": 160, "wires": [ [ "0bd6836f8684e3a1" ] ] }, { "id": "8e5682aa0d9bae59", "type": "change", "z": "a85445c69706ecc9", "name": "Global Prognose", "rules": [ { "t": "set", "p": "Prognose", "pt": "global", "to": "payload.P", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1350, "y": 220, "wires": [ [] ] }, { "id": "a1c44b60301f4dbb", "type": "ui_text", "z": "a85445c69706ecc9", "group": "67ee9ca41db4f5bb", "order": 5, "width": 0, "height": 0, "name": "", "label": "Wetter Prognose", "format": "{{msg.payload.Pr}}", "layout": "row-spread", "className": "", "x": 1350, "y": 260, "wires": [] } ]