Commit Graph

38 Commits

Author SHA1 Message Date
Ace
a0bcc9f073
Added language support for events at bottom 2019-05-18 14:54:42 +02:00
Ace
3e1056a282
Added support for 12/24 hours in Agenda View 2019-05-17 21:29:24 +02:00
Ace
b4f5d7d50f
Bugfix for 'bottom_section' == Events
Due to the rapid development since the last release, a lot of things changed at a very fast speed. One of the issues was that the loop would break if the bottom_section was set to events. With this, it should no longer cause any problems.
2019-05-17 21:14:47 +02:00
Ace
f1d4b79dac
Bugfixes for events
Switched from timezone-unaware (naive) objects to timezone-aware objects to correctly display event times. The timezone is fetched from the system itself. As a result, a new dependency (pytz) is now being used to set the timezone.
2019-05-17 11:52:58 +02:00
Ace
e3e07b5c51
Added support for cjk
This updates allows choosing chinese, japanese and korean as a language
2019-05-13 13:36:13 +02:00
Ace
074c50312a
Added support for localisation
By switching from image-based translations to text-based translations, month names and weekday names can now be easily 'translated' with arrow (python lib). By using this method, a font was required that could display letters from a lot of languages. Since the current font was displaying 'Tofus', Google's Noto (No-Tofu->Noto) Sans font is now being used.
Unfortunately, support for chinese/taiwanese is temporary unavailable since even Noto can't display these correctly (at least for now).
2019-05-12 12:29:06 +02:00
Ace
6928dd9a35
Dropped support for recurring events
Due to a lot of outdated recurring events being displayed, the support for recurring events has been dropped temporarily. It will become available when a better snippet has been written and tested.
2019-05-08 20:24:37 +02:00
Ace
fa659f17c5
Added connectivity check in iCalendar section 2019-05-03 20:47:36 +02:00
Ace
b21e23dd7b
bugfix 2019-05-02 20:00:36 +02:00
Ace
61bccabea7
Cleaned up some non-required code 2019-05-02 19:43:32 +02:00
Ace
2fd392e84b
Merged epd driver files 2019-05-02 19:20:14 +02:00
Ace
00d135dd62
Lots of improvements
E-Paper is now split into three sections: top, main and bottom. Users can now choose what to display at which section. With this change, the main script will only execute the code required to generate the user-specified design. Better text handling. Text is automatically aligned in the middle of the specified box (unless specified otherwise) using the default font (unless specified otherwise). Added Agenda-View as an option in the main section, which will show upcoming events and times in the next few days. It's length is adaptive. If the bottom section is empty, it will reach to the bottom, otherwise it will reach to the bottom section. RSS-feeds will not show the titles, but rather a short summary (for more detailed information). Removed some import warnings as they are handled by the new installer (v1.6). Also made the code a bit cleaner and added a few more descriptions above some code sections.
2019-05-01 23:45:18 +02:00
Ace
fa113b101e
Fixed a problem for 3-Colour Displays
While improving the readability of the code some commits ago, a problem occured where 3-coloured E-Paper-Displays had problems correctly rendering the image. With this fix, it should be solved now.
2019-03-22 17:00:17 +01:00
Ace
6490f8e89e
Added support for recurring events
Added support for recurring events (Credit to and special thanks to Hubert)
2019-03-21 16:58:14 +01:00
Ace
e626651585
Disabled some non-required lines for iCalendar 2019-03-17 17:10:37 +01:00
Ace
dd02940094
Bugfix 2019-03-17 07:33:58 +01:00
Ace
ea8fbf312a
Fixed a bug 2019-03-17 07:25:55 +01:00
Ace
8db4f9ff3a
Lots of improvements (see details)
Improved execution time for each loop (until the image is fully gerated) to less than 5 seconds. Of course, it takes much longer to render the image to the display as well as for calibration.
Implemented possible bugfix for iCalendars as suggested by arustleund in issue#20
Improved algorithm for sleeping until the next update and for counting loops left until calibration.
Some minor changes to improve code readbility
2019-03-17 01:07:21 +01:00
Ace
47b081e23e
Fixed bug when additional feature == "events"
A list that was not created cannot be deleted. This has been fixed now.
2019-03-13 00:35:33 +01:00
Ace
517166923a
Update E-Paper.py
Fixed incorrect package name
2019-03-12 18:21:00 +01:00
Ace
342544b0f2
Fixed a bug related to calibration 2019-03-12 18:14:24 +01:00
Ace
102578b462
fixed some minor errors with lists 2019-03-12 16:13:55 +01:00
Ace
a9fad2b455
Update E-Paper.py 2019-03-11 23:25:35 +01:00
Ace
801484301d
Adjusted some image processing values 2019-03-11 21:42:35 +01:00
Ace
15d37b64f0
New update with lots of improvements
Added RSS-feedparser. Added support for user-defined display-update intervals. Removed support for recurring events (temporarily).
Imporved processing time for the generated image form nearly 30 seconds to less than a second. Improved readability of docstrings.
2019-03-11 18:12:15 +01:00
Ace
bbe7f836d4
Temporary disabled recurring events
Trying to find the cause for some errors related to recurring events.
2019-03-07 15:31:45 +01:00
Ace
3d0a7dca9f
Added colour-improvement for bw display
The function display_corrected_image also improves the image for the 2-colour E-Paper Display.
2019-03-04 21:46:44 +01:00
Ace
8b03dae42a
Some small improvements 2019-03-04 21:28:47 +01:00
Ace
ff97d8fa1c
Still updating 2019-03-04 20:46:08 +01:00
Ace
8dd1342928
Lots of minor improvements
Switched from using bitmap images to png images for images with transparency mask (event, today, weekday). Also, using a custom processing function that processes the generated image so it can be displayed much better on the E-Paper Display.
2019-03-04 20:22:49 +01:00
Ace
ca9d545bec
Fixed a small typo 2019-03-02 19:18:34 +01:00
Ace
b60924792c
Added support for recurring events
A special thank you to Hubert for taking the time to implement support for recurring events.
You've been a great help!
2019-03-02 19:07:36 +01:00
Ace
4cc260251c
Improved snippet for fetching & displaying events
Contains a lot of minor improvements like better output, fixing some 'crude' sections. The algorithm for fetching events has been improved (faster) and is more dynamic. Users can specify the range in days for fetching events form the future. Also fixed a bug where past events were not marked with circles on the monthly calendar. Also improved some output messages.
2019-02-25 22:14:16 +01:00
Ace
21e9570575
Added fix for errors when email action was used 2019-02-21 20:11:16 +01:00
Ace
86cdc5630e
Fixed an big related to week starting on Sunday
Removed line 82, starting with 'draw...' as it caused some errors. Choosing weekday="Sunday" should now work as expected. 
Special thanks to Nobuyoshi Sato for finding this bug.
2019-02-19 09:52:03 +01:00
Ace
ede448c7c1
Update E-Paper.py 2019-02-16 00:13:59 +01:00
Ace
0b84d46c43
Added bugfix for iCalendar and truncating events
Contains some improvements in the section tha filters events from the iCalendar URL. The sorting algorithm has been improved to display events after today and in chronological order. If the event names is too long for the line, it'll be truncated until it fits.
Special thanks and credit to Hubert for suggesting the above mentioned improvements.
Also fixed an issue where the iCalendar would throw errors if the Alarm action for an event was set to 'None'.
2019-02-14 15:27:41 +01:00
Ace
bfd8e166d3
RELEASE V1.5?!
Initial release of v1.5!
This place is a teeny bit too small so you should check out the Changelog to see the changes.
2019-02-03 16:26:30 +01:00