Skip to content

AJOCHAM/wordclock

 
 

Repository files navigation

wordclock

A simple python wordclock with a 12x12 (columns x rows), german layout. Kudos to WTRipper

Hardware I am using:

  • Raspberry Pi Zero
  • 139 WS2812b Led stripes (120 LEDs/m) - I removed some LEDs due to my frame setting

Setup

  1. Install RPi WS281x module:
sudo pip install rpi_ws281x
  1. Clone this repo:
git clone https://github.com/AJOCHAM/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

  • Python 99.9%
  • Shell 0.1%