Giter Site home page Giter Site logo

mgfcf / e-paper-calendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aceinnolab/inkycal

27.0 27.0 2.0 50.02 MB

A software for rpi zero w to display live-weather info and sync events from any online calendar to a beautiful E-Paper Display, or to just show a slideshow of simplified images.

License: GNU Lesser General Public License v2.1

Python 92.43% Shell 7.57%
calendar e-ink e-paper frame google-calendar image photo rss status-panel weather

e-paper-calendar's Introduction

Find my code on my Gitea.

e-paper-calendar's People

Contributors

aceisace avatar codacy-badger avatar dicijr avatar mgfcf avatar stevenseifried avatar surak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dicijr joeawagner

e-paper-calendar's Issues

ImportError: No module named 'PIL'

Submitting Issues

  • Description / Changes made:
    Just tried to make this epaper calendar work, but ran into some errors.... This is what i did:
  • Got the Raspberry Pi ready according to the steps on the read.MD file
  • Ran the installer: bash -c "$(curl -sL https://raw.githubusercontent.com/mgfcf/E-Paper-Calendar/master/Installer-with-debug.sh)"
  • Waited a long time
  • After everything was finished, i tried using the software but got this message:
    -bash: python3.5: command not found
  • Installed Python3.5 by using sudo apt-get install python3.5
  • Tried again. Got the error as seen below:
  • Error output:

Traceback (most recent call last):
File "/home/pi/E-Paper-Master/Calendar/E-Paper.py", line 12, in
from Assets import path
File "/home/pi/E-Paper-Master/Calendar/Assets.py", line 3, in
from PIL import Image, ImageFont
ImportError: No module named 'PIL'

  • Version info;
    Version: 1.6
    Installer version: 1.6 (Mid March 2019)
    configuration file: /home/pi/E-Paper-Master/Calendar/settings.py
    If the time was set correctly, you installed this software on:
    Sun 5 Jan 21:59:24 CET 2020

  • Other things
    can someone help me fix this?
    I used the latest Raspbian Lite image, downloaded today. I noticed it's called Buster, not Stretch. Is this a problem?

Can not import Gmail agenda which uses duration over several days

Submitting Issues

Please only submit reproducible issues and write the instructions on how to reproduce them.

When you are submitting a new issue, please supply the following information:

  • Version info; Copy the data inside the Info.txt file (/home/pi/E-Paper-Master/Info.txt). If there's no such file, you are using an outdated version. Please consider updating.

This document contains a short info of the E-Paper-Calendar software version

Version: 1.6
Installer version: 1.6 (Mid March 2019)
configuration file: /home/pi/E-Paper-Master/Calendar/settings.py
If the time was set correctly, you installed this software on:
Wed 3 Jul 23:27:08 CEST 2019

  • Error output: Any errors of the Main script can be found in /home/pi/E-Paper-Master/E-Paper-err.log. You don't need to copy the entire file (please don't) but rather the latest errors that occured.

Starting new loop
Datetime: 2019-07-05 20:31:42.757701

Fetching weather information from open weather map
Fetching events from your calendar
Traceback (most recent call last):
File "./E-Paper.py", line 115, in
main()
File "./E-Paper.py", line 87, in main
design.add_calendar(events_cal)
File "/home/pi/E-Paper-Master/Calendar/DayListPanel.py", line 46, in add_calendar
row.add_calendar(calendar)
File "/home/pi/E-Paper-Master/Calendar/DayHeaderDesign.py", line 54, in add_calendar
self.draw_event_list(calendar.get_upcoming_events(time_until_tomorrow, now))
File "/home/pi/E-Paper-Master/Calendar/CalendarInterface.py", line 37, in get_upcoming_events
return self.get_events_in_range(start_time, timespan)
File "/home/pi/E-Paper-Master/Calendar/CalendarInterface.py", line 69, in get_events_in_range
event_occurrence = self.get_if_event_in_range(event, start, duration)
File "/home/pi/E-Paper-Master/Calendar/CalendarInterface.py", line 84, in get_if_event_in_range
return self.is_repeating_in_range(event, start, duration)
File "/home/pi/E-Paper-Master/Calendar/CalendarInterface.py", line 106, in is_repeating_in_range
rule=rrulestr(r_string,dtstart=event.begin_datetime)
File "/home/pi/.local/lib/python3.5/site-packages/dateutil/rrule.py", line 1731, in call
return self._parse_rfc(s, **kwargs)
File "/home/pi/.local/lib/python3.5/site-packages/dateutil/rrule.py", line 1653, in _parse_rfc
tzinfos=tzinfos)
File "/home/pi/.local/lib/python3.5/site-packages/dateutil/rrule.py", line 1560, in _parse_rfc_rrule
return rrule(dtstart=dtstart, cache=cache, **rrkwargs)
File "/home/pi/.local/lib/python3.5/site-packages/dateutil/rrule.py", line 470, in init
'RRULE UNTIL values must be specified in UTC when DTSTART '
ValueError: RRULE UNTIL values must be specified in UTC when DTSTART is timezone-aware

  • Changes made: If you have made any changes (apart from personal information), also include them to help debugging.
    No changes made

  • Description: Provide a detailed description about the issue and include specific details to help us understand the problem. Adding screenshots will help describing the problem.

  • Steps to reproduce: List the step by step process to reproduce the issue.
    Configured two agenda's: one in Google Apps (google Business), and one within a regular Gmail account.
    Create one event that spans several days, in both agenda's
    The Google apps for business one will import. The gmail calendar entry results in the shown error.

  • Results: Describe what you expected to see and what you actually saw.
    Expectation is that agenda will be imported and shown on the display. It actually breaks the program, resulting in the program to exit.

  • Additional Notes: Provide any other relevant notes not previously mentioned. This is optional.

https://stackoverflow.com/questions/53997143/valueerror-rrule-until-values-must-be-specified-in-utc-when-dtstart-is-timezone
dateutil/dateutil#851
pimutils/khal#767

One time trigger functions in e-paper.py (instead of starting the loop?)

Is there a way to get back to the console after opening E-Paper.py? I'm testint out different settings and designs and it gets a bit annoying to open up a new putty window everytime I've refreshed the screen (thanks for the output to file btw, saves time!)

Maybe there's a button combo i don't know about to return to console? Or otherwise maybe a setting I could edit to stop the loop from starting?

Nothing written to display

Program runs successfully and design_exported.png is created, but nothing is rendered to the display. I've confirmed that the display works with the example programs that come from waveshare.

Missing dependency: json

Installing a few required packages for the E-Paper Software
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyowm in /usr/local/lib/python3.7/dist-packages (2.10.0)
Requirement already satisfied: requests<3,>=2.20.0 in /usr/lib/python3/dist-packages (from pyowm) (2.21.0)
Requirement already satisfied: geojson<3,>=2.3.0 in /usr/local/lib/python3.7/dist-packages (from pyowm) (2.5.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: ics in /usr/local/lib/python3.7/dist-packages (0.5)
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.7/dist-packages (from ics) (2.8.0)
Requirement already satisfied: six>1.5 in /usr/lib/python3/dist-packages (from ics) (1.12.0)
Requirement already satisfied: arrow<0.12,>=0.11 in /usr/local/lib/python3.7/dist-packages (from ics) (0.11.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: feedparser in /usr/local/lib/python3.7/dist-packages (5.2.1)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (1.17.2)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting json
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/json/

Not showing any display on 7in5b_V2 display.

I have 7.5 inch 3 color 7.5inch e-Paper HAT (B) V2. Display blank as initialization file Epd7in5b_V2Adapter.py is not available in the Calendar folder. Please update with the file Epd7in5b_V2Adapter.py . Only old version display file Epd7in5bAdapter.py is available and is not working on the V2 model (480x800) as the commands are different. Thanks.

[Feature Request] Crypto Prices

Anyway to implement crypto prices instead of RSS feed?

Been trying to reverse-engineering it, but it hasn't been easy. Any guidance?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.