/Notion_OLED

Using notion API to retrieve daily tasks on OLED screen

Primary LanguagePython

Notion_OLED

Using notion API to retrieve daily tasks on OLED screen

Current Demo

Overlook

Restting

Task list

Sub-task list

Install step

  1. Enable your I2C Interface:
  1. Install driver for OLED screen:
    "https://github.com/adafruit/Adafruit_Python_SSD1306/blob/master/README.md"
sudo python -m pip install --upgrade pip setuptools wheel
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python setup.py install
  1. Clone the current repository
git clone https://github.com/JAckZ97/Notion_OLED.git
  1. Create a txt file called "secret_key.txt", and put your notion token and database ID in first two lines
nano secret_key.txt

        Example like following:

secret_neSXGaJ1YP2q0hsNOjxxxxxxxxxxxxxxxxxxxxxxxxx
9bc98e7cba3a46539xxxxxxxxxxxxxxx
  1. Run the program
python3 notion.py

TODO

  • Date title
  • Task page
  • Toggle in task page
  • Resetting page
  • Sub-task page content
  • POST to Notion database
  • Fix toggle and bracket in sub-task page
  • Scroll bar in task page and sub-task page
  • Error for sub-task > 6
  • Line 462 try catch exception
  • Add necessary try catch exceptions
  • Clean the code
  • Reset day feature
  • Add unfinished TODO to tomorrow's TODO