Video
On this page
The Video pane plays a video or audio link on your panel when Home Assistant sends one. A video plays full screen, with touch controls in one glass dock at the bottom. A link with no picture, such as a podcast or a radio stream, plays as a soft glow along the bottom edge of the screen that you can pull up for controls, so your dashboard stays usable around it. The player takes its colors from the theme you picked on the Appearance page.
Everything runs over the panel's native ESPHome connection, with nothing extra to install in Home Assistant.
Note
Feature status: Video is in alpha. It plays progressive files (MP4, WebM, MP3, AAC, FLAC and more) and HLS streams, from Home Assistant or cast from a phone. Casting from Home Assistant's media browser (DLNA) comes later, behind its own switch.
Turn it on
The Video pane is off by default, because it takes over the screen when something plays. Turn it on in either of these places:
- On the panel or Manage page under Settings → Panes → Video (using the switch at the top right)
- In Home Assistant, by enabling and toggling the panel's Video switch on its ESPHome device page
The pane needs a speaker, so it shows only on devices that have one.
Play something
Each panel adds two ESPHome actions to Home Assistant, named after the panel's ESPHome node name with hyphens replaced by underscores (see Names):
| Action | What it does |
|---|---|
esphome.<node_name>_play_media |
Plays a link, in place of anything already playing |
esphome.<node_name>_stop_media |
Stops playback and closes the player |
You can copy your panel's exact action names from Settings → Panes → Video → In Home Assistant. The examples below use a1b2c3 as a placeholder.
Important
Encryption required: The panel accepts these actions only from a Home Assistant that holds its ESPHome encryption key, so nobody else on your network can put something on your screen. Home Assistant 2026.11 and newer set up encryption automatically when you add the panel.
play_media takes three fields. Home Assistant requires every ESPHome action field, so always include all three: use "" for no title and "{}" when you don't need anything in data.
action: esphome.aqara_s1_plus_a1b2c3_play_media
data:
url: https://example.com/videos/garden-timelapse.mp4
title: Garden time-lapse
data: "{}"
The url can be any http:// or https:// link the panel can reach. A link that starts with / points at your Home Assistant, which is handy for files in its www folder, served at /local/:
action: esphome.aqara_s1_plus_a1b2c3_play_media
data:
url: /local/doorbell-clip.mp4
title: Front door
data: '{"subtitle": "Recorded 2 minutes ago"}'
The panel sends no Home Assistant token with the request, so it plays only what Home Assistant serves without a sign-in. Files in the media folder (/media/local/…) need a signed link that scripts can't create yet, so copy clips you want to play into the www folder in your configuration folder instead. If you create www for the first time, restart Home Assistant once so it starts serving it.
Warning
Anything in www can be opened without signing in by anyone who can reach your Home Assistant and knows the path, and that includes the internet if your Home Assistant is reachable from outside. Don't put private recordings there.
The data fields
Pass extra options inside data as a JSON string:
| Key | Description |
|---|---|
subtitle |
A second line under the title |
artwork |
A picture for the audio halo's card and sheet when the link has no video, as a full link or a path on Home Assistant |
start |
Where to start, in seconds |
action: esphome.aqara_s1_plus_a1b2c3_play_media
data:
url: https://example.com/podcasts/episode-12.mp3
title: Episode 12
data: '{"subtitle": "Home Automation Weekly", "artwork": "https://example.com/podcasts/cover.jpg"}'
On the panel
- Tap the picture to show or hide the controls. They hide by themselves 4 seconds after your last touch while the video plays, and a thin progress line stays at the bottom.
- Double-tap the left or right side of the picture to skip back or forward 10 seconds.
- The dock has Play/Pause, skip back and forward, the timeline (drag it to jump), the speed (0.5× to 2×) and the volume, which is the panel's own volume.
- Close stops playback, and the panel's Video sensor in Home Assistant goes back to
idle. - A live stream shows a Live tag instead of the timeline and speed.
- If a link won't play, the panel says why and offers Try again. The message closes by itself after 8 seconds.
- Picture shape: under Settings → Panes → Video, choose Whole picture (black bars where the shape differs, the default) or Fill the screen (crops the edges).
On a frame without a touchscreen, such as the lululemon Mirror, the title and progress show for a few seconds when something starts and stay up while it's paused. Stop it from Home Assistant.
Audio with no picture
A podcast, a radio stream or any other link with no picture plays as the audio halo: the bottom edge of the screen glows softly in your theme's two colors while it plays, and your dashboard stays usable everywhere else.
- What's playing: when something starts, a small card rises above the glow for a few seconds with the cover, the title and the artist. The first time, it says Pull up for controls.
- Controls: drag the small tab in the middle of the glow up, or tap it. A sheet rises with the cover, the timeline (drag it to jump), skip back and forward 10 seconds, Play/Pause and the panel's volume. Close stops playback, as in the full-screen player.
- Putting it away: drag the sheet down, tap anywhere outside it, or leave it. It goes back down 8 seconds after your last touch, or 20 seconds while paused. A tap outside only closes the sheet; it doesn't press anything on your dashboard.
- Paused draws the glow in toward the middle and dims it, and the tab shows a pause mark.
- The glow breathes slowly with how loud the audio is. With animations turned off in Android, it holds still.
- With other things on screen: while the voice assistant listens, the glow steps aside and an open sheet closes. Timers keep their own spot: at the default top middle, their countdown lights the top edge and the halo keeps the bottom. Timers you moved to the bottom take the bottom edge's light while they run, and the tab moves aside so it never sits under them. When a timer finishes, the sheet closes and the tab hides until you dismiss it.
- On the lululemon Mirror, there's no tab or sheet. What's playing rises by itself when something starts and stays up while it's paused, with a note to use Home Assistant.
While something plays, the Music pane goes quiet, and it comes back when playback stops. Its audio halo, if you turned it on, hides meanwhile. When the voice assistant answers, an announcement plays or a notification chimes, the video's sound drops for a moment. The screen stays on while a video plays (at its usual night brightness), and follows its usual timeout while audio plays. If the screen is turned off while a video plays, the video pauses; audio keeps playing.
Cast from a phone (FCast)
The panel can also be an FCast receiver, so you can cast to it from a phone or computer. Grayjay and FCast's own sender apps find the panel on your network and send it what to play. It plays in the same player, with an FCast tag where Home Assistant's items say Home Assistant.
FCast is off by default. Turn it on in either of these places:
- On the panel or Manage page under Settings → Panes → Video → Cast from a phone
- In Home Assistant, by enabling and toggling the panel's FCast switch on its ESPHome device page
Then pick the panel by its name in the sender's cast menu. If it doesn't show up, add it by the panel's IP address and port 46899.
Warning
Anyone on your network can cast while FCast is on. The protocol has no pairing or password, so any device that can reach the panel can put something on its screen. Leave it off if you don't trust everyone on your network.
While something you cast plays:
- The sender's pause, seek, speed and stop control the panel, and its progress bar follows the panel.
- The sender's volume sets the level of what it cast, under the panel's own volume. It never changes the panel's volume.
- Close on the panel stops playback and tells the sender, which shows that nothing is playing.
- Anything new from Home Assistant, or from another phone, replaces it, and the phone that cast it sees that it stopped.
- A phone only controls what it cast. It can't pause something Home Assistant is playing.
The panel plays links to video and audio files and HLS streams. It doesn't show pictures yet, and it doesn't play playlists or manifests a sender sends along instead of a link (some Grayjay sources send DASH this way). The sender shows a message saying so.
FCast is a trademark of FUTO; Glassworks isn't affiliated with FUTO.
In Home Assistant
| Entity | Type | What it does |
|---|---|---|
| Video switch | Switch | Turns the pane on or off |
| Video sensor | Text sensor | What the player is doing: idle, loading, playing, paused or error |
| FCast switch | Switch | Turns the FCast receiver on or off (Cast from a phone). Disabled until you enable it |
Use the sensor to react when the player closes. It goes back to idle whenever playback ends: someone pressed Close, the item finished, an error closed it, stop_media ran or the pane turned off. Copy the sensor's entity ID from its page in Home Assistant, since it follows the device's name there; the one below is only an example:
triggers:
- trigger: state
entity_id: sensor.living_room_panel_video
to: idle
What plays
The panel plays with Media3, the same player its announcements use, and decodes with the device's own hardware.
| Works | Doesn't work yet |
|---|---|
| MP4, WebM, MKV, MP3, AAC, FLAC, Ogg, Opus and WAV over http or https | DASH and RTSP streams (the panel says it can't play them) |
HLS streams (.m3u8), live or not |
Links that need a Home Assistant token |
| Links that redirect, including from http to https | DRM-protected video |
Older and smaller devices decode less. If a 4K or HEVC video fails with "This panel can't decode it", try a 1080p H.264 version.