Hello @fritserasmus
I copied your published flow in an Inject node, as far as it was possible, as it ends with a number of dots.
I works as expected (with spaces in the topic)
See:
[
{
"id": "9299412e7544f31f",
"type": "inject",
"z": "5f109901cbe25d34",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "solarmd/ES Control Service/SMDBEX20226532",
"payload": "{\"name\":\"solarmd/ES Control Service/SMDBEX20226532 \",\"data\":{\"sniu\":true,\"serialNumber\":\"SMDBEX20226532 \",\"deviceID\":null,\"alertMap\":{},\"lastUpdate\":1751391526005,\"voltageV\":52.29,\"currentA\":-19.57,\"powerW\":-1021.5540000000001,\"capacityP\":60,\"capacityAh\":166.72715194444444,\"ratedCapacityAh\":280,\"ratedVoltageV\":51.2,\"ratedChargeCurrentC\":0.7142999999999999,\"ratedDischargeCurrentC\":0.7142999999999999}}",
"payloadType": "json",
"x": 390,
"y": 380,
"wires": [
[
"8ae706b817056c3d",
"0ba07f6216fc9cc4"
]
]
},
{
"id": "c68833f101c36eb0",
"type": "mqtt in",
"z": "5f109901cbe25d34",
"name": "solarmd/ES Control Service/SMDBEX20226532",
"topic": "solarmd/ES Control Service/SMDBEX20226532",
"qos": "0",
"datatype": "auto-detect",
"broker": "38b35487299a036d",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 500,
"y": 460,
"wires": [
[
"19f97b9c579d185b"
]
]
},
{
"id": "8ae706b817056c3d",
"type": "mqtt out",
"z": "5f109901cbe25d34",
"name": "",
"topic": "",
"qos": "0",
"retain": "false",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "38b35487299a036d",
"x": 610,
"y": 380,
"wires": []
},
{
"id": "19f97b9c579d185b",
"type": "debug",
"z": "5f109901cbe25d34",
"name": "debug 79",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 800,
"y": 460,
"wires": []
},
{
"id": "0ba07f6216fc9cc4",
"type": "debug",
"z": "5f109901cbe25d34",
"name": "debug 82",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 620,
"y": 340,
"wires": []
},
{
"id": "38b35487299a036d",
"type": "mqtt-broker",
"name": "Raspberry Pi 1",
"broker": "192.168.10.51",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]
You said also:
What I do not understand is: I have copied the Topic from the feed:
mosquitto_sub -v -t "#" -u "XXXXXX" -P "123456", so it is correct
The debug nodes does not display ANY payload nor does the Debug messages.
All other flows are still working perfect - I am just unable to get this topic to through a msg
Are you really sure, that there is no hidden character in the topic, such as a space after it?
Regards