Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for longer update intervals #324

Merged
merged 1 commit into from
Mar 10, 2024
Merged

Add support for longer update intervals #324

merged 1 commit into from
Mar 10, 2024

Conversation

aceisace
Copy link
Member

Load display-sizes from supported_models
Cleanup old images on new run of Inkycal

The changes this time are not perfect as calibrations may be skipped in some cases for update intervals less frequent than once per hour. However, update intervals are now officially supported up until once per day.

The said problem can be overcome by defining an active-time-range (e.g. 8am-5pm) and inactive-time range (5pm - 8am). Ideally, Inkycal should remember how many display updates have been done in total (not just first start). The user can then define after how many updates the display should be calibrated in the inactive-time-range. The recommended value is once per every six display updates. This will require changes in the settings.json and is therefore to be scheduled in the next release to avoid breaking changes.

Load display-sizes from supported_models
Cleanup old images on new run of Inkycal
@aceisace aceisace self-assigned this Mar 10, 2024
@aceisace aceisace merged commit 4243c93 into main Mar 10, 2024
2 checks passed
@aceisace aceisace deleted the feature/#322 branch March 10, 2024 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: Request that Inkycal support update intervals that are greater than 60
1 participant