Aswin
Aswin
SKSignal K
Created by Aswin on 11/10/2024 in #plugins-and-webapps
Aswin - help needed on the architecture of my p...
This was exactly the guidance I needed
10 replies
SKSignal K
Created by Aswin on 11/10/2024 in #plugins-and-webapps
Aswin - When I create a new plugin, what is the...
Thanks for the answer, but it is way over my head and I do not understand it. I am very new to npm and I have only limited experience with git. I will try to explain what I did. I have a signalK server running. To develop my plugin I made a new directory (say c:\plugin). This directory is not within the signalK structure. To run my plugin from the server I did a "link" form the plugin directory and another "link plugin" from the .signal directory. The plugin works, that is not the problem. But when issuing the first link, from the plugin directory, a directory node_modules was created with hundreds of files in it. Now, this node_modules is also found in the .signalk directory. Having this direcory twice now, it made me wonder, should I have to developed my plugin in the .signalk directory to prevent the double installl of node_modules? The documentation was not specific about it.
3 replies
SKSignal K
Created by Aswin on 11/10/2024 in #plugins-and-webapps
Aswin - help needed on the architecture of my p...
The other option would be to have the my plugin to handle ? an the connection to signalK, the log file and so. The HTML page would then just provide the UI. The HTML page must then comminuicate with my plugin. But how? (be easy on me, I am not a professional programmer)
10 replies
SKSignal K
Created by Aswin on 11/10/2024 in #plugins-and-webapps
Aswin - help needed on the architecture of my p...
I see two designs. The first is to create a webpage and javascript code that does everything from scratch. Like log file handling, connecting to the signalk server, handling playback controls. But it seems that javascript cannot directly connect to a signalK dataseource of type NMEA0183 due to limitations in using sockets? Is this true?
10 replies
SKSignal K
Created by Aswin on 11/10/2024 in #plugins-and-webapps
Aswin - help needed on the architecture of my p...
I now want a user interface (webapp) to go with the plugin. The webapp offers playback controls to the user, like play, pause, FF, loop, etc.
10 replies
SKSignal K
Created by Aswin on 11/10/2024 in #plugins-and-webapps
Aswin - help needed on the architecture of my p...
I made a plugin that lets one stream a NMEA log file to the signalK server at predefined speed. I use this plugin to replay my sailing trips and analyse performance.
10 replies