{"id":26158301,"url":"https://github.com/filipspl/aprs-is-wx","last_synced_at":"2026-02-19T12:01:41.621Z","repository":{"id":280162290,"uuid":"941162376","full_name":"filipsPL/aprs-is-wx","owner":"filipsPL","description":"Send data from weather station to APRS-IS via internet.","archived":false,"fork":false,"pushed_at":"2025-04-03T19:05:16.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-15T11:26:00.860Z","etag":null,"topics":["aprs","aprs-is","weather-station"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filipsPL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-03-01T16:33:04.000Z","updated_at":"2025-07-03T20:14:48.000Z","dependencies_parsed_at":"2025-03-01T17:32:55.885Z","dependency_job_id":"902916c0-da22-4895-acdb-c4b41f562dea","html_url":"https://github.com/filipsPL/aprs-is-wx","commit_stats":null,"previous_names":["filipspl/aprs-is-wx"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/filipsPL/aprs-is-wx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipsPL%2Faprs-is-wx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipsPL%2Faprs-is-wx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipsPL%2Faprs-is-wx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipsPL%2Faprs-is-wx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filipsPL","download_url":"https://codeload.github.com/filipsPL/aprs-is-wx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filipsPL%2Faprs-is-wx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29612508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aprs","aprs-is","weather-station"],"created_at":"2025-03-11T10:49:21.166Z","updated_at":"2026-02-19T12:01:41.596Z","avatar_url":"https://github.com/filipsPL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APRS-IS Python Weather Station\n\nA Python tool for submitting weather data to the Automatic Packet Reporting System (APRS) network.\n\n## Overview\n\n`aprs-is-wx.py` is a flexible and robust tool that collects weather data from JSON files and submits it to the APRS Internet Service (APRS-IS) or Citizen Weather Observer Program (CWOP). It handles unit conversions, coordinates formatting, and provides reliable network communication with error handling and retry mechanisms.\n\n\n## Features\n\n- Reads weather data from simple JSON files\n- Converts units automatically (C to F, hPa to mmHg, etc.)\n- Formats APRS packets according to specification\n- Supports multiple weather parameters:\n  - Temperature\n  - Pressure (with elevation correction)\n  - Humidity\n  - Wind direction\n  - Wind speed and gusts\n  - Rainfall\n- Provides robust error handling and logging\n- Includes a retry mechanism for network communication\n- Supports configuration via INI files\n- Inspired by kd7lxl's https://github.com/kd7lxl/pywxtd/blob/master/pywxtd.py\n\n## Requirements\n\n- Python 3.6+\n- Network connectivity to APRS servers\n- APRS username and password assigned\n\n## Installation\n\n1. Clone this repository or download the source code\n2. Create your configuration file from txt template (see below)\n\n## Configuration\n\nCreate an `aprs_config.ini` file with the following parameters:\n\n```ini\n[Station]\nelevation = 110\nlat = 53.2320230\nlon = 20.0713454\ntype = WX Meteo Station\nmeteo_json = meteo.json\n\n[APRS]\nhost = radom.aprs2.net\nport = 14580\nuser = SP5XXX\npass = 666666\ncallsign = SP5XXX-13\n```\n\n## Weather Data Format\n\nCreate a `meteo.json` file with your weather data:\n\n```json\n{\n  \"temperature\": 18.5,\n  \"temperature_unit\": \"C\",\n  \"pressure\": 1013.25,\n  \"pressure_unit\": \"hPa\",\n  \"humidity\": 65,\n  \"wind_direction\": 270,\n  \"wind_speed\": 15.7,\n  \"wind_speed_unit\": \"km/h\",\n  \"wind_gust\": 25.3,\n  \"wind_gust_unit\": \"km/h\",\n  \"rain_since_midnight\": 2.5,\n  \"rain_unit\": \"mm\"\n}\n```\n\nAll fields are optional, and the program will handle whatever data is available.\n\n## Usage\n\nRun the script:\n\n```bash\npython aprs-is-wx.py\n```\n\nThe program will:\n1. Read the configuration file\n2. Load weather data from the JSON file\n3. Convert and format the data into an APRS packet\n4. Submit the packet to the APRS server\n5. Send a station uptime status message\n\nScreenshot:\n\n```console\n2025-03-01 17:26:05,036 - INFO - 2025-03-01 17:26:05 - Weather packet: @011726z5112.92N/02254.28E_.../...g...t037P...h100b10294WX Warszawa Południe\n2025-03-01 17:26:05,036 - INFO - Sending APRS packet (attempt 1/3)\n2025-03-01 17:26:08,088 - INFO - Successfully sent APRS packet\n2025-03-01 17:26:08,088 - INFO - Sending status: \u003eUptime: 0:55:02.450000\n2025-03-01 17:26:08,088 - INFO - Sending APRS packet (attempt 1/3)\n2025-03-01 17:26:11,116 - INFO - Successfully sent APRS packet\n```\n\n## License\n\nThis program is based on work by Tom Hayward and is distributed under the BSD License.\n\n## Acknowledgments\n\n- Originally written by Tom Hayward\n- Enhanced by Filip SP5FLS","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipspl%2Faprs-is-wx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipspl%2Faprs-is-wx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipspl%2Faprs-is-wx/lists"}