i'm using Packaging a Subflow as a module, but after install node (subflow here), i get a "missing broker configuration" error, my subflow has mqtt in and mqtt-broker (configuration node)
Did you include the mqtt-broker config node in the subflow when you packaged it?
yes, i think this problem ralated to ids, my subflow.json is:
{
"id": "e9afd2f7286c724f",
"type": "subflow",
"name": "test700",
"info": "",
"category": "Test Eternet",
"in": [
{
"x": 160,
"y": 220,
"wires": [
{
"id": "7fe40063af82ef30"
}
]
}
],
"out": [
{
"x": 620,
"y": 80,
"wires": [
{
"id": "0ed5a9b77ecac697",
"port": 0
}
]
}
],
"env": [],
"meta": {},
"color": "#663D97",
"flow": [
{
"id": "0ed5a9b77ecac697",
"type": "mqtt in",
"z": "e9afd2f7286c724f",
"name": "",
"topic": "subscribeTopic",
"qos": "2",
"datatype": "auto",
"broker": "f7f897a9c80557c2",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 200,
"y": 120,
"wires": [
[]
]
},
{
"id": "7fe40063af82ef30",
"type": "mqtt out",
"z": "e9afd2f7286c724f",
"name": "",
"topic": "subscribeTopic",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "f7f897a9c80557c2",
"x": 380,
"y": 200,
"wires": []
},
{
"id": "f7f897a9c80557c2",
"type": "mqtt-broker",
"z": "e9afd2f7286c724f",
"name": "",
"broker": "localhost",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"sessionExpiry": ""
}
]
}
Hi knolleary, thanks for reply, yes i did.
Hi, could you find out the solution?
Sorry, I'm not sure when I'll get a chance to look at this in detail as I'm away from my laptop for a few days.
Wish you a great holiday, thanks a lot.
did you find a solution for this?. I am getting the same error.
@lu4t no,
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.