Track your family calendar with a Raspberry Pi and a low-power display |

Track your family calendar with a Raspberry Pi and a low-power display

Help everyone keep up with your family's schedule using open source tools and an E Ink display.

Calendar with coffee and breakfast
Image credits : 

Photo by Debby Hudson on Unsplash


Subscribe now

Get the highlights in your inbox every week.

Some families have a complex schedule: the kids have school and afterschool activities, you have important events you want to remember, everyone has multiple appointments, and so forth. While you can keep track of everything using your cellphone and an app, wouldn't it be better to have a large, low-power display at home to show your family's calendar? Meet the E Ink calendar!


E Ink calendar

(Javier Pena, CC BY-SA 4.0)

The hardware

The calendar started as a holiday project, so I tried to reuse as much as I could. This included a Raspberry Pi 2 that had been unused for too long. I did not have an E Ink display, so I had to buy it. Fortunately, I found a vendor that provided open source drivers and examples for its Raspberry Pi-ready screen, which is connected using some GPIO ports.

My family also wanted to switch between different calendars, and that required some form of input. Instead of adding a USB keyboard, I opted for a simpler solution and bought a 1x4 matrix keypad, similar to the one described in this article. This allowed me to connect the keypad to some GPIO ports in the Raspberry Pi.

Finally, I needed a photo frame to house the whole setup. It looks a bit messy on the back, but it gets the job done.

The software

I took inspiration from a similar project and started writing the Python code for my project. I needed to get data from two areas:

  • Weather data, which I got from the OpenWeather API
  • Calendar data; I decided to use the CalDav standard, which lets me connect to a calendar running on my home server

Since I had to wait for some parts to arrive, I used a modular approach for the input and display so that I could debug most of the code without the hardware. The calendar application supports drivers, and I wrote a Pygame driver to run it on a desktop PC.

The best part of writing the code was being able to reuse existing open source projects, so accessing the different APIs was easy. I could focus on the user interface—having per-person weekly and everyone daily calendars, allowing calendar selection using the keypad—and I had time to add some extra touches, like custom screen savers for special days.

The final integration step was making sure my calendar application would run on startup and be resilient to errors. I used a base Raspberry Pi OS image and installed the application as a systemd service so that it would survive failures and system restarts.

Once I finished everything, I uploaded the code to GitHub. So if you want to create a similar calendar, feel free to have a look and reuse it!

The result

The calendar has become an everyday appliance in our kitchen. It helps us remember our daily activities, and even our kids use it to check their schedule before going to school.

On a personal note, the project helped me appreciate the power of open. Without open source drivers and libraries and open APIs, we would still be organizing our schedule with paper and a pen. Crazy, isn't it?

Orange home vintage thermostat

The ThermOS project is an answer to the many downsides of off-the-shelf smart thermostats.
Calendar close up snapshot

Make sure your automation workflow's schedule doesn't conflict with something else by integrating a calendar app into Ansible.
Sky with clouds and grass

Know whether you need a coat, an umbrella, or sunscreen before you go out with wego in the thirteenth in our series on 20 ways to be more productive with open source in 2020.
Calendar close up snapshot

Need to keep your schedule straight? Learn how to do it using open source with these free...


About the author

Javier Pena - Linux and open source advocate for a long time. Cloud architect and OpenStack developer.