Skip to main content

Ship weather data from Ambient Weather API to APRS-IS/aprs.fi

Project description

Ambient WDS (Weather Data Shipper)

A tool to query data from Ambient Weather's API, convert it, and upload it to APRS.fi ambient-wds-logo

Parameters

This tool supports configuration from four sources, checked in the following priority order:

  1. Command-line options — Passed with --kebab-case flags (e.g., --app-key my_app_key).
  2. Environment variables — Uppercase snake case (e.g., APP_KEY=my_app_key).
  3. YAML config file (config.yaml) — Keys in uppercase snake case (e.g., APP_KEY: my_app_key).
  4. Default value (see table)

If a parameter is provided in multiple places, the command-line option will override the environment variable, which will override the YAML config file.

Parameter CLI Option Environment Variable YAML Config Key Default Value Description
API_KEY --api-key API_KEY API_KEY Your API key for accessing Ambient Weather's API.
APP_KEY --app-key APP_KEY APP_KEY Your application key for accessing Ambient Weather's API.
APRS_PASSCODE --aprs-passcode APRS_PASSCODE APRS_PASSCODE The APRS passcode for your callsign.
APRS_SERVER --aprs-server APRS_SERVER APRS_SERVER noam.aprs2.net The APRS server to connect to (e.g., noam.aprs2.net).
APRS_PORT --aprs-port APRS_PORT APRS_PORT 14580 The port number for the APRS server (e.g., 14580).
CALLSIGN --callsign CALLSIGN CALLSIGN Your APRS callsign.
SSID --ssid SSID SSID 13 The SSID (Secondary Station Identifier) for your APRS station.
POLL_SECONDS --poll-seconds POLL_SECONDS POLL_SECONDS 300 The interval (in seconds) for polling data from the API.
CONFIG_FILE --config-file CONFIG_FILE N/A config.yaml Path to the YAML config file.

Station Configuration

You must set a location for your station in order for this tool to work. These instructions go through that process.

Obtaining an APRS Passcode

To obtain an APRS passcode, go to https://apps.magicbug.co.uk/passcode/, and enter your callsign.

Obtaining an App Key and API Key

To obtain your Ambient Weather App and API keys, log into your Ambient Weather account and navigate to https://ambientweather.net/account/keys. From there you can create both an API key and an APP key. They are both necessary.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ambient_wds-0.2.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ambient_wds-0.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file ambient_wds-0.2.0.tar.gz.

File metadata

  • Download URL: ambient_wds-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for ambient_wds-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1ef1a29152279c128615539d84e23cea716475bd1b32e5e2680c6a98bfefc457
MD5 28bbaf380d9591e8ccb2e85ecfbfc9b4
BLAKE2b-256 9af3256c40be6f860b512efa16c0ab1382736e3362b9f6313443120803e7cdb7

See more details on using hashes here.

File details

Details for the file ambient_wds-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ambient_wds-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for ambient_wds-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7a2fff9b092e559c970997218715e0c961d9e3aed19142671ad09a5d8adbc59
MD5 db517d2d57989e05b3e391e910faaae8
BLAKE2b-256 e1c81966a2cba7c713e01ce65480c50a761cf46f6aa8af7367f67dc7ab741342

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page