Generator Integration - Virtual Generator?

Hi,

I have a system that I can talk to over MQTT to start/stop a generator. How can I integrate that into the Venus OS like a generator turned on/off over a relay?

I thought about creating a Virtual Device, but there is no device type “switch”, “relay” or even “generator”. How could I achieve that?

Virtual Device Types:

Might be able to set up the Cerbo generator function and use NR to connect/translate the MQTT data in that function to your system.

I see, I would configure the Relay as Generator control and then use to NR to observe the relay and control the generator accordingly.

Okay, thanks that could work. A bit of a shame to sacrifice a relay for that, but it’s probably okay in this setup.

I’ll wait to see if someone has an idea that would work without sacrificing a relay. If not, I’ll mark your answer as the solution.

Thank you

In Version 3.70 of VenusOS there is a new node for virtual switches in Node-RED, even with a 3 state possibility :

It’s new and the documentation is not always exact, so sometime it need trials and errors but it works great.

Thanks, but I don’t quite see how this applies to the question

I was playing with NR last night. It appears an AC or DC genset is now a virtual device.
I’m on v3.80~4 but it might be in earlier releases.