Signal K

SK

Signal K

Join the community to ask questions about Signal K and get answers from other members.

Join

questions

announcements

server

specification

plugins-and-webapps

sensors

nmea2000

node-red

wilhelmsk

sensesp

Tony - I think the community would benefit from...

I think the community would benefit from an optional alarm for when node red is not running or responding. I rely on it for relays, alarms, and several other important flows for transformations, and polling other web apis. When it’s down there is no indication other than some paths are not being updated. I need a way to make a request to node red and get a response that indicates it’s running. I can’t depend on the process itself to alarm so looking for some ideas on how to do this externally. P...

doug kimmerly - I've installed Node-Red but whe...

I've installed Node-Red but when I try to connect to it the browser just freezes either from the webApps or directly to redAdmin. I tried uninstalling it and reinstalling it and its the same thing. I do see this error in the log "Mar 09 17:13:27 TypeError: util.log is not a function at LogHandler.consoleLogger [as handler] (/home/doug/.signalk/node_modules/@node-red/util/lib/log.js:94:18) at LogHandler.<anonymous> (/home/doug/.signalk/node_modules/@node-red/util/lib/log.js:66:18) at LogHandl...

bkeepers - Can someone help me understand how t...

Can someone help me understand how to authorize http requests to node-red? I'm trying to create an http in node that accepts data from a mobile app, but I keep getting 401 response. I created a device token (https://signalk.org/specification/1.7.0/doc/access_requests.html), granted it read/write, and am passing it in the Authorization header, but still get a 401. ``` $ curl http://pi.local:3000/signalk/v1/requests/<UUID> {"state":"COMPLETED","requestId":"<UUID>","accessRequest":{"permission":"APPROVED","token":"<TOKEN>"},"statusCode":200,"href":"/signalk/v1/requests/<UUID>","ip":"::ffff:192.168.50.50"}...

A.R. - I am writing a flow that can generate a ...

I am writing a flow that can generate a POB alert. If I have understood the documentation correctly I need to set a specific message topic with a unique id for each alert. Example: vessels.609ea296-b561-4f1f-81af-0b497c783868.notifications.mob.tracker1 But when I look at the data path in SignalK it is just notifications. Is that correct?

Claeszv - I am struggeling wih this flow. It se...

I am struggeling wih this flow. It seems that it somehow corrupts the signalK path dataand wilhemSK. What am I doing wrong? It is for light control. Tia...

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
Next