Commit Graph

40 Commits

Author SHA1 Message Date
Ace
bb9257ee30
consistency 2023-11-08 22:25:46 +01:00
Ace
2bf47c8f2d fix docs path 2023-06-03 21:56:01 +02:00
Ace
9486006e86 naming convention 2023-06-03 16:16:07 +02:00
aceisace
24ae6df27e bump requirements
fix some minor issues
code cleanup
2023-01-10 22:58:01 +01:00
aceisace
560d73a87c logger best practices 2022-10-03 02:56:04 +02:00
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
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
5cd04bda04 Minor code improvements 2022-04-10 06:35:08 +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
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
7b09d05a76 improved logging, code cleanup
Changed level for logs to info
2020-12-05 00:24:26 +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
Ace
d9b569cc71 Fix non-render mode
improved printed messages
simplified some code
fixed printed time not updating correctly
removed non-required logging from PIL
2020-11-30 12:08:29 +01:00
Ace
a2e8ccea2d
fix logger is not defined 2020-11-30 08:59:21 +01:00
Ace
9216afbea8 improved logging + log to file
Logging is now set at two levels:
logging.ERROR and more important messages are shown on the console while running inkcal.
logging.DEBUG (all) messages are logged inside a log file named inkycal.log in /Inkycal/logs.

Fixed an issue with the info section not updating the time correctly.
2020-11-29 14:56:44 +01:00
Ace
bcc512d1cc Fixing some issues with 9.7" E-Paper displays
test() saves assembled images now.
If the 9.7" E-Paper is selected, the images are now flipped correctly.
2020-11-25 14:24:29 +01:00
Robert Sirre
650e9bdb92 Debugged inkycal_image
Still needs some work:
- input parameter validation (rotation, layout, colours)
- configuration of panel colors in Web UI

Added suggestion for less dynamic calling of module.generate_image()
2020-11-24 22:07:49 +01:00
Ace
57cc49be21 added functions to add/remove third party modules
Documentation can be found on readthedocs
2020-11-24 15:32:11 +01:00
Ace
418422fa52 Improved documentation 2020-11-24 00:40:49 +01:00
Ace
9517b303b4
Fixed a few things, should be usable now 2020-11-21 23:48:42 +01:00
Ace
49b0d7cc65 Adapted main file to support new web-ui
A lot of work behind the scenes. Logging is now handled by main file now. Improved logging, support for logging from modules, improved support for info section, added support for info section height, slight improvements in printing output
2020-11-21 16:31:00 +01:00
Ace
b1c06b3add Code cleanup, adapting modules for new web-ui 2020-11-10 22:48:04 +01:00
Ace
29788f0313 Initial commit for release v2.0.0
A  lot of work-in-progress and far from complete.
Lots of improvements related to user-friendliness, fully new web-UI. Better infrastructure....
more coming soon
2020-11-09 17:51:15 +01:00
Ace
7b029f532e Added option for info-section
When info-section is set in the web-ui, a small section at the bottom of the display will show the time of last update.
2020-07-04 16:21:15 +02:00
Ace
9b14a0bec0 Added handling of third party modules
Third party modules need to be registered into inkycal before they can be used. For this, the function _add_module (and _remove_module) have been added.
These functions make the necessary changes to the init file in /inkycal and /inkycal/modules.
2020-06-22 15:52:42 +02:00
Ace
60b474f275 Added support for sheduled calibration 2020-06-18 16:24:27 +02:00
Ace
90ec1a177d fixed possible rotation issues
The image will only be rotated while rendering on the Display, i.e. when render  = True.
Images saved in /Inkycal/images will not be affected by this change to allow developers to see the image wihtout having to flip the images manually
2020-06-13 15:15:56 +02:00
Ace
2dc70f590d Fixed offset issues on generated image 2020-06-12 23:15:36 +02:00
Ace
ca36269380 implemented display orientation option 2020-06-12 18:16:19 +02:00
Ace
e01728bcd8 Fix for issue #123 2020-06-07 15:57:01 +02:00
Ace
6efc1ffc71 Added rendering capabilites
Removed dummy settings.json file
2020-05-29 04:00:39 +02:00
Ace
ef743378f5 Added main file (work in progress!)
Work in progress! Serves as the main file for inkycal.
2020-05-26 19:20:18 +02:00