Skip to content

WTRipper/wordclock

Repository files navigation

wordclock

A simple python wordclock with a 11x10 (columns x rows), german layout. There are other more sophisticated repositories out there that have more features than this one. If you are interested in a simple project however feel free to use it.

Hardware I am using:

  • Raspberry Pi Zero
  • 110 WS2812b Led stripes (120 LEDs/m)
  • IKEA Ribba frame (23 x 23 x 4.5 cm)

Setup

  1. Install RPi WS281x module:
sudo pip install rpi_ws281x
  1. Clone this repo:
git clone https://github.com/WTRipper/wordclock
  1. Update Config (TODO)
  2. Test:
python wordclock.py
  1. Customize paths in service file:
WorkingDirectory=/home/pi/wordclock
ExecStart=/home/pi/wordclock/venv/bin/python wordclock.py
  1. Move service file:
sudo mv wordclclock.service /etc/systemd/system/wordclock.service
  1. Register service:
sudo systemctl daemon-reload
sudo systemctl enable wordclock
  1. Restart your system:
sudo reboot now

Or start the service manually:

sudo systemctl start wordclock

Logging

Systemd logs using journal. View the logs of the wordclock service:

journalctl -u microblog

The wordclock project itself creates a wordclock.log file in its working directory.

License

The wordclock project is licensed under the terms of the MIT License.

However, it includes third-party Open-Source libraries, which are licensed under their own respective Open-Source licenses. See 3rd-party-licenses for more info.

About

a python wordclock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages