Virtual Switches with Node Red - Great Success

I have had sometime working with virtual switches on node red with the latest Beta firmware on a 3kva GX

I have used modbus to talk to an 8 way relay pack, and now we are able to use the virtual switches in the switch pane to activate the relays. this is working very well. the modbus writes to FC6 with each relay having its own modbus address to write to.

Virtual Switch Node to a Function node which converters the payload to JSON and sends to the modbus write node.

the relay pack i am using supports voltages from 5v dc to 48dc and also 10amp at 230v ac

the Modbus connection is Via the GX access point Wi-Fi, its a great solution that works very well, i have also found that you can still access the access point with another device such as a tablet for the use of console locally

Hi! I have been looking for this.
Do you get the virtual switch to show up in the Cerbo display?
I have seen the new usb box you can connect but I want to be able to control some other devices via VRM and the cero screen. I do not have the beta version and cannot find out how to make a virtual switch show in VRM.

Hi! Node-RED virtual switches are only available in Venus OS beta versions. They’ll become generally available after more testing has been completed

I am running the Latest Beta, which enables Virtual Switch to show on the Console.
once you have this installed you can use the Virtual switch nodes and configure to how many switches you want to show on the Remote Consoles new switch pane screen.

1 Like

Just installed beta version. This works great!
I see pwm is dimmable 1-100. Would it be possible to make this 0-100?

Hello

Are you using the DTWonder Module, described in RemoteGPIO?

Would you share a bit more detailed how you do it?
I would be very interested in this as well. Thanks

Hi, im using the arduino ESP with an 8way relay pack.
Requires a fairly minimal arduino sketch code and simple node red.
Give me a message if you need help with arduino esp

Hey steve

Thanks for fast reply, just installed the BETA version (20250728153511), but in NodeRed / Virtual Devices I can not find the Virtual Switch function. Any idea what I do wrong?
Restarted Cerbo and node-red-contrib-victron is version 1.6.31 not updateable :thinking:

I think I give my Relay module a try as it should handle modbus as well. Your infos should get me trough. Otherwise I’m happy to ask. Thanks

Can someone be so kind and upload a screenshot of the Node-RED flow? As a beginner, I don’t understand how to integrate the switch, since the switch is an output node.