https://github.com/lornajane/sensehat-night-clock
The code for the fuzzy time lights clock that sits by my bed
https://github.com/lornajane/sensehat-night-clock
pi raspberry-pi sensehat
Last synced: about 2 months ago
JSON representation
The code for the fuzzy time lights clock that sits by my bed
- Host: GitHub
- URL: https://github.com/lornajane/sensehat-night-clock
- Owner: lornajane
- Created: 2019-12-28T09:16:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-28T09:30:21.000Z (over 6 years ago)
- Last Synced: 2024-10-11T23:16:56.261Z (over 1 year ago)
- Topics: pi, raspberry-pi, sensehat
- Language: Python
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SenseHat Fuzzy Time Clock
A simple "clock" application for your [raspberry pi](https://www.raspberrypi.org/) and [sensehat](https://projects.raspberrypi.org/en/projects/getting-started-with-the-sense-hat). 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!