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
AIS
#1
(I posted different threads to keep the answers grouped - apologies for the multiple posts)

I've downloaded the Basic version of OpenPlotter 2.0 (I don't trust myself with the advanced one!) which does not come with SDR which I believe I need to get my DVB-T tuner to work to receive AIS targets.

What is the process for adding SDR to my basic setup?
Reply
#2
I followed these instructions and it worked for me.

https://www.fontenay-ronan.fr/ais-receiv...h-rtl-sdr/

You'll have to create a system for starting the software when your RPI starts. In my case, I just added this command to rc.local:

rtl_ais -n -P 10112

This will give you AIS data on port 10112.
Reply
#3
(2020-03-09, 04:08 PM)abarrow Wrote: I followed these instructions and it worked for me.

https://www.fontenay-ronan.fr/ais-receiv...h-rtl-sdr/

You'll have to create a system for starting the software when your RPI starts. In my case, I just added this command to rc.local:

rtl_ais -n -P 10112

This will give you AIS data on port 10112.

Thanks you! These instructions work fine except there seems to be a small bug in the kalibration tool installation which is described on the page below - the post by fillippog at the end. If you edit the 4 lines suggested in that post: all is well.

https://github.com/antirez/dump1090/issues/142
Reply
#4
SDR AIS available in OpenPlotter 2
http://forum.openmarine.net/showthread.php?tid=2518
Reply
#5
(2020-04-20, 07:29 PM)Sailoog Wrote: SDR AIS available in OpenPlotter 2
http://forum.openmarine.net/showthread.php?tid=2518

if you had an old version aktive, you have to disable this service first.
so you get the sdr-rtl chip free to use.
mostly there is an service enabled, so do these steps:

sudo systemctl status ais.service

if you get an result from the running service, you should disble it now with:

sudo systemctl stop ais.service
sudo systemctl disable ais.service

(simply the steps you did on installing the old service)
my service config sat here: /etc/systemd/system/ais.service
you may rename it to /etc/systemd/system/ais.servicex or remove it.

after this and maybe an reboot the new Openplotter SDR will work fine.
all the new calibrate scripts are integrated here nice and convinient. 

you may test the new service is running:

sudo systemctl status openplotter-rtl_ais.service

* openplotter-rtl_ais.service - Decode AIS received by rtl-sdr and send as NMEA 0183 to UDP port
  Loaded: loaded (/etc/systemd/system/openplotter-rtl_ais.service; enabled; vendor preset: enabled)
  Active: active (running) since Mon 2020-04-20 23:26:36 CEST; 12h ago
Main PID: 5348 (rtl_ais)
   Tasks: 4 (limit: 4915)
  Memory: 1.4M
  CGroup: /system.slice/openplotter-rtl_ais.service
          `-5348 /usr/bin/rtl_ais -d 0 -p 0 -P 10110


many thanks to the openplotter team!
stay well

holger
Reply
#6
Thanks for that holger!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)