README.md aktualisiert
This commit is contained in:
parent
c061041088
commit
7ca9adaad8
48
README.md
48
README.md
@ -1,11 +1,47 @@
|
|||||||
# hrctl
|
# Hardrock 50 Amp remote control via quisk
|
||||||
|
|
||||||
Forked from https://github.com/haklein/hrctl/
|
Original version from Harald Klein, OE6HKE: https://github.com/haklein/hrctl/
|
||||||
|
|
||||||
Hardrock 50 Amp remote control via quisk
|
This project provides a Quisk widget and the corresponding backend daemon to remotely control and read out a Hardrock-50 amp:
|
||||||
|
|
||||||
hrctl.py - talks to a Hardrock 50 Amp via its USB serial port and provides a JSON-RPC service to fetch the current status and initiate tune
|
* Automatically set the band filters on the HR50 according to the band chosen in Quisk
|
||||||
|
* Remotely re-tune the Hardrock-50 from within Quisk
|
||||||
|
* Remotely display power, temperature, VSWR and band of the HR50
|
||||||
|
|
||||||
hermes_quisk.py - quisk widget addition to add a tune button and the status output. Status won't be updated during transmit (the Hardrock 50 disables serial communication during TX).
|
## hrctl.py
|
||||||
|
|
||||||
Q'n'D P'o'C, works for me, feel free to raise PR for enhancements
|
This Python script can be executed on a single-board computer such as the Raspberry Pi, for example. It acts as a small web server that provides an API via which the above-mentioned parameters can be queried. It is also possible to use this API to send a command via USB to the Hardrock-50 to tell it to re-tune during the next transmit and to set the HR50 to the band chosen in Quisk.
|
||||||
|
|
||||||
|
Under Debian Bookworm I had to install the following packages before running the script:
|
||||||
|
|
||||||
|
```
|
||||||
|
# apt install python3-serial python3-gevent-websocket python3-tinyrpc python3-werkzeug
|
||||||
|
```
|
||||||
|
|
||||||
|
The script can then be executed - ideally within a Tmux session - as follows:
|
||||||
|
|
||||||
|
```
|
||||||
|
# python3 ./hrctl.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## hermes_widgets.py
|
||||||
|
|
||||||
|
The _hermes_widgets.py_ script is a Quisk widget that displays both the "Tune Hardrock-50" button and the information collected by the Hardrock-50 at the bottom left of the user interface.
|
||||||
|
|
||||||
|
![screenshot](https://static.dk1mi.radio/img/quisk-hardrock-50-1.png)
|
||||||
|
|
||||||
|
A click on the "Tune" button sends a command to the backend which then again sends a command to the Hardrock-50 to initiate a re-tune process during the next transmission.
|
||||||
|
|
||||||
|
It furthermore periodically sends the selected band to the backend to automatically set the correct band at the Hardrock-50.
|
||||||
|
|
||||||
|
Status won't be updated during transmit as the Hardrock 50 disables serial communication during TX.
|
||||||
|
|
||||||
|
To install it, place it anywhere in the file system on the system on which Quisk is to be executed. Afterwards, the following steps must then be carried out within Quisk:
|
||||||
|
|
||||||
|
* Click on "Config
|
||||||
|
* Select Hermes Lite next to "Radios" at the top
|
||||||
|
* Click on Change to the right of "Widget File Path"
|
||||||
|
* Select the script
|
||||||
|
* Restart Quisk
|
||||||
|
|
||||||
|
It may also be necessary to install Python libraries here. These are roughly the same as for the web server script.
|
||||||
|
Loading…
Reference in New Issue
Block a user