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
Parameters
This tool supports configuration from four sources, checked in the following priority order:
- Command-line options — Passed with
--kebab-caseflags (e.g.,--app-key my_app_key). - Environment variables — Uppercase snake case (e.g.,
APP_KEY=my_app_key). - YAML config file (
config.yaml) — Keys in uppercase snake case (e.g.,APP_KEY: my_app_key). - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
998c9e1085d2f8c74f20270fbe8b45e5015d413a8cec9423dca7f07b0d1ae355
|
|
| MD5 |
cb4400cacf8efd44877f91349ded3444
|
|
| BLAKE2b-256 |
ae551c0fde92e014a87e146942899a5f90a2a09ebf163151b961a67706c1437e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c37cd5b1ccfc6ae76a08731107b22a9f18ff738d9da0baaf4aa74222864d904
|
|
| MD5 |
37f47c5c86520faeda6a961896d82839
|
|
| BLAKE2b-256 |
52679758753455bc0cd23c2460c60c05f320863b29902b40c241308527966e75
|