mbridak / PyWinKeyerSerial

Talk to the K1EL WinKeyer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyWinKeyerSerial

License: GPL v3 Python: 3.8+ Made With:PyQt5

Talk to the WinKeyerSerial, WinKeyerUSB and WKMini.

First binary release can be downloaded here

Focusing on Linux.

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.

It's a screenshot

Running from source.

Install the requirements.

sudo apt-get install python3-pyqt5.qtserialport python3-pyqt5 python3-requests

Then run the code.

'python3 winkeyerserial.py'

Building your own binary.

Install pyinstaller.

python3 -m pip3 install pyinstaller

Build the binary.

'pyinstaller -F winkeyerserial.spec'

You will find the binary in the newly created dist directory.

What's new

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

About

Talk to the K1EL WinKeyer.

License:GNU General Public License v3.0


Languages

Language:Python 98.8%Language:Shell 1.2%