This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Graphing with node red and signalK
#11
Here is a second run - ran fine until the type error. BTW, both this and the previous crash happened within a minute of restarting the signalk server. I also don't understand why signalk doesn't start up when opnplotter starts - I get no output on the signalk diagnostic window until I restart the signalk server.

pi@openplotter:~ $ openplotter
GET /signalk 200 10.308 ms - 194
GET /signalk 200 4.394 ms - 194
Connection is already closed.
Connection is already closed.
Signal K starting
No settings/defaults.json available
[Errno 111] Connection refused
signalk-server running at 0.0.0.0:3000

Cannot open NGT-1-A device /dev/ttyOP_N2K

GET /signalk/v1/api/vessels/self 200 47.806 ms - 19
no unit for navigation.gnss.differentialReference
no unit for navigation.gnss.horizontalDilution
no unit for navigation.gnss.geoidalSeparation
no unit for navigation.gnss.satellites
no unit for navigation.gnss.quality
TypeError: Cannot read property 'toUpperCase' of undefined
at NMEA0183._decoder (/home/pi/.config/signalk-server-node/node_modules/nmea0183-signalk/codecs/GLL.js:52:15)
at NMEA0183.decode (/home/pi/.config/signalk-server-node/node_modules/nmea0183-signalk/lib/NMEA0183.js:259:26)
at Parser._decode (/home/pi/.config/signalk-server-node/node_modules/nmea0183-signalk/lib/index.js:128:44)
at /home/pi/.config/signalk-server-node/node_modules/nmea0183-signalk/lib/index.js:172:26
at arrayEach (/home/pi/.config/signalk-server-node/node_modules/lodash/lodash.js:537:11)
at Function.forEach (/home/pi/.config/signalk-server-node/node_modules/lodash/lodash.js:9359:14)
at Parser._transform (/home/pi/.config/signalk-server-node/node_modules/nmea0183-signalk/lib/index.js:169:7)
at Parser.Transform._read (_stream_transform.js:167:10)
at Parser.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:334:12)
pi@openplotter:~ $

The NMEA0183 data comes from a Raymarine E80 via a USB-NMEA0183 convertor
Reply


Messages In This Thread
Graphing with node red and signalK - by JD1 - 2017-05-25, 01:35 AM
RE: Graphing with node red and signalK - by kste - 2017-05-25, 05:35 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-26, 11:49 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-29, 09:57 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-30, 05:53 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-30, 06:09 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-30, 07:38 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-31, 06:33 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-31, 08:30 PM
RE: Graphing with node red and signalK - by JD1 - 2017-05-31, 10:11 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-01, 04:41 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-01, 09:25 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-01, 10:56 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-02, 08:28 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-05, 07:52 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-06, 06:57 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-07, 03:30 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-10, 05:57 AM
RE: Graphing with node red and signalK - by JD1 - 2017-06-25, 06:01 PM
RE: Graphing with node red and signalK - by JD1 - 2017-06-29, 02:49 PM
RE: Graphing with node red and signalK - by JD1 - 2017-07-07, 05:55 PM
RE: Graphing with node red and signalK - by JD1 - 2017-07-07, 06:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)