{"id":20113793,"url":"https://github.com/mkj/tgiistat","last_synced_at":"2025-05-06T12:30:39.610Z","repository":{"id":150882155,"uuid":"123664432","full_name":"mkj/tgiistat","owner":"mkj","description":"Fetch statistics from a TGiiNet-1 modem","archived":false,"fork":false,"pushed_at":"2023-05-22T23:55:02.000Z","size":25,"stargazers_count":7,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T00:38:47.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mkj.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-03T06:00:58.000Z","updated_at":"2023-01-03T21:25:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d8391a5-987c-49e6-bd41-08de8fc7ae8c","html_url":"https://github.com/mkj/tgiistat","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/mkj%2Ftgiistat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj%2Ftgiistat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj%2Ftgiistat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkj%2Ftgiistat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkj","download_url":"https://codeload.github.com/mkj/tgiistat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252683385,"owners_count":21788029,"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":[],"created_at":"2024-11-13T18:25:58.789Z","updated_at":"2025-05-06T12:30:39.600Z","avatar_url":"https://github.com/mkj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TG-1 and TG-789 modem statistics\n\nFetches statistics from a tgiinet modem. These are made by Technicolor, \nsold by Australian ISP iinet. \n\nI've tested with 15.4 firmware (15.53.7004-V1-7-1-CRF557) in bridge mode.\nThanks to Shannon Wynter for his [nbntest](https://github.com/freman/nbntest/), some\ndetails were found there.\n\nEdit `tgiistat.toml` to set your modem's IP and password.\n\nThis requires python3.\n\n## Install\n```\npython3 -m venv init venv\n./venv/bin/pip install --upgrade pip\n./venv/bin/pip install -r requirements.txt\n```\n\n## Usage\n\n```\n./venv/bin/python3 tgiistat.py\nup_rate 1010\ndown_rate 4850\nup_maxrate 1020\ndown_maxrate 5480\nup_power 17.1\ndown_power 12.4\nup_noisemargin 10.9\ndown_noisemargin 11.3\nup_transferred 193.51\ndown_transferred 650.39\nup_attenuation1 19.3\ndown_attenuation1 36.0\ndsl_uptime 19565\ndsl_mode Interleaved\ndsl_type ADSL2+\ndsl_status Up\n\n```\n\n```\n./venv/bin/python3 tgiistat.py  --json\n{\n    \"up_rate\": 1010,\n    \"down_rate\": 4850,\n    \"up_maxrate\": 1020,\n    \"down_maxrate\": 5480,\n    \"up_power\": 17.1,\n    \"down_power\": 12.4,\n    \"up_noisemargin\": 10.9,\n    \"down_noisemargin\": 11.3,\n    \"up_transferred\": 193.51,\n    \"down_transferred\": 650.39,\n    \"up_attenuation1\": 19.3,\n    \"down_attenuation1\": 36.0,\n    \"dsl_uptime\": 19565,\n    \"dsl_mode\": \"Interleaved\",\n    \"dsl_type\": \"ADSL2+\",\n    \"dsl_status\": \"Up\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkj%2Ftgiistat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkj%2Ftgiistat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkj%2Ftgiistat/lists"}