Skip to content
The code for the fuzzy time lights clock that sits by my bed
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
clock.py

README.md

SenseHat Fuzzy Time Clock

A simple "clock" application for your raspberry pi and sensehat. It displays a colour in the middle for the hour, and a block around the edge in a sort of clock-type pattern. The corner markers you can think of as "ears" - they tell you which way "up" is, for context when you just woke up and it is dark :)

The code is python, and should pretty much work as-is. Run the code once and it checks the time, sets the lights, and exits. Try setting it up with a cron job like this:

  1. Run crontab -e

  2. Add this line to the end of the file:

* * * * * /usr/bin/python ~/night-clock/clock.py

Contributing

Issues, pull requests and other interactions are all welcome!

You can’t perform that action at this time.