{"id":16719488,"url":"https://github.com/junzis/sil","last_synced_at":"2025-04-10T08:54:53.092Z","repository":{"id":46276919,"uuid":"41554452","full_name":"junzis/sil","owner":"junzis","description":"Python Client for Mode-s Beast Raw Data","archived":false,"fork":false,"pushed_at":"2021-11-02T21:08:11.000Z","size":95,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T08:11:19.303Z","etag":null,"topics":["ads-b","adsb","aircraft","mode-s","modes","receiver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junzis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-28T15:23:01.000Z","updated_at":"2024-01-11T13:14:41.000Z","dependencies_parsed_at":"2022-09-22T07:59:04.848Z","dependency_job_id":null,"html_url":"https://github.com/junzis/sil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junzis%2Fsil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junzis%2Fsil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junzis%2Fsil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junzis%2Fsil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junzis","download_url":"https://codeload.github.com/junzis/sil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190408,"owners_count":21062277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ads-b","adsb","aircraft","mode-s","modes","receiver"],"created_at":"2024-10-12T21:41:50.490Z","updated_at":"2025-04-10T08:54:53.073Z","avatar_url":"https://github.com/junzis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Client for Mode S Raw Data\n\nThe tool is designed in Python to dump raw ADS-B and Mode S message from a beast or AVR data stream.\n\n## 1. Install dependencies\n\n```sh\n$ pip install pyModeS tendo pandas\n```\n\n## 2. Collecting data\n\n### [optional] Setting up the source (if you don't have a raw stream)\n\nInstall [dump1090](https://github.com/flightaware/dump1090) and run following:\n\n```ssh\n$ ./dump1090 --net --quiet\n```\n\nNow you will have the raw messages served on TCP ports 30002 (AVR format) and 30005 (beast format). You can check using ``telnet`` command.\n\n```sh\n$ telnet 127.0.0.1 30002\n$ telnet 127.0.0.1 30005\n```\n\n### Saving raw data using SIL script\n\nOnce you have a TCP raw message stream ready, use `start_sil.py` from this repository to collect data. First download this repository, or clone it use:\n\n```ssh\n$ git clone https://github.com/junzis/sil.git\n$ cd sil\n```\n\nThen you can starting save raw messages.\n\nFor example, collecting ADS-B only from a AVR stream:\n\n```ssh\n$ python start_sil.py --port 30002 --type avr --df-filter 17\n```\n\nor, collecting multiple DF used Mode S Beast stream from a remote server\n\n```ssh\n$ python start_sil.py --host [hostname_or_ip] --port 30005 --type beast --df-filter 17 20 21\n```\n\nAdditional information\n\n- User `python start_sil.py -h` to see more options\n- Option `--df-filter` allows you to specify the Downlink Formats to save\n- Increase `--buffer-size` to decrease the frequency of saving data to disk\n- Data is saved per hour (UTC), under `data` folder, with format `RAW_YYYYMMDD_HH.csv`\n- CSV columns are: unix timestamp, downlink format, ICAO address, raw message\n\n\n## 3. Start the script automatically\n\nTo start the script automatically, add the following to ``contrab``:\n\n```\n@reboot python3 \\[path_to_script]\\start_sil.py [options] \u0026\n```\n\n## 4. Decoding save data\n\nYou can decode saved data using the scripts under `extra_tools`. For example:\n\n```sh\n$ python extra_tools/decode_adsb_single_thread.py --fin [input_file] --fout [output_file] --lat0 [receiver_latitude] --lon0 [longitude]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunzis%2Fsil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunzis%2Fsil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunzis%2Fsil/lists"}