An alarm clock that forces you to wake up

See the project page for more information about what this project is.

License

This software is made available under the Lesser GPL license.

Setup on a PI

This still uses python2

sudo apt install python-bluez

Create a Google 'Service Account'

https://console.cloud.google.com/apis/credentials?ref=https:%2F%2Fdevelopers.google.com%2F&pli=1&project=weight-tracking-283207&folder=&organizationId=

Create a new API key (choose JSON).

Create the file at: /home/pi/wii-alarm-clock/client_secret.json (or change code for your location.

$ pip install gspread

Update the sheet location with the sheet id. Eg. https://docs.google.com/spreadsheets/d/< SHEET ID >/edit#gid=0

Add crontab job:

0 8 * * * python /home/pi/wii-alarm-clock/alarm.py

For when I migrate to python3

This is the python import.

sudo apt install python3-bluez