Kannst Du einmal den DebugOutput der ersten beiden Debugs (aus meinem Screenshot) posten? Ich hänge Dir meinen Flow an, den kannst Du in einen neuen Flow importieren und an Dein System anpassen.
[
{
"id": "5be1c62d1f531358",
"type": "tab",
"label": "PV Solmate venus-os_dbus-mqtt-pv",
"disabled": false,
"info": "",
"env": []
},
{
"id": "20ba33fe091ffc4d",
"type": "debug",
"z": "5be1c62d1f531358",
"name": "Debug Solmate output",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1200,
"y": 160,
"wires": []
},
{
"id": "c99d1fecd0dcda45",
"type": "join",
"z": "5be1c62d1f531358",
"name": "Solmate Join",
"mode": "custom",
"build": "object",
"property": "payload",
"propertyType": "msg",
"key": "topic",
"joiner": "\\n",
"joinerType": "str",
"accumulate": true,
"timeout": "",
"count": "4",
"reduceRight": false,
"reduceExp": "",
"reduceInit": "",
"reduceInitType": "",
"reduceFixup": "",
"x": 640,
"y": 340,
"wires": [
[
"4c4c9eb36e6fbe0c",
"f99086f7465ed07f"
]
]
},
{
"id": "4c4c9eb36e6fbe0c",
"type": "function",
"z": "5be1c62d1f531358",
"name": "Solmate Format",
"func": "node.status({fill:'green', shape: 'dot', text: `${msg.payload.Voltage} V, ${msg.payload.Current} A, ${msg.payload.Power} W, ${msg.payload.Energy} kWh`});\n\nvar message = {\n pv: {\n voltage: msg.payload.Voltage,\n current: msg.payload.Current,\n power: msg.payload.Power,\n energy_forward: msg.payload.Energy,\n }\n};\n\nreturn { payload: message };",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 880,
"y": 340,
"wires": [
[
"20ba33fe091ffc4d",
"ee07793c1625de4e"
]
]
},
{
"id": "4c8e761b185c3131",
"type": "debug",
"z": "5be1c62d1f531358",
"name": "Debug Solmate MQTT",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 420,
"y": 160,
"wires": []
},
{
"id": "31aeede28bd02196",
"type": "mqtt in",
"z": "5be1c62d1f531358",
"name": "Solmate",
"topic": "shellies/shellypro1pm-30c6f780e6e8/status/switch:0",
"qos": "2",
"datatype": "auto-detect",
"broker": "b7219642acb18fcb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 120,
"y": 340,
"wires": [
[
"8b8e6344232258a2",
"a1b74b03c04ee3ea",
"4c8e761b185c3131",
"b78952526edfdb23",
"7b9bba10483ca6b4"
]
]
},
{
"id": "a1b74b03c04ee3ea",
"type": "function",
"z": "5be1c62d1f531358",
"name": "Solmate Power",
"func": "node.status({fill:'green', shape: 'dot', text: `Power: ${msg.payload.apower * -1} W`});\n\nmsg.topic=\"Power\";\nmsg.payload=msg.payload.apower * -1;\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 400,
"wires": [
[
"c99d1fecd0dcda45",
"b6bfaa5d76281ccf"
]
]
},
{
"id": "8b8e6344232258a2",
"type": "function",
"z": "5be1c62d1f531358",
"name": "Solmate Current",
"func": "node.status({fill:'green', shape: 'dot', text: `Current: ${msg.payload.current} A`});\n\nmsg.topic=\"Current\";\nmsg.payload=msg.payload.current;\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 340,
"wires": [
[
"c99d1fecd0dcda45",
"b6bfaa5d76281ccf"
]
]
},
{
"id": "b78952526edfdb23",
"type": "function",
"z": "5be1c62d1f531358",
"name": "Solmate Voltage",
"func": "node.status({fill:'green', shape: 'dot', text: `Voltage: ${msg.payload.voltage} V`});\n\nmsg.topic=\"Voltage\";\nmsg.payload=msg.payload.voltage;\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 280,
"wires": [
[
"c99d1fecd0dcda45",
"b6bfaa5d76281ccf"
]
]
},
{
"id": "f99086f7465ed07f",
"type": "debug",
"z": "5be1c62d1f531358",
"name": "Debug Solmate join",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 160,
"wires": []
},
{
"id": "b6bfaa5d76281ccf",
"type": "debug",
"z": "5be1c62d1f531358",
"name": "debug 8",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 680,
"y": 160,
"wires": []
},
{
"id": "7b9bba10483ca6b4",
"type": "function",
"z": "5be1c62d1f531358",
"name": "Solmate Energy",
"func": "node.status({fill:'green', shape: 'dot', text: `Energ total: ${msg.payload.aenergy.total} W`});\n\nmsg.topic=\"Energy\";\nmsg.payload=msg.payload.aenergy.total / 1000;\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 460,
"wires": [
[
"c99d1fecd0dcda45"
]
]
},
{
"id": "ee07793c1625de4e",
"type": "mqtt out",
"z": "5be1c62d1f531358",
"name": "Victron PV Solmate",
"topic": "enphase/envoy-s/meter",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "b2fd9079e92351a0",
"x": 1190,
"y": 340,
"wires": []
},
{
"id": "b7219642acb18fcb",
"type": "mqtt-broker",
"name": "EmptySoft MQTT",
"broker": "intranet.emptysoft.net",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"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": ""
},
{
"id": "b2fd9079e92351a0",
"type": "mqtt-broker",
"name": "Venos OS (Grid)",
"broker": "localhost",
"port": "1883",
"clientid": "gr001",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "device/gr001/Status",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "{ \"clientId\": \"gr001\",\"connected\" : 0, \"version\": \"V1.0\"}",
"closeMsg": {},
"willTopic": "device/gr001/Status",
"willQos": "0",
"willRetain": "false",
"willPayload": "{ \"clientId\": \"gr001\",\"connected\" : 0, \"version\": \"V1.0\"}",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]
P.S.: Kann man in diesem Forum keine privaten Nachrichten senden?