Posts Tagged ‘Ham clock Raspberry Pi’

Upgrading HamClock to a new server.

 

OHB ver 4.23

 I have been sitting back and watching the many Hamclock projects evolve. What I was looking for was a project that, when finished, resembled Elwood's Hamclock. I am happy to report that I have settled on using OHB or Open Hamclock Backend. This has a very polished look and looks and operates, in my humble opinion, the closest to Elwood's Hamclock. It is a group effort and has progressed at a smooth pace. There is an OHB web page that offers support and status updates. I operate HamClock on my Pi4B, and if you operate Elwood's HamClock on a Pi, below is the process you go through to move from Elwood's version 4.22 HamClock to OHB version 4.23 HamClock. 

It involves opening terminal and entering some commands to move away from Clearsky or Elwoods HamClock feed and change to OHB feed for their HamClock. Below is the how-to:

1. If, when you start up your Pi, HamClock loads (as it does in my case), you need to shut it down before you can begin the process. That is done by clicking on the padlock and choosing the option to exit  HamClock. Once you click ok to this, you will see HamClock shut down.

2. You now need to open terminal to enter commands. Terminal, in my case, is located at the top of the taskbar. I found it best to copy and paste the commands as opposed to typing them yourself. 

3. This is the first command you enter into terminal: 

curl -fsSL https://hamclock.co.uk/tools | sudo bash



This script will download the script that you are going to need when entering the script listed below. As a side note, with some Pi OS's like Trixie, you will be prompted to enter your password whenever a "sudo" command is used. Just be aware that your password may be needed.  

 

 

4. The next command is: 

sudo fix-hosts

 I have read that you only need to enter if you are running Trixie or newer. In my case, I entered it anyway, as the instructions indicate you can if you would like to. I just did it as a just-in-case. 

5. After the above command has been entered, you may or may not be asked to reboot. I was not, but again I did anyway just to make sure. So I entered this command: 

sudo reboot now

 And it reboots the Pi, and if your HamClock starts up and is on the desktop, you need to again click on the lock and exit HamClock. 

6. You are now able to move over to either OHB, or you can also move to Hamclock.com backend. I will just be dealing with OHB in this post, but I will give you the command script for Hamclock.com backend as well. For moving to OHB enter this command: 

sudo ohb

If you want to move to Hamclock.com backend, then enter this script: 

sudo hcdc

7. Once you have done this, you can confirm that you have actually moved by entering this script: 

what

And it will confirm that you have moved to either OHB or HCDC, which over sudo command you entered above. In my case, the return script was: 

Your HamClock is set to Open HamClock Backend



   This confirmed to me that I had moved to OHB. 

 

 

 

 

8. The final step is to restart by entering this script: 

sudo reboot now

And once you have rebooted and HamClock goes through its startup, you will be asked if you want to go from version 4.22 to 4.23 and click YES.  

Updating 


 

 

 

 

 

 

As a way of 2 side notes:

1. I did have to, for reasons not known to me, do the above process twice, as when I rebooted into the new feed for HamClock, I was not asked if I wanted to upgrade to 4.23. For some reason, it stayed on 4.22. Once I did steps 1-8 again, I was then asked to upgrade to 4.23.  

Ver 4.22 poor quality compared to 4.23


 

 

 

 

 

 

 

2. If you are operating Elwood's version of HamClock while it is loading, you will be asked if you want to upgrade to version 4.23, but as you say YES, you will be greeted with the following error message. To fix this, you need to change your back end. This is done by following the above 8 steps. 


 

 

HamClock lives on


 

With Elwood (the creator of HamClock) now SK, HamClock is set to stop functioning in June 2026. Fortunately, several alternatives and workarounds exist for those looking to continue using similar features. Here’s a summary based on my experience and research:

1. Open HamClock

  • Feature-rich: Offers extensive customization and configuration.
  • Spotting Control: Ability to turn off spotting to de-clutter the map.
  • Setup: Easy setup process; remembers your preferences if saved.
  • Full Screen: Can be run in full-screen mode.
  • Updates: Regular updates with clear notifications and instructions.
  • VOACAP Display: Improved propagation prediction display.

2. Hamtab

  • Web-based: Runs in your browser for all OS’s.
  • HamClock Themes: Includes a theme similar to Elwood's HamClock theme.
  • Fewer Options: Less configurable than Open HamClock.
  • Spotting Limitation: No clear option to remove all spots from the map.
  • Map Interaction: Limited ability to click on the map for DX/solar info; can only click on spots.
  • Solar Overlay: Not as detailed as Open HamClock, Open HamClock-backend or Bruce W4BAE HamClock.

3. HamVision

  • Early Development: Still under heavy development; site is often in maintenance mode.
  • Limited Configuration: Little to no configuration is possible at this stage.
  • Updates: Latest info and updates are shared on their Facebook page.

4. HamClock me Online

  • Web-based Version: Another browser option.
  • Limited Testing: I haven’t explored this one deeply, but it’s worth checking to see if it meets your needs.

     GitHub-Based Projects

  • General Note: These require familiarity with GitHub, Docker, and self-hosting.
  1. Open HamClock Back-end
  • Actively Updated: Closest in spirit to Elwood’s original HamClock.
  • Setup Challenges: Can be tricky to get running if you’re not comfortable with GitHub/Docker.
    
  • Mixed Results: I couldn’t get this running on my Pi4; the Mac OS version didn’t work due to OS version issues. Your experience may vary.

     3. Keeping HamClock Alive

  • Resource: Bruce (W4BAE) has compiled a detailed guide and history at his website.
  • -b Flag: Elwood’s last version (4.22) introduced a back-end override (-b flag) letting HamClock point to an alternate server.
  • Easy-to-Follow Instructions: Bruce’s guide makes it straightforward to implement this workaround, and he’s responsive to questions.
  • Result: I was able to set up a working HamClock on my Pi3b using this method. I kept my Pi4 still running Elwood's HamClock until I am happy with alternatives.  
  •  Summary
    While Elwood’s original HamClock will stop functioning, there are multiple alternatives and ways to keep similar functionality alive. Your best option depends on your technical comfort level and preferred features. For those wanting a near-identical experience, Bruce W4BAE’s method is highly recommended along with Open HamClock-Back-end. As for a one stop shopping I would recommend Open ham clock. Enter it in your browser and you are ready to go. 

The Pi is cooked

 

Ham Clock setup page 

A very long time ago I purchased a Raspberry Pi3 and at the time I was excited about experimenting with it but work got in the way, and it was put on the self. About 4 years ago and retired, I blew the dust off it and loaded Ham Clock on it. I have been using it ever since and found it has some very handy information for when I am contesting. The other day I turned on the Pi3, and it started to load, but I was then met with a black screen and the message "unable to load". I turned it off and back on and this time everything loaded except Ham Clock and for some reason it reverted to the setup page. I tried again to reboot, but Ham Clock still showed the setup page. I entered all my information again and was good to go...until I started the Pi3 the next day, when I booted the Pi3 nothing appeared on the screen and the LED lights on the Pi3 were flashing on and off very erratically. I changed out the SD card, reloaded the OS and after some investigation, I concluded the Pi3 was done. I now have a Pi4b on its way here and should be here on Sunday.


Subscribe FREE to AmateurRadio.com's
Amateur Radio Newsletter

 
We never share your e-mail address.


Do you like to write?
Interesting project to share?
Helpful tips and ideas for other hams?

Submit an article and we will review it for publication on AmateurRadio.com!

Have a ham radio product or service?
Consider advertising on our site.

Are you a reporter covering ham radio?
Find ham radio experts for your story.

How to Set Up a Ham Radio Blog
Get started in less than 15 minutes!


  • Matt W1MST, Managing Editor