Metadata-Version: 2.3
Name: ecowitt2aprs
Version: 0.1.10
Summary: Transform Ecowitt API JSON to APRS Complete Weather Report format
Keywords: APRS,Packet,Geolocation,Amateur Radio
Author: Chris Jewell
Author-email: Chris Jewell <chrism0dwk@gmail.com>
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Telecommunications Industry
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Topic :: Communications :: Ham Radio
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: argparse>=1.4.0
Requires-Dist: datetime>=5.5
Requires-Dist: pyyaml>=6.0.2
Requires-Dist: urllib3>=2.4.0
Maintainer: Chris Jewell
Maintainer-email: Chris Jewell <chrism0dwk@gmail.com>
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# ecowitt2aprs

This Python package contains a script that queries the Ecowitt weather station data, transforming it into a Cumulus "[wxnow.txt](https://cumuluswiki.org/a/Wxnow.txt)" format which is printed to stdout.  

This script is intended to be used with the [Direwolf](https://github.com/wb2osz/direwolf) software AX.25 packet modem software for the purposes of relaying Ecowitt weather information via [Automatic Packet Reporting System (APRS)](https://en.wikipedia.org/wiki/Automatic_Packet_Reporting_System).

## Installation

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

```bash
$ 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](https://doc.ecowitt.net/web/#/apiv3en?page_id=11) for details.

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

```
