Commit Graph

383 Commits

Author SHA1 Message Date
Ace
5f132828eb
add image file to supported model 2024-03-10 03:30:07 +01:00
Ace
ae86daf6b8 Add support for longer update intervals
Load display-sizes from supported_models
Cleanup old images on new run of Inkycal
2024-03-10 02:11:33 +01:00
Ace
7e2414afcf
added name 2024-02-17 00:00:28 +01:00
Ace
a7f3622e52 fix tests 2024-02-10 22:43:57 +01:00
mrbwburns
0663430a1e
Merge branch 'main' into fullscreen_weather_module 2024-02-08 21:23:20 +01:00
Ace
438845c81e fix alignment bug 2024-02-08 12:51:06 +01:00
mrbwburns
d4f9a7a845 Add owm 3.0 API capabilities to get UVI reading into the fullscreen weather (again) 2024-02-04 10:01:49 -08:00
Ace
77ffc4146b fix minor bug
This fixes a bug where using hourly weather forecast with imperial units would lead to the error: TypeError: list indices must be integers or slices, not str
2024-01-29 00:32:12 +01:00
mrbwburns
a88663defe small cleanup 2024-01-26 14:40:10 -08:00
mrbwburns
04b951eb13 fix timezone handling for weather modules 2024-01-26 14:23:21 -08:00
mrbwburns
b32a709967 remove old owm_forecasts pyowm wrapper 2024-01-26 14:19:31 -08:00
mrbwburns
96915c53fa
Merge branch 'main' into fullscreen_weather_module 2024-01-24 22:32:10 +01:00
mrbwburns
ea1492ba84 make temperature units handling consistent 2024-01-24 22:25:48 +01:00
mrbwburns
82ba16c83b fix temperature decimals for the current weather 2024-01-24 22:18:23 +01:00
mrbwburns
4d97278bc5 fix temperature decimals on the daily forecast 2024-01-24 22:13:40 +01:00
mrbwburns
c4fb668bce log level back to INFO 2024-01-24 22:04:22 +01:00
mrbwburns
386ebc9462 adapt classic weather module to extended openweathermap_wrapper 2024-01-24 22:00:43 +01:00
mrbwburns
0435d2878b small improvements on the exception logging in main.py 2024-01-24 21:52:24 +01:00
mrbwburns
0735ce285f add sunrise and sunset to the owm wrapper 2024-01-23 20:44:21 +01:00
Ace
0c8e6a65d6 log server response on error 2024-01-23 13:01:17 +01:00
mrbwburns
8fb7a8a880 first shot at the openweathermap_wrapper extension (PyOwm replacement) 2024-01-22 20:52:19 +01:00
mrbwburns
4082d589d6 revert optimisation flag change 2024-01-20 21:15:37 +01:00
mrbwburns
e7741ef955 revert image_file.py changes 2024-01-20 17:24:38 +01:00
mrbwburns
6d660f48c3 finally got the hang of bw/colour image handling 2024-01-20 17:15:03 +01:00
mrbwburns
c515da04f0 rotate the fullscreen weather image according to orientation settings 2024-01-20 16:33:06 +01:00
mrbwburns
ff33f19c71
Merge branch 'main' into fullscreen_weather_module 2024-01-20 15:44:17 +01:00
mrbwburns
4b2a0d1957 improvements in font handling and orientation support 2024-01-20 15:23:24 +01:00
mrbwburns
d65b1b3689 functions code styling 2024-01-20 15:19:38 +01:00
mrbwburns
b0ca2be01c code-styling thanks to pre-commit 2024-01-20 15:10:05 +01:00
mrbwburns
7f91ccac13 no optimization for 9.7 epd 2024-01-20 15:02:35 +01:00
mrbwburns
7ab512d5c8 image_file driver: comply with inky being portrait by default 2024-01-20 15:01:44 +01:00
mrbwburns
641a032779 use the logger when exception handling kicks in 2024-01-17 21:29:24 +00:00
mrbwburns
2da11c4e9d fix get_system_tz to return a proper timezone key and UTC if nothing was found 2024-01-17 21:27:40 +00:00
mrbwburns
4a60019056 cleanup 2024-01-15 21:10:50 +01:00
mrbwburns
883be28f5a add daily forecast section to fullscreen weather 2024-01-15 21:04:51 +01:00
mrbwburns
3ea426d615 add hourly plot to fullscreen weather 2024-01-15 20:45:42 +01:00
mrbwburns
1b1f57339e clean up owm_forecasts 2024-01-15 20:44:18 +01:00
mrbwburns
84e4e1b9c5 clean up owm_forecasts 2024-01-15 20:43:40 +01:00
mrbwburns
d2d7c91bb5 step 1: actual conditions working 2024-01-15 19:08:46 +01:00
Ace
f228daf9fb implement Tindie module for Inkycal 2024-01-14 10:58:11 +01:00
Ace
d231716c0b implement clear-display script 2024-01-14 00:01:41 +01:00
mrbwburns
8bfb6af663
Merge branch 'aceinnolab:main' into main 2024-01-08 20:10:20 +01:00
Ace
629989ce22 fix not-updating problem
This fixes an issue after a driver update where Inkycal would only run for the first run, but not continue rendering images. Cause was an error in the waveshare driver code
2024-01-05 22:31:38 +01:00
Bernhard Sessner
6d04685f10 Merge remote-tracking branch 'upstream/main' 2023-12-28 15:12:56 +01:00
Ace
a7c276e880 update epdconfig to fix bug 2023-12-21 16:32:16 +01:00
Ace
3f5446a83f test fix for display render on 2-colour displays 2023-12-19 21:46:21 +01:00
Ace
c656b3a562 Updated driver for 7.5" v2 colour 2023-12-18 12:54:32 +01:00
Ace
e710964e10 Best practices & code cleanup 2023-12-18 12:46:33 +01:00
Ace
ad0610635e Remove semicolons 2023-12-17 23:44:22 +01:00
Ace
08c8d10815
Remove semicolons 2023-12-17 23:42:25 +01:00
Ace
03f26ec49a
Remove semicolons 2023-12-17 23:40:18 +01:00
Ace
f7496683f0
Merge pull request #296 from mygrexit/main
make calibration optional
2023-12-15 01:00:21 +01:00
Ace
df8b9e402e flip image right to left by default 2023-12-14 22:29:22 +01:00
mygrexit
b78a3f9708 make calibration optional
this should work with the newly added option to not add any calibration hours.
2023-12-14 22:19:30 +01:00
Ace
a7e2a852e9 Implement 16 grayscale support for image module 2023-12-14 01:51:10 +01:00
Ace
1138f2d862
add parameter for dithering 2023-12-13 13:14:59 +01:00
Bernhard Sessner
a3d276f8c6 Merge remote-tracking branch 'upstream/main' 2023-12-12 07:41:18 +01:00
Ace
49f78f3090 fix an issue with im_colour parameter missing 2023-12-09 21:45:38 +00:00
Ace
bef931097b fix docs
Fix an issue with docs not being able to find Inkycal modules
2023-12-07 18:40:24 +01:00
mrbwburns
796ba69986 some cleanup 2023-11-26 20:40:49 +01:00
mrbwburns
b885105147 bump devcontainer to bookworm, add documentation 2023-11-26 20:29:02 +01:00
mrbwburns
a7c3edc60e
Merge branch 'main' into weather_scaling 2023-11-26 17:16:03 +01:00
Ace
60be01fbdb fix tests, add border feature 2023-11-24 02:37:27 +01:00
mygrexit
145da4de1c Revert dotted and dashed lines
Removing the approach for dotted and dashed lines since it's  a dead end.
2023-11-23 22:08:33 +01:00
Ace
0660ac5537
Merge pull request #286 from aceinnolab/feature/#283
feature/#283
2023-11-23 01:23:58 +01:00
Ace
032b674af9 add xkcd module 2023-11-22 19:02:11 +01:00
Ace
03fa62cdc2 fix release not found 2023-11-22 16:34:28 +01:00
Ace
f4d08c64a2 test async 2023-11-22 12:45:07 +01:00
Ace
f0cb8528b8 add webshot module 2023-11-21 20:16:10 +01:00
Ace
50f11dc2a4 fix too small line-height 2023-11-21 16:03:09 +01:00
Ace
59c59e80f5 tests best practices 2023-11-21 15:18:19 +01:00
Ace
96a972e31f Merge remote-tracking branch 'origin/main' 2023-11-21 13:29:08 +01:00
Ace
e78fd0d4b5 Update v2 driver 2023-11-21 13:28:56 +01:00
Ace
823df7253a
adapt for Pillow10 2023-11-20 20:15:16 +01:00
Ace
d53d167f74
Update inkycal_stocks.py 2023-11-20 18:58:56 +01:00
Ace
341a9cdc74
Update test_inkycal_stocks.py 2023-11-20 18:57:10 +01:00
mrbwburns
f146949249 latest best guess at scraping the weather 2023-11-20 17:29:46 +01:00
mrbwburns
edd12c3ba0 Merge branch 'weather_scaling' of github.com:mrbwburns/Inkycal into weather_scaling 2023-11-20 17:29:46 +01:00
mrbwburns
0d8cb6c42a no image processing on main
remove the weather scraper call from the inky image module
2023-11-20 17:29:46 +01:00
mrbwburns
2f494eab9e revert original weather module back to master 2023-11-20 17:29:46 +01:00
mrbwburns
485228e35d another shot for improved image display 2023-11-20 17:29:46 +01:00
mrbwburns
0ca272b563 weather scraper improvements 2023-11-20 17:29:46 +01:00
mrbwburns
ba630c381f remove image "optimization" 2023-11-20 17:29:45 +01:00
mrbwburns
6287affb0c call the openweather scraper from the image module 2023-11-20 17:29:45 +01:00
mrbwburns
a0fa33d5e1 scraping the weather instead of using the API 2023-11-20 17:29:45 +01:00
mrbwburns
7cac3fd195 - improve devcontainer setup
- add openweather web scraper module
2023-11-20 17:29:45 +01:00
mrbwburns
62bb0f600e first improvements for larger fontsizes 2023-11-20 17:29:45 +01:00
Ace
a937564ec9
re-activate unittests 2023-11-20 17:21:18 +01:00
mygrexit
126b3826e6
Add dotted and dashed lines (draw_boarder function)
First version of adding dotted and dashed line in order to be able to have more distinguishon between multi event, single event and mixed event days. This version is using the "arcs" from PIL ImageDraw which isn't pretty.
2023-11-10 21:53:36 +01:00
mygrexit
2dc945ebee
Added support for multi-day events
Improved event handling in calendar: Enhanced the calendar module to handle events spanning multiple days.
2023-11-10 14:57:47 +01:00
mygrexit
d79c65cdd5
Add localized formatting for multi-day event durations
This commit introduces a feature to format the names of multi-day events using Arrow's localization. Event titles now include the event duration in days.
2023-11-10 13:39:08 +01:00
Ace
2b2eca2271
Merge pull request #279 from aceinnolab/feature/#245
text-module enhancement
2023-11-08 22:30:02 +01:00
Ace
bb9257ee30
consistency 2023-11-08 22:25:46 +01:00
Ace
bebe60aef3 text-module enhancement
This allows an improved approach to load text from URL
Also improved the function to check for a connection by attempting three times before giving up
2023-11-08 20:22:50 +01:00
Ace
a921a9c917 code quality improvements 2023-11-07 23:13:30 +01:00
Ace
93c968da53 python 3.11 & code quality improvements 2023-11-07 22:49:48 +01:00
Ace
5508274df7
fix issue on no title 2023-09-25 13:36:39 +02:00
Hong Jiang
9559206594 add an image_file driver for development
The driver just writes images to files. This makes it possible to test without
an e-ink display.
2023-09-13 11:25:46 +08:00
Hong Jiang
07ba1f02a8 refactor: do not process .py file manually
Import the driver as a module in `Display.get_display_size()`.
2023-09-11 01:08:11 +08:00
Hong Jiang
b57d60bab9 only print dir creation log when it actually happens 2023-09-10 13:03:30 +08:00