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
Hashes for nextrad_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ce9f043d142466c0db08e8513f0cef2a431cca942b9ee98970cbd8233ea689 |
|
MD5 | 9678638b7bf73d46d09a291a40a9af0e |
|
BLAKE2b-256 | 7c84cdd41cabb7c28162071471bd4faebacb903ed892d77576f528834e1d9042 |