June 21, 2017

Minecraft server connected Raspberry Pi clock

With just a glance, I know the time, just like a clock in an item frame.


What it displays

  • sun/moon’s position
  • moon’s phase (the brighter the more full)
  • sky color, changes during sunrise and sunset

How it works

  • Python module running on the Minecraft server
    • watches level.dat file for changes
    • parses level.dat for server time
    • publishes time to AWS IoT using MQTT
  • Python module running on the Raspberry Pi
    • subscribes to the servertime MQTT topic
    • updates the display when it receives a new time from AWS IoT

No mods, in fact, this works on snapshots



  • Because hardware hacking is fun!

Previous post
hgrep.sh Here is a little script that highlights multiple egrep search terms in different colors. It pipes multiple greps together. Be careful, if you give
Next post
USB Apple Extended Keyboard II This is my modified Apple Extended Keyboard II. It’s been retrofitted to work as a USB keyboard and provides 4 USB ports via an internal USB hub, 2