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
Modify a NMEA183 sentence in Signal K (Solved without needing to modify)
#2
(2021-12-14, 12:09 AM)Jodel Wrote: Hi,
I have a Stowe Databox connected via a NMEA to USB adapter to a PI 4.  All the NMEA sentences, except for one, are standard and display correctly in the data browser in Signal K and in the dashboard in Opencpn.
The non standard sentence is DBK.  It has an additional character in the first position.  Either an "A" if depth is live/correct or a "V" if it is last valid depth.  I need to strip the first field containing this character out of the sentence.
This seems easy enough if I ignore Signal k and run the serial input directly to Opencpn as the NMEAconverter plugin can modify NMEA sentences.
However I would like to stream all data through Signal K.  Is there a simple way to see the raw NMEA 183 data that Signal K is receiving and to modify it before SignalK parses it?
I see an option for Data fiddler.  Could  this be used to remove the first field?
Will I have to learn Node Red !!
Jodel

I have worked around the problem.  I manually added direct connections to Opencpn in its connections tab and it reads the DBK sentence correctly. So now I have nothing going through Signal k, but my next step will be to route all the NMEA from  Opencpn to signal K .
This seems to be the reverse of the thinking in Openplotter but so far seems to work better for me.  Any disadvantages to this approach?
Jodel
Reply


Messages In This Thread
RE: Modify a NMEA183 sentence in Signal K - by Jodel - 2021-12-14, 05:01 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)