question

ofernander avatar image
ofernander asked

Node-RED flow to turn off CerboGX screen at sunset and turn on at sunrise.

Hey! I was tired of manually turning my Cerbo's screen off at night so I made a Node-RED flow to do it for me. It automatically changes the display off timer to 60 seconds at sunset which is based on your geo-location retrieved from signalK. I'm sending the command over ssh to my cerbo as I'm running SignalK/Node-RED on another machine however this would also work on a Cerbo with VenosOS-large installed running SignalK and Node-RED locally on the CerboGX.

Hope others find this flow useful.


https://github.com/0x0f906/cerboGX-nodeRED-night-flow

cerbo gxNode-REDSignalK
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
el-cid avatar image
el-cid answered ·

The GitHub page is no longer available :(

Can you explain how you achieved this please? I would like to set it up to turn off the display but I can't find the node.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

el-cid avatar image
el-cid answered ·

For anyone else having the same question, to control a display connected to the CerboGX, I used the Custom Control node:

1711622179268.png

and set the Measurement to `/Settings/Gui/DisplayOff` for the Custom: `com.victronenerg.settings`

1711622231171.png


And then you just need to inject a payload (integer) of 1 or 0.


1711622179268.png (12.2 KiB)
1711622231171.png (131.7 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.