Commit Graph

178 Commits

Author SHA1 Message Date
Konrad Weihmann
026b3c1da0 main: add image hashing
build md5 sum over the resulting assembled image(s) and
check against a stored hash file to determine if we really need
to update the screen.
Option can be controlled by new image_hash global option.

If info_section is enabled while image_hash is on,
the time of update will be stripped from the section,
as it is clearly not hashable.

In the end this enables us to update the information in the
background way more frequent without increasing the stress
caused to the display

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
2022-08-23 09:13:22 +00:00
aceisace
118548aa44 adjust release version 2022-04-14 17:47:37 +02:00
aceisace
41916b10c7 added drivers for 12.48" display 2022-04-14 17:46:30 +02:00
aceisace
3dd40edfb0 improve testing 2022-04-14 17:14:30 +02:00
aceisace
a5429f82d7 updated driver files for 7.8", 9.7" and 10.3" parallel epaper displays 2022-04-14 06:38:22 +02:00
aceisace
24dd8a12df fix test 2022-04-14 06:29:11 +02:00
aceisace
3d90a75d81 fix test 2022-04-14 06:12:06 +02:00
aceisace
ef678a970a fix test 2022-04-14 06:07:14 +02:00
aceisace
40c0f5ff58 fix test 2022-04-14 05:59:47 +02:00
aceisace
c718d4831f fix tests for image module 2022-04-14 05:53:10 +02:00
aceisace
661aab45d4 minor fixes 2022-04-14 04:57:55 +02:00
aceisace
f54de4387b #203 2022-04-14 04:08:38 +02:00
aceisace
5cd04bda04 Minor code improvements 2022-04-10 06:35:08 +02:00
aceisace
f452135b42 add tests for parallel displays 2022-04-10 04:24:42 +02:00
aceisace
f923321f24 use It8951 files 2022-04-10 02:48:40 +02:00
aceisace
1f7ef37da1 modify parallel epd run file 2022-04-10 02:27:44 +02:00
aceisace
5b032d6231 Improved formatting 2022-04-02 01:30:17 +02:00
aceisace
309687cb44 Allow usage without display and SPI when setting render->False
Generated images will be available in the images folder
Generate colour full-screen image when combining sub-images
2022-03-31 19:04:42 +02:00
aceisace
f10fe8a988 Allow usage without display and SPI when setting render->False
Generated images will be available in the images folder
2022-03-31 18:36:50 +02:00
Ace
b08a585424
Fix for deleted groups causing Exceptions
Deleted groups would previously cause the module to fail as the api would still show todos from groups that have been deleted, but not the name of the group.
Iterating over the groups caused a KeyError Exception. This commit does an additional check to see if the group really does exist or has been deleted.
2022-02-09 22:16:26 +01:00
Ace
b00212a9db
fix cursor out of range 2022-02-08 23:39:29 +01:00
wface
5a163a65a8 changed yfinance requirement to 0.1.62 2021-07-11 11:26:05 +02:00
wface
48204c0c55 inkycal_stocks module update
updates the inkycal_stocks module from 0.3 to 0.5
2021-07-08 17:20:27 +02:00
Ace
12cc7b0079
support for v2 display 2021-04-24 00:24:56 +02:00
Ace
25ce92ad26
Fix for auto-expansion of events for 4 rows 2021-02-04 23:48:17 +01:00
Ace
287f7196f7
Fix for KeyError: 31
Added a second check for checking if key exists in the dictionary.
2021-02-02 23:52:52 +01:00
Ace
fcf7799e43 Hotfix for Todoist API module
The Todoist module would not update on each loop, but rather at each reboot. This commit fixes the problem by syncronising with the API on each refresh.
2021-02-01 19:17:07 +01:00
Ace
897ea0352a removed obsolete file 2020-12-07 11:36:14 +01:00
Ace
6e4060d0ae Switch to guided installation of driver
Do not rely or use setup_state.txt to determine if installation was successful, instead check existence of zip file.
Do not install the driver files automatically when initialising Driver class, instead, ask the user to enter two commands in the Terminal.

Removed setup function for 9.7", improved installer.
2020-12-07 11:36:01 +01:00
Ace
9d4810ce25 fix bad linebreaks from Windows 2020-12-07 10:57:08 +01:00
Ace
4ecb778812 Use zip files for drivers
Using zip files instead of unzipped folders to reduce size of repo.
Added demo image which is shown on successfull installs for the 9.7" E-Paper
2020-12-07 10:40:01 +01:00
Ace
2a84ee47e8
fixing issues with log file on readthedocs 2020-12-07 00:23:42 +01:00
Robert Sirre
32846ef1e7 Corrected typo 2020-12-06 23:26:17 +01:00
Ace
8a9e1cb30c
fix more typos 2020-12-06 17:14:45 +01:00
Ace
e24728df27
fixed typos 2020-12-06 00:01:23 +01:00
Ace
e6f70d150c added sample for inkycal_server 2020-12-05 00:26:55 +01:00
Ace
30e773a1ee formalities.. 2020-12-05 00:26:13 +01:00
Ace
10920bd610 minor improvements
Increased height for weekday names.
When there is more free space below the calendar, assign the empty space to the event section.
2020-12-05 00:25:48 +01:00
Ace
7b09d05a76 improved logging, code cleanup
Changed level for logs to info
2020-12-05 00:24:26 +01:00
Ace
8ea8f6cfa4 Improved image handling
The given image is now rotated by 90 deg when attempting to send it to the epaper. This function was initally in main, but has been shifted.
2020-12-05 00:23:09 +01:00
Ace
ebe60b303b formalities.. 2020-12-05 00:21:44 +01:00
Ace
19baf57c6c various improvements
Cleaned up code, improved logging,
fixed an issue where forecast time would show UTC time instead of local time, improved layout on dynamic heights. More evenly distributed rows, simplified some code, removed non-required validate function.
2020-12-05 00:20:40 +01:00
Ace
598d2b2614 code cleanups 2020-12-05 00:18:14 +01:00
Ace
9d3823876e Added merge function
Improved logging, switch from printing to logging
2020-12-05 00:17:59 +01:00
Ace
e3ca1628e1 reduced logging output for display 2020-12-05 00:16:57 +01:00
Ace
697401f612 Improved testing method
Added shebangs, logging messages are now shown.
Running on an Rpi allows previewing the generated images.
2020-12-05 00:16:07 +01:00
Ace
7ba83fd50f Added testing for weather and todoist modules 2020-12-05 00:14:07 +01:00
Ace
588a457304
fixed typo 2020-12-03 14:21:12 +01:00
Robert Sirre
15eae0d4ee Renamed programm to program 2020-12-02 10:41:03 +01:00
Ace
ded27dab9c
added seconds on logs, use default date format 2020-12-02 01:17:06 +01:00