DJ1YFK's Ham Radio Stuff

Contents

All kinds of things too precious not to share, in short articles. Constantly under construction or destruction. Note that code snippets are usually working minimum examples (often stripped of extra features). If you plan to use and of the code for anything serious, you may want to contact me. It's likely that I can provide you with some updates and good (?) advice. fabian@fkurz.net


Fabian KurzHam RadioStuff


Idea: Morse Code Alarm Clock

I've always been a night owl and never managed to get out of bed easily in the morning. That is, until I started using my Morse Code Alarm Clock!

Instead of listening to the usual beep beep, I added a line to my crontab, which starts my 'wakeup'-script. What does it do?

  1. Fetch the latest weather information from Weather Underground (via their XML API) or DWD (via their FTP server)
  2. Send current weather (temperature, clouds, wind, ...) in CW
  3. Invoke cwbiff which fetches all new mail headers from my mailbox and sends them in CW

Depending on the amount of mail that arrived while I was sleeping, the whole thing takes between one and five minutes. And usually one of the mails is a good enough reason to get up!

It is running on my little Dell Inspiron Mini 12 netbook, which I keep running overnight. It doesn't have any fans and the harddisk goes to sleep, so it's completely silent.

Scripts: wakeup.pl (Wunderground) wakeup-dwd.pl (DWD) - Wrapper around ebook2cw for the 'morse' command: morse.sh

Update (2013-10-15): Another alarm clock related to Morse code: "Morning-Morse" by nietka (dunja rosina) and anap (ana pavlisic) at the Berlin Geekettes Hackathon II (October 11-13, 2013).

Added: 14-Jul-2010. Last modified: 15-Oct-2013.


Fabian KurzHam RadioStuff