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.
hello and a happy new year to all!
had some time over the festive period to try nodered (unsuccessfully) so a couple of I think basic Qs that I seem to have missed - as a nodered newbie .
Right, so got my system on a rpi3B+ running now for almost two years. Currently on 2.91 Large, NMEA2000 data going nicely into signalK influx grafana, all that done no probs.
Now I'm trying to at first read some of that data in nodered and hopefully use them to send N2K PGNs to the bus to do certain things (first easiest one is start stop the generator but seems to be a bit too far away atm).
So I have this data in signalk (that's on a twin screw mobo and that's the third motor of the generator hence .2 which is fitted with various electronics and I'm monitoring rpm, oil/seawater/fuel pres, coolant temp, engine Status, etc):
and for starters let's say I want to read the propulsion.2.Governor value in node red, so I do:
and from what I gathered, I should use vessels.self in context, the signalk string in Path and god knows what in $Source. I've tried various options suggested and decided to settle for the Source mentioned by singalk. To no avail. No debug errors nothing.
for what it's worth I'm using the venusOS embedded nodered where I've installed the signalk bits. So on venus I only get two tabs and not three as I've seen in a couple of posts in here. I assume that's fine as I'm running the 2.91ver but I may be wrong?
so any pointer welcomed!
Sorry for the noddy question - my linux skills aren't the best... I've been playing with SignalK and Node Red on the boat and was pretty pleased with the results. As usual with me, entropy has set it and things don't feel as reliable as before (certainly performance has fallen away). I want to get back to a known good original setup and the selectively rebuild from there based on what I learned.....
Can I please ask the group what's the best way of rolling SignalK and Node-Red back to their original state?
Also, just for added complication, I installed the Signal K Node-Red plugin and stopped the Victron Node-Red install from being accessible.
Thanks in advance
I have a Victron installation on my boat, being monitored with a rPi running Venus. I have a boat server running Ubuntu, connecting to the boat NMEA network and running a SignalK server and Node Red. While the NMEA data is working ok, I'm having problem with the Victron data in Node Red. Logs show SK connecting to the Venus ok, whether using MQTT or remote DBUS. The SignalK server is displaying the Victron data ok in the data browser, again, with either connection to Venus.
But I am getting the same error in Node Red as was discussed in this unresolved question over a year ago:
I think the problem is the palette installation. On the remote node-red-contrib-victron instructions, it says:
In order to use the plugin remotely, Node-RED and the plugin needs to be locally installed:
npm install @victronenergy/node-red-contrib-victron
How can I install Node Red or the contrib-victron locally? There is no npm on the Venus.
Further, it would seem the easiest solution could be to replace the Venus firmware with the latest 2.70 large that includes NodeRed. However, in order to prevent a repeat of the moisture in the RPi circuit board issue I have had before, I have sprayed the RPi board with lacquer coating, and the SD card is now glued into the socket and can not be removed.
I can ssh into the Venus with root access, so what if I can install npm into that os and then install Node Red? Will that help? How is that done?
Just wondering if anyone has looked at how to get Node Red to send a message to a NMEA 2000 device. I am looking to install a yacht devices YSDC-04, and want to to switch the switches within Node Red flows.
Just asking if anyone has any pointers.
I am aware of the @signalk/node-red-embedded for when node-red is embedded in Signal