corogoo / eink-clock

generates clockface and uploads it to an eink panel once a minute

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eink-clock

generates clockface and uploads it to an eink panel once a minute

image of clockface

install

to install, run (from "sudo su" prompt):

 root@2020pi:~# mkdir -p build
 root@2020pi:~# cd build/
 root@2020pi:~/build# git clone https://github.com/mzandrew/eink-clock.git

to run at every boot, edit /etc/rc.local

 root@2020pi:~# vim /etc/rc.local

add a line to that file like so (before the exit 0 line):

 /root/build/eink-clock/clock.py &

reboot and enjoy!

notes

Yes, this is a black-white-red panel, but the updates are too slow to make the extra color worth it, so it is operated in just black-white mode.

thanks

Kudos to the scipython team for posting code to generate clockfaces and to the pimoroni team for posting good instructions on how to use their panels.

future

It would be great if the inkyhat library supported partial updates (red second hand?)...

About

generates clockface and uploads it to an eink panel once a minute

License:GNU General Public License v3.0


Languages

Language:Python 100.0%