How do I start sharing and what are the choices of who to share to

Discussion in 'Tutorials' started by pooky248, Oct 8, 2019.

  1. pooky248

    pooky248 Member

    I have just got and set up my Raspberry Pi4 box with dump1090 and that's where it ends.
    I dont know how to go about sharing my data or who to? I know of FlightRadar24 and this site. I like the live map on this site as it states it does not redact military flights and wonder if and how I can share to this site.I am able to view Dump1090 in my browser but for some reason I get 'For development purposes only' all over the map.

    Any help in setting up sharing would be greatly appreciated.
     
  2. MDA

    MDA Administrator Staff Member

    Only image supporting Pi4 and feeding ADSBx is currently "Skybup". PM me if you want to test it.
     
  3. wiedehopf

    wiedehopf Administrator Staff Member

    You'll want a more current dump1090 to get rid of the map issue with watermarks.
    You can either install dump1090-mutability via apt install or use dump1090-fa:
    https://github.com/wiedehopf/adsb-scripts/wiki/Bundle-install-for-dump1090fa

    As for sharing with adsbexchange, you can use their scripts to set that up:
    https://github.com/adsbxchange/adsb-exchange#ads-b-exchange-setup-scripts-airplane

    Once complete, you can check https://adsbexchange.com/myip/ and http://adsbx.org/sync to see if it's working.


    Edit: Of course you can also use the complete RPi image suggested by MDA :)
     
  4. pooky248

    pooky248 Member

    Ive installed via the github link you gave me, but I don't know how to start it as when I put the address in the browser, I don't see any traffic!
     
  5. wiedehopf

    wiedehopf Administrator Staff Member

    Just or good measure:

    Code:
    sudo apt update
    sudo apt dist-upgrade
    sudo reboot
    
    If it's still not working then show the output of this
    Code:
    sudo journalctl --no-pager -u dump1090-fa
    
    And also please specify what you installed from github.
     
  6. pooky248

    pooky248 Member

    It seems it's working OK, I rebooted and entered the web address to view my own feed and I can now see aircraft.

    One problem I am haing now is when I enter my location, the 'pin' is not where it should be!
     
  7. pooky248

    pooky248 Member

  8. MDA

    MDA Administrator Staff Member

  9. pooky248

    pooky248 Member

    I've just looked at the github page open on the Pi box and it's the same as the one you mention above, I thought that was the one I posted in my last message. Sorry for the confusion.

    Also, Ive had the browser open for about an hour on the Pi box and suddenly, theere were no planes on the map, it stopped tracking anything!
     
  10. wiedehopf

    wiedehopf Administrator Staff Member

    If you used my bundle, you'll need to set the location in /etc/default/dump1090-fa or with the the command explained here:
    https://github.com/wiedehopf/adsb-scripts/wiki/Bundle-install-for-dump1090fa#configuring-location

    The /tar1090 address is recommended, interface is quite a bit faster than the others.

    If you won't move the antenna more than 10 m you can go ahead and install the adsbx sharing.
    Location within 10 m isn't that important.
    (it only asks for 5 decimal places to avoid rounding errors and such)
     
  11. pooky248

    pooky248 Member

    I have used Google Maps to get my Lat/Long, see below.
    [​IMG]

    Yet, when I enter them into terminal, using 'dump1090-fa-set-location (lat/long)'
    I am placed at the location below.
    [​IMG]

    Something is going wrong somewhere!
     
  12. wiedehopf

    wiedehopf Administrator Staff Member

    Oh that.
    Open /etc/default/dump1090-fa
    Edit this line, replace the 1 with a 2. It's a privacy option, kinda stupid.
    JSON_OPTIONS="--json-location-accuracy 1"
     
  13. pooky248

    pooky248 Member

    @Wiedehopt
    I've installed the feeder and entered all the info I knew at that time, howeve, I found this thread and read post #20
    https://www.adsbexchange.com/forum/threads/where-to-get-the-image.628829/

    My elevation is 52m and the antenna is 3m high, do I add my elevation and the antenna height and enter that (If so, I will now have to edit the config file, which is what & where) and my lat & long are different, so I need to edit them also.
     
  14. wiedehopf

    wiedehopf Administrator Staff Member

    You can edit /etc/default/adsbexchange.
    Or just run the setup again, it's not an issue and will prompt exactly what it wants.

    Anyway as i said 10m difference isn't critical.
     
  15. pooky248

    pooky248 Member

    You missed a bit from my last post...

    My elevation is 52m and the antenna is 3m high, do I add my elevation and the antenna height and enter that (If so, I will now have to edit the config file, which is what & where) and my lat & long are different, so I need to edit them also

    Also, instead of getting you to list the commands here, could you post a link to the commands to start/stop etc.. the installed programs
     
  16. pooky248

    pooky248 Member

    I've got another problem;
    I was working on installing dump1090 and the feeder, which went great. However, I've found that I am losing tracking while viewing via the web address to my own feed. It was about every hour, until I went to bed and then got up around 7am I started viewing the map (which had been on the same web page since leaving it. It then stopped displaying tracked aircract about 7:50. I tried to restart by entering in terminal,
    sudo systemctl restart adsbexchange-feed && sudo systemctl restart adsbexchange-mlat
    But that didnt work so I ended up having to reboot the Pi box, which got everything working as normal again.
    However, I cant see myself (pky2483) in the sync stats page (3A-2).
     
  17. wiedehopf

    wiedehopf Administrator Staff Member

    If you installed dump1090-fa, this is the relevant log:

    sudo journalctl --no-pager -u dump1090-fa

    To restart it:
    sudo systemctl restart dump1090-fa

    Also check if you have undervoltage issues:
    sudo dmesg --ctime | grep voltage
    vcgencmd get_throttled


    This should give you a better overview if you indeed lose tracking, you can also post the pictures:
    https://github.com/wiedehopf/graphs1090#graphs1090
     
  18. pooky248

    pooky248 Member

    I get back;
    throttled=0x0

    I'm just going to install the graph add-on from your github and see what I get.
     
  19. wiedehopf

    wiedehopf Administrator Staff Member

    You'll have to be more specific in regards to
    I'm not quite clear what is exactly happening.
    If it happens again, please show this log:
    sudo journalctl --no-pager -u dump1090-fa
     
  20. pooky248

    pooky248 Member

    It happened... Stopped being able to track aircraft
    -- Logs begin at Thu 2019-10-10 07:49:40 BST, end at Thu 2019-10-10 12:12:04 BST. --
    Oct 10 07:49:44 raspberrypi systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
    Oct 10 07:49:44 raspberrypi dump1090-fa[476]: Thu Oct 10 07:49:44 2019 BST dump1090-fa 3.7.2 starting up.
    Oct 10 07:49:45 raspberrypi dump1090-fa[476]: rtlsdr: using device #0: Generic RTL2832U (Generic, RTL2832U, SN 77771111153705700)
    Oct 10 07:49:45 raspberrypi dump1090-fa[476]: Detached kernel driver
    Oct 10 07:49:45 raspberrypi dump1090-fa[476]: Found Rafael Micro R820T tuner
    Oct 10 07:49:45 raspberrypi dump1090-fa[476]: rtlsdr: tuner gain set to 49.6 dB
    Oct 10 07:49:45 raspberrypi dump1090-fa[476]: Allocating 4 zero-copy buffers
    Oct 10 11:50:11 raspberrypi dump1090-fa[476]: Thu Oct 10 11:50:11 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:51:12 raspberrypi dump1090-fa[476]: Thu Oct 10 11:51:12 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:52:12 raspberrypi dump1090-fa[476]: Thu Oct 10 11:52:12 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:53:12 raspberrypi dump1090-fa[476]: Thu Oct 10 11:53:12 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:54:12 raspberrypi dump1090-fa[476]: Thu Oct 10 11:54:12 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:55:13 raspberrypi dump1090-fa[476]: Thu Oct 10 11:55:13 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:56:13 raspberrypi dump1090-fa[476]: Thu Oct 10 11:56:13 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:57:13 raspberrypi dump1090-fa[476]: Thu Oct 10 11:57:13 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:58:13 raspberrypi dump1090-fa[476]: Thu Oct 10 11:58:13 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 11:59:14 raspberrypi dump1090-fa[476]: Thu Oct 10 11:59:14 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:00:14 raspberrypi dump1090-fa[476]: Thu Oct 10 12:00:14 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:01:14 raspberrypi dump1090-fa[476]: Thu Oct 10 12:01:14 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:02:14 raspberrypi dump1090-fa[476]: Thu Oct 10 12:02:14 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:03:15 raspberrypi dump1090-fa[476]: Thu Oct 10 12:03:15 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:04:15 raspberrypi dump1090-fa[476]: Thu Oct 10 12:04:15 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:05:15 raspberrypi dump1090-fa[476]: Thu Oct 10 12:05:15 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:06:15 raspberrypi dump1090-fa[476]: Thu Oct 10 12:06:15 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:07:16 raspberrypi dump1090-fa[476]: Thu Oct 10 12:07:16 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:08:16 raspberrypi dump1090-fa[476]: Thu Oct 10 12:08:16 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:09:16 raspberrypi dump1090-fa[476]: Thu Oct 10 12:09:16 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:10:16 raspberrypi dump1090-fa[476]: Thu Oct 10 12:10:16 2019 BST No data received from the SDR for a long time, it may have wedged
    Oct 10 12:11:17 raspberrypi dump1090-fa[476]: Thu Oct 10 12:11:17 2019 BST No data received from the SDR for a long time, it may have wedged

    Screenshots
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    Stopped tracking... No aircraft in sight
    [​IMG]
     
    Last edited: Oct 10, 2019