Skip to content

Opened by mistake - #4319

Closed
inakrebes wants to merge 10 commits into
MagicMirrorOrg:masterfrom
nrkno:offline-clock-mode
Closed

inakrebes wants to merge 10 commits into
MagicMirrorOrg:masterfrom
nrkno:offline-clock-mode

Conversation

@inakrebes

@inakrebes inakrebes commented Oct 27, 2026 •

Copy link
Copy Markdown

No description provided.

inakrebes and others added 10 commits September 22, 2026 16:31
- config/config.js: first config with Oslo clock, Norwegian holidays,
  Oslo weather (openmeteo), and NRK Nyheter newsfeed replacing US defaults
- CLAUDE.md: project readme for Claude with setup, startup, and module notes
- .gitignore: un-ignore config/config.js so it can be shared via git

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Custom module fetching real-time departures from the two nearest
stops to coordinates 59.932267, 10.724083 (Marienlyst) using the Entur Journey
Planner v3 GraphQL API. Updates every 30 seconds.

Features:
- Separate sections per stop (Marienlyst and Majorstuen)
- Walk time filtering per stop (5 min Marienlyst, 10 min Majorstuen)
- Fetches a large pool of departures so filtering leaves enough to show
- Excludes irrelevant nearby stops (Vestre Aker kirke)
- Realtime departures highlighted in green

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Embeds Yr's SVG meteogram for Oslo (location 1-72837) in bottom_center,
raised with transform to sit above the newsfeed.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Load NRK Sans from static.nrk.no as the primary typeface
- Cooler text palette and uppercase/letter-spaced labels per NRK hierarchy
- Weight contrast (400/500/700/800) in place of size jumps
- Add getStyles() to Ruter module so its CSS actually loads

Background stays pure #000 — required for two-way mirror glass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The compliments module was cluttering the mirror's lower half; the
meteogram now has that space to itself and sits only 150px above the
baseline for a more balanced vertical rhythm.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Replace per-stop tables with a shared CSS grid so line/destination/time
  columns line up across all stops regardless of content width.
- Raise the per-stop fetch pool to max(maxDepartures * 15, 50) so busy
  hubs like Majorstuen have departures left after the walk-time filter.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The node helper checks internet reachability every 30 s. After two
failed checks in a row the board hides weather and departures and shows
a large clock and date, so no stale data is displayed. It returns to
the full board on the first successful check. Preview the offline
layout with ?preview=offline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@inakrebes
inakrebes marked this pull request as draft October 27, 2026 13:11
@inakrebes

Copy link
Copy Markdown
Author

Opened against upstream by mistake — this was meant for our fork. Sorry for the noise!

@inakrebes inakrebes closed this Oct 27, 2026
@inakrebes
inakrebes deleted the offline-clock-mode branch October 27, 2026 13:21
@inakrebes inakrebes changed the title Offline clock mode Opened by mistake Oct 27, 2026
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.

2 participants