peterrenshaw / thisnote

I hate ADVERTS, enough to build a RaspberryPi Zero W PiHole with Pimoroni inkyPHAT for display. This code renders the display. Inspired by the fabulous Inky-Hole <https://github.com/neauoire/inky-hole/>

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 ________ __________  _  ______  __________
/_  __/ // /  _/ __/ / |/ / __ \/_  __/ __/
 / / / _  // /_\ \  /    / /_/ / / / / _/  
/_/ /_//_/___/___/ /_/|_/\____/ /_/ /___/  

♬ ain't singin' for miller / don't sing for bud / I won't sing for politicians / ain't singin' for spuds / this note's for you ♬

The Third Watch

I hate ADVERTS. I hate them so much I created a RaspberryPi PiHole to suck them away. I added a nifty Pimoroni InkyPHAT to display the results. Total rip-off of the fabulous InkyHole.

2020AUG15

  • defect: try/except called, no corresponding arg for print.
  • noticed exception call, no matching arg.
  • fix
  • sys.exit

2020AUG13

  • created a new set of images showing the watch
  • the tools.py file contains datetime methods to determine localtime.

  • dt_get_watch: works out which watch is current

    Watch i24 24 Hour 1 00 0000 - 0600
    2 06 0600 - 1200 3 12 1200 - 2100 4 21 2100 - 0000

  • added images to 'img' directory.
  • call files img/fn
  • build image by adding watch number to the filename.
  • file is called, fn = 'logoneek.png'
  • file is called by 'watch #' + '-' + fn
  • for first watch, '1' + '-' + 'logoneek.png'
  • call '1-logoneek.png'
  • for second watch, '2' + '-' + 'logoneek.png'
  • call '2-logoneek.png'
  • etc..
  • move images to img/

  • testing

2020AUG12

  • artwork to do
  • testing required
  • worked on
  • watch logic to determine which image to display
  • datetime functions

2020JUL05

  • cleaned up code
  • checked onto laptop

2020JUL04

  • done... see the code with test.py

2020JUN25

  • not sure why not working
  • tested against BLINKT so the GPIO pins are OK
  • initial checkin

About

I hate ADVERTS, enough to build a RaspberryPi Zero W PiHole with Pimoroni inkyPHAT for display. This code renders the display. Inspired by the fabulous Inky-Hole <https://github.com/neauoire/inky-hole/>


Languages

Language:Python 98.5%Language:Shell 1.5%