@jacke du erstellst setzt eine payload, die so aussieht, wie du oben gepostet hast und wenn Du einen JSON String brauchst, dann hängst du noch eine JSON Node dran.
Wenn du schon eine payload mit 23.7 hast, dann verschiebst du mit einer Change Node die payload auf payload.value und hängst dann die json Node hinten dran.
[image: 1669035373664-1398b1c7-b15e-4bad-bd49-5b6107cf6567-image-resized.png]
Spoiler
[
{
"id": "1780b1a5015337a8",
"type": "inject",
"z": "289f539dcc33814e",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "23.7",
"payloadType": "num",
"x": 2750,
"y": 2920,
"wires": [
[
"f294d7fef083a967",
"402830e20c96bcf9"
]
]
},
{
"id": "f294d7fef083a967",
"type": "change",
"z": "289f539dcc33814e",
"name": "",
"rules": [
{
"t": "move",
"p": "payload",
"pt": "msg",
"to": "payload.value",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 2940,
"y": 2920,
"wires": [
[
"102bffe73dd48331",
"4afb4a6769f2ea5b"
]
]
},
{
"id": "102bffe73dd48331",
"type": "json",
"z": "289f539dcc33814e",
"name": "",
"property": "payload",
"action": "",
"pretty": false,
"x": 3130,
"y": 2920,
"wires": [
[
"241dc4443d81082c"
]
]
},
{
"id": "402830e20c96bcf9",
"type": "debug",
"z": "289f539dcc33814e",
"name": "normale payload",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 2950,
"y": 2860,
"wires": []
},
{
"id": "4afb4a6769f2ea5b",
"type": "debug",
"z": "289f539dcc33814e",
"name": "JS Objekt - payload.value",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 3210,
"y": 2860,
"wires": []
},
{
"id": "241dc4443d81082c",
"type": "debug",
"z": "289f539dcc33814e",
"name": "JSON Sting",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 3290,
"y": 2920,
"wires": []
}
]