Skip to main content

Transform Ecowitt API JSON to APRS Complete Weather Report format

Project description

ecowitt2aprs

This Python package contains a script that queries the Ecowitt weather station data, transforming it into a Cumulus "wxnow.txt" format which is printed to stdout.

This script is intended to be used with the Direwolf software AX.25 packet modem software for the purposes of relaying Ecowitt weather information via Automatic Packet Reporting System (APRS).

Installation

ecowitt2aprs is best installed into a Python virtual environment. For example

$ python -m venv /path/to/venv
$ . /path/to/venv/bin/activate
$ python -m pip install ecowitt2aprs

Usage

ecowitt2aprs relies on authentication secrets provided in config.yaml. Ecowitt API and App keys are required, along with the MAC address of the weather station used to capture the data. These are inserted into config.yaml (see template in the repository), which should be given user read/write access only (i.e. Posix 600 octal code). See the Ecowitt API documentation for details.

$ . /path/to/venv/bin/activate
$ ecowitt2aprs -c config.yaml

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

ecowitt2aprs-0.1.8.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

ecowitt2aprs-0.1.8-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file ecowitt2aprs-0.1.8.tar.gz.

File metadata

  • Download URL: ecowitt2aprs-0.1.8.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for ecowitt2aprs-0.1.8.tar.gz
Algorithm Hash digest
SHA256 cadeaf9681329c8de9f2cb5c15b7b66bbf2f0d29195cdee42898c95f482a2ec3
MD5 306f224ef2c6d139ccdb009a66fb1d54
BLAKE2b-256 c8acc5a8f353f9ce0236cfa036775d93d309d01f28aa0f50ece73fdb77f86aac

See more details on using hashes here.

File details

Details for the file ecowitt2aprs-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for ecowitt2aprs-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0b1b426b667f9b43584f16ec4618fd7d0ae7b19a35612112bb777e0ba327d305
MD5 a17c2a8a604ce8c50691ec21729f0933
BLAKE2b-256 e398bb7a498a7ad70c4b829458a0ed9c68cd50c71393831ac2a6c563ded05b5c

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