P105  LIGHTS OUTAMOGH.CLOUD--:--
Lights OutP105

An unofficial F1 app for LG TVs, built for the remote

An unofficial F1 TV app for LG smart TVs: easy navigation with the remote, a camera switcher, and a live timing panel that stays in sync with the video.

RoleProduct, design and build
WhenSep 2026–now
StatusCode on GitHub; submitted to the webOS Homebrew Channel and waiting for review
StackJavaScript, no framework, Node service on webOS, Shaka Player, webOS TV tooling
Built withDesigned and built by me, with AI coding agents for speed. I set the requirements, tested on the TV with real session data and decided what to cut.

In short

Problem. I found no official F1 TV app listed for LG's webOS TVs when I checked on 10 Oct 2026. To watch the camera feeds on a big screen with a timing overlay, I had to use a laptop. I wanted it on the sofa, with a remote.

What I built. An unofficial app designed for the remote. The arrow keys move focus where you expect, you can switch cameras, and a timing panel stays in sync with the video, live or on replay.

What I measured. I replayed real race data through the live timing code, and tested how many video streams the TV can play at once, which ruled out a multi-screen view.

The Lights Out home screen for the Singapore Grand Prix weekend: the race tile focused with a resume button and progress, the sprint and highlights beside it, and a row of the weekend’s other sessions.
FIG 01The race weekend, laid out for a remote. It has the race with a button to resume from where I stopped, the other sessions, and highlights.Screenshots of the app at TV size, 14 Oct 2026, with my own F1 TV subscription. The race video is hidden, with a blurred image behind the player screens.

What it looks like

A timing tower for all 22 cars at lap 38 in two columns: position, driver code, tyre compound, last lap time, gap and coloured sector bars, over a blurred race image.
FIG 02The timing tower over the race, showing every car's position, tyre, lap time, gap and sector times, kept in step with the video.Screenshots of the app at TV size, 14 Oct 2026, with my own F1 TV subscription. The race video is hidden, with a blurred image behind the player screens.
A camera picker over the player: the international feed, F1 Live, the driver tracker and the data channel, then each team’s onboard cameras by driver.
FIG 03Switching cameras. The main feeds come first, then every driver's onboard camera, grouped by team.Screenshots of the app at TV size, 14 Oct 2026, with my own F1 TV subscription. The race video is hidden, with a blurred image behind the player screens.
The 2026 season list: each Grand Prix with its round number, flag and dates, the Singapore Grand Prix marked as viewing and later rounds as upcoming.
FIG 04The whole season, with the weekend being watched marked.Screenshots of the app at TV size, 14 Oct 2026, with my own F1 TV subscription. The race video is hidden, with a blurred image behind the player screens.

1Context

I built this because I love F1. I follow every race weekend, and I wanted the onboard cameras and live timing on the big TV, from the sofa, with just the remote.

Lights Out is an unofficial client for F1 TV on LG webOS TVs, built for the remote. It needs your own F1 TV subscription and the Homebrew Channel (a community app installer) on the TV, so its audience is narrow. It is a personal project with one developer and one TV, and I have no audience numbers to report. The code is open source on GitHub, and I have submitted the app to the Homebrew Channel, where it is waiting for review.

I built it over 14 days in September 2026.

2Constraints

  • A ten-foot UI. I get a D-pad and no pointer, so focus is the only input.
  • A TV that decodes one protected stream at a time.
  • Two unrelated clocks. The archive has its stream clock and the video has its own playhead.

3What I built

Focus moves by geometry. When I measured only the distance between tile centres, pressing Left from a tile went to a small tile below it instead of the tall tile beside it. So I now score the candidates by band priority and edge alignment, and focus bounces back at the end of a row.

A TV screen with neutral tiles and a focus ringA hero tile and several smaller tiles. Focus starts on Tile A, top right. Pressing Left from Tile A should go to the hero tile beside it, not to the small tile that is merely closer to its centre. Hero Tile A Tile B Tile C Smalltile Tile D Rail 1 Rail 2 Rail 3

Focus: Tile A

Press Left from Tile A, then switch the scoring and try again.

FIG 05Remote-control navigation on plain tiles. Switch the scoring method to replay the navigation bug I fixed.Neutral tiles. No broadcast footage.

The timing tower joins two clocks. The archive's heartbeat pins its stream clock to UTC, and the video's program date-time pins the playhead to UTC. The app then asks what was true at that instant, so no manual sync is needed, and replays go through the same reducer as live data.

Two clocks joined on one UTC timelineTwo clocks that are unrelated on their own. The timing archive has a stream clock, pinned to UTC by a heartbeat. The video has a playhead time, pinned to UTC by its program date-time. Both are placed on one UTC timeline, so the timing tower can ask what was true at one instant.Timing archivestream clock,pinned by a UTC heartbeatVideoplayhead time,pinned by its program date-timeUTCthis instantThe timing tower asks:what was true then?Two clocks joined on one UTC timelineTwo clocks that are unrelated on their own. The timing archive has a stream clock, pinned to UTC by a heartbeat. The video has a playhead time, pinned to UTC by its program date-time. Both are placed on one UTC timeline, so the timing tower can ask what was true at one instant.Timing archivestream clock,pinned by aUTC heartbeatVideoplayhead time,pinned by itsprogram date-timeUTCthis instantThe timing tower asks:what was true then?
FIG 06The archive's stream clock and the video playhead are both pinned to UTC, so they meet at one instant.Diagram by me

Camera switching groups the feeds by team. When rail switching stuttered, I replaced CSS masks with gradient overlays, slid only the header and hero, and requested thumbnails at the size they are drawn. I recorded no before-and-after frame rates, so I make no smoothness claim.

4Measurements

ReadingWhat it shows
26 feedsFeeds you can switch between in one race session, all 22 cars' onboards included.
~20,000 recordsReal timing records from a session, replayed through the live timing code.
5,216 lines, 2,319 lines and 400 linesMy code: the TV app, the service that runs on the TV, and the build, deploy and test scripts.

Seasons are browsable from 2018. In the decoder test, both two windows and four windows corrupted, and four also raised a decode error. A single stream is clean.

I did not measure frame rates, the offset between tower and picture, or cold start, so I record no figure for any of them.

5What broke

  • Replays were kinder than live races. The player worked on every replay I had, and the first live session behaved differently. I found the difference by testing on the TV.
  • A pre-drawn circuit, dropped anyway. It sat within ~2% of real telemetry and I still removed it. The live layer fits itself to what has arrived so far, so the two layers cannot agree early in a session. The map now just builds up as data arrives.
  • Multiview, cut by measurement. I wanted several windows at once, but the TV limits how many protected streams it decodes together, so I removed multiview. The code is still in version history if I want it back.
  • A wrong theory. A phantom "load failed" message appeared while video played, and I blamed an autoplay race. Dumping the real error showed a renamed library call, so I fixed it and wrapped each cosmetic step so that one error cannot stop the steps after it.

Three things were still open at my last handover note, on 26 Sep 2026. Pressing Back leaves the player after as many presses as the tower was opened, the tower runs ahead of the picture, and the track map works live only.

6What I'd change

  • The reducer, the focus scorer and the clock join have no unit tests. The replay script is my only automated check, so I would add unit tests to those three first.
  • Measure the tower offset with a filmed test before applying the one constant that would fix it.
  • For a demo video, add a mode that runs on public data with neutral thumbnails.

7Credits and disclosures

  • Prior art and research I learned from: MultiViewer, f1viewer, FastF1, OpenF1 and an existing community client for webOS, mariovalney/f1tv.
  • Open source this stands on: Shaka Player, the webOS TV libraries, Barlow (OFL) and a set of flag icons (MIT).
  • Tools: I designed the TV interface, the timing logic and the release plan, and tested every build on the TV with real session data. AI coding agents help me write code faster.
  • Media: no broadcast footage. The home-screen screenshot shows F1 TV's own thumbnails, as the app displays them. The icon is a neutral mark with no Formula 1 logos or livery.

hi@amogh.cloud · Resume