Signal K

SK

Signal K

Signal K is an ecosystem for free and open source universal marine data exchange and software.

Join

questions

announcements

server

specification

plugins-and-webapps

sensors

nmea2000

node-red

wilhelmsk

sensesp

Dirk SV MOIN - Hi, I am new to Node Red and how...

Hi, I am new to Node Red and how to interact with SignalK data. What I would love to do: Telegam Chatbot receives /SOC and sents electrical.batteries.0.capacity.stateOfCharge back. Is there a node where I "only" can read data? The SingalK-Subscribe node permanently sents data and this is not what I am looking for, I am looking for return value when asked for it. Thanks a lot....

Ed - When some new installed module's documenta...

When some new installed module's documentation states to copy some file to ~/.node-red, what would be the equivalent folder in a "Signal K" install?

ray_sabado - I'm guessing this is super basic b...

I'm guessing this is super basic but I can't figure it out. I'm trying to take our fuel tank level that is in m3 and convert it to gallons and write it to a new path in Signalk. Everything is working except writing I back to SK. I can't figure out how to write to a new path. I tried to use send path value but it simply writes the value in gallons to the same path causing a loop of always increasing levels. ...

Andy_Y - anyone using input-handler and input-h...

anyone using input-handler and input-handler-next? I made a filter for my Nasa Clipper Wind (which randomly creates false values and high spikes) and it seems to be working well. How ever, I still get high values in Influx sometimes. Is there a possibility that the raw values reach the Influx writer? Maybe its just a bug in my filter - diagnostic takes time since those spikes sometimes occur only once a day

big__col - I'm getting low response when loadin...

I'm getting low response when loading me dashboard. I have a couple of switches that are also counters, for the bilge pumps, 5 gauges for water tank, speed, depth, battery volts/watts, a couple of charts for depth and water tank history. none of these seems complex... the bilge switch/alarm is the most complex, scrn shot attached. i often get a Chrome message asking me if i want to wait for Ned Red to load, or stop. otherwise it just takes time to load, and often doesn't load all the da...
No description

naugehyde - I wrote a plugin that registers a P...

I wrote a plugin that registers a POST with the Express router. I can POST successfully using Swagger but when using a http-request in Node-Red to POST I get a "You do not have permission to view this resource, <a href='/admin/#/login'>Please Login</a>" error. Note: my request headers do include "credentials: include"....

Lure - Is there a way to set timezone for SK em...

Is there a way to set timezone for SK embedded NodeRed? I would like that Date() in NR works with localtime and not UTC. I was trying to set it via plugin settings, but it seems it does not work....
No description

big__col - Hi all, how can I view a Node Red da...

Hi all, how can I view a Node Red dashboard without being logged in to SK please?

gregy - Backup.i know i asked this before .. a...

Backup. i know i asked this before .. and cant remember the answer … this time i will make a note! Does a signalk “backup” (from the menu system) also backup node-red flows? or does this need to be done as a separate “backup”...

gregy - send Notification Node.is there anyway...

send Notification Node. is there anyway to send some “data” along with the notification? use case: i want the notification ( a daily notification ) to carry the value of a counter/value eg WaterPumpRunsToday =12...

petsi - I have create this node-red flow. It ta...

I have create this node-red flow. It takes the AWA and put it again on the flow with a smooth path. It works with negative and positive values. anybody can try this flow and sayme if it works fine?
No description

Timberwolf - How do i clear a notification in N...

How do i clear a notification in Node red? I am creating a notification when the fuel level is low, but how do i clear that noptificatiobn when the level is back to normal? As i undersans it i should set the notification value to Null, but i'm not sure how to do that in Node red.

Henry - This turned out ok in the end, getting ...

This turned out ok in the end, getting 4G info from the router into signalk to eventually put on a KIP dashboard.
No description

Henry - I'm quite please that I've managed to g...

I'm quite please that I've managed to get my engine RPM onto the N2K / SignalK with a cheap Aliexpress converter. I'm new to Node-Red so still learning, I managed to make an average function to smooth it out a bit (RPM was jumping around a bit). But next challenge is getting it to read zero. When the engine is off the unit turns off stops sending a signal. I'm thinking I could implemenet a Node-Red function that injects a zero and then an IF function to choose the larger of the two....
No description

Kees - i want to connect to dbus of victron dbu...

i want to connect to dbus of victron dbus over tcp, but i have no idea how i get the NODE_RED_DBUS_ADDRESS set somewhere that is required as "export". I am looking for which settings.js file embedded node-red uses, but can't find it.. https://github.com/victronenergy/node-red-contrib-victron?tab=readme-ov-file#Installation-and-Usage

Copprhead - My alarm flows are working almost f...

My alarm flows are working almost fine now using polling notifications every 2 secs in a loop that is started by an inject node ("once after .1 s"). The following "change node" initializes the global alarm state variable, then the polling happens (which changes the alarm state variable if an alarm notification was found) and this gets repeated after a delay of 2s. Unfortunately the polling loop is not started when I restart the SK server. I can tell because the alarm is not triggered when necessary and in NR editor I don't see the debug output from the poll loop. If I then move one of the nodes and redeploy (no code changes), the loop is started and the alarm is triggered. Restart SK and again it's not working until I redeploy. As if this wouldn't be strange enough, another loop which is started the same way and makes an "alive" blink every 4s is working after restarts....

Copprhead - Notifications in Node-RED: I'm play...

Notifications in Node-RED: I'm playing with SK/Node-RED to control an external alarm buzzer. An alarm is triggered by a notification for a certain key. For that I'm using the 'notification' node and it works fine for changes. But when the key/notification goes into alarm state while Node-RED is not "there" (yet), and then Node-RED comes up, it won't be notified of the alarm since the notifications are sent only when the state changes. Ideally, the notification node would get the current state once when it starts up, and then the changes when they happen. This is not a big deal for keys that update every second (e.g. depth), but it is a problem for keys that change only very occasionally. (Same goes for the 'subscribe' node I think.) Is there something I'm missing? (I thought maybe I can query the current state on initialization, but I don't see a way how.)...

PaddyB - Would this be a good place to share so...

Would this be a good place to share some useful node-red flows?