Here’s an example of how I display a temperature using NodeRED:
```flows
[
{
"id": "e535ae48405c62c8",
"type": "victron-virtual",
"z": "203330207fd5f20e",
"name": "WWBoiler Mitte",
"outputs": 1,
"device": "temperature",
"default_values": true,
"acload_nrofphases": 1,
"enable_s2support": false,
"battery_capacity": 25,
"include_battery_temperature": false,
"battery_voltage_preset": "24",
"battery_voltage_custom": 24,
"generator_type": "ac",
"generator_nrofphases": 1,
"include_engine_hours": false,
"include_starter_voltage": false,
"include_history_energy": false,
"grid_nrofphases": 1,
"include_motor_temp": false,
"include_controller_temp": false,
"include_coolant_temp": false,
"include_motor_rpm": true,
"include_motor_direction": true,
"position": 0,
"pvinverter_nrofphases": 1,
"switch_1_type": 1,
"switch_1_min": 0,
"switch_1_max": "",
"switch_1_initial": 0,
"switch_1_label": "",
"switch_1_unit": "",
"switch_1_step": 1,
"switch_1_customname": "",
"switch_1_group": "",
"switch_1_include_measurement": false,
"switch_1_rgb_color_wheel": false,
"switch_1_cct_wheel": false,
"switch_1_rgb_white_dimmer": false,
"fluid_type": 0,
"include_tank_battery": false,
"include_tank_temperature": false,
"tank_battery_voltage": 3.3,
"tank_capacity": 0.2,
"temperature_type": "5",
"include_humidity": false,
"include_pressure": false,
"include_temp_battery": false,
"temp_battery_voltage": 3.3,
"x": 720,
"y": 720,
"wires": [
[]
]
},
{
"id": "c0b1cef9b3863bf6",
"type": "mqtt in",
"z": "203330207fd5f20e",
"name": "IN: Wert vom Broker",
"topic": "/hooks/devices/0/SensorData/mitte",
"qos": "0",
"datatype": "auto",
"broker": "5b6f6bd3ef4c8a21",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 230,
"y": 720,
"wires": [
[
"0a6c5c7279ba3dc6"
]
]
},
{
"id": "0a6c5c7279ba3dc6",
"type": "function",
"z": "203330207fd5f20e",
"name": "WWBoiler_mitte",
"func": "// MQTT payload: \"60.50\"\nlet t = Number(msg.payload);\nif (isNaN(t)) return null;\n\n// optional: Grenzen, damit keine Ausreißer geschrieben werden\n// if (t < -40 || t > 120) return null;\n\nmsg.payload = {\n \"/Temperature\": t\n};\n\nreturn msg;\n",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 480,
"y": 720,
"wires": [
[
"e535ae48405c62c8"
]
]
},
{
"id": "5b6f6bd3ef4c8a21",
"type": "mqtt-broker",
"name": "Broker (dein anderer)",
"broker": "192.168.178.47",
"port": "1883",
"clientid": "nodered-mqtt-in",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "856e7e8b46450bdb",
"type": "global-config",
"env": [],
"modules": {
"@victronenergy/node-red-contrib-victron": "1.7.28"
}
}
]
```