[ { "id": "78bcc7b.07aa038", "type": "tab", "label": "Modbus_TCP", "disabled": false, "info": "" }, { "id": "cd15434a.e68f1", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32087", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32087", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 640, "wires": [ [ "e5619565.985e28" ], [ "23a05a60.7a5216" ] ] }, { "id": "287319c6.b373f6", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "32064", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32064", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 400, "wires": [ [ "d2927739.83f298" ], [ "3c914caf.5738e4" ] ] }, { "id": "7f192735.7f04d8", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Interne Temperatur", "topic": "0_userdata.0.Huawei.Inverter.Internal_Temperature", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "temperature", "payloadType": "number", "readonly": "false", "stateUnit": "°C", "stateMin": "", "stateMax": "", "x": 730, "y": 640, "wires": [] }, { "id": "b1161bcd.470708", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Input Power", "topic": "0_userdata.0.Huawei.Inverter.Input_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "object", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 710, "y": 400, "wires": [] }, { "id": "d2927739.83f298", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 400, "wires": [ [ "af79ce87.b753b" ] ] }, { "id": "3c914caf.5738e4", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32078", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32078", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 460, "wires": [ [ "f3c37488.7ecae8" ], [ "267382c6.bb1a8e" ] ] }, { "id": "8b6b24cb.456578", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Peak Active Power of current Day", "topic": "0_userdata.0.Huawei.Inverter.Peak_Active_Power_of_current_Day", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "object", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 780, "y": 460, "wires": [] }, { "id": "f3c37488.7ecae8", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Rated Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 460, "wires": [ [ "20815958.10bdc6" ] ] }, { "id": "de6e01cf.1babb", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "32086", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32086", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 580, "wires": [ [ "d1eac20a.fd546" ], [ "cd15434a.e68f1" ] ] }, { "id": "ae33615.ef40da", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Efficiency", "topic": "0_userdata.0.Huawei.Inverter.Efficiency", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "efficiency", "payloadType": "number", "readonly": "false", "stateUnit": "%", "stateMin": "", "stateMax": "", "x": 700, "y": 580, "wires": [] }, { "id": "d1eac20a.fd546", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16le", "name": "Wirkungsgrad", "offset": 0, "length": 1, "offsetbit": 0, "scale": "0.01", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 580, "wires": [ [ "ae33615.ef40da" ] ] }, { "id": "e5619565.985e28", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Temperatur", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 640, "wires": [ [ "6a77e118.4529e" ] ] }, { "id": "23a05a60.7a5216", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32106", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32106", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 720, "wires": [ [ "13c902f0.e19bdd" ], [ "1b3aca18.baeaa6" ] ] }, { "id": "13c902f0.e19bdd", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Meter Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 720, "wires": [ [ "def025a8.e64258" ] ] }, { "id": "fe38cb9c.a4dd68", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Accumulated Energy Yield", "topic": "0_userdata.0.Huawei.Inverter.Accumulated_Energy_Yield", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "energy", "payloadType": "number", "readonly": "false", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 750, "y": 720, "wires": [] }, { "id": "267382c6.bb1a8e", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32085", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32085", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 520, "wires": [ [ "635bee76.0254d" ], [ "de6e01cf.1babb", "cd15434a.e68f1" ] ] }, { "id": "635bee76.0254d", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Grid frequency", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 520, "wires": [ [ "86bd3f2f.22fa2" ] ] }, { "id": "85c06382.4a9b1", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Grid Frequency", "topic": "0_userdata.0.Huawei.Inverter.Grid_Frequency", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Grid frequency", "payloadType": "number", "readonly": "false", "stateUnit": "HZ", "stateMin": "0", "stateMax": "60", "x": 720, "y": 520, "wires": [] }, { "id": "1b3aca18.baeaa6", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32114", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32114", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 780, "wires": [ [ "2172b185.4b630e" ], [ "c596b0bc.0a1a4", "a953f654.e296d8" ] ] }, { "id": "2172b185.4b630e", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Meter Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 780, "wires": [ [ "a13f1ae4.bda158" ] ] }, { "id": "a922a727.2c6088", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Daily Energy Yield", "topic": "0_userdata.0.Huawei.Inverter.Daily_Energy_Yield", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "energy", "payloadType": "number", "readonly": "false", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 730, "y": 780, "wires": [] }, { "id": "e8ec50e.aea08b", "type": "inject", "z": "78bcc7b.07aa038", "name": "1 Min. Intervall", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "60", "crontab": "", "once": true, "onceDelay": "1", "topic": "", "payload": "", "payloadType": "date", "x": 120, "y": 140, "wires": [ [ "481d5176d5aa862e" ] ] }, { "id": "3076b6ea.5c933a", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37101", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37101", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 290, "y": 1740, "wires": [ [ "567ec76e.bb3438" ], [ "6eaa73d4.39b4bc" ] ] }, { "id": "d100d88b.9af928", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Grid Voltage Phase 1", "topic": "0_userdata.0.Huawei.Meter.Grid_Voltage_Phase_1", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "true", "stateUnit": "V", "stateMin": "", "stateMax": "", "x": 820, "y": 1740, "wires": [] }, { "id": "567ec76e.bb3438", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Grid voltage", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 470, "y": 1740, "wires": [ [ "13b47ba1.cbdd54" ] ] }, { "id": "6eaa73d4.39b4bc", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37103", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37103", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 290, "y": 1800, "wires": [ [ "a95b7c46.be76c" ], [ "33c4f2fd.8652ce" ] ] }, { "id": "e4c2a3b8.47544", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Grid Voltage Phase 2", "topic": "0_userdata.0.Huawei.Meter.Grid_Voltage_Phase_2", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "true", "stateUnit": "V", "stateMin": "", "stateMax": "", "x": 820, "y": 1800, "wires": [] }, { "id": "a95b7c46.be76c", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Grid voltage", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 470, "y": 1800, "wires": [ [ "5f60f9f9.0c1b58" ] ] }, { "id": "33c4f2fd.8652ce", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37105", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37105", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 290, "y": 1860, "wires": [ [ "6a518e98.6209b" ], [ "6c877776.822b48" ] ] }, { "id": "12734112.c6928f", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Grid Voltage Phase 3", "topic": "0_userdata.0.Huawei.Meter.Grid_Voltage_Phase_3", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "true", "stateUnit": "V", "stateMin": "", "stateMax": "", "x": 820, "y": 1860, "wires": [] }, { "id": "6a518e98.6209b", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Grid voltage", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 470, "y": 1860, "wires": [ [ "4550491.feec5b8" ] ] }, { "id": "6c877776.822b48", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37118", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37118", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 290, "y": 1940, "wires": [ [ "7ca62dbd.afd8f4" ], [ "a128923b.6bb64" ] ] }, { "id": "ceb73472.5bdf88", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Grid Frequency", "topic": "0_userdata.0.Huawei.Meter.Grid_Frequency", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "true", "stateUnit": "Hz", "stateMin": "", "stateMax": "", "x": 800, "y": 1940, "wires": [] }, { "id": "7ca62dbd.afd8f4", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int16be", "name": "Grid Frequency", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 470, "y": 1940, "wires": [ [ "b0e16ddd.0039" ] ] }, { "id": "6dddc7c0.2b30f8", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "30000", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "30000", "quantity": "15", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 280, "wires": [ [ "c5dccba9.887548" ], [ "320bb00e.64185" ] ] }, { "id": "c5dccba9.887548", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "string", "name": "Model", "offset": 0, "length": 15, "offsetbit": 0, "scale": "0.1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 280, "wires": [ [ "d5a9a6fb.7c5408" ] ] }, { "id": "d5a9a6fb.7c5408", "type": "ioBroker out", "z": "78bcc7b.07aa038", "d": true, "name": "Model", "topic": "0_userdata.0.Huawei.Inverter.Model", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "name", "payloadType": "number", "readonly": "false", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 690, "y": 280, "wires": [] }, { "id": "320bb00e.64185", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "30070", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "30070", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 210, "y": 340, "wires": [ [ "23bd63c4.74e6cc" ], [ "287319c6.b373f6", "3c914caf.5738e4" ] ] }, { "id": "23bd63c4.74e6cc", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Model ID", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 390, "y": 340, "wires": [ [ "1f15301e.28c0d" ] ] }, { "id": "1f15301e.28c0d", "type": "ioBroker out", "z": "78bcc7b.07aa038", "d": true, "name": "Model ID", "topic": "0_userdata.0.Huawei.Inverter.Model_ID", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "false", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 700, "y": 340, "wires": [] }, { "id": "252247a0.c15d78", "type": "comment", "z": "78bcc7b.07aa038", "name": "Meter", "info": "", "x": 130, "y": 1700, "wires": [] }, { "id": "42b5f1fc.28bc1", "type": "comment", "z": "78bcc7b.07aa038", "name": "Inverter", "info": "", "x": 70, "y": 280, "wires": [] }, { "id": "a529ec2.c9bf41", "type": "inject", "z": "78bcc7b.07aa038", "d": true, "name": "1 Min Intervall", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "*/1 0-5 * * *", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 120, "y": 200, "wires": [ [ "6dddc7c0.2b30f8" ] ] }, { "id": "def025a8.e64258", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "2", "x": 550, "y": 720, "wires": [ [ "fe38cb9c.a4dd68" ] ] }, { "id": "a13f1ae4.bda158", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "2", "x": 550, "y": 780, "wires": [ [ "a922a727.2c6088" ] ] }, { "id": "b0e16ddd.0039", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "2", "x": 630, "y": 1940, "wires": [ [ "ceb73472.5bdf88" ] ] }, { "id": "13b47ba1.cbdd54", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "10", "round": true, "decimals": "2", "x": 630, "y": 1740, "wires": [ [ "d100d88b.9af928" ] ] }, { "id": "5f60f9f9.0c1b58", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "10", "round": true, "decimals": "2", "x": 630, "y": 1800, "wires": [ [ "e4c2a3b8.47544" ] ] }, { "id": "4550491.feec5b8", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "10", "round": true, "decimals": "2", "x": 630, "y": 1860, "wires": [ [ "12734112.c6928f" ] ] }, { "id": "86bd3f2f.22fa2", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "2", "x": 550, "y": 520, "wires": [ [ "85c06382.4a9b1" ] ] }, { "id": "6a77e118.4529e", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "10", "round": true, "decimals": "1", "x": 550, "y": 640, "wires": [ [ "7f192735.7f04d8" ] ] }, { "id": "af79ce87.b753b", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "0", "x": 550, "y": 400, "wires": [ [ "b1161bcd.470708" ] ] }, { "id": "20815958.10bdc6", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "0", "x": 550, "y": 460, "wires": [ [ "8b6b24cb.456578" ] ] }, { "id": "1388afbf.68e8a", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32080", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32080", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 370, "y": 2320, "wires": [ [ "3bb8736f.d951dc" ], [ "60d231e7.4decb" ] ] }, { "id": "3bb8736f.d951dc", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Active Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 550, "y": 2320, "wires": [ [ "422c8ad4.f65794" ] ] }, { "id": "422c8ad4.f65794", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "0", "x": 710, "y": 2320, "wires": [ [ "c0384b73.98e3d8" ] ] }, { "id": "c0384b73.98e3d8", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Active Power", "topic": "0_userdata.0.Huawei.Inverter.Active_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 870, "y": 2320, "wires": [] }, { "id": "deed22ba.14572", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Meter Active Power", "topic": "0_userdata.0.Huawei.Meter.Active_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "object", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 890, "y": 2260, "wires": [] }, { "id": "91f0cb1e.b96a48", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "0", "x": 710, "y": 2260, "wires": [ [ "deed22ba.14572" ] ] }, { "id": "8a975b8b.8a93a8", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Meter Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 550, "y": 2260, "wires": [ [ "91f0cb1e.b96a48" ] ] }, { "id": "a0874f78.211d9", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37113", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37113", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 370, "y": 2260, "wires": [ [ "8a975b8b.8a93a8" ], [ "1388afbf.68e8a" ] ] }, { "id": "5741d8fb.4c7068", "type": "inject", "z": "78bcc7b.07aa038", "name": "5 Sek. Intervall", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "5", "crontab": "", "once": true, "onceDelay": "1", "topic": "", "payload": "", "payloadType": "date", "x": 240, "y": 2180, "wires": [ [ "0d314cac7de8d09d" ] ] }, { "id": "e255f5d2.f744a8", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37001", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37001", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 370, "y": 2500, "wires": [ [ "8ab8cd42.42139" ], [] ] }, { "id": "8ab8cd42.42139", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Battery Charging", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 550, "y": 2500, "wires": [ [ "899d0fc3.5668f" ] ] }, { "id": "899d0fc3.5668f", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "0", "x": 710, "y": 2500, "wires": [ [ "89ea8b16.14a5b8" ] ] }, { "id": "89ea8b16.14a5b8", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery Power", "topic": "0_userdata.0.Huawei.Battery.Battery_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 880, "y": 2500, "wires": [] }, { "id": "3627c3b3.30d1cc", "type": "comment", "z": "78bcc7b.07aa038", "name": "Battery", "info": "", "x": 210, "y": 2460, "wires": [] }, { "id": "b64116f2.bb1918", "type": "comment", "z": "78bcc7b.07aa038", "name": "Most relevant data (short request intervall):", "info": "", "x": 260, "y": 2120, "wires": [] }, { "id": "b53c12c0.94dad", "type": "comment", "z": "78bcc7b.07aa038", "name": "Less relevant data (long request intervall)", "info": "", "x": 240, "y": 80, "wires": [] }, { "id": "60d231e7.4decb", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "32064", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "32064", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 370, "y": 2380, "wires": [ [ "cbbcf4d2.99fb58" ], [ "e255f5d2.f744a8" ] ] }, { "id": "c25c486b.9b8d48", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Input Power", "topic": "0_userdata.0.Huawei.Inverter.Input_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "object", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 870, "y": 2380, "wires": [] }, { "id": "cbbcf4d2.99fb58", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Power", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 550, "y": 2380, "wires": [ [ "7b6dd0e5.9f636" ] ] }, { "id": "7b6dd0e5.9f636", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "0", "x": 710, "y": 2380, "wires": [ [ "c25c486b.9b8d48" ] ] }, { "id": "c596b0bc.0a1a4", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "37015", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37015", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 270, "y": 840, "wires": [ [ "7b78ce79.8d15a" ], [ "9988665a.839ad8" ] ] }, { "id": "7b78ce79.8d15a", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Battery SOC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 450, "y": 840, "wires": [ [ "4e3bcde2.5d9cc4" ] ] }, { "id": "4e3bcde2.5d9cc4", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "1", "x": 610, "y": 840, "wires": [ [ "91a2814a.318e4" ] ] }, { "id": "91a2814a.318e4", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Day_Charge_Capacity", "topic": "0_userdata.0.Huawei.Battery.Battery_Day_Charge_Capacity", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 830, "y": 840, "wires": [] }, { "id": "9988665a.839ad8", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "37017", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37017", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 270, "y": 900, "wires": [ [ "68f444d1.2b7e5c" ], [ "98907a14.5daa88" ] ] }, { "id": "68f444d1.2b7e5c", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Battery SOC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 450, "y": 900, "wires": [ [ "24731e7.74905e2" ] ] }, { "id": "24731e7.74905e2", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "1", "x": 610, "y": 900, "wires": [ [ "f59eef3e.65bfb" ] ] }, { "id": "f59eef3e.65bfb", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Day_DisCharge_Capacity", "topic": "0_userdata.0.Huawei.Battery.Battery_Day_DisCharge_Capacity", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 840, "y": 900, "wires": [] }, { "id": "40e923b2.44a23c", "type": "comment", "z": "78bcc7b.07aa038", "name": "Battery", "info": "", "x": 110, "y": 840, "wires": [] }, { "id": "98907a14.5daa88", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "37066", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37066", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 270, "y": 980, "wires": [ [ "4a3476a4.2b2cc8" ], [ "5869de5.84bc52" ] ] }, { "id": "4a3476a4.2b2cc8", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Battery SOC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 450, "y": 980, "wires": [ [ "d774fa0b.c9caf8" ] ] }, { "id": "d774fa0b.c9caf8", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "1", "x": 610, "y": 980, "wires": [ [ "20b73d7c.cf4742" ] ] }, { "id": "20b73d7c.cf4742", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Total_Charge", "topic": "0_userdata.0.Huawei.Battery.Battery_Total_Charge", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 800, "y": 980, "wires": [] }, { "id": "5869de5.84bc52", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "37068", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37068", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 270, "y": 1040, "wires": [ [ "3e6cfe37.7c2b62" ], [ "a953f654.e296d8" ] ] }, { "id": "3e6cfe37.7c2b62", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Battery SOC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 450, "y": 1040, "wires": [ [ "78fdc686.b67388" ] ] }, { "id": "78fdc686.b67388", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "1", "x": 610, "y": 1040, "wires": [ [ "56632e22.8e085" ] ] }, { "id": "56632e22.8e085", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Total_DisCharge", "topic": "0_userdata.0.Huawei.Battery.Battery_Total_DisCharge", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 810, "y": 1040, "wires": [] }, { "id": "a128923b.6bb64", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37119", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37119", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 290, "y": 2000, "wires": [ [ "750f430.ff51abc" ], [ "3428a6fe.738ffa" ] ] }, { "id": "be7b38d8.f60578", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Delivered_to_Grid", "topic": "0_userdata.0.Huawei.Meter.Delivered_to_Grid", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "true", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 810, "y": 2000, "wires": [] }, { "id": "750f430.ff51abc", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Grid Frequency", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 470, "y": 2000, "wires": [ [ "d410c0da.a2908" ] ] }, { "id": "d410c0da.a2908", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "2", "x": 630, "y": 2000, "wires": [ [ "be7b38d8.f60578" ] ] }, { "id": "3428a6fe.738ffa", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37119", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37119", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 290, "y": 2060, "wires": [ [ "a7ae7ba6.5a0008" ], [] ] }, { "id": "4086305d.06e34", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Taken_from_Grid", "topic": "0_userdata.0.Huawei.Meter.Taken_from_Grid", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "", "payloadType": "number", "readonly": "true", "stateUnit": "kWh", "stateMin": "", "stateMax": "", "x": 810, "y": 2060, "wires": [] }, { "id": "a7ae7ba6.5a0008", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Grid Frequency", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 470, "y": 2060, "wires": [ [ "76418523.5d393c" ] ] }, { "id": "76418523.5d393c", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "100", "round": true, "decimals": "2", "x": 630, "y": 2060, "wires": [ [ "4086305d.06e34" ] ] }, { "id": "a953f654.e296d8", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "37004", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "37004", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 270, "y": 1100, "wires": [ [ "a6cb85bb.c17d88" ], [ "c90559e1.a75528" ] ] }, { "id": "a6cb85bb.c17d88", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Battery SOC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 450, "y": 1100, "wires": [ [ "ed1457c5.2b3338" ] ] }, { "id": "ed1457c5.2b3338", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "10", "round": true, "decimals": "1", "x": 610, "y": 1100, "wires": [ [ "18e690a7.59e77f" ] ] }, { "id": "18e690a7.59e77f", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_SOC", "topic": "0_userdata.0.Huawei.Battery.Battery_SOC", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 770, "y": 1100, "wires": [] }, { "id": "5f093d78.2b7a84", "type": "modbus-write", "z": "78bcc7b.07aa038", "d": true, "name": "47082 (Bat Discharge cutof capacity SET)", "showStatusActivities": false, "showErrors": true, "unitid": "2", "dataType": "HoldingRegister", "adr": "47082", "quantity": "1", "server": "70220ecd.1ca1e", "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 980, "y": 140, "wires": [ [], [] ] }, { "id": "c90559e1.a75528", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "47077", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47077", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 310, "y": 1180, "wires": [ [ "3da820ce.48cf3" ], [ "52787b65.0e6644", "1b1acdb8.bac172" ] ] }, { "id": "3da820ce.48cf3", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint32be", "name": "Battery SOC", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 490, "y": 1180, "wires": [ [ "97e88cc6.f336d" ] ] }, { "id": "97e88cc6.f336d", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "1", "x": 650, "y": 1180, "wires": [ [ "3e39df29.b4126" ] ] }, { "id": "3e39df29.b4126", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Max_Discharge_Power", "topic": "0_userdata.0.Huawei.Battery.Battery_Max_Discharge_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 870, "y": 1180, "wires": [] }, { "id": "d66192b.d14c97", "type": "ioBroker in", "z": "78bcc7b.07aa038", "d": true, "name": "JSON_test", "topic": "javascript.0.eigene_variablen.JSON_test", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 550, "y": 140, "wires": [ [ "5f093d78.2b7a84", "8ef5240e.d200b8" ] ] }, { "id": "52787b65.0e6644", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "47082", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47082", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 310, "y": 1240, "wires": [ [ "1495aa13.55c826" ], [ "c36b0757.7fb488" ] ] }, { "id": "1495aa13.55c826", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Battery Discharge Cutoff Capacity", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 490, "y": 1240, "wires": [ [ "9b1e07bc.4ccd68" ] ] }, { "id": "9b1e07bc.4ccd68", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "1", "x": 650, "y": 1240, "wires": [ [ "2d1ba345.f3766c" ] ] }, { "id": "2d1ba345.f3766c", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Discharge_Cutoff_Capacity", "topic": "0_userdata.0.Huawei.Battery.Battery_Discharge_Cutoff_Capacity", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 880, "y": 1240, "wires": [] }, { "id": "c36b0757.7fb488", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "47081", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47081", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 310, "y": 1300, "wires": [ [ "d4d57be6.b4d8a8" ], [ "1b1acdb8.bac172" ] ] }, { "id": "d4d57be6.b4d8a8", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Battery Discharge Cutoff Capacity", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 490, "y": 1300, "wires": [ [ "13b61608.fd0c8a" ] ] }, { "id": "13b61608.fd0c8a", "type": "calculator", "z": "78bcc7b.07aa038", "name": "", "inputMsgField": "payload", "outputMsgField": "payload", "operation": "div", "constant": "1", "round": true, "decimals": "1", "x": 650, "y": 1300, "wires": [ [ "d67fac22.62c54" ] ] }, { "id": "d67fac22.62c54", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Charge_Cutoff_Capacity", "topic": "0_userdata.0.Huawei.Battery.Battery_Charge_Cutoff_Capacity", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 880, "y": 1300, "wires": [] }, { "id": "8ef5240e.d200b8", "type": "modbus-write", "z": "78bcc7b.07aa038", "d": true, "name": "47078 (Bat Max Discharge Power)", "showStatusActivities": false, "showErrors": true, "unitid": "2", "dataType": "HoldingRegister", "adr": "47078", "quantity": "1", "server": "70220ecd.1ca1e", "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 960, "y": 200, "wires": [ [], [] ] }, { "id": "1b1acdb8.bac172", "type": "modbus-getter", "z": "78bcc7b.07aa038", "name": "47077", "showStatusActivities": false, "showErrors": false, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47077", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "x": 310, "y": 1420, "wires": [ [ "12430d4e.c83383" ], [ "77fc216f77b12dbc", "3076b6ea.5c933a" ] ] }, { "id": "12430d4e.c83383", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Max_Discharge_Power_TEST", "topic": "0_userdata.0.Huawei.Battery.Battery_Max_Discharge_Power_TEST", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 890, "y": 1420, "wires": [] }, { "id": "77fc216f77b12dbc", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "47075", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47075", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 310, "y": 1480, "wires": [ [ "b91bda9c0cec50d0" ], [ "f0c6b52357a61ba3" ] ] }, { "id": "b91bda9c0cec50d0", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Max_Charge_Power_TEST", "topic": "0_userdata.0.Huawei.Battery.Battery_Max_Charge_Power_TEST", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 880, "y": 1480, "wires": [] }, { "id": "f0c6b52357a61ba3", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "47027", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47027", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 310, "y": 1540, "wires": [ [ "e18c5b3d3c1fd0b2" ], [ "7bf2ec7b7686710e" ] ] }, { "id": "f8c629384ca9d7f1", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_TOU_Mode", "topic": "0_userdata.0.Huawei.Battery.Battery_TOU_mode", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 840, "y": 1540, "wires": [] }, { "id": "e18c5b3d3c1fd0b2", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Grid voltage", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 530, "y": 1540, "wires": [ [ "f8c629384ca9d7f1" ] ] }, { "id": "7bf2ec7b7686710e", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "47083", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47083", "quantity": "1", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 310, "y": 1600, "wires": [ [ "f30b63cf3310d3d4" ], [ "bd6316ccec498bfe" ] ] }, { "id": "73c7bc0e0abefb5a", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Forced_Charging_Period", "topic": "0_userdata.0.Huawei.Battery.TOU.Battery_Forced_Charging_Period", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 880, "y": 1600, "wires": [] }, { "id": "f30b63cf3310d3d4", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "uint16be", "name": "Grid voltage", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 530, "y": 1600, "wires": [ [ "73c7bc0e0abefb5a" ] ] }, { "id": "bd6316ccec498bfe", "type": "modbus-getter", "z": "78bcc7b.07aa038", "d": true, "name": "47084", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "logIOActivities": false, "unitid": "2", "dataType": "HoldingRegister", "adr": "47084", "quantity": "2", "server": "70220ecd.1ca1e", "useIOFile": false, "ioFile": "", "useIOForPayload": false, "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 310, "y": 1660, "wires": [ [ "c7a13ac70bbfa666" ], [ "3076b6ea.5c933a" ] ] }, { "id": "de0c0cbc94add38b", "type": "ioBroker out", "z": "78bcc7b.07aa038", "name": "Battery_Forced_Charging_Power", "topic": "0_userdata.0.Huawei.Battery.TOU.Battery_Forced_Charging_Power", "ack": "true", "autoCreate": "true", "stateName": "Huawei", "role": "Power", "payloadType": "number", "readonly": "false", "stateUnit": "W", "stateMin": "", "stateMax": "", "x": 880, "y": 1660, "wires": [] }, { "id": "c7a13ac70bbfa666", "type": "buffer-parser", "z": "78bcc7b.07aa038", "name": "", "data": "payload", "dataType": "msg", "specification": "spec", "specificationType": "ui", "items": [ { "type": "int32be", "name": "Grid voltage", "offset": 0, "length": 1, "offsetbit": 0, "scale": "1", "mask": "" } ], "swap1": "", "swap2": "", "swap3": "", "swap1Type": "swap", "swap2Type": "swap", "swap3Type": "swap", "msgProperty": "payload", "msgPropertyType": "str", "resultType": "value", "resultTypeType": "output", "multipleResult": false, "fanOutMultipleResult": false, "setTopic": true, "outputs": 1, "x": 530, "y": 1660, "wires": [ [ "de0c0cbc94add38b" ] ] }, { "id": "d17c438afdacb172", "type": "ioBroker in", "z": "78bcc7b.07aa038", "name": "Battery_Max_Discharge_Power_SET", "topic": "0_userdata.0.Huawei.Battery.Battery_Max_Discharge_Power_SET", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 290, "y": 2700, "wires": [ [ "0fa4c7fddb1a7a2d", "0940a76ad6cb8995" ] ] }, { "id": "0fa4c7fddb1a7a2d", "type": "function", "z": "78bcc7b.07aa038", "name": "", "func": "var fc=16;\nvar sa=50;\nvar addresses=2;\nvar buf=Buffer.alloc(4);//create buffer\nbuf.writeInt32BE(msg.payload);\nvar values=[(buf[0]*256+buf[1]),(buf[2]*256)+buf[3]]\nmsg.slave_ip=\"192.168.1.76\";\nmsg.payload=values;\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 570, "y": 2700, "wires": [ [ "7584d7dffdd56f4a" ] ] }, { "id": "7584d7dffdd56f4a", "type": "modbus-write", "z": "78bcc7b.07aa038", "name": "47077 (Max Discharge Power)", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "unitid": "2", "dataType": "MHoldingRegisters", "adr": "47077", "quantity": "2", "server": "70220ecd.1ca1e", "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 900, "y": 2700, "wires": [ [], [] ] }, { "id": "27dc14365d58e18b", "type": "ioBroker in", "z": "78bcc7b.07aa038", "name": "Battery_Max_Charge_Power_SET", "topic": "0_userdata.0.Huawei.Battery.Battery_Max_Charge_Power_SET", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 290, "y": 2780, "wires": [ [ "13841cb1228ce674", "0940a76ad6cb8995" ] ] }, { "id": "13841cb1228ce674", "type": "function", "z": "78bcc7b.07aa038", "name": "", "func": "var fc=16;\nvar sa=50;\nvar addresses=2;\nvar buf=Buffer.alloc(4);//create buffer\nbuf.writeInt32BE(msg.payload);\nvar values=[(buf[0]*256+buf[1]),(buf[2]*256)+buf[3]]\nmsg.slave_ip=\"192.168.1.76\";\nmsg.payload=values;\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 570, "y": 2780, "wires": [ [ "6e8311465df5e3f0" ] ] }, { "id": "6e8311465df5e3f0", "type": "modbus-write", "z": "78bcc7b.07aa038", "name": "47075 (Max Charge Power)", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "unitid": "2", "dataType": "MHoldingRegisters", "adr": "47075", "quantity": "2", "server": "70220ecd.1ca1e", "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 890, "y": 2780, "wires": [ [], [] ] }, { "id": "04c86e451845bad1", "type": "comment", "z": "78bcc7b.07aa038", "name": "Battery charge and discharge settings", "info": "", "x": 290, "y": 2640, "wires": [] }, { "id": "0940a76ad6cb8995", "type": "change", "z": "78bcc7b.07aa038", "name": "", "rules": [ { "t": "set", "p": "pause", "pt": "flow", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 650, "y": 2860, "wires": [ [ "b5cfb5a848136acd" ] ] }, { "id": "b5cfb5a848136acd", "type": "trigger", "z": "78bcc7b.07aa038", "name": "", "op1": "", "op2": "false", "op1type": "nul", "op2type": "bool", "duration": "20", "extend": false, "overrideDelay": false, "units": "s", "reset": "", "bytopic": "all", "topic": "topic", "outputs": 1, "x": 850, "y": 2860, "wires": [ [ "cd370116419fa29d" ] ] }, { "id": "cd370116419fa29d", "type": "change", "z": "78bcc7b.07aa038", "name": "", "rules": [ { "t": "set", "p": "pause", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1050, "y": 2860, "wires": [ [] ] }, { "id": "0d314cac7de8d09d", "type": "switch", "z": "78bcc7b.07aa038", "name": "Pause ?", "property": "pause", "propertyType": "flow", "rules": [ { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 200, "y": 2260, "wires": [ [ "a0874f78.211d9" ] ] }, { "id": "ab1e2de43fb760c7", "type": "change", "z": "78bcc7b.07aa038", "name": "", "rules": [ { "t": "set", "p": "pause", "pt": "flow", "to": "false", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 570, "y": 3100, "wires": [ [] ] }, { "id": "51cb81fd9915f82e", "type": "inject", "z": "78bcc7b.07aa038", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 290, "y": 3100, "wires": [ [ "ab1e2de43fb760c7" ] ] }, { "id": "481d5176d5aa862e", "type": "switch", "z": "78bcc7b.07aa038", "name": "Pause ?", "property": "pause", "propertyType": "flow", "rules": [ { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 340, "y": 180, "wires": [ [ "6dddc7c0.2b30f8" ] ] }, { "id": "d767ce9e02b71a33", "type": "comment", "z": "78bcc7b.07aa038", "name": "Variable Pause initialisieren mit \"false\"", "info": "", "x": 290, "y": 3060, "wires": [] }, { "id": "10099942140542a4", "type": "ioBroker in", "z": "78bcc7b.07aa038", "name": "Workingmode_Change_2 max self_ 5TOU", "topic": "0_userdata.0.Huawei.Battery.Battery_Working_Mode_2_5", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "outFormat": "MQTT", "x": 300, "y": 2920, "wires": [ [ "c48068815d0e4ba0", "0940a76ad6cb8995" ] ] }, { "id": "40c54c1410e1ba13", "type": "modbus-write", "z": "78bcc7b.07aa038", "name": "47086 (Workingmode)", "showStatusActivities": false, "showErrors": false, "showWarnings": true, "unitid": "2", "dataType": "HoldingRegister", "adr": "47086", "quantity": "1", "server": "70220ecd.1ca1e", "emptyMsgOnFail": false, "keepMsgProperties": false, "delayOnStart": false, "startDelayTime": "", "x": 860, "y": 2920, "wires": [ [], [] ] }, { "id": "c48068815d0e4ba0", "type": "function", "z": "78bcc7b.07aa038", "name": "", "func": "var sa = 50; // Startadresse des Registers\nvar address = 1; // Adressen des Registers\nvar value = msg.payload; // Wert, den du schreiben möchtest (16-Bit)\n\nvar buf = Buffer.alloc(2);\nbuf.writeUInt16BE(value); // Schreibe den 16-Bit Wert in den Buffer\n\nmsg.payload = {\n 'fc': 6, // Funktion 6 für das Schreiben eines einzelnen Registers\n 'unitid': 2, // Modbus-Geräte-ID\n 'value': buf.readUInt16BE(0) // Lese den Wert aus dem Buffer\n};\n\nreturn msg;\n", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 600, "y": 2920, "wires": [ [ "40c54c1410e1ba13" ] ] }, { "id": "b3116c05b72c4674", "type": "comment", "z": "78bcc7b.07aa038", "name": "2: Max Eigenverbrauch / 5: TOU (Netzladen)", "info": "", "x": 430, "y": 2960, "wires": [] }, { "id": "70220ecd.1ca1e", "type": "modbus-client", "name": "WLAN-FE", "clienttype": "tcp", "bufferCommands": true, "stateLogEnabled": false, "queueLogEnabled": false, "tcpHost": "192.168.0.98", "tcpPort": "502", "tcpType": "DEFAULT", "serialPort": "/dev/ttyUSB", "serialType": "RTU-BUFFERD", "serialBaudrate": "9600", "serialDatabits": "8", "serialStopbits": "1", "serialParity": "none", "serialConnectionDelay": "100", "serialAsciiResponseStartDelimiter": "", "unit_id": 2, "commandDelay": 1, "clientTimeout": 5000, "reconnectOnTimeout": false, "reconnectTimeout": 2000, "parallelUnitIdsAllowed": true } ]