If You want to capture Your data from a sailing trip there are several ways. Here I will check out these
- SignalK delta, via plugin signalk-data-logger
- NMEA 0183(N1), via netcat
- NMEA 2000(N2), via actisense-serial
If you then want to use these files as input for OpenPlotter, OpenCPN or SignalK check out this post.
SignalK delta
Install it via the "Appstore", activate it according to the picture, restart the server and You will create a logfile with SK deltas named something like
sk-delta-log.2020-02-24T07:10:55.694Z.log
When You end the logging or the "Log rotation interval" is reached the files will be compressed as "gz" files. Decompress with
$ gzip -d sk-delta-log.2020-02-24T07:10:55.694Z.log.gz
$ gzip -d sk-delta-log.2020-02-24T07:10:55.694Z.log.gz
and if You want to save it, for later use as compressed, use
$ gzip sk-delta-log.2020-02-24T07:12:24.078Z.log
NMEA0183
Since every N1 message, by default, is available at the server You can use netcat and pipe the sentences direct to a file with something like.
$ netcat localhost 10110 > n1.txt
Please note that if You just have NMEA 2000(N2) as input to OpenPlotter You must use the @signalk/signalk-to-nmea0183 plugin to get N1 data.
NMEA2000
If You are using an Actisense use the program actisense-serial and pipe to a file
$ actisense-serial -r /dev/ttyUSB0 > n2.txt
No comments:
Post a Comment
Feel free to leave a comment ! ... but due to a lot of spam comments I have to moderate them. Will reply ASAP !