Controlling a Shelly Relais via the Console/VRM

Hello everyone,

As a Node-RED newbie, I’ve integrated a Shelly 1PM Gen3 into my Cerbo as a grid meter via Node-RED (unfortunately, this isn’t possible via the Shelly integration). So far, everything is working fine—all the data I need is displayed in VRM and the console.

My problem now is the switching output, which I want to turn on and off via the VRM or console.

I created a virtual switch in the flow for this purpose, which is also displayed in the console. Can anyone perhaps help me figure out how to use this switch to control the Shelly’s output?

Many thanks,

Wolfgang