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.1.0.tar.gz (4.9 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.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ambient_wds-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 998c9e1085d2f8c74f20270fbe8b45e5015d413a8cec9423dca7f07b0d1ae355
MD5 cb4400cacf8efd44877f91349ded3444
BLAKE2b-256 ae551c0fde92e014a87e146942899a5f90a2a09ebf163151b961a67706c1437e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ambient_wds-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c37cd5b1ccfc6ae76a08731107b22a9f18ff738d9da0baaf4aa74222864d904
MD5 37f47c5c86520faeda6a961896d82839
BLAKE2b-256 52679758753455bc0cd23c2460c60c05f320863b29902b40c241308527966e75

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