Commit Graph

49 Commits

Author SHA1 Message Date
Ace
94423bfa3e
Fix issue for units = 'metric' + hours = '12' 2020-06-20 19:11:19 +02:00
Ace
de3b5c2f6b
Merge pull request #124 from emilyboda/feature/weather-fixes
Hotfix for:
* incorrect time format in weather module when selecting 12-hour time-format
* weather timezone
2020-06-08 16:50:22 +02:00
emilyboda
52a762f55f
fixed timezone bug the correct way 2020-06-05 11:55:07 -04:00
emilyboda
5f31171c3b
removed timezone fix, as it was broken 2020-06-05 11:54:28 -04:00
Ace
61fd68628a Revert "Merge pull request #120 from emilyboda/feature/weather-fixes"
This reverts commit 6a9ec37390, reversing
changes made to 13556a5cf3.
2020-06-05 17:47:12 +02:00
emilyboda
0843aa8943
made the 3hr forecast time respect local timezone
1. converted the now variable to local TZ
2. the forecast.get_weather_at function still requires UTC, so I added a TZ conversion back to UTC.
2020-06-04 15:40:26 -04:00
emilyboda
97d6046e30
forecasted times are now in 12 hr format when requested
Previously showed only 24 hr time, no matter what was requested. I edited it so that when hours = "12", the time format will be 12 hr time format.
2020-06-04 15:39:47 -04:00
AlessandroMandelli
b9bb8d084b
Update inkycal_calendar.py
added ,locale=language at line 183 and 185 to have the local language in the printed events, otherwise they are in English.
2020-05-09 08:58:18 +02:00
Ace
860f62d501
Fix for incorrect (duplicate) event entries. 2020-02-16 22:43:13 +01:00
Robert Sirre
f8546da0b4 Added configuration for inkycal_image
Allowed to obtain image using http POST besides GET
2020-02-14 22:16:35 +01:00
Ace
62a67c068a
renamed inky_image to inkycal_image 2020-02-12 09:34:48 +01:00
Ace
002ed089f3
Updated for new driver files 2020-02-12 09:34:20 +01:00
Ace
2e9e2b80bb
Rendering improvements
Updated release tag, switched from dithering to self-defined colour-optimisation function 'optimise_colours' for better rendering
2020-02-12 09:32:20 +01:00
Ace
5e4d33c4ab
don't save temp images 2020-02-11 23:50:13 +01:00
Ace
363f2729f3
Added experimental image rendering module
Use at own risk!
2020-02-11 23:33:47 +01:00
Ace
30a202fe50
Minor improvements + bugfix
OWM uses UTC-time to provide weather forecasts. Previously, a timezone-aware stamp was used which caused problems with the forecasts for some users. By switching to UTC time, the problem is fixed.
In case somethign goes wrong, the error message will be printed directly on the coresponding section.
Added support for 2-colour mode (due to new driver files).
2020-02-04 16:49:20 +01:00
Ace
407dbcffde
Minor improvements
Added support for 2-image mode (due to new driver files).
In case something goes wrong, the error will be displayed on the E-Paper, at the corresponding section.
2020-02-04 16:45:22 +01:00
Ace
6b74808a9f
All-day events fix
All-day events will be marked as such (no starting time will be shown).
2020-02-04 16:43:41 +01:00
Ace
ae2d4feb49
Minor improvements
Support for 2-image mode (due to new driver files). 
Improved formatting of events below the calendar. 
In case something goes wrong, the error will be shown in the correspondig section on the E-Paper.
2020-02-04 16:41:47 +01:00
Ace
cbb6e5fa84
Minor improvements
Support for 2-image mode due to new drivers. Support for auto-expansion (agenda module will expand to top and bottom if space is available). Errors will be shown directly on the E-Paper if something goes wrong.
2020-02-04 16:38:36 +01:00
Ace
08547c8ecb
Minor improvements
No more splitting image by colours.
Added option to turn image upside_down.
Better import handling. No more problems with empty sections. Middle section will expand to all empty areas.
2020-02-04 15:38:32 +01:00
Vitali Samurov
8359015dc6 Font sizes have been moved in to config file 2020-01-31 02:23:06 +02:00
Ace
5a89c18cd6
Tiny back-end improvement 2020-01-27 23:34:35 +01:00
Ace
7a301cb6c4
Important bugfix for no image updates. 2020-01-27 23:33:22 +01:00
Ace
5aed758fd3
fixed typo 2020-01-22 01:30:47 +01:00
Ace
0a870449c9
improved execution handling 2020-01-18 16:10:53 +01:00
Ace
566cd03ec8
improved execution handling 2020-01-18 16:10:20 +01:00
Ace
3ca9a85bf4
Possible bugfix for 'begin must be before end' 2020-01-18 16:09:26 +01:00
Ace
4967a86063
improved execution handling 2020-01-18 16:08:15 +01:00
Ace
e05c13bbc6
improved execution handling 2020-01-18 16:07:39 +01:00
Ace
87eaf0d5da
Dynamic imports + calibration function 2020-01-18 16:06:49 +01:00
Ace
1e3fcb28d0
Added support for more E-Paper displays 2020-01-17 17:05:50 +01:00
Ace
5d714665a4
Minor improvements + Bugfixes
Fixed a bug where the update interval would be calculated incorrectly. The display will now update as specified in the settings file.
Instead of importing a single driver file, this module will automatically import the driver file for the specified E-Paper (in the settings file). This means that even though more E-Papers are now supported, the code will not become too complex.

Calibration has been omitted for now to test if the E-Paper shows signs of ghosting.
2020-01-17 17:03:38 +01:00
Ace
6400643039
replacing outdated driver files with latest ones 2020-01-17 16:46:07 +01:00
Ace
13269052b3
Added experimental image renderer 2019-12-19 00:39:06 +01:00
Ace
ba27da8a2f
Clear bottom section image if full length agenda 2019-12-18 02:16:14 +01:00
Ace
7011914cc5
Using recurring events by default
As the tests for the recurring events have passed, the recurring events feature can now be used by default. Event if it fails, the try/except handling won't let the script crash in case something goes wrong while parsing recurring events.
2019-12-17 16:17:29 +01:00
Ace
81d03619ff
Fixed typo 2019-12-16 21:41:41 +01:00
Ace
6f0bbceb62
Code cleanup + fixed typo 2019-12-16 02:51:35 +01:00
Ace
3cdd0bda62
Code cleanup 2019-12-16 02:48:23 +01:00
Ace
8419454bd8
Fixed rendering issues
Improved rendering of text and icons. 
For black and white displays, the image is converted to greyscale with dithering enabled. This is because E-Papers are closer to paper than LCDs.
2019-12-16 01:12:04 +01:00
Ace
a36375df1e
Added option to change 'now' string 2019-12-16 01:00:45 +01:00
Ace
4d67fab755
Localisation support + better events handling
It's now possible to change the strings used in events (today, tomorrow, at) to a custom string (of your local language).
The events section within the calendar module now only shows events from today which have not passed yet. If some lines are empty in the weather section, they'll be filled with events from the next 40 days. 
Also, some minor code improvements.
2019-12-16 00:58:45 +01:00
Ace
3356790549
Added option to change string of all day events 2019-12-16 00:50:55 +01:00
Ace
96cba72f53
Dynamic fontsize support
It is now possible to select the desired fontsize in the calendar module.
2019-12-14 22:04:52 +01:00
Ace
fe50672586
Updated fontsize for larger letters 2019-12-14 22:03:33 +01:00
Ace
7651feb7df
Added Error handling for recurring events
With the added Error handling, the stability of the recurring-events-parsing section has improved as well. This is handy when using non-supported iCalendars.
2019-12-14 19:19:44 +01:00
Ace
cd6878f8cf
Added support for recurring events
This is a more thorough approach on fetching and parsing recurring events. It has been tested on Google and Yahoo iCalendar, so it might not work on others. As further testing and feedpack is required to test it's reliability, the parsing of reucrring events is switched off by default. Setting 'use_recurring_events' to 'True' activates parsing of recurring events.
2019-12-14 17:24:05 +01:00
Ace
9517017365
Improved folder structure
With the new folder structure, users can now easily clone the repo with git clone. The need for renaming and shifting folders is now gone.
2019-12-12 22:52:57 +01:00