Interacts with a pedestal device as a controller
Project description
NeXtRAD Client Controller
Author: Zidaan Habib
The NextRAD client controller is software package to communicate with the NeXtRAD command application, and to interact with the Skywatcher AZEQ6 pedestal device. The following devies are required:
- Pi 4
- Waveshare L70 or (Quectel L70 - L80 series)
When started, the application starts an MQTT client and continously runs. When certain MQTT messages of a predefined type are received, the application interacts with the pedestal device, such as by causing it to slew in a given direction.
Licensing
GNU General Public v3
Installation:
- Clone the repository
- pip3 install -r requirements.txt
Alternatively, pip3 install nextrad_client
Setup:
- Replace ip address or host name of intended MQTT broker in config file in the root of the package
- Replace name of client in the config file - this will be the topic that the Pi's MQTT client will subscribe to
Running application:
- python3 app.py : this starts the client application and mqtt client and will continue indefinitely
- alternatively, if being run on Pi 4, you can run it in the provided Docker container
- in project root, run docker build -t <your_name> .
- After the image is built - docker run -p 1883:1883 <your_name>
Credits
The pynmea2 python library was used for GPS parsing of NMEA 0183 messages.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file nextrad_client-1.0.0.tar.gz
.
File metadata
- Download URL: nextrad_client-1.0.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a901bbd63f45814a1c9a01ea5a9317abb47cc40ad331f8ae1bdc0d1c80f311c9 |
|
MD5 | 8436789e5d4fba18b3ab2cb76fa804dd |
|
BLAKE2b-256 | 5321c90f0c6a28295e65a7477ac8c15c0e83c0a8b4dc4778c712816d7655b482 |
File details
Details for the file nextrad_client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: nextrad_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ce9f043d142466c0db08e8513f0cef2a431cca942b9ee98970cbd8233ea689 |
|
MD5 | 9678638b7bf73d46d09a291a40a9af0e |
|
BLAKE2b-256 | 7c84cdd41cabb7c28162071471bd4faebacb903ed892d77576f528834e1d9042 |