Skip to content
프로젝트

소개

Smart calendar with EInk display and Raspberry Pi

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

EInk Smart Calendar Build Status

What does it do?

It's a raspberry pi based smart calendar that can tell you the current date, weather, and your events on Google calendar. Updates once per hour. Also supports manual update with a press of button.

Components needed:

Enable SPI Mode:

To Enable, pass following command

sudo raspi-config

Select Interfacing Options

Select P4 SPI

Select Yes when asked Would you like the SPI interface to be enabled?

It will prompt The SPI interface is enabled, press ok

Select Finish to exit raspi-config

Install the dependencies:

pip install -r requirements.txt
sudo apt install libopenjp2-7 libtiff5

Also make sure you have at least Python 3.7 installed, which should be the case for the most recent Raspbian releases.

Get API credentials:

  • OWM API key:
    • Go to the Weather API page: link
    • Subscribe to 5 day / 3 hour forecast
  • Google credentials:
    • Follow the instructions of this answer on stackoverflow.
    • Instead of choosing the drive API, choose Calendar API v3 of scope https://www.googleapis.com/auth/calendar.readonly
    • We will need the client ID, client secrete, refresh token and access token

Hook up the wires:

Or download diagram.fzz. Note that the labeling on the breadboard corresponds to the wires on the hat comes with the screen. The wiring is the same as on page 12 of the official documentation

Run it:

Once you have got all the credentials and hooked up the wires, you can run main.py without any parameter to create the config file:

python3 main.py

and follow the interactive guide to create the config file.

You can specify the config file for later runs as:

python3 main.py -c <config file path>

관련 프로젝트 살펴보기

불러오는 중…