You are reading the development docs (2026.12.1-dev.1): features here may not be released yet.
Skip to content

Connection Overlay ​

The connection overlay covers the screen when a browser loses its connection to Home Assistant, and takes itself away when the connection is back. On a wall tablet or kiosk you see at once that the dashboard is offline, instead of a screen quietly going stale.

  • It is set up in the Connectivity tab of LCARdS Config, and is off until you turn it on.
  • It can show styled text, any card, or the Borg assimilation, over animated effect layers.
  • Settings can be the same everywhere, or differ for one user or one device.

Try it

Simulate Disconnect at the bottom of the tab shows the overlay with your current settings, saved or not, while the dashboard keeps running.


How it works ​

LCARdS watches each browser's connection to Home Assistant and shows the overlay when it drops.

  • After a drop it waits for the disconnect tolerance (2.5 seconds by default) before showing the overlay, so short blips during a restart or a network handover pass unseen.
  • When the connection is back, and has held for a second, the overlay goes. A short Connection Restored message can show first.
  • The overlay covers everything on the page, Home Assistant's own sidebar and header included. It does not wait for the alert mode: during an alert it shows over the alert overlay, and its effect layers take the place of the alert's.

Setting up ​

Open LCARdS Config > Connectivity, change the settings, and click Save.

  • Nothing is live until you save. A banner says when there are unsaved changes; Discard changes goes back to the stored values.
  • Pick the scope first (Global, User or Device): Save writes to that one.

General ​

Turns the overlay on, lets people close it, and sets how long a drop must last before it shows.

SettingDefaultDescription
Enable connection overlayoffShow the overlay when the connection to Home Assistant is lost
Allow user to dismissonA click on the overlay's backdrop closes it. It comes back at the next disconnect
Disconnect tolerance (ms)2500How long to wait after a drop before showing the overlay, 0 to 30000. 0 shows it at once; 2000 to 5000 suits phones and shaky connections

Screen Overlay ​

What the overlay shows when the connection is lost, and when it comes back. The section is collapsed at first.

Display style ​

Display style picks one of three kinds of overlay.

  • Simple text: styled text over the effect layers. See Simple text mode.
  • Custom card (YAML): any Home Assistant card, centred or placed where you like. See Custom card mode.
  • Resistance is Futile: the Borg assimilation runs instead of an overlay. See Borg mode.

Simple text mode ​

Styled text, with its own font, size and colour, for the lost and the restored message.

Connection Lost ​

SettingDefaultDescription
Message textConnection LostThe text shown while disconnected
Text colourvar(--error-color)Any CSS colour, CSS variable or theme token
FontAntonioPick from the font list, or type a font name
Size42 pxFont size, 1 to 200 px
Weight400CSS font weight: 400, 700, bold, lighter ...
TransformUPPERCASEUPPERCASE, Title Case or None

Connection Restored ​

A short message when the connection is back, which goes by itself.

SettingDefaultDescription
Show reconnect messageonShow the message on reconnect. Off: the overlay just goes
Message textConnection EstablishedThe text shown on reconnect
Text colourvar(--primary-color)Any CSS colour, CSS variable or theme token
Font, Size, Weight, Transformas for Connection LostSet separately from the lost message
Auto-dismiss after (seconds)3How long the message stays, 1 to 30 seconds

The restored message shows only when the overlay itself was shown: a drop shorter than the tolerance shows neither.

Custom card mode ​

Any Home Assistant card as the disconnect screen: an LCARdS button, a picture, a markdown card, a whole stack. Paste its YAML into the editor; it shows over the effect layers.

  • Grids and stacks may need a width and height: CSS units such as 400px, 30vw or auto.
yaml
# A card to paste into Connection Lost Card
type: custom:lcards-button
preset: lozenge
text:
  name:
    content: NO SIGNAL
    show: true
style:
  card:
    color:
      background: var(--lcars-alert-red)

Connection Lost Card ​

SettingDefaultDescription
YAML editoremptyThe card's YAML, as in a dashboard
PositioncentreWhere the card sits: one of nine places, from top left to bottom right
WidthautoCSS width: 400px, 40vw, auto
HeightautoCSS height: 300px, 30vh, auto

Connection Restored Card ​

SettingDefaultDescription
YAML editoremptyA card shown on reconnect. Empty: the text reconnect message shows instead
Show reconnect messageonShow the card (or text) on reconnect
Auto-dismiss after (seconds)3How long it stays, 1 to 30 seconds

Borg mode ​

Resistance is Futile: on disconnect the Borg assimilation runs instead of an overlay, and reverses when the connection is back. The dashboard turns Borg green, its font changes, and the assimilation intro plays over it.

  • The assimilation starts once the disconnect tolerance has passed, as the overlay does, so a short blip shows nothing. A click ends the intro; the Borg colours and effects stay until the connection returns, when the normal deassimilation plays.
  • Messages, cards and the Effect Layers section are not used. Instead the mode has its own Canvas Effect (always the Borg intro, with its settings), Backdrop Filter, Colour Tint, Palette Hue and Font Swap.
  • Simulate Disconnect runs the assimilation with these settings; Simulate Reconnect or Clear Test reverses it.
SettingDefaultDescription
Canvas Effectthe Borg intro: 8 sites, 5 tendrils each, 600 px, 2 particlesThe intro's settings: renderer, injection sites, tendrils, particles, colours, cube, signal corruption and overrun. See intro.canvas
Backdrop Filtersaturate 200%A filter on the dashboard during the intro, or None (disabled)
Colour Tintcolor-tint, a dark greenA colour over the dashboard during the intro, or None (disabled)
Palette hue (degrees)110The hue the dashboard colours turn toward, 0 to 359: 0 red, 60 yellow, 110 Borg green, 180 cyan, 240 blue, 300 magenta
Enable Borg font replacementonOff: the dashboard keeps its font; everything else still runs

Effect Layers ​

Three full-screen effect layers behind the message, each set on its own: an animated canvas, a colour overlay and a backdrop filter. The section is collapsed at first, and is hidden in Borg mode.

LayerWhat it doesDefault
Canvas EffectAn animation drawn over the page: static, pixelate, glitch, scanlinesstatic at 0.55 opacity
Colour OverlayA colour over the pagecolor-tint with rgba(0,0,0,0.55)
Backdrop FilterA CSS filter on everything behind it: blur, saturate, grayscale and moreNone (disabled)

Configuring a slot ​

Pick an Effect Preset for a layer; its settings appear under it. The list holds the built-in screen effects and any a content pack adds. None (disabled) turns the layer off.

PresetLayerSettings
staticCanvasOpacity, Grain Scale, Tint Color, Tint Strength
pixelateCanvasPixel Size, Opacity, Light Variance, Base Lightness, Tint Color, Tint Strength
glitchCanvasIntensity, Max Shift, Band Height, Opacity, FPS
scanlinesCanvasLine Height, Opacity, Scroll Speed
color-tintColourTint Color (any CSS colour; use rgba() for transparency)
vignetteColourOpacity
blurBackdropBlur Amount (8px)
saturateBackdropAmount (200%)
grayscaleBackdropAmount (100%)
contrastBackdropAmount (200%)
hue-rotateBackdropAngle (180deg)

Mix them freely: a grayscale backdrop with a color-tint overlay and no canvas gives a washed-out, tinted page with no animation.


Test Controls ​

Preview the overlay with your current settings, saved or not. The dashboard keeps running behind it; nothing is actually disconnected.

  • Simulate Disconnect shows the overlay (and is greyed out while it shows).
  • Simulate Reconnect plays what happens when the connection comes back, the restored message included.
  • Clear Test removes it.

Workflow

Change a setting, click Simulate Disconnect, look, adjust, repeat. When it looks right, click Save.


Scope and per-device overrides ​

Settings can be the same for everyone, or differ for one user or one browser. A browser uses its device's setting first, then its user's, then the global one, then the built-in default.

Device  →  User  →  Global
ScopeWho it applies to
GlobalEvery user and device
UserYour Home Assistant user, on any device
DeviceThis browser, whoever is logged in
  • Pick the scope with the switch at the top of the tab. Each setting shows a badge for where its value comes from; the clear button next to it removes the override at this scope.
  • Save (scope) writes only the settings you changed, so the others keep coming from the scopes below.
  • Reset (scope) removes every override stored at that scope, after a confirmation.

Admin: editing another device or user ​

Administrators can pick another user or device in the scope switch and save settings for it. The browser it belongs to picks them up within seconds, with no reload.

  • If you have the tab open on a device whose settings another administrator changes, and you have no unsaved edits, the tab refreshes itself.
  • With unsaved edits, a banner says Settings were updated from another device with Discard edits & refresh; your edits stay until you choose.

Broadcast buttons ​

Two administrator buttons at the bottom act on every connected browser.

ButtonEffect
Push Live ConfigEvery connected browser reads its overlay settings again, with no page reload. Use it for a device that was offline when you saved
Reload All ClientsEvery connected browser reloads its page. A last resort

Upgrading: existing stored settings ​

Settings saved before field-by-field saving existed may hold every field at one scope. That is harmless: the values are right and the scopes still apply in order.

To keep only the overrides you meant at device scope:

  1. Open Connectivity, pick the Device scope for that device and note which settings should differ from the user or global ones.
  2. Click Reset device to remove all its device overrides.
  3. Change and save only the settings you want to pin to the device.

Afterwards only those settings show a device badge.


Released under the MIT License. | About