[WORKING] New ADSBExchange base image v1.0

Discussion in 'Feeding' started by James, Dec 31, 2017.

Tags:
  1. MDA

    MDA Administrator Staff Member

    Look at ADSB-Receiver project, there is possibility to choose units (I really like Joe's project).
    Of course for me metric system is much easier...:D
     
    James likes this.
  2. James

    James Guest

    It's true, Joe built a pretty good all in one image (more impressive than the ADSBx image for multiple feeds).

    His code can be a little buggy sometimes and he disappears for months at time, but for an image that has all feeder clients on it and pumps out as stats page -- it works well.

    The bash script that we use is a modified version of one he built.
     
  3. James

    James Guest

    Should we take a stab at replacing his python stats with Grafana?
     
  4. MDA

    MDA Administrator Staff Member

    Until now Grafana is not writing stats to SD card. So difficult to say what will be impact of Grafana stats to SD card lifetime. Joe's stats are stored.
    I'm ready to test it.
     
  5. James

    James Guest

    Preventing his stats writing to SD would be fairly simple - just symlink where he places stats storage to /var/run
     
  6. MDA

    MDA Administrator Staff Member

    Let's try to write Grafana stats to SD. I can test it on SanDisk Ultra.
     
    N8NOE likes this.
  7. James

    James Guest

    OK here's another bug fix in the upcoming image ... not really a bug fix .. it's a edge case for things I've never seen or thought of doing. But someone did. And I spent hours helping them figure out why image wasn't working. Then I asked for config ... and ... omg

    if your SSID has leading spaces ... like .. 5+ ...

    Code:
    "          SSIDleadingSPACES"
    
    If you are doing this and think you are secure / crafty but your router is broadcasting the SSID ... then you're not being crafty .. you're broadcasting the SSID with the spaces .. :/

    adsbexchange-getparams.sh
    adsbexchange-wifi.sh
    check-setup.sh

    Basically anything that reads and echo that $WIFI_SSID variable needs updated.

    If you are doing this with anything else ... for instance .. password or names ..

    Men in a van maybe come to your location and disappear the power to your Pi. :D
     
    Last edited by a moderator: Sep 30, 2018
  8. Fung Sai Hou

    Fung Sai Hou New Member

    Hello,

    May I know how to edit the dump-mutability gmap page to white background for the right-hand section?


    dump1090-muta map grey background.png



    dump1090-muta map Ori background.png

    Thank you and regards.
     
  9. James

    James Guest

    Use chrome developer tools and figure out what CSS needs changed. I'm not sure.
     
  10. MDA

    MDA Administrator Staff Member

    Try to edit /usr/share/dump1090-mutability/html/style.css
    Below original dump1090-mutability content:
    Code:
    html, body {
        margin: 0; padding: 0; background-color: #ffffff; font-family: Tahoma, Sans-Serif;
        font-size: 10pt; overflow: auto; height: 100%;
    }
    div#map_container     { float: left; width: 100%; height: 100%; }
    div#map_canvas        { height: 100%; margin-right: 420px; }
    
    div#sidebar_container { float: left; width: 410px; margin-left: -410px; height: 100%; overflow: auto; }
    
    div#SpecialSquawkWarning { position: absolute; bottom: 25px; right: 430px; border: 2px solid red;
        background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: 5px;
        text-align: center; }
    
    div#update_error { position: absolute; bottom: 25px; left: 25px; border: 2px solid red;
        background-color: #FFFFA3; opacity: 0.75; filter:alpha(opacity=75); padding: 5px;
        text-align: center; }
    
    div#loader { z-index: 99; position: absolute; left: 0; top: 0; bottom: 0; right: 0; background: #000; opacity: 0.8; filter: alpha(opacity=80); }
    #spinny { width: 128px; height: 128px; position: absolute; top: 50%; left: 50%; margin: -64px 0 0 -64px; }
    #loader_progress { width: 250px; height: 20px; position: absolute; top: 50%; left: 50%; margin: 128px 0 0 -125px; }
    
    #tableinfo, #sudo_buttons { font-size: x-small; font-family: monospace; }
    
    .vPosition  { font-weight: bold; background-color: #d5ffd5; }
    .mlat       { font-weight: bold; background-color: #d5d5ff; }
    .squawk7500 { font-weight: bold; background-color: #ff5555; }
    .squawk7600 { font-weight: bold; background-color: #00ffff; }
    .squawk7700 { font-weight: bold; background-color: #ffff00; }
    .selected   { background-color: #dddddd; }
    .plane_table_row { cursor: pointer; }
    .hidden { display: none; }
    
    .infoblock_heading    { font-size: larger; }
    .infoblock_heading a  { text-decoration: none; color: blue; font-size: x-small;}
    .infoblock_body       { font-size: small; }
    
    #selected_icao { font-size: x-small; }
    #selected_registration { font-size: x-small; }
    #selected_icaotype { font-size: x-small; }
    
    .dim    { opacity: 0.3; filter:alpha(opacity=30); /* For IE8 and earlier */ }
    
    .pointer { cursor: pointer; }
    
     
    Fung Sai Hou and James like this.
  11. Fung Sai Hou

    Fung Sai Hou New Member

    Thanks for the info.

    It works now by replacing the existing file with this one.

    Regards,
    Sai Hou
    Kota Kinabalu, Sabah, MY
     
  12. Abhi

    Abhi New Member

    Hello, Im using a rpi3 with Mode S Beast GPS Decoder . But this method is not working for me. Map is not loading

    Error:
    Problem fetching data from dump1090.
    AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
    The displayed map data will be out of date.

    Any tutorial or solution for this?
     
  13. MDA

    MDA Administrator Staff Member

    Mode-s beast config is described somewhere on this forum. Search posts of Freqman, he's using mode-s beast.
    Images are not supporting this receiver, you should build your own image with mode-s beast support.
     
  14. James

    James Guest

    If that's the WebUI on a PI, then dump1090 is not running due to some error. Likely to do with Mode S Beast ...
     
  15. Abhi

    Abhi New Member

    Okay , i found that thread , Will try and inform asap , Thanks James & MDA
     
  16. Abhi

    Abhi New Member

    So how can we see the feeding datas?
     
  17. MDA

    MDA Administrator Staff Member

    Go to sync matrix region -5. If you see your username then everything works fine.
     
  18. Abhi

    Abhi New Member

    Now I Flashed ADSBExPiaware 2.1 and followed Freqmen method . Updated the piaware-config.txt receiver type to Beast . And inserted into rpi3 , connected the power . BTW I scanned my pc for find the adsbex ip and i copied into my web page is not loading!!

    upload_2018-12-3_1-7-46.png
     
  19. MDA

    MDA Administrator Staff Member

    ADSBx Piaware image is not working properly anymore due to Google issue with lat/lon.
    If your old image with mode s beast was working please use script install of ADSBx mlat client as described here: https://www.adsbexchange.com/how-to-feed/
    You will need to edit later input type (change from dump1090 to beast).
     
  20. Abhi

    Abhi New Member

    None of my previous images not working with my Mode S Beast !!! Any Possible way to enable this mode s beast in
    ADSBexchange.com Custom Feeder Image?