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

AdrianP - @Scott Bender FYI have created a PR f...

@Scott Bender FYI have created a PR for signalk-anchoralarm-plugin for your review that addresses issues I was encountering when using the setManualAnchor endpoint and only providing a value for rodeLength. https://github.com/sbender9/signalk-anchoralarm-plugin/pull/57...

Aswin - Does the plugin Config of the signalK s...

Does the plugin Config of the signalK server support dependencies in plugin.schema? I want to optionally hide certain settings. Or is there another way?

Aswin - Hi, My plugins come with a webApp. Ever...

Hi, My plugins come with a webApp. Everytime the webapp makes a call to the router I get a message in tho log. like GET /plugins/speedandcurrent/getVectors 200 1.529 ms - 814. Is there a way to supress this message. (I know they don't show up in the SignalK log viewer, but while developing it is conveniant to use a terminal window to start and stop the server and here they show up.)

Anchor alarm

@Scott Bender what is the meaning of the The anchoring process has not been completed alert? We just got one after setting anchor alarm in Martinique

AdrianP - @Scott Bender I have created a PR f...

@Scott Bender I have created a PR for signalk-buddylist-plugin to address a Freeboard feature request https://github.com/sbender9/signalk-buddylist-plugin/pull/4 for your review. The PR seeks to introduce /signalk/v2/api/resources endpoints to add, update & remove buddies....

Greg Young - @Scott Bender anchor alarm plugin...

@Scott Bender anchor alarm plugin just updated to the latest - checked github & saw the reference to "fix warnings" what should i look for when testing?...

Teppo Kurki - @AdrianP what are these? i've nev...

@AdrianP what are these? i've never used them, what do they do? and...they don't do anything on my machine
No description

Koenraad de Haas - I tried the NMEA 2000 Debugg...

I tried the NMEA 2000 Debugging Utility webapp: seems usefull (if it would work ;)) Added some PGN's to the filter list but these PGN's still pop up in the list. Tried to flip the yes/no switch but nothing happens. Is this filter working? Are the red items supposed to be unrecognized PGN's? I'v got eg PGN 126720 popping up both in red and in black....

HansT - @Teppo Kurki Asking here for others to ...

@Teppo Kurki Asking here for others to read/see. On GPS rollover fix, my current approach is in n2k-signalk/pgns/129029.js. The downside is that this means it will do it for any source and always. This breaks the test cases and e.g. prevents running old n2k captures through it, as it will correct them as well. Is it possible to make it a plugin and correct the value as it comes it, that way possibly making a filter for the source id, or at least easily turning it on/off when needed? Like signalk-calibration. But it's unclear to me if this approach will avoid the wrong date to be seen by the system or any other plugin (like set-system-time)....

Tony - Is there a plugin to keep state after re...

Is there a plugin to keep state after restarting Signalk? I would really like to have the last known value repopulated instead of losing state on everything. Not all of the paths are updated on short intervals. In some cases maybe one or two times per day. Repopulating the values, source, timestamp when I need to restart or when I shut down would be awesome

Aswin - Finishing my advanced wind plugin.My a...

Finishing my advanced wind plugin. My advanced wind plugin is functionally complete and stable and I am cleaning up the code. There are however some questions and design considerations that still bother me. 1) I have implemented an express router to provide the webapp with data. Registering with the router has to be done in the module, where as the data it reports on is maintained in the start function. To give the router get methods access to this data I had to create the data outside the start method in the module. (I hope I am clear about this, I grasp for the right terminology sometimes. Maybe look at how and where I instantiate the PolarDelta objects in https://github.com/Asw1n/advancedwind/blob/main/index.js) . As a result my data lives well behond the scope of the start function and is still there when the plugin is disabled. Is there a better way to do this? Preferable I want my objects and data only to be there when the plugin is active. 2) I get the apparent wind deltas using the registerDeltaInputHandler function to be able to replace the original values with the corrected apparent wind values. I do not unregister as I don't know how. In combination with the situation described is question 1 the plugin still catches even when the plugin is not active. Is there a way to unregister? 3) I created classes to deal with delta's (https://github.com/Asw1n/advancedwind/blob/main/pluginUtils.js). Each instance individually subscribes to a single delta Also each instance will update its delta associated delta individually. I noticed that other plugins (like derived data) update several delta's in one go leading to less traffic. Is my method ok or are there drawbacks and should it be changed?...

AdrianP - Do you have "allow read only access" ...

Do you have "allow read only access" set in security -> settings?

Aswin - Webapp only getting data when I am logg...

Webapp only getting data when I am logged in to the server. My webapp gets a 401 response on a get request when I am not logged in to the server. Amazingly (to me at least) it does work when I embed my plugin in a @tommy/kip page, even when I am not logged in to the server. I read about Authentication and Session Management in the documentation, but that is way over my head. Is there a simple explanation of what is going on and a simple example on how to deal with this?...

Raffaele Montella - I'm writing a plugin to man...

I'm writing a plugin to manage MOBs. Now it registers to vessels.self.notifications.mob, as receive the notification with state: "emergency", it reads data.position and saves it in vessels.self.navigation.mob.position alongside the time of the event in vessels.self.navigation.mob.time. Then it registers to vessels.self.navigation.position, each update it computes: vessels.self.navigation.mob.distance, vessels.self.navigation.mob.headingTrue, vessels.self.navigation.mob.elapsed (in seconds). Opti...

Владимир Калачихин - Is there a way to determin...

Is there a way to determine the grants of the user opening the webapp?

barnaclebill - Question for @Aswin, although it...

Question for @Aswin, although it might be of general interest: how does your plugin correct for mast height? Are you assuming some wind gradient as the mast gets taller? What is the impact of roll and pitch on wind? Are you calculating that if for example my boat pitches forward at 1m/s (which I know isn't how we calculate pitch but just trying to simplify), you subtract 1m/s from wind speed's forward vector? How about upwash? How does one differentiate leeway calculation from current? If your code is public, I would love to poke around....

petsi - whats new in signalk-polar-performance-...

whats new in signalk-polar-performance-plugin 0.0.54

Greg Young - @Ilker signalk-windy pluginupda...

@Ilker signalk-windy plugin updated the plugin today - all good. Question: there are two fields in the PI config .. “provider” .. “website” ...

Aswin - How to handle duplicate paths? My advan...

How to handle duplicate paths? My advanced wind plugin can correct apparent wind (for leeway, mast height, etc). As a result, the apparent wind path is found twice, although coming from different sources. What is the preferred way to deal with this? Should the plugin always remove the uncorrected delta's, should this be optional, or should the two delta's coexist?

steveberl - Has anyone gone through the process...

Has anyone gone through the process of migrating from influxdb v1.8 to v2.x? I've got a lot of data in the existing V1.8 database that I would like to bring forward into 2.x. This page looks promising, (https://docs.influxdata.com/influxdb/v2/install/upgrade/v1-to-v2/automatic-upgrade/) but I wonder if anyone here has actually done it and what issues they may have run into.
Next