{"id":26287307,"url":"https://github.com/13bytes/einkcalendar","last_synced_at":"2026-03-08T16:34:07.408Z","repository":{"id":37331348,"uuid":"441670232","full_name":"13Bytes/eInkCalendar","owner":"13Bytes","description":"A small desk-calendar, portal-themend. It display the current date, the next few events in your calendar and whether a person in your contact list has a birthday","archived":false,"fork":false,"pushed_at":"2024-09-29T09:27:52.000Z","size":541,"stargazers_count":189,"open_issues_count":3,"forks_count":18,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-31T12:57:21.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/13Bytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-25T12:00:40.000Z","updated_at":"2025-03-10T09:57:31.000Z","dependencies_parsed_at":"2023-02-01T02:45:36.198Z","dependency_job_id":null,"html_url":"https://github.com/13Bytes/eInkCalendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13Bytes%2FeInkCalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13Bytes%2FeInkCalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13Bytes%2FeInkCalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13Bytes%2FeInkCalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/13Bytes","download_url":"https://codeload.github.com/13Bytes/eInkCalendar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931817,"owners_count":21827172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-14T21:19:52.806Z","updated_at":"2026-03-08T16:34:07.375Z","avatar_url":"https://github.com/13Bytes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\n\u003ch3 align=\"center\"\u003ePortal eInk Calendar\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    A small desk-calendar with the theme of a \u003ca href=\"https://store.steampowered.com/app/620/Portal_2/\"\u003eportal\u003c/a\u003e chamber info.\n    \u003cbr /\u003e\n    It displays the current date, the next few events in your calendar and whether a person in your contact list has a birthday (inc. their name).\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#components\"\u003eComponents\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#frame\"\u003eFrame\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#questions\"\u003eQuestions\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\nThe finished project on my desk:\n\n\u003cimg src=\"https://user-images.githubusercontent.com/12069002/150647924-80f5f8fa-098a-4592-b257-7ac27326abfb.jpg\" height=500\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/12069002/150647951-48b0ee2c-e09c-45f7-ba01-4635f47f1a91.jpg\" height=500\u003e\n\nThe pie is displayed when a person in your contacts has a birthday (along with the name below it).\nThe other three icons are currently displayed randomly.\n\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n### Components\nThis repo includes the software (100% python) and the STLs of the frame.\n\nI used the following hardware:\n\n* [Waveshare 800×480, 7.5inch E-Ink display (13505)](https://www.waveshare.com/product/displays/7.5inch-e-paper-hat-b.htm)\n* [Raspberry Pi 3b](https://www.raspberrypi.com/products/raspberry-pi-3-model-b/)\\\n(The Raspi is a bit overkill if you only want to update the calendar. But since it's powered on anyways, I use it to host many other things as well. If you only want to use it for the calendar, you should take a look at the Raspberry Pi Zero series)\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\n### Prerequisites\nThe prerequisites are based on [this](https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT_(B)) waveshare instruction to get your rapi ready for the display:\n\n* Enable the SPI interface on your raspi\n  ```sh\n  sudo raspi-config\n  # Choose Interfacing Options -\u003e SPI -\u003e Yes  to enable SPI interface\n  ```\n* Install BCM2835 libraries\n  ```sh\n  wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz\n  tar zxvf bcm2835-1.60.tar.gz \n  cd bcm2835-1.60/\n  sudo ./configure\n  sudo make\n  sudo make check\n  sudo make install\n  ```\n* Install wiringPi libraries\n  ```sh\n  sudo apt-get install wiringpi\n  \n  #For Pi 4, you need to update it：\n  cd /tmp\n  wget https://project-downloads.drogon.net/wiringpi-latest.deb\n  sudo dpkg -i wiringpi-latest.deb\n  ```\n\n### Installation\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/13Bytes/eInkCalendar\n   cd eInkCalendar\n   ```\n2. Install requirements\n   ```sh\n   sudo apt-get update\n   # requirements by waveshare\n   sudo apt-get install python3-pip python3-pil python3-numpy RPi.GPIO python-spidev\n   # requirements by this repo\n   sudo python3 -m pip install -r requirements.txt\n   ```\n3. Create config-file\n   ```sh\n   cp settings.py.sample settings.py\n   ```\n   Now edit `settings.py` and set all your settings:\n\n   `LOCALE: \"en_US\"` (or e.g. `en-GB.UTF-8`) Select your desired format and language. \n   It needs to be installed on your device (which 95% of time is already the case - as it's you system-language. \n   You can list all installed local-packages with `locale -a`.\n   If the desired one is missing, add it in this menu `sudo dpkg-reconfigure locales` (for Raspberry Pis) or take a look at the general [Debian Wiki](https://wiki.debian.org/Locale)). \n   \n   `WEBDAV_CALENDAR_URL = \"webcal://p32-caldav.icloud.com/published/2/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"` The address of your shared wabdav calendar. (It needs to be publicly accessible by this URL)\n   \n   `WEBDAV_IS_APPLE = True` Is the calendar hosted on icloud?\n   \n   `CALDAV_CONTACT_USER = \"louis\"` Username for logging into your CALDAV contact-list.\n   \n   `CALDAV_CONTACT_PWD = \"secret\"` Password for logging into your CALDAV contact-list.\n   \n   `ROTATE_IMAGE = True` This will rotate the image 180° before printing it to the calendar. `True` is required if you use my STL, as the dipay is mounted upside-down.\n\n\n\n4. Add the start-script to your boot-process:\\\n   (You might need to adapt the path `/home/pi/eInkCalendar/run_calendar.sh` acordingly)\n\n   Make `run_calendar.sh` executable\n   ```sh\n   chmod +x /home/pi/eInkCalendar/run_calendar.sh\n   ``` \n   and add it to crontab, as follows:\n   ```sh\n   crontab -e\n   ```\n   and add following line:\\\n   ```@reboot sleep 60 \u0026\u0026 /home/pi/eInkCalendar/run_calendar.sh```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n## Frame\n\nThe STLs of the frame can be found in [hardware](https://github.com/13Bytes/eInkCalendar/tree/main/hardware).\nIt's designed for 3D-printing.\nThe two parts can be screwed together in three of the four corners.\n\nThe raspi is held in place by threaded heat set inserts.\n\n\n\u003cimg src=\"https://user-images.githubusercontent.com/12069002/150642718-5a24c717-1a19-4883-b932-1f1588f124fa.png\" height=400\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/12069002/150642799-6145283c-6e35-43b8-842b-40c608fecd77.png\" height=400\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## Questions\n\nStuck somewhere? \\\nYou can \u003ca href=\"#contact\"\u003econtact\u003c/a\u003e me, or create a [issue](https://github.com/13Bytes/eInkCalendar/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nLouis - [@Louis_D_](https://twitter.com/Louis_D_) - coding@13bytes.de\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n## Acknowledgments\n\n* I got the idea from following [reddit-post](https://www.reddit.com/r/RASPBERRY_PI_PROJECTS/comments/qujt3i/wip_portal_desktop_calendar/).\n* This readme-page uses this [template](https://github.com/othneildrew/Best-README-Template).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F13bytes%2Feinkcalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F13bytes%2Feinkcalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F13bytes%2Feinkcalendar/lists"}