Receiver status available locally as JSON or similar?

Discussion in 'Feeding' started by ronschaeffer, Jan 10, 2023.

  1. ronschaeffer

    ronschaeffer New Member

    I'm running the ADBS image on a Pi. Can I get my receiver/feed status as JSON or similar on a local URL?

    I'm looking for info similar to https://www.adsbexchange.com/myip/ and/or http://localhosr/info/ but in both cases not only local but also as JSON rather than a webpage.

    Thanks,
     
  2. James

    James Guest

  3. ronschaeffer

    ronschaeffer New Member

    Thanks very much for your response, but I'm looking for status info that is directly accessible progmatically, not for a webpage.

    For example, FlightRadar24 serves the follow JSON at http://localhost:8754/monitor.json. FlightAware has a similar feed available at the commandline or via an http request.

    Cheers

    {
    "ac_map_size": "3072",
    "build_arch": "static_armel",
    "build_flavour": "generic",
    "build_os": "Linux",
    "build_revision": "HEAD-00021a4.git",
    "build_timetamp": "Sep 1 2022 09:40:07",
    "build_version": "1.0.30-3",
    "cfg_baudrate": "",
    "cfg_bs": "no",
    "cfg_host": "127.0.0.1:30005",
    "cfg_mpx": "",
    "cfg_path": "",
    "cfg_raw": "no",
    "cfg_receiver": "beast-tcp",
    "cfg_windowmode": "0",
    "d11_map_size": "44",
    "dns_queries": "173",
    "extended_ui": "no",
    "feed_alias": "xxxxxxxxxx",
    "feed_configured_mode": "UDP",
    "feed_current_mode": "UDP",
    "feed_current_server": "xxx.xxx.xxx.xxx",
    "feed_last_ac_sent_num": "2",
    "feed_last_ac_sent_time": "1673618698",
    "feed_last_attempt_time": "1673478828",
    "feed_last_config_info": "",
    "feed_last_config_result": "success",
    "feed_last_connected_time": "1673478828",
    "feed_legacy_id": "29407",
    "feed_num_ac_adsb_tracked": "16",
    "feed_num_ac_non_adsb_tracked": "18",
    "feed_num_ac_tracked": "34",
    "feed_status": "connected",
    "feed_status_message": "",
    "fr24key": "xxxxxxxxxxxxxxxxxxxx",
    "gps_tods": "0",
    "last_json_utc": "1673618636",
    "last_rx_connect_status": "OK",
    "last_rx_connect_time": "1673574164",
    "last_rx_connect_time_s": "2023-01-13 01:42:44",
    "last_rx_global_timeout": "1673574159",
    "local_ips": "10.10.10.234,10.10.30.139,100.79.118.60",
    "local_tods": "50695",
    "msg_ring_full": "false",
    "msg_ring_length": "0",
    "ntp_queries": "349",
    "num_global_timeouts": "1",
    "num_messages": "9920312",
    "num_resyncs": "0",
    "offline-mode": "no",
    "open_fds": "31",
    "rx_connected": "1",
    "shutdown": "no",
    "time_update_utc": "1673618692",
    "time_update_utc_s": "2023-01-13 14:04:52",
    "timestamp_source": "SYSTEM-VALIDATED",
    "timing_is_valid": "1",
    "timing_last_drift": "+0.000",
    "timing_last_offset": "+0.005",
    "timing_last_result": "success",
    "timing_source": "NTP",
    "timing_time_last_attempt": "1673617910",
    "timing_time_last_success": "1673617910",
    "timing_time_since_last_success": "1200",
    "wifi_allowed": "0"
    }
     
  4. James

    James Guest

    Well this isn't FlightRadar24.
     
    Last edited by a moderator: Jan 13, 2023
  5. ronschaeffer

    ronschaeffer New Member

    LOL. OK. I was simply giving you an example of what I meant. Never mind then.