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
Hashes for winkeyerserial-24.1.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e724838f1fb02d68e02dfebfe8abe85c07851046856303cd331ac37ec8f5ca0 |
|
MD5 | afe34e5d2a095407152422084265f9d9 |
|
BLAKE2b-256 | 973473394f8c7ad6111f26d5e9b438412006167b6191fe5a25443101f5ad2eee |