OpenPlotter V2, install guide
Updated 2023-01-02 !OpenPlotter(OP), a Boat Navigation application, is really a nice and simple installation of
- OpenPlotter(OP)
- OpenCPN(OC)
- SignalK(SK)
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 posts, using OpenCPN 5.2 +, with a more detailed information of the functions and the installations.
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
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;
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"
In a terminal/ssh session, always start updating with
$ sudo apt update && sudo apt full-upgrade -y && sudo apt clean
$ sudo apt install python3-wxgtk4.0 python3-ujson python3-pyudev whois vlc
Download the latest deb file from
https://github.com/openplotter/openplotter-settings/releases
$ 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.
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 !!
Comments
some questions:
- how to get also the op desktop settings?
- should one log into chrom with his usual credentials or must be the local username?
- somehow http://localhost does not respond
I also tried to completely remove nodejs and signal k, install via the instructions on the signalk git site, and also get errors. I'm presuming there as an update that broke it and that it's not openplotter-settings, but unsure. Any thoughts or suggestions?
There is something wrong with the link in the last update under settings:
XyGrib missing source:https//www.free-x.de/debian
Only thing now is that the charts in XyGrib are missing.
What did I do wrong?
Many thanks
Matt
Matt
E: Unable to locate package python3-wxgtk4.0
E: Couldn't find any package by glob 'python3-wxgtk4.0'
E: Couldn't find any package by regex 'python3-wxgtk4.0'
pi@openplotter:~ $ sudo systemctl stop openplotter-rtl_ais
pi@openplotter:~ $ sudo rtl_ais -R on -n
Edge tuning disabled.
DC filter enabled.
RTL AGC enabled.
Internal AIS decoder enabled.
Buffer size: 163.84 mS
Downsample factor: 64
Low pass: 25000 Hz
Output: 48000 Hz
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Log NMEA sentences to console ON
AIS data will be sent to 127.0.0.1 port 10110
Tuner gain set to automatic.
RTL AGC mode ON
Tuned to 162000000 Hz.
Sampling at 1600000 S/s.
Allocating 12 zero-copy buffers
Any suggestions? My location is Portsmouth, NH.
Think I'll try another more directional antenna and a new dongle.
Thanks for your help.
-I have formatted a good SD card 32 Gb,
-Downloaded the Noobs and img files
-extracted the NOOBS in a directory and than copied to the SD card with CTRL+C CTRL+V command,
-SD in to the RPI and power it ON.....
on the screen appears on Rasperry at the tope left corner and a series of text where the most important is the message:
recover4.elf not found (6)
The same if I repeat all over again and install the img file.
I changed SD card.... same result......
I reprogrammed the same SD card with Raspbian..... and all works fine.
I don't get it.... please some idea?
It looks to me that the SD card is good ans the RPI as well....
so What am I doing wrong?
Thanks for your help and time
Andrea
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 !