Welcome, Guest. Please login or register.

December 02, 2021, 04:56:27 AM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.
Members
  • Total Members: 6185
  • Latest: w6gsw
Stats
  • Total Posts: 61137
  • Total Topics: 13634
  • Online Today: 53
  • Online Ever: 164
  • (August 20, 2021, 01:02:40 AM)
Users Online
Users: 0
Guests: 35
Total: 35

Latest Post

Latest File

Author Topic: Basic RPi Help....  (Read 851 times)

0 Members and 1 Guest are viewing this topic.

Offline HL7222

  • Member
  • ***
  • Posts: 50
Basic RPi Help....
« on: April 09, 2021, 06:33:14 PM »
Hi,

I am a total Raspberry numptee.... I have bought a Rpi 4 from The Piehut with a preinstalled bootable copy of Piaware on an SD Card.

I have got the Rpi up and running on the FA site. I am uploading data including MLAT (I can see this on a browser loaded up on another device on the same network).

I have also managed to get a Windows PC on the same network to pick up a feed from the Rpi/stick and populate VRS and Planeplotter.

So, basically not bad for an afternoons work.

However, what I would ideally like to achieve is

1) Get the Raspberry to send data also to Flightradar and also Planeplotter?

2) Somehow keep a daily log of what I have picked up, that can be either pulled down off as and when or better still be auto uploaded / mailed out.

I can have the Windows machine running 24/7 along side the Raspberry (capturing data on its installation of VRS) But I would like to be able to shut it down if I wanted.

Is this possible? Or even part of it?? Maybe have the Raspberry uploading to Flightradar and or planeplotter even when the Windows box is turned off??

Also I normally use Basestation Reporter to study what I have picked up.... is there a better solution these days??

A lot of questions, and as I say I am a total newbie to all this


Offline Anmer

  • Administrator
  • Top Poster
  • *****
  • Posts: 13304
Re: Basic RPi Help....
« Reply #1 on: April 09, 2021, 07:00:02 PM »
Well done.

You can configure PP to get data from your RPi running PiAware.

Options-> I/O Settings-> Mode-S/ADS-B-> RTL >RPI+Dump1090

Options-> Mode-S Receiver-> RTL dongle RPi Dump1090-> Setup TCP Client-> IP Address:30005

Where IP Address is the IP Address of the RPi.  For example 192.168.1.250:30005

PP uses a BaseStation.sqb file as it's local database.  So you can continue to use BaseStation Reporter to view your Sessions.  Personally I don't think there's a better option but others may disagree.

Your RPi will upload local data to FlightAware when the PC is off.  But PlanePlotter runs on a PC so I suspect your data sharing will not work when the PC is turned off.  But I may be wrong as I'm not a regular PP "user".
Here to Help.

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #2 on: April 09, 2021, 07:29:25 PM »
Hi,

OK, thanks - I have already got PP on the Windows box to feed from the Rpi.

I was hoping there was a way to get the Rpi to feed out data to PP and FR24 in addition to FA while the Win machine was off. Guess not.

I seem to have added another device to keep on 24/7!

Never mind.

Can I access the feed coming off the Rpi while outside of my network? I am guessing it will need settings changed in my router?

Offline Anmer

  • Administrator
  • Top Poster
  • *****
  • Posts: 13304
Re: Basic RPi Help....
« Reply #3 on: April 09, 2021, 07:35:48 PM »
I was hoping there was a way to get the Rpi to feed out data to PP and FR24 in addition to FA while the Win machine was off. Guess not.

You can feed your data to FA and FR24 off the one RPi.  There are posts on this forum that explain how to do it.  Have a search.

Can I access the feed coming off the Rpi while outside of my network? I am guessing it will need settings changed in my router?

Yes, using port forwarding.  What did you plan to use to "access the feed"?
Here to Help.

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #4 on: April 09, 2021, 07:44:56 PM »
Hi

Will have a better search.... I am just a little hesitant, as I dont really know how to get another software onto the Rpi. It boots off the Piaware SD card into just that. There doesnt seem to be another OS on the unit?

I was hoping to see my feed on my laptop / phone / Ipad while at work, or even out of the country?

Offline Anmer

  • Administrator
  • Top Poster
  • *****
  • Posts: 13304
Re: Basic RPi Help....
« Reply #5 on: April 09, 2021, 08:09:42 PM »
Will have a better search.... I am just a little hesitant, as I dont really know how to get another software onto the Rpi. It boots off the Piaware SD card into just that. There doesnt seem to be another OS on the unit?

The single OS supports the multiple feeds.

Found these posts by abcd567 which may help:

https://radarspotting.com/forum/index.php?topic=10733.msg44162#msg44162

https://radarspotting.com/forum/index.php?topic=9938.msg43054#msg43054

https://radarspotting.com/forum/index.php?topic=9623.msg40978#msg40978[/quote]

I was hoping to see my feed on my laptop / phone / Ipad while at work, or even out of the country?

You can view FlightAware's SkyAware Anywhere (which is your local receiver's traffic) using a web browser logged into your FlightAware account.  Select the MyADS-B menu option at the top of the page:

https://flightaware.com/

Here to Help.

Offline DaveC

  • New Member
  • *
  • Posts: 14
Re: Basic RPi Help....
« Reply #6 on: April 09, 2021, 08:18:35 PM »
Hi,

When I started off a year ago with a Pi I used an earlier version of this script (https://github.com/mypiaware/virtual-radar-server-installation). I wanted to be able to have VRS running 24/7 without the PC having to be on all the time. Looking at it now it seems to have been updated so can't comment on the latest version, but the original version works for me. Like you I was a complete novice and it wasn't too bad to follow and get it up and running. Having said that I still need to tinker around with it so I can get the MLAT data you can see on the FlightAware SkyAware map onto the VRS map, so if you work that out give me a shout.

Have a look at planeplotter@groups.io and search for RPi4b and it should come up with some hits about setting planeplotter up on a Pi. I haven't been brave enough to start that yet because I find a lot of the instructions are quite in depth and not necessarily aimed at the novice.

Good luck

Dave

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #7 on: April 09, 2021, 08:20:57 PM »
Hi

Excellent, looks like all the data I could possibly ever need.

Just one more numpty question..... do I power down the Rpi and pull out the SD Card and then use a Windows machine to 'expore' it and cut and paste things to it??

Or can I some how get all this onto the Rpi another way? (off the Piaware command line somehow?)

Thanks

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #8 on: April 09, 2021, 08:24:33 PM »
Hi,

When I started off a year ago with a Pi I used an earlier version of this script (https://github.com/mypiaware/virtual-radar-server-installation). I wanted to be able to have VRS running 24/7 without the PC having to be on all the time. Looking at it now it seems to have been updated so can't comment on the latest version, but the original version works for me. Like you I was a complete novice and it wasn't too bad to follow and get it up and running. Having said that I still need to tinker around with it so I can get the MLAT data you can see on the FlightAware SkyAware map onto the VRS map, so if you work that out give me a shout.

Have a look at planeplotter@groups.io and search for RPi4b and it should come up with some hits about setting planeplotter up on a Pi. I haven't been brave enough to start that yet because I find a lot of the instructions are quite in depth and not necessarily aimed at the novice.

Good luck

Dave

Thanks Dave, I shall have a look.... I was hoping to turn off the Windows box (it currently runs 24/7 and I like the idea of giving it a break)

I sort of knew that dropping into the world of the Raspberry wouldnt be easy - which is why I have resisted for so long. However, I have got further in an afternoon than I expected to. So, maybe maybe...

Offline DaveC

  • New Member
  • *
  • Posts: 14
Re: Basic RPi Help....
« Reply #9 on: April 09, 2021, 08:44:50 PM »
So when you are installing the script you can copy and paste it into the Terminal on the Pi from a PC by using VNC Viewer on your PC which makes life easier. VNC lets you access the Pi remotely from your PC (https://www.raspberrypi.org/documentation/remote-access/ssh/). Only thing I find is that if the Pi needs to reboot at anytime along the process your remote session will terminate and won't start up again in VNC Viewer. So you need to have a monitor connected to the Pi then you can start the remote session.

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #10 on: April 09, 2021, 08:55:14 PM »
Hi,

I shall give that a whirl in the morning.... seems easy enough (famous last words)

Thanks

Paul

Offline Triple7

  • Top Poster
  • *****
  • Posts: 1027
Re: Basic RPi Help....
« Reply #11 on: April 10, 2021, 07:48:56 AM »
To upload to PlanePlotter from a Pi directly, you need PPUP1090. It does need a bit of compiling but works well. Have a search around on the PP group and you will find loads of posts about it. I don't use it myself but have thought about it!

As for viewing your Pi files, I use PuTTY, same as VNC really but you certainly don't need any form of monitor on the Pi (mine's in the loft!). When you reboot, just start a new PuTTY session, log in and off you go again. Tip: if you want to use a line of code on your Pi, view it on your windows PC, highlight it, copy it and then in the Pi "PuTTY window" just right click and that pastes it in for you, hit enter to run it. Saves a lot of typing and potential typos.

Tim

SBS-1eR, FA ProStick + 1090 filter

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #12 on: April 10, 2021, 10:02:36 AM »
Thanks Triple7,, I shall have another go later.

Pretty pleased with what I’ve sorted so far.

Hue lights developing a mind of their own over night has slowed progress this morning, but will get back to this soon.


Offline DaveC

  • New Member
  • *
  • Posts: 14
Re: Basic RPi Help....
« Reply #13 on: April 10, 2021, 12:56:58 PM »
Cheers for the heads up on PuTTY Triple7. I've got the Pi reconfigured so it is headless now and works a dream using VNC. I always had the Pi running without a monitor but if I had done any changes that needed a reboot I had to have a monitor connected on startup because I couldn't restart the remote session and then get VRS up and running.

Headless the way forward, thanks for the tip Triple7

Dave

Offline HL7222

  • Member
  • ***
  • Posts: 50
Re: Basic RPi Help....
« Reply #14 on: April 10, 2021, 01:30:36 PM »
Hi,

I've put an extension less file on the SD card for the Rpi called SSH, but when I try to Putty in its asking me for a password?!

I tried Raspberry as thats what a Google suggested but no luck?

Any ideas? Is it the Piaware site password?