[
{
"id": "153ff67d1f2c61b8",
"type": "tab",
"label": "Flow 2",
"disabled": false,
"info": "",
"env": []
},
{
"id": "8e52c3ed8907ee0c",
"type": "mqtt in",
"z": "153ff67d1f2c61b8",
"name": "Füllstand Quelle",
"topic": "v3/DEVICEID@ttn/devices/+/up",
"qos": "2",
"datatype": "json",
"broker": "0a4f4fef6fee57c6",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 260,
"y": 260,
"wires": [
[
"059296a9a604036f",
"1ae3c6d92610a908"
]
]
},
{
"id": "059296a9a604036f",
"type": "change",
"z": "153ff67d1f2c61b8",
"name": "change node",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.uplink_message.decoded_payload.Distance",
"tot": "msg"
},
{
"t": "set",
"p": "dev_eui",
"pt": "msg",
"to": "payload.end_device_ids.dev_eui",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 470,
"y": 260,
"wires": [
[
"08529e03113c98e2",
"c4aa3711222d1081"
]
]
},
{
"id": "08529e03113c98e2",
"type": "debug",
"z": "153ff67d1f2c61b8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 990,
"y": 280,
"wires": []
},
{
"id": "1ae3c6d92610a908",
"type": "debug",
"z": "153ff67d1f2c61b8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 430,
"y": 180,
"wires": []
},
{
"id": "c4aa3711222d1081",
"type": "debug",
"z": "153ff67d1f2c61b8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "dev_eui",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 990,
"y": 240,
"wires": []
},
{
"id": "0a4f4fef6fee57c6",
"type": "mqtt-broker",
"name": "Füllstand Quelle",
"broker": "eu1.cloud.thethings.network",
"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": ""
}
]
Thats the flow