2019-01-29, 11:43 AM
Hi Teppo
thanks for writing the plugin.
However, I'm not sure if I am doing something wrong
When I try to install through the SK browser interface, it looks like it is ok, but does not do anything.
When I install through the command line ([color=rgba(0, 0, 0, 0.8)]npm i [/color][color=rgba(0, 0, 0, 0.8)]@signalk/udp-nmea-plugin)[/color]
pi@openplotter:~ $ npm i @signalk/udp-nmea-plugin
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
+ @signalk/udp-nmea-plugin@1.1.0
updated 1 package and audited 3 packages in 6.321s
found 0 vulnerabilities
I get a file /home/pi/package-lock.json, with the following contents:
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@signalk/udp-nmea-plugin": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@signalk/udp-nmea-plugin/-/udp-nmea-plugin-1.1.0.tgz",
"integrity": "sha512-PGtQ1eTAloOFto/RQkP4OtAalGKR/bxE4RFOliL5ly9xt7L0nfJCy5tJW2mVjmKMk8/hDE1kSoWjoEFSQiFnvA==",
"requires": {
"netmask": "^1.0.6"
}
},
"netmask": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/netmask/-/netmask-1.0.6.tgz",
"integrity": "sha1-ICl+idhvb2QA8lDZ9Pa0wZRfzTU="
}
}
}
The only way I have been able to relay data to UDP port 2000 has been to configure OpenCPN on the Raspberry to output to UDP- but this seems to place a large load on the RPI- it is running at 100% most of the time, rather than ~20%. I don't normally use OpenCPN on the RPI.
thank you in advance & apologies if this is a dumb question.
Andrew
thanks for writing the plugin.
However, I'm not sure if I am doing something wrong
When I try to install through the SK browser interface, it looks like it is ok, but does not do anything.
When I install through the command line ([color=rgba(0, 0, 0, 0.8)]npm i [/color][color=rgba(0, 0, 0, 0.8)]@signalk/udp-nmea-plugin)[/color]
pi@openplotter:~ $ npm i @signalk/udp-nmea-plugin
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
+ @signalk/udp-nmea-plugin@1.1.0
updated 1 package and audited 3 packages in 6.321s
found 0 vulnerabilities
I get a file /home/pi/package-lock.json, with the following contents:
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@signalk/udp-nmea-plugin": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@signalk/udp-nmea-plugin/-/udp-nmea-plugin-1.1.0.tgz",
"integrity": "sha512-PGtQ1eTAloOFto/RQkP4OtAalGKR/bxE4RFOliL5ly9xt7L0nfJCy5tJW2mVjmKMk8/hDE1kSoWjoEFSQiFnvA==",
"requires": {
"netmask": "^1.0.6"
}
},
"netmask": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/netmask/-/netmask-1.0.6.tgz",
"integrity": "sha1-ICl+idhvb2QA8lDZ9Pa0wZRfzTU="
}
}
}
The only way I have been able to relay data to UDP port 2000 has been to configure OpenCPN on the Raspberry to output to UDP- but this seems to place a large load on the RPI- it is running at 100% most of the time, rather than ~20%. I don't normally use OpenCPN on the RPI.
thank you in advance & apologies if this is a dumb question.
Andrew