[
{
"id": "715b3130a0bf481d",
"type": "group",
"z": "55443e1f542dbc9d",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"4947a02fcd4edf20",
"a013551e97844b4b",
"c8a37553435440ab",
"5587d829cf20127e",
"3ae1a73fe6e76be4",
"be91cf740bd9ca99",
"b35628de2426cdd4",
"b938572524a54c73",
"d24888498d06af0b",
"11bc60bba9910b6e",
"b4054c34bfe9a0a2",
"dc67aad7d2262c9e",
"efe6b1767d2b794f",
"2f2cc81b9101d0b3",
"8504b9048c548def",
"33708fbed1d61e6d"
],
"x": 54,
"y": 999,
"w": 852,
"h": 322
},
{
"id": "4947a02fcd4edf20",
"type": "ioBroker out",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "ModBus.Voll_PV_Akt",
"topic": "node-red.0.ModBus.Voll_PV_Akt",
"ack": "true",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 740,
"y": 1080,
"wires": []
},
{
"id": "a013551e97844b4b",
"type": "ioBroker out",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "ModBus.Eigen_PV_Akt",
"topic": "node-red.0.ModBus.Eigen_PV_Akt",
"ack": "true",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 740,
"y": 1140,
"wires": []
},
{
"id": "c8a37553435440ab",
"type": "ioBroker out",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "ModBus.Voll_PV_Ges",
"topic": "node-red.0.ModBus.Voll_PV_Ges",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 760,
"y": 1280,
"wires": []
},
{
"id": "5587d829cf20127e",
"type": "ioBroker out",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "ModBus.Eigen_PV_Ges",
"topic": "node-red.0.ModBus.Eigen_PV_Ges",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 770,
"y": 1220,
"wires": []
},
{
"id": "3ae1a73fe6e76be4",
"type": "comment",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "ModBus auslesen",
"info": "",
"x": 210,
"y": 1040,
"wires": []
},
{
"id": "be91cf740bd9ca99",
"type": "cronplus",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "",
"outputField": "payload",
"timeZone": "",
"persistDynamic": false,
"commandResponseMsgOutput": "output1",
"outputs": 1,
"options": [
{
"name": "schedule1",
"topic": "topic1",
"payloadType": "default",
"payload": "",
"expressionType": "cron",
"expression": "*/1 * * * * * *",
"location": "",
"offset": "0",
"solarType": "all",
"solarEvents": "sunrise,sunset"
}
],
"x": 200,
"y": 1100,
"wires": [
[
"d24888498d06af0b",
"11bc60bba9910b6e"
]
]
},
{
"id": "b35628de2426cdd4",
"type": "cronplus",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "",
"outputField": "payload",
"timeZone": "",
"persistDynamic": false,
"commandResponseMsgOutput": "output1",
"outputs": 1,
"options": [
{
"name": "schedule1",
"topic": "topic1",
"payloadType": "default",
"payload": "",
"expressionType": "cron",
"expression": "0 */1 * * * * *",
"location": "",
"offset": "0",
"solarType": "all",
"solarEvents": "sunrise,sunset"
}
],
"x": 200,
"y": 1240,
"wires": [
[
"dc67aad7d2262c9e",
"b4054c34bfe9a0a2"
]
]
},
{
"id": "b938572524a54c73",
"type": "thingzi-timer",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "Sun",
"lat": "51.51",
"lon": "7.9528",
"timerType": "onoff",
"startupMessage": true,
"ontype": "sun",
"ontimesun": "dusk",
"ontimetod": "",
"onpropertytype": "msg",
"onproperty": "payload",
"onvaluetype": "str",
"onvalue": "ON",
"onoffset": "30",
"onrandomoffset": false,
"offtype": "sun",
"offtimesun": "dawn",
"offtimetod": "",
"offpropertytype": "msg",
"offproperty": "payload",
"offvaluetype": "str",
"offvalue": "OFF",
"offoffset": "-30",
"offrandomoffset": false,
"mon": true,
"tue": true,
"wed": true,
"thu": true,
"fri": true,
"sat": true,
"sun": true,
"x": 130,
"y": 1180,
"wires": [
[
"be91cf740bd9ca99",
"b35628de2426cdd4"
]
]
},
{
"id": "d24888498d06af0b",
"type": "ioBroker get",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "Eigen_Act",
"topic": "modbus.0.inputRegisters.3.30775",
"attrname": "payload",
"payloadType": "value",
"errOnInvalidState": "nothing",
"x": 410,
"y": 1140,
"wires": [
[
"8504b9048c548def"
]
]
},
{
"id": "11bc60bba9910b6e",
"type": "ioBroker get",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "Voll_Act",
"topic": "modbus.1.inputRegisters.3.30775",
"attrname": "payload",
"payloadType": "value",
"errOnInvalidState": "nothing",
"x": 400,
"y": 1080,
"wires": [
[
"33708fbed1d61e6d"
]
]
},
{
"id": "b4054c34bfe9a0a2",
"type": "ioBroker get",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "Voll_Ges",
"topic": "modbus.1.inputRegisters.3.30513_watt",
"attrname": "payload",
"payloadType": "value",
"errOnInvalidState": "nothing",
"x": 400,
"y": 1280,
"wires": [
[
"2f2cc81b9101d0b3"
]
]
},
{
"id": "dc67aad7d2262c9e",
"type": "ioBroker get",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "Eigen_Ges",
"topic": "modbus.0.inputRegisters.3.30513",
"attrname": "payload",
"payloadType": "value",
"errOnInvalidState": "nothing",
"x": 410,
"y": 1220,
"wires": [
[
"efe6b1767d2b794f"
]
]
},
{
"id": "efe6b1767d2b794f",
"type": "function",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "/1000",
"func": "var input = parseFloat(msg.payload);\nvar output = (input / 1000).toFixed(2);\n\nmsg.payload = parseFloat(output);\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 550,
"y": 1220,
"wires": [
[
"5587d829cf20127e"
]
]
},
{
"id": "2f2cc81b9101d0b3",
"type": "function",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "/1000",
"func": "var input = parseFloat(msg.payload);\nvar output = (input / 1000).toFixed(2);\n\nmsg.payload = parseFloat(output);\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 550,
"y": 1280,
"wires": [
[
"c8a37553435440ab"
]
]
},
{
"id": "8504b9048c548def",
"type": "switch",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "15000",
"v2t": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 550,
"y": 1140,
"wires": [
[
"a013551e97844b4b"
]
]
},
{
"id": "33708fbed1d61e6d",
"type": "switch",
"z": "55443e1f542dbc9d",
"g": "715b3130a0bf481d",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "0",
"vt": "num",
"v2": "15000",
"v2t": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 550,
"y": 1080,
"wires": [
[
"4947a02fcd4edf20"
]
]
}
]