Skip to content

Releases

HA Calm TV 0.3.0

Choose a tag to compare

@NeoCarlos NeoCarlos released this 21 Nov 03:30
da37feb

Calm TV can now be set up without writing calm-tv.json, runs as a Home Assistant dashboard on a
tablet, gains a Music screen, and has backgrounds that follow the time of day.

Upgrading from 0.2.0: install the new app, then turn the Home button service back on (Settings →
Home button; Android switches it off on every update). Your calm-tv.json keeps working as it is.

Set up without JSON

  • Rooms from your Home Assistant Areas: leave rooms out of calm-tv.json and each Area becomes
    a room, in floor order, with its lights, plugs, curtains, thermostats, locks, cameras, door and
    window sensors, and a scene picker from its scenes. Only each device's main control is shown, and
    garage doors stay out of rooms. Tidy it in Home Assistant: Areas, names, the Visible switch, or
    the label "Hide in Calm TV". Rooms update when Areas change. Rooms you list keep working as before.
  • Keep the home's setup in Home Assistant: Settings → Home Assistant → Home setup → Keep it in
    Home Assistant copies calm-tv.json into Home Assistant's own storage (an admin does it once, for
    example from Calm TV's dashboard). It's no longer a public file, it's in Home Assistant's backups,
    and every TV and dashboard follows changes at once. calm-tv.json in www still works as before.
  • Edit the home setup in Calm TV: Settings → Home Assistant → Home setup → Edit, in the dashboard
    or a browser. Screens & rooms turns screens on and off and orders them, and switches rooms
    between your Home Assistant areas and your own list, which can start from your areas and be
    reordered, renamed and trimmed. Text shows the whole setup, checked as you type. Saving keeps
    it in Home Assistant (admins). A scene can now be a list of scenes ("scenes": [...]), as rooms
    from areas build them.
  • Choose apps for the dock on the TV: Settings → Arrange dock → Choose apps lists the TV's
    installed apps; OK adds one to the dock or takes it off, with no JSON and no package names. Apps
    without one of Calm TV's icons show their own Android icon, in colour.
  • Arrange dock: Settings → Arrange dock → Move tiles moves them with the remote (OK picks up,
    ←/→ moves, OK puts down). Choices and order are kept on the TV; "Back to calm-tv.json's dock"
    resets both.
  • Choose your screens: "screens": ["apps", "smarthome", "weather"] in calm-tv.json (or the
    setup editor) shows only those, in that order (Apps always first). Leave it out for all of them.
  • More app icons: Jellyfin, Emby, Kodi, Spotify, YouTube Music, Apple Music, TIDAL, Home Assistant,
    Twitch, Steam, NVIDIA (GeForce NOW), PlayStation, Crunchyroll, Paramount+, Tubi and YouTube Kids
    (from Simple Icons), and the current Peacock mark. icon in calm-tv.json can also be your own SVG
    or PNG in Home Assistant's www folder, with no rebuild.

Dashboard mode

  • Calm TV on a tablet (?dash), as a Home Assistant dashboard. A tab bar (time, screens, now
    playing, Music, Settings) replaces the Apps screen; everything can be tapped, dimmers are dragged,
    the thermostat has − and +, and swiping changes screens. Inside a dashboard it uses Home
    Assistant's own sign-in. npm run publish:ha puts it in Home Assistant's www folder and updates
    the dashboard's address. See docs/dashboard.md.

Music

  • Music screen (with "music" in calm-tv.json): the album art with the song, artist and time
    beneath it, and the main controls on a frosted bar. Resting, the bar fades and the art settles to
    the middle. Nothing playing: a placeholder cover with a music note. The album's colour can show
    behind it: "background" under music (or Settings → Appearance → Music background) picks
    none (the default), glow, wash or solid. A thin wave under the time lights up as the song plays
    (Music wave, on by default). On the dashboard, Music is a tab.
  • Music panel, under More on the Music screen: now playing, controls, shuffle and the queue,
    speakers and library buttons (Artists, Albums, Playlists, Radio…) that open a browsable grid,
    through Home Assistant (made for Music Assistant). Group speakers picks speakers to play along
    with the chosen one, with Play everywhere; OK on the chosen speaker opens its own volume slider,
    and the volume buttons turn every grouped speaker. In demo mode too.
  • Music Assistant in Settings: Settings → Home Assistant → Music Assistant (or the gear in the
    Music panel) connects the TV to Music Assistant with its address and a token, kept on the TV only.
    Optional: it adds the whole queue (Home Assistant only passes what's playing and what's next),
    where OK jumps to a song. A token can also be given with adb … --es maToken <token>.

Look and feel

  • Backgrounds that follow the time of day: a background can come in dawn/day/dusk/night
    versions (NN-name.night.jpg, or "night" next to "url" in backgrounds). Choose it and it
    follows the real sunrise and sunset (from sun.sun, or the clock); its tile in the picker has a
    sun-and-moon badge. Other backgrounds stay as they are. The new built-in Alpine Lake Time of
    Day
    is made this way, as video and as photos (thanks, autokey-git).
  • Living sky options ("sky" in calm-tv.json): "grade": true tints every other background
    for the time of day too (warmer dawn and dusk, a darker, bluer night with stars), and
    "effects": true (experimental) draws the weather: rain, snow, fog, cloud cover and lightning; a
    scene map (map in backgrounds) adds ripples on the water and snow settling on the ground.
    Preview with ?demo&sky=night&wx=snowy.
  • Fade when idle: after 8 seconds without a key press, every screen rests: its bar fades away
    and only the clock, the weather, the album art… stay. The first key or tap only brings the bar
    back, so ↑ or OK never acts by accident. Settings → Appearance, or "fade" under display.
  • Settings → Appearance gathers everything about how Calm TV looks: Background, Music
    background and wave, video backgrounds, visual effects and the frame-rate counter (it replaces
    Performance). Visual effects switches frosted glass and screen fades together; calm-tv.json's
    display can still set them apart. The menu is more compact, and scrolls if it ever gets taller
    than the screen.
  • Every row wraps around, like the dock: ← on the first room, day, event or Music button goes to
    the last, and → on the last to the first. So do the screens: ↑ on the first goes to the last, and
    ↓ on the last to the first (a swipe too, on the dashboard). Holding an arrow stops at the end.
  • Bigger doorbell window, and pause: "size" (width in % of the screen), "position": "center",
    "pause": true and "sound": true under doorbell, and a picture within a second from Home
    Assistant's camera proxy before live video connects. Over another app, Back now closes the doorbell
    window. Reolink doorbell example in docs/home-assistant.md.
  • Faster Settings: moving up and down the Settings menu (and room panels) no longer repaints
    the frosted panel: the highlight is its own layer that only fades, like the dock's.

On the TV

  • One input layer for every panel (src/focus.ts): rooms, Settings, Music and the background
    picker share how the remote, touch and a mouse work, so OK and a tap always do the same thing. The
    arrows move to the nearest item by position, going back the way you came returns to where you
    were, and a button held on the TV's remote (whose repeats aren't marked as such) stops at the end
    of a row or menu and presses OK only once (src/keys.ts).
  • Settings → Home button says whether Calm TV's Home button service is on, and opens the TV's
    settings for it. The first time Calm TV opens after an update with it off, a note says how to turn
    it back on.
  • Garage doors in the ★ panel: a door sensor with control opens and closes its garage door,
    never by accident: it takes a deliberate second OK, OK stops a door that's moving, and nothing
    happens while its state is unknown.

Demo mode

  • Live demo: neocarlos.github.io/ha-calm-tv, built from
    the repo by a GitHub Pages workflow (npm run build:site): always in demo mode, with the background
    videos re-encoded about 60% smaller for the web.
  • On-screen remote in demo mode on touch screens: arrows, OK and Back, under the picture in
    portrait and beside it in landscape.
  • Demo mode on a TV: adb shell am start -n io.github.neocarlos.hacalmtv/.MainActivity --es demo ""
    opens it (--es demo off goes back). Demo mode keeps its own saved choices, so trying it never
    changes the TV's real background or settings, and it never opens a Home Assistant sign-in page.
  • Tour video: demo mode can show captions (ctDemo.caption), and scripts/record-tour.mjs
    records a captioned tour as an MP4, optionally with music.

Fixes

  • After signing in with Home Assistant's login page, the address keeps its other settings (it used
    to drop all of them).
  • Settings: the round button in a sub-menu goes back a level when clicked, as Back does.

For contributors

  • npm test: type-checks and drives the demo with the remote and with taps; it runs on every
    pull request. A pull request template lists what to check.

HA Calm TV 0.2.0

Choose a tag to compare

@NeoCarlos NeoCarlos released this 15 Nov 19:29
  • Demo mode: open the app with ?demo to try every screen against a made-up home (the example
    config), with sample calendar events, a week of weather and a placeholder doorbell camera. No Home
    Assistant needed. ?demo&at=2026-11-14T18:30 sets the clock, for repeatable recordings.
  • Backgrounds: the repo now ships two backgrounds made for the project, "Mountain Lake Sunset"
    and "Stylized Forest Brook", each as a photo and a seamlessly looping video (crossfaded with
    itself), in place of the eight Unsplash photos. Other photos and clips you add stay in your own
    builds but out of git. The chosen photo is remembered by name, so adding or removing photos
    doesn't change it.
  • Settings → Performance: switches for video backgrounds, frosted glass and screen transitions
    (new: Instant), and a frame-rate counter for comparing on the TV. Each TV keeps its own choices;
    display in calm-tv.json sets the default (now including transitions).
  • Settings, reorganized: Background, Performance, Home Assistant (connection, address, home
    setup), Google TV home and TV settings. Sub-menus open in place; Back returns.
  • The background picker follows the video setting: videos while they're on, photos while they're off.
  • Light control: pressing ◀ right after switching a light on now dims it, instead of turning it
    back off.
  • README: opens with the video background, then a section per feature, each with an animation
    recorded from demo mode. npm run record:demo re-records them (needs Chrome, ffmpeg and img2webp).

The APK on the release page is a debug build with the two project backgrounds. Build your own from
source for anything long-term (see docs/tv-setup.md).

HA Calm TV 0.1.0

Choose a tag to compare

@NeoCarlos NeoCarlos released this 15 Nov 17:18

The first shared version: a calm Google TV home screen driven by Home Assistant.

  • Four screens: Apps (clock and a dock of your streaming apps), Smart Home (rooms with lights,
    plugs, curtains, scenes, thermostat, live cameras, and status-only locks, sensors and vacuums),
    Calendar (month grid, tonight's dinner, the next 14 days by day) and Weather (7 days, hour by hour).
  • One app, any home. Rooms, apps, calendars, weather and the doorbell come from calm-tv.json,
    read from Home Assistant's www folder or a file pushed to the TV. Setup asks for Home Assistant's
    address once and goes straight to its sign-in.
  • Backgrounds: eight photos, plus your own looping video clips (none included) with a thumbnail
    picker. Frosted or tinted glass, chosen in the config.
  • Remote-first: the Home button returns to Calm TV; Settings can switch back to Google's home.
  • Outside data is decoded where it enters, so an unexpected attribute or a typo in the config
    shows a clear message instead of breaking a screen.

The APK on the release page is a debug build with no video clips. Build your own from source for
anything long-term (see docs/tv-setup.md).