Thursday, June 23, 2022

HamAlert Automate Telnet Login

HamAlert is a useful tool to receive alerts for when a desired station appears.

I use this with the Club Log band slots integration to alert for new countries on bands I don't yet have confirmed.

With the Telnet option I keep a window open where the alerts scroll by quietly and I can glance at to see if there is anything new.

Typing in usernames and passwords is a chore, here is a shell script that'll auto login (replace username and password stars as required):

#!/usr/bin/expect
set timeout 30
spawn telnet hamalert.org 7300
expect "login: "
send "K1LH\r"
expect "password: "
send "*****\r"
interact

Here it is in action:

HamAlert telnet session