[
{
"id": "bd5a267eb557fb59",
"type": "inject",
"z": "54b226bc.0793e8",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "205000",
"payloadType": "num",
"x": 310,
"y": 2840,
"wires": [
[
"02c7b9d79d3148ec"
]
]
},
{
"id": "02c7b9d79d3148ec",
"type": "change",
"z": "54b226bc.0793e8",
"name": "setze Länge des Titels in ms",
"rules": [
{
"t": "set",
"p": "total",
"pt": "flow",
"to": "payload",
"tot": "msg"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$fromMillis(payload,'[m]:[s]')",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 520,
"y": 2840,
"wires": [
[
"dfe587aae48dbefa"
]
]
},
{
"id": "56f51916a7d72cba",
"type": "inject",
"z": "54b226bc.0793e8",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "10",
"payloadType": "num",
"x": 310,
"y": 2960,
"wires": [
[
"ccdf04ee59d8df99"
]
]
},
{
"id": "31e59200715bd4a1",
"type": "inject",
"z": "54b226bc.0793e8",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "25",
"payloadType": "num",
"x": 310,
"y": 3000,
"wires": [
[
"ccdf04ee59d8df99"
]
]
},
{
"id": "5ac5686434f3a4db",
"type": "inject",
"z": "54b226bc.0793e8",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "50",
"payloadType": "num",
"x": 310,
"y": 3040,
"wires": [
[
"ccdf04ee59d8df99"
]
]
},
{
"id": "1fb7ac7bce2b87c6",
"type": "inject",
"z": "54b226bc.0793e8",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "100",
"payloadType": "num",
"x": 310,
"y": 3080,
"wires": [
[
"ccdf04ee59d8df99"
]
]
},
{
"id": "ccdf04ee59d8df99",
"type": "change",
"z": "54b226bc.0793e8",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$flowContext('total') * payload\t/100",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 3020,
"wires": [
[
"e9b1a93a5c8f3264",
"5e405d92717f07f3"
]
]
},
{
"id": "dfe587aae48dbefa",
"type": "debug",
"z": "54b226bc.0793e8",
"name": "",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 750,
"y": 2840,
"wires": []
},
{
"id": "e9b1a93a5c8f3264",
"type": "debug",
"z": "54b226bc.0793e8",
"name": "",
"active": true,
"tosidebar": false,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 750,
"y": 3100,
"wires": []
},
{
"id": "5e405d92717f07f3",
"type": "change",
"z": "54b226bc.0793e8",
"name": "in min:sek",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$fromMillis(payload,'[m]:[s]')\t",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 760,
"y": 3020,
"wires": [
[
"1dbc1c679d785723"
]
]
},
{
"id": "1dbc1c679d785723",
"type": "debug",
"z": "54b226bc.0793e8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 950,
"y": 2960,
"wires": []
},
{
"id": "adeab82a3506c91e",
"type": "comment",
"z": "54b226bc.0793e8",
"name": "setzen der Gesamtzeit in ms",
"info": "",
"x": 360,
"y": 2780,
"wires": []
},
{
"id": "0f22c4d0f7dbac93",
"type": "comment",
"z": "54b226bc.0793e8",
"name": "Slider-Input in Prozent",
"info": "",
"x": 260,
"y": 2920,
"wires": []
},
{
"id": "bba9c2f2854fc05b",
"type": "comment",
"z": "54b226bc.0793e8",
"name": "Resultierende Position in ms",
"info": "",
"x": 780,
"y": 3160,
"wires": []
},
{
"id": "6961b5be1b86b432",
"type": "comment",
"z": "54b226bc.0793e8",
"name": "Zur Anzeige in Minuten und Sekunden",
"info": "",
"x": 1030,
"y": 2920,
"wires": []
},
{
"id": "6ede8454bf35ec04",
"type": "comment",
"z": "54b226bc.0793e8",
"name": "Aktuelle Position in ms",
"info": "",
"x": 280,
"y": 3260,
"wires": []
},
{
"id": "f39ea7de14a8d5ba",
"type": "inject",
"z": "54b226bc.0793e8",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "100000",
"payloadType": "num",
"x": 310,
"y": 3320,
"wires": [
[
"302ae69e83f999da",
"5b7ddac83c8752b6"
]
]
},
{
"id": "302ae69e83f999da",
"type": "change",
"z": "54b226bc.0793e8",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$round(payload * 100 / $flowContext('total') )",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 3320,
"wires": [
[
"2915cbde7b73f0ba"
]
]
},
{
"id": "2915cbde7b73f0ba",
"type": "debug",
"z": "54b226bc.0793e8",
"name": "Ausgabe in Slider Datenpunkt (0-100)",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 790,
"y": 3320,
"wires": []
},
{
"id": "5f37a68637a0f130",
"type": "comment",
"z": "54b226bc.0793e8",
"name": "Aktuelle Position in Datenpunkt für Slider ausgeben",
"info": "",
"x": 830,
"y": 3260,
"wires": []
},
{
"id": "5b7ddac83c8752b6",
"type": "change",
"z": "54b226bc.0793e8",
"name": "in min:sek",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$fromMillis(payload,'[m]:[s]')\t",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 460,
"y": 3380,
"wires": [
[
"3d11200d35c55b6d"
]
]
},
{
"id": "3d11200d35c55b6d",
"type": "debug",
"z": "54b226bc.0793e8",
"name": "für Label zur Aktuellen Position des Sliders",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 810,
"y": 3380,
"wires": []
}
]