Talk to K1EL winkeyer
Project description
winkeyerserial
Talk to the K1EL WinKeyerSerial, WinKeyerUSB and WKMini.
It provides an API to control the WinKeyer. It listens for XMLRPC requests on port 8000.
The XMLRPC server exposes the following methods:
- k1elsendstring
- setspeed
- sendblended
- tuneon
- tuneoff
Have the Winkeyer device plugged in before starting this program.
On first run the program writes a file .pywinkeyer.json
to the root of your home directory.
This file contains the default serial device along with any saved messages. If your winkeyer doesn't happen to be /dev/ttyUSB0 choose the correct device in the upper left.
Any time you edit a message field, it is automatically resaved to the json file.
The default speed is set to by polling the speedpots current state. The program watches for speedpot changes and sets the speed accordingly. I do realize some of you (WKMini) may not have a speedpot. You can change the speed via the onscreen widget.
Installing, updating, running and removal
# install
pip install winkeyerserial
# update
pip install -U winkeyerserial
# run
winkeyerserial
# remove
pip uninstall winkeyerserial
What's new
- [24-1-23] Removed trailing space in k1elsend()
- [23-5-11] Added xmlrpc function to set speed.
- [23-2-17] Added serial device descriptions (hover tooltip) to the detected serial devices in the dropdown.
- Added an XMLRPC server. So now my Winter Field Day, Field Day and K1USNSST Loggers will be able to send CW macros to this. The interface for the client is dead simple:
xmlrpc.client.ServerProxy("http://localhost:8000").k1elsendstring("Hello World")
That's it...
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
Built Distribution
File details
Details for the file winkeyerserial-24.1.23.tar.gz
.
File metadata
- Download URL: winkeyerserial-24.1.23.tar.gz
- Upload date:
- Size: 137.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9374c5bfe8ed945742a1d75ce66f09a40f2b0f5aa3b433b142de168a8c6f277a |
|
MD5 | 3f4f920b975c3aaaa3bbb3a16d4a8620 |
|
BLAKE2b-256 | 9d1ffb8fad775cca82ceb017a51e225730dde500414c8553fb5e11494266b7a0 |
File details
Details for the file winkeyerserial-24.1.23-py3-none-any.whl
.
File metadata
- Download URL: winkeyerserial-24.1.23-py3-none-any.whl
- Upload date:
- Size: 135.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e724838f1fb02d68e02dfebfe8abe85c07851046856303cd331ac37ec8f5ca0 |
|
MD5 | afe34e5d2a095407152422084265f9d9 |
|
BLAKE2b-256 | 973473394f8c7ad6111f26d5e9b438412006167b6191fe5a25443101f5ad2eee |