No virtual device AC load in VRM

,

I’ve created a virtual device in Node-Red that’s supposed to write a random value to the virtual device AC-LOAD, but I can’t see it in the VRM?

Am I doing something wrong, or how do I make it visible in the VRM?

maybe you could copy something from my flow? it works for me

[
{
“id”: “0f452d0604186ea4”,
“type”: “victron-virtual”,
“z”: “203330207fd5f20e”,
“name”: “Boiler”,
“outputs”: 1,
“device”: “acload”,
“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”: 2,
“include_humidity”: false,
“include_pressure”: false,
“include_temp_battery”: false,
“temp_battery_voltage”: 3.3,
“x”: 650,
“y”: 380,
“wires”: [

]
},
{
“id”: “7d9aa2e2f63e4c11”,
“type”: “mqtt in”,
“z”: “203330207fd5f20e”,
“name”: “IN: Wert vom Broker”,
“topic”: “Wallbox/Wasserboiler”,
“qos”: “0”,
“datatype”: “auto”,
“broker”: “5b6f6bd3ef4c8a21”,
“nl”: false,
“rap”: true,
“rh”: 0,
“inputs”: 0,
“x”: 230,
“y”: 380,
“wires”: [
[
“108a119394c2d92d”
]
]
},
{
“id”: “108a119394c2d92d”,
“type”: “function”,
“z”: “203330207fd5f20e”,
“name”: “Strom_WWBoiler”,
“func”: "let data = msg.payload;\n\n// 1) Wenn es ein String ist: trimmen\nif (typeof data === “string”) {\n let s = data.trim();\n\n // Versuche JSON zu parsen\n try {\n data = JSON.parse(s);\n\n // falls doppelt kodiert: erster Parse ergibt wieder string\n if (typeof data === “string”) {\n data = JSON.parse(data);\n }\n } catch (e) {\n node.warn("JSON parse failed. payload starts: " + s.slice(0, 40));\n return null;\n }\n}\n\n// 2) Power holen (ohne optional chaining)\nif (!data || !data.Ac || data.Ac.Power === undefined || data.Ac.Power === null) {\n node.warn(“Ac.Power missing. data=” + safeStringify(data));\n return null;\n}\n\nlet p = Number(data.Ac.Power);\nif (isNaN(p)) {\n node.warn(“Ac.Power not a number: " + safeStringify(data));\n return null;\n}\n\n// 3) An Virtual AC Load schreiben\nmsg.payload = {\n “/Ac/Power”: p\n};\n\nreturn msg;\n\nfunction safeStringify(x) {\n try { return JSON.stringify(x); } catch (e) { return “[unstringifyable]”; }\n}\n”,
“outputs”: 1,
“timeout”: 0,
“noerr”: 0,
“initialize”: “”,
“finalize”: “”,
“libs”: ,
“x”: 480,
“y”: 380,
“wires”: [
[
“0f452d0604186ea4”
]
]
},
{
“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”: “7cac73bcdbb31f1f”,
“type”: “global-config”,
“env”: ,
“modules”: {
@victronenergy/node-red-contrib-victron”: “1.6.60”
}
}
]

no idea how to post it here directly as graphical flow, but you could import it

Thanks for the tip, but I can’t import this – I get an error message.