Skip to content

pigd0g/picryptoclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Crypto Clock (3.5" TFT)

  • clock.py - The clock
  • getprice.py - Program to get API data (run by cron job)

Display Data

hh:mm:ss BTC: $9,999 Total Market Cap: $999b

Setup

Clone this repo:

$ git clone https://github.com/pigd0g/picryptoclock

Cron Jobs

$ crontab -e

Add the following lines:

#EVERY 10 MINS & AT REBOOT
*/10 * * * * /usr/bin/python /home/pi/picryptoclock/getprice.py
@reboot /usr/bin/python /home/pi/picryptoclock/getprice.py

Run at Startup

Find the folder /home/pi/.config/lxsession/LXDE-pi

In this folder put a file named autostart containing one line specifying the full path of the file to be executed:

python /home/pi/picryptoclock/clock.py

Make the autostart file executable by chmod +x autostart

LCD Setup

https://github.com/goodtft/LCD-show

Disable Screensaver (Blank Screen)

https://www.raspberrypi.org/forums/viewtopic.php?t=57552

Credits

Original Clock Source - https://www.raspberrypi.org/forums/viewtopic.php?t=166188 Post by this member - https://www.raspberrypi.org/forums/memberlist.php?mode=viewprofile&u=101632

About

Raspberry Pi Crypto Clock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages