Yes, tried that - and it does. So the problem is re-producable.
I've done a diff on the two .json files. I don't understand what has caused this, but here are the changes below.
Starting with the file that worked, the following changes were made that stopped it working:
Node removed:
"id": "4fedbfaf.6bb98",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
Node removed:
"id": "3d86e78e.17ff28", "type": "tab", "label": "Influx & Grafana", "disabled": false, "info": ""
},
{
Node removed:
"id": "b0b4d384.fd376",
"type": "debug",
"z": "3d86e78e.17ff28",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"x": 310,
"y": 160,
"wires": []
},
{
Within this function node, the first wire was removed leaving only one wire:
{
"id": "dd66451b.0f8f88",
"type": "function",
"z": "3d86e78e.17ff28",
"name": "",
"func": "Sumplevel = msg.payload\nSump = msg.topic\n\nmsg.payload = {\n level: Sumplevel,\n sump: Sump\n \n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 170,
"y": 200,
"wires": [
[
"b0b4d384.fd376", **<----- REMOVED**
"fd1c2137.60bb6"
]
]
},
Within this node, the value of x was changed from 570 shown below to 410:
{
"id": "fd1c2137.60bb6",
"type": "influxdb out",
"z": "3d86e78e.17ff28",
"influxdb": "9d9ad3f4.49ce7",
"name": "",
"measurement": "sump_levels",
"precision": "",
"retentionPolicy": "",
"x": 570,
"y": 200,
"wires": []
}
Finally, the following was added at the end of the .json file:
},
{
"id": "33dcee83.60bd72",
"type": "comment",
"z": "3d86e78e.17ff28",
"name": "Sump Levels",
"info": "",
"x": 90,
"y": 160,
"wires": []
I suspect this doesn't provide enough context to work out what caused the problem. Happy to send the whole .json file to a trusted person in private if required. @knolleary @TotallyInformation