How do I connect a Shelly 1PM Gen4 to a Victron Cerbo GX?
I have a Shelly 1PM Gen4 and a Victron Cerbo GX on my boat. I want to switch a load and see its power consumption through the Cerbo; do I need a cable between them or can they communicate over Wi-Fi?
Answer
Connect the Shelly 1PM Gen4 and Cerbo GX over the boat's local network, then use Node-RED on the Cerbo to read the Shelly and send switching commands. There is no direct VE.Direct or VE.Can connection; showing the Shelly as a native GX device requires a separate, compatible integration.
Check the load and supply
Decide what you need: power monitoring, remote switching or a signal to another device. Each needs a different arrangement. The 1PM has a powered switching output, not a volt-free contact. Never connect its output directly to a Cerbo digital input or an inverter's remote-switch terminals.
In a typical 230V AC installation, the Shelly takes permanent live and neutral, and its O terminal supplies switched live to the load. The load's neutral returns to the neutral circuit. Protective earth remains continuous and does not pass through the Shelly.
Isolate shore power, stop the generator, disable the inverter and prove the circuit dead before opening or altering AC wiring.
Check the exact Gen4 supply specification and wiring diagram before using it on DC. Do not assume a 12V boat supply is suitable. The headline 16A AC rating does not mean it can switch every 16A appliance. Motors, compressors and other loads with high starting currents may need a suitably rated contactor. In that arrangement, the Shelly measures the contactor coil's consumption rather than the appliance's.
Connect to the boat's network
Use a boat router or access point with 2.4GHz Wi-Fi for the Shelly. Connect the Cerbo to the same router by Ethernet where practical, or by Wi-Fi. Bluetooth commissioning or Matter pairing does not establish the HTTP connection described here.
- Commission the Shelly, connect it to the boat's Wi-Fi and install suitable firmware updates.
- Give it a DHCP reservation in the router, for example 192.168.10.50, so its address stays the same.
- From a phone or laptop on that network, open the Shelly's local web interface at that address.
- Check that wireless client isolation or a guest-network setting is not blocking communication between devices.
This works locally without Shelly Cloud or an internet connection. Keep the router and access point powered whenever you need control.
Read and switch with Node-RED
On the Cerbo, install or select Venus OS Large and enable Node-RED, following Victron's instructions for your installed firmware. Menu names vary between Venus OS releases. The standard image does not include Node-RED.