[
{
"id": "36318eb9c650f7cb",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/JSON",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1850,
"y": 420,
"wires": []
},
{
"id": "9fb87a96e7311c0b",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Main voltage (Volt)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1880,
"y": 580,
"wires": []
},
{
"id": "e7c6690567dc5910",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Main Current (Ampere)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 760,
"wires": []
},
{
"id": "c407bb1b6716e139",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Main Power (Watt)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1880,
"y": 940,
"wires": []
},
{
"id": "fb27ed15a46c4f28",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/State of charge (%)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1890,
"y": 1180,
"wires": []
},
{
"id": "144fa2c625c33eb3",
"type": "calculator",
"z": "0455d242634f8fe0",
"name": "",
"inputMsgField": "payload",
"outputMsgField": "payload",
"operation": "div",
"constant": "1000",
"round": false,
"truncate": true,
"decimals": "0",
"decimals2": "2",
"x": 1030,
"y": 580,
"wires": [
[
"f7bd9435e7f5ed3e",
"e6e7a15d5270ce71",
"f52265659e41e859"
]
]
},
{
"id": "5d2ca3d2376786a8",
"type": "calculator",
"z": "0455d242634f8fe0",
"name": "",
"inputMsgField": "payload",
"outputMsgField": "payload",
"operation": "div",
"constant": "1000",
"round": false,
"truncate": true,
"decimals": "0",
"decimals2": "2",
"x": 1030,
"y": 760,
"wires": [
[
"4ea8cd843f1dbe1e",
"8eb6fc3f48b2a500",
"db19bec05e497678"
]
]
},
{
"id": "3628c42e5121b795",
"type": "calculator",
"z": "0455d242634f8fe0",
"name": "",
"inputMsgField": "payload",
"outputMsgField": "payload",
"operation": "div",
"constant": "10",
"round": false,
"truncate": true,
"decimals": "0",
"decimals2": "2",
"x": 1030,
"y": 1180,
"wires": [
[
"3eb97aeb06de41c7",
"cf328531e56d3f73",
"c1e02875e964a5d7"
]
]
},
{
"id": "f7bd9435e7f5ed3e",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "max",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 520,
"wires": [
[
"5fda862a592616e4"
]
]
},
{
"id": "f52265659e41e859",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "min",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 640,
"wires": [
[
"03ac5e14035a1311"
]
]
},
{
"id": "e322a9ff693eca13",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Max Main voltage (Volt)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 520,
"wires": []
},
{
"id": "b7bbc3ee5671779f",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Min Main voltage (Volt)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 640,
"wires": []
},
{
"id": "4ea8cd843f1dbe1e",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "max",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 700,
"wires": [
[
"4094fe726ec541b3"
]
]
},
{
"id": "db19bec05e497678",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "min",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 820,
"wires": [
[
"d60de9feffc5b81b"
]
]
},
{
"id": "d2eabe0a07ae5f60",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Max Main Current (Ampere)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1910,
"y": 700,
"wires": []
},
{
"id": "46d60fbbc23e53a6",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Min Main Current (Ampere)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1910,
"y": 820,
"wires": []
},
{
"id": "6b1b310a9fd01d3b",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "max",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 880,
"wires": [
[
"15aca046722621f2"
]
]
},
{
"id": "c4933dbc66d2b2d5",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "min",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 1000,
"wires": [
[
"6b4d16754e8272b0"
]
]
},
{
"id": "65bba5b17080d8a0",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Max Main Power (Watt)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 880,
"wires": []
},
{
"id": "9fa486a8e19254a0",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Min Main Power (Watt)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 1000,
"wires": []
},
{
"id": "3eb97aeb06de41c7",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "max",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 1120,
"wires": [
[
"1ed1da3ac3ca3dbf"
]
]
},
{
"id": "c1e02875e964a5d7",
"type": "smooth",
"z": "0455d242634f8fe0",
"name": "",
"property": "payload",
"action": "min",
"count": "1000",
"round": "",
"mult": "single",
"reduce": false,
"x": 1310,
"y": 1240,
"wires": [
[
"6dac494fbfc69ef4"
]
]
},
{
"id": "2dfeaef9006df2bf",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Max State of charge (%)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 1120,
"wires": []
},
{
"id": "1b327b37ac41f649",
"type": "mqtt out",
"z": "0455d242634f8fe0",
"name": "",
"topic": "DATI FOTOVOLTAICO/NODE-RED/SMARTSHUNT/Min State of charge (%)",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "e276a877253691df",
"x": 1900,
"y": 1240,
"wires": []
},
{
"id": "5fda862a592616e4",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 520,
"wires": [
[
"e322a9ff693eca13"
]
]
},
{
"id": "03ac5e14035a1311",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 640,
"wires": [
[
"b7bbc3ee5671779f"
]
]
},
{
"id": "e6e7a15d5270ce71",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 580,
"wires": [
[
"9fb87a96e7311c0b"
]
]
},
{
"id": "4094fe726ec541b3",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 700,
"wires": [
[
"d2eabe0a07ae5f60"
]
]
},
{
"id": "8eb6fc3f48b2a500",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 760,
"wires": [
[
"e7c6690567dc5910"
]
]
},
{
"id": "d60de9feffc5b81b",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 820,
"wires": [
[
"46d60fbbc23e53a6"
]
]
},
{
"id": "15aca046722621f2",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 880,
"wires": [
[
"65bba5b17080d8a0"
]
]
},
{
"id": "e2e7cb70b30d51a5",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 940,
"wires": [
[
"c407bb1b6716e139"
]
]
},
{
"id": "6b4d16754e8272b0",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 1000,
"wires": [
[
"9fa486a8e19254a0"
]
]
},
{
"id": "cf328531e56d3f73",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 1180,
"wires": [
[
"fb27ed15a46c4f28"
]
]
},
{
"id": "1ed1da3ac3ca3dbf",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 1120,
"wires": [
[
"2dfeaef9006df2bf"
]
]
},
{
"id": "6dac494fbfc69ef4",
"type": "rbe",
"z": "0455d242634f8fe0",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 1460,
"y": 1240,
"wires": [
[
"1b327b37ac41f649"
]
]
},
{
"id": "f5ced3a74b75a25c",
"type": "function",
"z": "0455d242634f8fe0",
"name": "function 4",
"func": "var V_value = msg.payload.V.value; // Estrai il valore di\nmsg.payload = V_value; // Imposta il valore come nuovo payload\nreturn msg; // Restituisci il messaggio con il nuovo payload\n",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 810,
"y": 580,
"wires": [
[
"144fa2c625c33eb3"
]
]
},
{
"id": "c7f076d34be55b22",
"type": "function",
"z": "0455d242634f8fe0",
"name": "function 2",
"func": "var I_value = msg.payload.I.value; // Estrai il valore di\nmsg.payload = I_value; // Imposta il valore come nuovo payload\nreturn msg; ",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 810,
"y": 760,
"wires": [
[
"5d2ca3d2376786a8"
]
]
},
{
"id": "81b9f83029d8e375",
"type": "function",
"z": "0455d242634f8fe0",
"name": "function 3",
"func": "var P_value = msg.payload.P.value; // Estrai il valore di\nmsg.payload = P_value; // Imposta il valore come nuovo payload\nreturn msg; ",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 810,
"y": 940,
"wires": [
[
"6b1b310a9fd01d3b",
"e2e7cb70b30d51a5",
"c4933dbc66d2b2d5"
]
]
},
{
"id": "a2cdf13bf99204c6",
"type": "function",
"z": "0455d242634f8fe0",
"name": "function 5",
"func": "var SOC_value = msg.payload.SOC.value; // Estrai il valore di\nmsg.payload = SOC_value; // Imposta il valore come nuovo payload\nreturn msg; ",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 810,
"y": 1180,
"wires": [
[
"3628c42e5121b795"
]
]
},
{
"id": "0fc286a8bc84bfd2",
"type": "victron-vedirect-usb",
"z": "0455d242634f8fe0",
"name": "USB0",
"port": "/dev/ttyUSB0",
"x": 310,
"y": 420,
"wires": [
[
"f5ced3a74b75a25c",
"c7f076d34be55b22",
"36318eb9c650f7cb",
"81b9f83029d8e375",
"a2cdf13bf99204c6",
"e305658c74a6739a"
]
]
},
{
"id": "f7c5e7ecb525a53d",
"type": "inject",
"z": "0455d242634f8fe0",
"name": "",
"props": [],
"repeat": "2",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 100,
"y": 420,
"wires": [
[
"0fc286a8bc84bfd2"
]
]
},
{
"id": "e305658c74a6739a",
"type": "debug",
"z": "0455d242634f8fe0",
"name": "Shunt",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 510,
"y": 400,
"wires": []
},
{
"id": "e276a877253691df",
"type": "mqtt-broker",
"name": "",
"broker": "192.168.1.99",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "5",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]