January 02, 2023

 Updated 2023-01-02 !

OpenPlotter(OP), a Boat Navigation application, is really a nice and simple installation of
and other supporting applications for Your boat.

Please note that OP V2 is outdated use .......

........ OP V3 instead !!!!
This post, despite updated links to v2, is more kept as help to redirect to v3

Intro
Don't use the latest Raspberry Pi OS, Bullseye, with OP V2, it will not work !

Check out OP V3 which will run Bullseye 32/64 Bit, but please note that all applications are not released !

Just want to install SK ? Link here.

Please note ! There are 2 postsusing OpenCPN 5.2 +, with a more detailed information of the functions and the installations.

Don't forget the SK NodeRed plugin, with examples !, handling everything You need ?!

Installing from image(Option A)
In the documentation You can choose from different files with links for download.

Choose one of the files, download, unzip and use these instructions, with the downloaded OP file. Then
 go on with Final setup below.

Installing from Raspberry Pi OS(Option B)
This method is not possible anymore for V2 since there are no deb files and releases at GitHub.

I used the Raspberry Pi OS Lite(RPiOS), Buster headless install, and just installed Pixel, VNC(or RDP) and Chromium. 

In a terminal/ssh session, always start updating with 


$ sudo apt update && sudo apt full-upgrade -y && sudo apt clean

continue and install the dependencies

$ sudo apt install python3-wxgtk4.0 python3-ujson python3-pyudev whois vlc


wget https://github.com/openplotter/openplotter-settings/releases/download/v2.9.1-stable/openplotter-settings_2.9.1-stable_all.deb

Install with 

$ sudo apt install ./openplotter-settings_2.9.1-stable_all.deb

Final setup 
In the GUI, reached via VNC viewer, or direct connected with keyboard/mouse/monitor, open "Applications => Other => Settings"

Click on ”Add Sources” and after that "Update Candidates" which will update the list of possible applications.

Mark the row with the application You want to install and click on "Install" in the right part.

Every new application will create a separate Icon in "Other" from where it will be started.

After installing the "Serial" OP application You can add serial USB devices to OP.
(Another way, not recommended, is to add them direct in SK)

SK <=> OC connection
With both SK and OC, before 5.2, installed configure the connection between them, in OC, with;
  • Click the Options-icon
  • Connections-tab
  • Add Connection
  • Network
  • Protocol: TCP
  • Address: "localhost"
  • DataPort: 10110
  • Check “Show NMEA Debug Window” to see incoming messages.
On OC 5.2 +  ? use this instruction instead.

Missing SDR AIS ? 
OP is "shipped" with the the app "SDR VHF" which installs calibration programs and "rtl_ais". Instructions here


It's a "systemd" process handled by the config file"/etc/systemd/system/openplotter-rtl_ais.service"

If you want to check manually if there is AIS data available go to "SDR VHF => Processes" stop the AIS app and at a command line run the program with

$ sudo rtl_ais -R on -n

which will show the NMEA 0183 messages. For more information, or if You just want to install the AIS software without OP, check here

OP update
If You have been running OP for a while and want to update to the latest development, update with;
  • In "OpenPlotter Settings", click on "Add Sources", then "Update Candidates" to check if there any updates
  • In a ssh/Terminal session update, OP and RPiOS, with sudo apt full-upgrade -y && sudo apt clean
   or 
  • use the "Install all available updates" button which will update everything except for the RPi OS
Remark
Don't miss the OP active forum !!

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 !