winkeyerserial 24.1.23

Creator: bradpython12

Last updated:

Add to Cart

Description:

winkeyerserial 24.1.23

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...

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.