-
Notifications
You must be signed in to change notification settings - Fork 250
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
Sunrise sunset Presets With DST #471
Merged
matheusmoreira
merged 165 commits into
joeycastillo:main
from
voloved:sunrise_sunset_presets
Sep 17, 2024
Merged
Sunrise sunset Presets With DST #471
matheusmoreira
merged 165 commits into
joeycastillo:main
from
voloved:sunrise_sunset_presets
Sep 17, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Remove test code
You can enter and monitor up to four different deadlines by providing their respective date and time. The watch face displays the remaining time at matching granularity, ranging from years to seconds.
Uses a simplistic set of jump tables to toggle daylight savings on and off.
…evolutionary_face)
This illuminates the LED only for the time that the button is pressed, and turns it off as soon as it's released, which is the behaviour of the original watch. I chose a led_duration of zero to represent "instant" and all bits set to represent "no LED", which is arbitrary but seemed more sensible to me.
This is a matter of personal preference, but "instant" is the behaviour of the original watch, and seems like the thing more people would expect. Feel free not to take this commit if you disagree, though.
Toggle between default behavior and leading zero with long-press of alarm button on page with 24h setting.
* origin/main: (119 commits) add an openocd.cfg for openocd 0.12.0 Fix compile errors and warnings in movement.c and shell.c faces/totp: avoid displaying when key is invalid faces/totp: fix error message not displayed bug faces/totp: remove dynamic memory allocation faces/totp: improve memory usage faces: restore simple_clock_face uf2conv: argument to `re.split` should be a rawstring movement: fix unintended timeout short circuiting movement: convert can_sleep an automatic variable faces/pulsometer: remember pulsometer measurement faces/pulsometer: remember pulsometer calibration faces/totp: update copyrights faces/totp: allow moving backwards through codes faces/clock: add 24h only feature faces/clock: update copyrights and credits faces/totp: delete leading underscores faces/totp: rename initializer macro to credential faces/totp: improve TOTP initializer labeling faces/totp: decode secrets when setting up ...
…ode. (joeycastillo#1) * Check that color is valid Instead of merely checking that COLOR is set, check that it is one of RED, BLUE or GREEN * Added ability to turn off sound and timer with modes * Added enum for mode --------- Co-authored-by: Wesley Ellis <[email protected]>
This makes it possible to do a bunch of things without having to keep touching the light button. I don't really see any downside with this. If you want the light to go off, just stop touching buttons.
…ling (joeycastillo#1) * Added subscreens to periodic table face; added title and faster scrolling * Resized buf for element display * Fixed scrolling to work on actual hardware * Added delay before _loop_text at title and bugfix on elements shorter than 6 char * Title screen displays when le_mode starts * Added documentation on usage and removed unneeded variable
…oeycastillo#2) * Holding light button on a non-element screen will turn on the light. * The alarm and led button press moves back to the currently-selected element symbol page rather than the next and previous one * Usage update
Adds a timing watch face that focuses on keeping track of specific deadlines. Dates and times can be set on the watch face and it will display the time remaining at ever decreasing levels of granularity for the sake of brevity and ease of understanding. For example, it will display years and months if over a year is left, months and days if less than one year is left, days and hours if less than one month is left and the full remaining time if less than a day is left. It also notifies the user when a deadline has passed recently. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Konrad Rieck <[email protected]> GitHub-Pull-Request: joeycastillo#266
Adds a watch face that implements a game where the player must guess if the next card will be higher or lower than the last cards that have been revealed. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Chris <[email protected]> GitHub-Pull-Request: joeycastillo#259
Adds a french revolutionary time watch face which displays the time divided into ten hours of one hundred minutes each which are in turn divided into one hundred seconds each. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Reviewed-by: Wesley Aptekar-Cassels <[email protected]> Reviewed-by: Alex Maestas <[email protected]> Tested-on-hardware-by: CarpeNoctem <[email protected]> GitHub-Pull-Request: joeycastillo#269
Add a minimalist clock face that shows only hours and minutes. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#287
Adds a watch face that allows playing the classic Simon game with the watch's buzzer and RGB LED. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#398
Keeps the LED turned on while the user is interacting with the watch. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#394
Adds a simple calculator watch face to the sensor watch capable of addition, subtraction, multiplication, division and exponentiation. Reviewed-by: Joey Castillo <[email protected]> Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-by: Joey Castillo <[email protected]> Tested-on-hardware-by: mcguirepr89 <[email protected]> GitHub-Pull-Request: joeycastillo#454
Measures the temperature until it stabilizes for half a minute. This watch face is not meant to diagnose, treat, cure or prevent any disease. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#413
Allows the user manually trigger all 87 buzzer notes. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Wesley Black <[email protected]> GitHub-Pull-Request: joeycastillo#386
Displays the time in a "close enough" manner: periods of five minutes, relative to the nearest hour. For example: - 3:24 -> 25 past 3 - 3:50 -> 10 to 4 - 3:59 -> 4 o'clock - 1:35 -> 35 past 1 - 1:50 -> 10 to 2 - 2:00 -> 2 o'clock Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> Tested-on-hardware-by: Ruben Nic <[email protected]> Tested-on-hardware-by: KlingonJane <[email protected]> GitHub-Pull-Request: joeycastillo#401
Adds a toggle in the preferences face that allows the user to enable or disable the daylight savings time. Should help produce the correct results with the sunrise/sunset presets. A proper solution would be to integrate the tzinfo database but it's too big for the watch at the time of this writing. Can't be done unless it can be shrunk down into a subset the user would be interested. Even then it's a stopgap since the database is likely to keep growing over time. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#268
Implements logic to automatically offset daylight saving time settings when calculating timezone offsets. This should make the DST functions work automatically with no need for user input in most cases. Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#470
Bump GitHub's checkout action to v4, fixing the continuous integration. GitHub-Pull-Request: joeycastillo#468
Fix issue where the calculator face's user interface display was delayed about a quarter second due to the activation event being a no-op. Tested-by: David Volovskiy <[email protected]> Reported-by: David Volovskiy <[email protected]> Fixed-by: David Volovskiy <[email protected]> Reviewed-by: Matheus Afonso Martins Moreira <[email protected]> GitHub-Pull-Request: joeycastillo#454
…it does cause an issue due to DST
matheusmoreira
added
enhancement
New feature or request
next
This feature or pull request is present in the next branch
watch-face
Related to a new or existing watch face
labels
Sep 9, 2024
34 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
next
This feature or pull request is present in the next branch
watch-face
Related to a new or existing watch face
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Yet another PR for the sunrise_sunset_presets.
Now that Auto-DST was PR'd into next, adding the ability to use DST for the ofsets of the other timezones in the sun presets makes the time more reliable.
There will still be edge-cases, such as referencing an EU location while in USA and looking at the time in the second two weeks of March, when DST exists in the states, but not in the Union.