Repository navigation
Water tank gauge, call-sign date plate and day/night dial - #3
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Four additions, all declarative WFF - the watch face still ships no app code.
Screenshots
Mock-ups rendered from the watch face geometry (not device photographs).
What is new
Water tank as battery gauge (
showWaterTank, on by default, switchable in the editor)A sight glass on the truck whose water level follows
BATTERY_PERCENT. The water rectangle is scaled around its lower edge, so the fill level is the charge level. Below 15 % both the remaining water and the empty volume turn red - an almost empty tank alone would be too small to notice.Call-sign plate carrying the date (
showCallSign, on by default, switchable in the editor)A plate on the roof reading
DD/MMin the style of a German fire-service call sign, without the "Florian" prefix for lack of space. It sits on the truck, so it turns with the hour hand and is upside down or sideways for part of the day - as requested, and as a plate on a real vehicle behaves.Blue lights on notification - a fourth mode next to off / hourly / always, active while
UNREAD_NOTIFICATION_COUNT > 0.Day/night dial with a soft crossfade
The scene stays black (night) and a daylight layer fades in over it. The daylight factor is a single expression - two clamped ramps multiplied, dawn 06:00-07:00 and dusk 19:00-20:00 - and the driving lights use its inverse, so background and lights crossfade together. At night the head lamps, their beams and the tail lamps are lit. Derived from local time (
SECONDS_IN_DAY), so no weather provider or extra permission is involved. Ambient mode keeps the pure black background and no lights.Editor labels are English with German translations; all data sources and the
ListConfiguration/BooleanConfigurationsyntax were checked against the WFF reference.Not verified
Nothing here has run on a real watch yet: the editor entries, the tank scaling and the text rendering of the plate need a look on the Pixel Watch after merge.