Latest status.
Then turned on chart plotter. This adds GPS data to the N2K network. Stayed up for further 2 hours (again, longer than achieved previously). This gave loads on the Signal K dashboard for the NGT-1 of 87 deltas/s, 54%
Then turned on AIS. Load increased to 90 deltas/s, 55%. NGT-1-USB still running 3hrs later.
Now enabled Signal-K to N2K plugin. Atmospheric pressure and temperature enabled.
Within 5 minutes the Actisense has shutdown. Nothing obvious in /var/logs/syslog:
Apr 26 12:57:14 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[36m304#033[0m 24.326 ms - -#033[0m
Apr 26 12:57:34 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[36m304#033[0m 22.211 ms - -#033[0m
Apr 26 12:57:46 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[36m304#033[0m 25.416 ms - -#033[0m
Apr 26 12:57:55 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[36m304#033[0m 30.943 ms - -#033[0m
Apr 26 12:59:33 eowynpi signalk-server[310]: #033[0mPOST /skServer/plugins/sk-to-nmea2000/config #033[32m200#033[0m 10.910 ms - 45#033[0m
Apr 26 12:59:33 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[32m200#033[0m 20.890 ms - -#033[0m
Apr 26 12:59:37 eowynpi signalk-server[310]: #033[0mPOST /skServer/plugins/sk-to-nmea2000/config #033[32m200#033[0m 5.874 ms - 45#033[0m
Apr 26 12:59:37 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[32m200#033[0m 16.787 ms - -#033[0m
Apr 26 12:59:54 eowynpi signalk-server[310]: #033[0mPOST /skServer/plugins/sk-to-nmea2000/config #033[32m200#033[0m 13.977 ms - 45#033[0m
Apr 26 12:59:54 eowynpi signalk-server[310]: #033[0mGET /skServer/plugins #033[36m304#033[0m 32.664 ms - -#033[0m
Apr 26 13:01:57 eowynpi signalk-server[310]: DLE followed by unexpected char , ignore message
Apr 26 13:03:27 eowynpi signalk-server[310]: DLE followed by unexpected char , ignore message
Apr 26 13:04:29 eowynpi systemd[1]: Starting Cleanup of Temporary Directories...
Apr 26 13:04:29 eowynpi systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Apr 26 13:04:29 eowynpi systemd[1]: Started Cleanup of Temporary Directories.
Apr 26 13:05:01 eowynpi CRON[1578]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Not sure what the “DLE followed by unexpected char ,” means?
During the brief time this configuration was running, the load reported on the Signal-K dashboard was much lower, and fluctuated wildly between 0 and about 30 Deltas/s
Next test: leave the sk-to-nmea2000 enabled, but no PGNs within it enabled.
Again, this has stayed up for at least an hour with no problems.
My conclusions thus far:
- it isn’t the power supply
- If I disable sk-to-nmea2000 my problem seems solved for now
- the problem could be that sk-to-nmea2000 is sending a badly formed PGN that is crashing the NGT-1. That would require bugs in both the plugin (to send a badly formed PGN) and the NGT-1 (to not be able to handle it). This seems unlikely, though possible.
- the problem could be that there is insufficient bandwidth to both receive and transmit the required data volumes - the baud rate problem that Brian posited.
I can’t easily change the baud rate as I don’t’ have a Windows machine on board - Mac and the Pi. For now, I’m going to disable the sk-to-nmea2000 plugin and use WilhelmSK to monitor all the data.
I look forward to hearing results of Brian’s tests!
Regards
Martin Crick
(Sent from my iPad)