Repository navigation
Releases
v0.12.0 (public beta)
Glass Panes v0.12.0 (public beta)
The biggest update since the beta started: icons, colours that follow your data, a table, a widget catalogue, warnings you can edit, groups you can reuse, pairing a mirror with a code, controls for the mirror in Home Assistant, and a mirror that comes back by itself after a power cut.
Highlights
- A mirror that starts up properly after a power cut. With Mirror app 0.12.0, the loading screen no longer stays stuck over a page that is already working, and the app no longer restarts itself for no reason when the mirror's clock jumps from 1970 to today. Recommended for everyone (details below).
- Pair a mirror with a six-digit code instead of a long command with a token in it.
- Icons, tiles and chips, a Table widget, and colours and sizes that change with a value.
- A widget catalogue, editable warnings, reusable groups, a snap grid and zoom in the builder.
- Brightness and presence for the mirror as Home Assistant entities, plus a blueprint that brightens the mirror when someone walks up.
What changed
Icons and looks
- Icons: a bundled library of 7,400+ Material Design Icons (Apache 2.0). Add an Icon from Facets, or give an Entity value an icon beside its number. Choose one with the search box, or pick Entity's own to use the icon the entity already has in Home Assistant. The display never downloads the library: it asks Home Assistant for just the icons a pane draws (a few hundred bytes each), so the mirror holds no icon data it does not draw. In a test with a dozen different icons that was about 8 KB over one request instead of about 1.6 MB over ten.
- Tiles and chips: an Entity value can now be drawn as a tile (a rounded card with the entity's icon in a tinted circle, the name over the value) or a chip (a small pill with the icon and the value). Pick Look in the widget's More options. A colour-by-value rule tints the icon while the words keep your theme's colours.
- Dividers: five line styles (solid, dashed, dotted, double, fade), and a box look: a rounded outline, with an optional soft fill, that frames a group of widgets.
- Colours and sizes by value: on any widget with an entity (Entity value, Progress ring, Icon and so on), "Colours and sizes by value" changes its colour, size, weight, opacity or icon when the value is above, below, between or equal to something. The first rule that holds wins.
- A Table widget: each entity you bind is a row; each column shows the entity's name, its state, one attribute or fixed words. Times, dates, relative times, durations ("1 h 15 min") and numbers are formatted for you, and each column can have its own colours by value. A calendar-style sensor with start, leave-by and drive-time attributes becomes one tidy row.
News and sports
- News: teaser headlines and video items are skipped. A headline on a mirror has to make sense at a glance, so the News widget now drops headlines that only invite you into the article ("ERs are losing money. Here's why", "What it means for you", "The hidden cost of ..."), and items that are really a video, a livestream, audio or a photo gallery (WATCH:, LISTEN:, "in photos" ...). A headline that states a number stays even when it starts like a label. This joins the existing rules that skip questions, explainers and very long headlines.
- Sports: "Headline above the logos". A new option for the rows layout (
head_top, in the widget's More options) puts Final, Live or "Today · 7 PM" above the two logos instead of beside them, so a game fits a narrow column.
The builder
- A widget catalogue: the Widgets button shows every kind of widget with a live preview, one line about what it does and what to bind to it. While you edit, a card can add its widget to the pane. An unbound widget now says what it needs ("Needs: a weather entity").
- Warnings you can edit: the Status summary's checks are cards: pick the entity, a name, when to warn (is, is not, above, below, unavailable) and the words to show.
- Reusable groups: select two or more widgets and press Save as a group. It appears under Add, Groups, and drops into any pane with its widgets, look and entities.
- Snap grid and zoom: choose a 10, 20 or 40 px grid, or none, and zoom the editor with buttons or Ctrl and the mouse wheel.
- A widget placed below another keeps its link when you drag it. Dragging up or down changes the gap, sideways moves it across, and Unlink removes the link.
- Lighter Now playing: the cover is now shrunk by Home Assistant to the size the widget draws it, instead of the mirror loading a full-size cover twice, and the soft glow behind the card uses a tiny copy with no blur filter. If Home Assistant cannot shrink a cover, the full one is used as before.
- Clearer messages: a tooltip about something that does not fit names the widget you named, not an internal id. A pane with nothing on it says so on the display, dimly, for a few minutes. The toolbar wraps on a tablet, and name tags no longer pile up when you select several widgets.
Displays and the mirror
- A time zone on each display: the Displays page shows it and lets you change it. Leave it empty to follow Home Assistant's own zone, so a daylight-saving change is picked up. The Actions screen no longer insists on a name when you only change a zone.
- Pair a mirror with a code (mirror app 0.12.0): a mirror that is not set up shows a six-digit code and its address. Press Pair a mirror on the display, type them in, and Home Assistant sets the mirror up, including its login, with nothing to copy. The older command still works.
- Controls for the mirror in Home Assistant: a display with its mirror set up gets a Brightness number and a Presence detection switch. They show the mirror's real settings.
- A blueprint that brightens the mirror when someone is there and dims it a while after they leave. Import it from
blueprints/automation/glass_panes/presence_brightness.yaml(Settings > Automations & scenes > Blueprints > Import Blueprint).
For agents
- Agents can set colours by value on widgets, and add a group you saved, through the draft tools.
get_schemadescribes icons, tables, dividers and warning checks. See agents.md.
Mirror app 0.12.0
Released alongside this as its own pre-release (app-v0.12.0). It fixes starting up after a power cut (a loading screen that could stay over a working page after a slow Wi-Fi start, and a pointless app restart when the clock jumps) and adds pairing with a code. The start-up fix is recommended for everyone; pairing needs it. See the app's release notes and compatibility.md.
Install or update
- HACS > Glass Panes > the three dots > Redownload, pick v0.12.0.
- Restart Home Assistant (Settings > System > the power icon > Restart Home Assistant), because this version adds Python parts (the new controls, groups and pairing).
- Reload the builder page.
- On the mirror:
adb install -r mirror-kiosk-v0.12.0.apkfrom theapp-v0.12.0release keeps your settings. The update guide has every step.
Your panes, uploads, bindings and display logins are kept.
Known limits
- The new builder features were checked by automated tests (the browser tests drive the builder against pretend data) and in the preview at phone, tablet and desktop sizes. The tablet layout has not been tried on a real tablet.
- Pairing, the brightness number and the presence switch were tested against a pretend mirror. The pairing screen has not been tried on a real mirror yet. The code and the login travel over your home network as plain
http, like the rest of the traffic between the mirror and Home Assistant: pair on your own network. - The Brightness number shows as unknown until a value has been set, because Android is in charge of the backlight until then. A brightness of 0 is as dark as the panel goes, not off. A screen on and off switch is not included yet.
- Colours by value work on widgets with a single entity and on table columns. A table's rows are entities, so a row cannot mix values from different entities.
- A group saved with entities keeps those entities. Drop it into another pane and it shows the same ones until you change them.
- The headline filter is a set of English wording rules. It will now and then drop a fine headline or keep a teaser; tell us which ones.
- Starting up still waits for the mirror's Wi-Fi, which on the tested unit takes one to two and a half minutes after power-on.
- The Bluetooth proxy and the voice assistant do not exist yet. The roadmap says what is planned.
Mirror Android image 2 (for Lululemon Studio RevP21)
Mirror Android image 2 (for the Lululemon Studio RevP21)
Ready-made system.img and userdata.sparse for the Lululemon Studio mirror (board MIR63A0-00-P1, revision RevP21). Follow part 1 of the install guide.
This permanently replaces the lululemon software and cannot be undone. No backup of the original can be taken first. Do not flash a mirror you still want to use as a Lululemon mirror.
What changed since image 1
- Fully dark sleep. When Android puts the screen to sleep, the panel now switches off completely, with no faint backlight glow behind the glass. Waking it gives a clean picture again.
- Only
system.imgchanged.userdata.sparseis the same file as in image 1.
Already on image 1? You only need the new system.img; the guide has update-only steps.
Check your download first
Both fingerprints must match before you flash anything (PowerShell: Get-FileHash .\system.img -Algorithm SHA256):
bdb6b8445296666162256affa968d590075f56a8ad2229930f8502b9703e35c1 system.img
74b1f57ac20ce7c56065083a2bc3ddd283493be29d851fd04efc156ec96cf908 userdata.sparse
The same two lines are in the SHA256SUMS file attached below.
What is in it
Android 6.0.1 for the Lululemon Studio mirror, with the Wi-Fi and camera support it needs, and the Glass Panes project ADB key.
Security: one shared ADB key
These images trust a single published key, the Glass Panes project key. Anyone with a USB cable plugged into a mirror running them can control it. The image does not turn on adb over Wi-Fi, so this takes physical access.
Licences and credit
The Android and kernel source keep their own licences. The vendor binaries (Qualcomm, Quectel) belong to their owners. This build stands on the work of the Lululemon-mirror community. Thank you to Onemoremichael, lrinQVQ, TimStewartJ, repairman29, porcuswine, vgab7 and everyone in the mirror-repurposing community. If you own any of this and want it changed or removed, please open an issue.
Tested on
One unit: a RevP21. Sleep gave a fully dark panel and waking gave a clean picture, over two cycles. Other units and revisions are untested. Please tell us how yours goes with the "Report your mirror" issue form, and do not post your mirror's serial number.
Mirror app 0.12.0
Mirror app 0.12.0
A start-up that no longer gets stuck after a power cut, and setting a mirror up with a six-digit code instead of a long command.
Starting up
- The loading screen no longer sticks over a working page. When Wi-Fi took a while after power-on, the first page loads failed (as expected) and were retried. But the first load that worked after Wi-Fi came up was mistaken for the black "can't reach it" page, so the loading screen stayed up over a page that was running fine, and nothing retried. Fixed. As a safety net, the page's own "still running" heartbeat now also takes the loading screen away; if it ever has to, the diary (
/log) gets apage_aliveline. - No more pointless app restart a minute after a power cut. The mirror has no clock battery, so after a power cut its clock can start in 1970 and jump to today when Wi-Fi sets the time. Every timer in the app used to see that jump as "the start has taken 56 years" and restarted the app or reloaded the page for no reason (the diary showed lines like
not finished after 29905261 min). All timers now count time since the mirror switched on, which never jumps. The diary still shows real dates and times. /statusand/logkeep the same fields.uptime_sand the diary'stare now measured with the same steady clock.
Pairing
- Pair with a code: a mirror that is not set up now shows a six-digit code and its own network address on its screen. In Home Assistant, open Glass Panes, Displays, press Pair a mirror on your display and type the code and the address. Home Assistant makes the display's login and sends the mirror its page address, the login and a control key over your home network. Nobody copies or pastes a token. This needs Glass Panes 0.12.0.
- Protected by the code: a right code works once and then changes. Five wrong tries lock pairing for a minute and also change the code. The mirror refuses anything that is not a Glass Panes player address, a login or a control key in the expected form.
- Pairing again: run
adb shell "am start -n com.nimrod.mirrorkiosk/.MainActivity --es pair 1"to show a code on a mirror that is already set up.--es pair 0cancels it. - New call:
/pairon the control server (see api.md). It works only while the mirror has no page address yet, or after--es pair 1. - The old way (an
adbcommand with the login token) still works and nothing else changes: your settings, the audio player and the other calls are as in 0.11.0.
Install
adb install -r mirror-kiosk-v0.12.0.apk over a signed 0.10.3 or newer keeps your settings. If the mirror has a test build on it, uninstall it first, which erases the app's settings. The update guide has every step.
Known limits
- The start-up fix was traced from the diary of the tested unit and checked against the app's logic tests. Starting up still waits for the mirror's Wi-Fi, which on the tested unit takes one to two and a half minutes after power-on.
- The pairing rules (the code, the five-try lock, what is accepted) are covered by automated tests, and Home Assistant's side was tested against a pretend mirror. The pairing screen has not yet been tried on a real mirror. The code and the login travel as plain
httpon your home network.
v0.11.0 (public beta)
Glass Panes v0.11.0 (public beta)
Wow! Thank you for the feedback and for testing on all of your units. This is another beta build with some new features, better logging, and stability and ease-of-use updates for the associated web app. It's much easier to install if you already had the previous .apk on your mirror: download the new .apk, install it over the old one, and update the integration in HACS. Steps are in the update guide. Please give me some more feedback and show me what you've been building! This is really exciting, and I'm hoping to keep supporting it.
Photos, music through the mirror's own speaker, a Settings page, new clock looks and a better builder.
What changed
Photos and pictures
- A photo slideshow widget: add Photo slideshow from Facets, type a folder inside one of Home Assistant's media folders (for example
photos/family), and the pane shows the photos one after another. You choose how long each stays (5 seconds to a day), shuffle or file-name order, fit the whole photo or fill the box, and fade or switch instantly. Network storage you have added to Home Assistant appears under/media, so a folder on a NAS works too. - Big photos no longer overload a small mirror: Home Assistant shrinks each photo to the widget's size the first time it is needed, keeps the small copy (up to 300 MB, oldest removed first), and sends only that. The page holds just two pictures at a time, however big the folder is.
- Pictures from image and camera entities: the Image widget can be bound to an
image.*orcamera.*entity (a doorbell snapshot, a weather radar picture, a media server's photo frame) and shows the picture instead of the entity's state ("Idle", "On" or a time). A camera refreshes every 10 seconds by default and an image entity when it changes; therefresh_soption changes that. The old Entity value widget shows the picture too, so existing panes that showed "Idle" are fixed by updating.
Music
- The mirror's speaker is a media player: with Mirror Kiosk app 0.11.0, a display that has its mirror connected gets a speaker,
media_player.glass_panes_<display>_speaker. Play, pause, stop, seek and volume work from automations, scripts and dashboard cards, and Music Assistant can play to it, which brings Spotify, Plex and other services with it. Only audio fromhttpandhttpsaddresses is played. The speaker appears when you connect a mirror and disappears when you disconnect it. - Now playing shows the song: when Music Assistant plays to the mirror, the speaker shows the title, artist, album, cover and length of the song, and follows song changes straight away.
- The CD look is a printed CD: in Now playing, choose Look: CD. The album cover covers the whole disc, with a shine and a clear ring round the hole, and the disc turns while a song plays. A new checkbox, CD case beside the disc, also draws the cover as a CD case with the disc sliding out of its side. The vinyl look is unchanged.
Clock and date
- Three clock looks: the Clock widget now has a Look: digital numbers (the original), a traditional round clock face, or a bedside alarm clock. The two round looks have a light or dark face, and Show seconds adds a red second hand.
- A time zone for each clock and date: type a place such as
America/ChicagoorAsia/Tokyoin the widget's Time zone box, or leave it empty for the display's own zone.
The builder
- A Settings page: the gear next to Dark mode opens a page for the mirror. It has a Speaker card (what is playing, volume, pause, resume, stop), presence on and off with its settings, brightness, the memory the mirror reports, and the mirror's address. It used to sit inside the Displays tab, where it was hard to find. A Planned card lists the Bluetooth proxy and the voice assistant and says they are not built yet.
- A calmer, bigger canvas: while you edit, the pane list steps aside so the canvas is larger. The pane settings sit in one row. The toolbar groups its buttons so Save never ends up alone on its own line, and on a phone Save comes right after the editing tools. The delete button shows only on the widget you picked. The phone and tablet layouts no longer cut the canvas off or push the page sideways.
- A tidier inspector: the side panel starts with the basics: name, what the widget shows, which entity feeds it, text size and colour, opacity, position and size. The rules (Show when and layout) fold away until needed and open by themselves when a widget already uses one. The move, copy and delete icons are now labelled buttons.
Also
- Sports: a game later today says Today before 5 pm and Tonight from 5 pm (in the display's own time zone).
- This release includes everything since v0.10.10, among it the "Showing" strip and tags, and the option to keep true black behind a dark theme (v0.10.11).
Fixed
- Display settings said "answered but not like the Mirror Kiosk app", and the speaker stayed unavailable: the mirror app sends its status in more than one piece, and only the first piece was being read, so the answer looked cut off. It is now read to the end.
- Cameras and image entities showed "Idle": they now show the picture (see above).
- Confirmation messages and dialogs went missing while the Settings page was open. They now show on every page.
- The Settings page ran off the edge of a phone screen: it now fits.
- Reloading the panel after an update logged an "already been used" error in the browser: it no longer does.
- Layout problems in the builder's toolbar and on small screens, listed under The builder above.
Install or update
HACS > Glass Panes > the three dots > Redownload, pick v0.11.0, then restart Home Assistant (Settings > System > the power icon > Restart Home Assistant), because this version adds new parts that Home Assistant only learns at start-up. Then reload the builder page once (Ctrl+F5). Your panes, uploads and displays are kept.
The speaker and the Settings page's Speaker card need Mirror Kiosk app 0.11.0 on the mirror. Everything else works with the app you have. See compatibility.md, and the update guide for the app itself.
To play Music Assistant music on the mirror, open Music Assistant, go to Settings > Providers, add the Home Assistant plug-in if it is not there, then add the Home Assistant Media Players provider and tick only the mirror's speaker. It then appears in Music Assistant's Players list. Menu names can differ between Music Assistant versions.
Known limits
- The slideshow and picture widgets work in the automated tests, in the builder preview and on one setup with a few photos. They have not been tried on a large folder or a real camera feed.
- The speaker plays what Android 6 on the mirror can decode (MP3, AAC, FLAC, Ogg Vorbis and WAV are the safe ones). Music Assistant playing to it has been tried on one mirror, with one service. Music Assistant calls it a "Home Assistant media player" and describes that as a fallback: the mirror cannot be grouped to play in sync with other speakers.
- The song title and cover shown on the speaker are copied from Music Assistant's own copy of the speaker, so they appear only when Music Assistant is the one playing.
- Home Assistant's own files are sent to the mirror as an address on Home Assistant's local URL. Keep that a plain
http://address on your home network, because Android 6 does not trust many modern HTTPS certificates. - The Settings page, the new clock looks and the CD case have been checked in the builder preview at phone, tablet and desktop sizes, and the CD look on one mirror. The clock looks and the case have not been judged on a real mirror yet.
- The Bluetooth proxy and the voice assistant do not exist yet. The roadmap says what is planned.
Mirror app 0.11.0
Mirror app 0.11.0
Wow! Thank you for the feedback and for testing on all of your units. This is another beta build with some new features, better logging, and stability and ease-of-use updates for the associated web app. It's much easier to install if you already had the previous .apk on your mirror: download the new .apk, install it over the old one, and update the integration in HACS. Steps are in the update guide. Please give me some more feedback and show me what you've been building! This is really exciting, and I'm hoping to keep supporting it.
The mirror can now play music, tells you when a start gets stuck, and can check its own microphone and Bluetooth.
- Music through the mirror's speaker: the app plays an
httporhttpsaudio stream through the mirror's own speaker: play, pause, resume, stop, seek and volume (/audio/*on the control server). With Glass Panes 0.11.0 it shows up as a Home Assistant media player. Only web addresses are played, never files on the mirror, and a stream that does not start within 25 seconds is reported as an error instead of hanging. - A start that can't get stuck unnoticed: a loading bar on the launch screen names the step it is on and turns amber when one is slow. A diary of what the mirror did (
/log) is kept in a file and survives a power cycle, so a stuck boot leaves evidence. A page load that never finishes is stopped and tried again with growing pauses; if the mirror still has not finished booting after 15 minutes, the app restarts itself (settings at/recovery/tune). It can also send a small "still alive" message to Home Assistant. - A microphone test:
/mic/testlistens for a few seconds and reports only how loud it was, so you can find out whether your mirror has a working microphone. Nothing is recorded, saved or sent. - A Bluetooth test:
/bluetooth/testturns Bluetooth on if needed, counts the Bluetooth devices it hears nearby, and switches Bluetooth off again. No addresses or names of nearby devices are kept. /statusgainsboot,recovery,alive_reportandaudiosections.- New permissions: the microphone test needs the microphone permission and the Bluetooth test needs the location permission, which Android 6 requires for Bluetooth scanning (the app does not read your location). Allow them from your computer, once, like the camera:
adb shell pm grant com.nimrod.mirrorkiosk android.permission.RECORD_AUDIO
adb shell pm grant com.nimrod.mirrorkiosk android.permission.ACCESS_COARSE_LOCATION
Skip them if you don't want those tests. Everything else works without them. - Includes everything in 0.10.7 (the camera watchdog and the navigation lock) and the unreleased 0.10.8 work.
Install: adb install -r mirror-kiosk-v0.11.0.apk keeps your settings when the app already on the mirror is a signed release. If the mirror has a test build on it, uninstall it first. That erases the app's settings, so note down its page address, login and webhook ids. The update guide has every step.
Known limits: the audio player has been heard playing real music from Music Assistant on one mirror, and automated tests cover its error handling. It has not been tried on other mirrors or other streaming services. The microphone and Bluetooth tests ran once on one unit and answer whether the hardware works; the app does not yet use the microphone or Bluetooth for anything else. A Bluetooth proxy and a voice assistant are planned for a later app version.
v0.10.11 (public beta)
Glass Panes v0.10.11 (public beta)
You can now see what every display is showing without hunting for it.
What changed
-
A "Showing" strip at the top of the builder. One chip per display, such as "Hall mirror: House". It is there on every tab, so the Panes tab no longer hides which pane is live. Open a chip to switch that display to a different pane. It does exactly what the Showing choice on the Displays tab does. With several displays the strip scrolls sideways on a narrow window. With none, it offers Add a display.
-
A "Showing on ..." tag on pane cards. A pane that a display is showing carries a small tag for each display. Click a tag to jump to that display in the Displays tab. A pane nothing is showing has no tag.
-
They keep up on their own. When an automation switches a display, the strip and the tags change within a moment. You don't reload.
-
A themed pane can stay true black. On a two-way mirror only pure black is see-through, so a theme's lit background, even Cream Night's very dark one, shows as a visible rectangle. A dark theme (Moss, Cream Night, Midnight, Slate) now starts on true black with the theme's text colours. A Theme background box next to Theme brings the theme's own background back, and the Background colour works while it's unticked. The light themes (Cream, Paper) keep their own light background, because their dark text needs it. The toolbar now says "Black is see-through on a mirror." Panes that already have a theme look exactly as they did; nothing changes until you pick a theme again. In the pane file this is
own_background.
Install or update
HACS > Glass Panes > Download, then restart Home Assistant (Settings > System > the power icon > Restart Home Assistant), because the pane format gained a field and Home Assistant only learns it at start-up. Then reload the builder page once. Your panes, uploads and logins stay as they were.
Known limits
- The strip and tags have been checked in the builder preview with made-up displays, not yet in the live Home Assistant sidebar.
- Switching from a chip needs an administrator account, like the rest of the builder.
v0.10.10 (public beta)
Glass Panes v0.10.10 (public beta)
More control over how text looks, and widgets that fade instead of popping.
What changed
- Every widget option can be set in the builder. Select a widget and open More options: everything that widget can do is there, with a short explanation under each. That includes the clock's 24-hour and AM/PM settings, every date and weather option, calendar days and time style, how many to-do items, Now playing's idle text, avatar size, status and progress ring settings, sports layout and news filters. Blank means "use the default", so pane files stay tidy.
- More text styling in the builder. Select a widget and the inspector now has Italic, ALL CAPS, letter spacing, line height, any colour (a colour picker next to the named colours) and opacity. Opacity also works on pictures and dividers.
- Pane background and brightness. While editing, the toolbar has a Background colour (used when no theme is chosen; pure black is see-through on the mirror) and a Brightness choice (the backlight while this pane shows, or "As is").
- Fade. Tick Fade in the toolbar and widgets that "show when" rules switch on and off fade in and out over about half a second. New panes start with it on; your existing panes stay exactly as they were until you tick it. Agents can set it too (
set_panewithfade). Displays that ask for reduced motion never fade. - Burn-in drift for a whole pane. Tick Burn-in drift in the toolbar and the entire pane wanders a few pixels over about 40 minutes, so a mirror left on all day never holds the same pixels. Too slow to notice. (It stays still in the builder so the outlines line up.)
- Easier editing. While you drag a widget, its real content moves with the outline, so you can line it up against what is really there. The toolbar at the bottom no longer covers the lower part of the pane. Widgets with no name show what they are (
Text: "SPORTS"instead of "text" eight times), on the canvas and in the "Place below" and "Show when" lists. New Bring forward and Send back buttons (the up and down arrows next to Duplicate) decide which widget is on top where two overlap. - A heads-up before heavy uploads. Before a picture or video is uploaded, the builder checks it in your browser and asks first if it could weigh the mirror down: pictures over about 4 megapixels, big animated GIFs, WebM videos, videos bigger than 1080p or with a very high bitrate. You can still upload it.
- New how-to: a mirror that wakes up when you walk up (in Getting started): presence, a toggle, "show when" and Fade.
- Videos are drawn honestly. A pane with a video is marked in the builder as playing full screen, because that is what the mirror does, whatever size the box is.
- Includes v0.10.9 (the self-healing connection, start retry and stuck-page heartbeat), for anyone skipping it.
- Calendars recover more calmly. A calendar that fails to load is retried after 15 seconds, then 30 s, 1 min and 2 min, then waits for the normal 5-minute refresh. One that Home Assistant refuses (deleted, or no access) is not hammered. A retry left over from a pane you switched away from no longer keeps running in the background.
Known limits
- The new controls have been checked in the builder preview, not yet on the tested unit's own screen.
- Fade applies to show-when switching only. Fading between whole panes is planned.
Install or update
HACS > Glass Panes > Download, then restart Home Assistant (Settings > System > the power icon > Restart Home Assistant), because the agent tools changed. Reload the mirror's page once: http://<mirror address>:8099/reload.
v0.10.8 (public beta)
Glass Panes v0.10.8 (public beta)
A reliability release for pictures, videos and logins on the mirror.
What changed
- Pictures and videos survive a Home Assistant restart. An uploaded file's link used to stop working every time Home Assistant restarted (and after 7 days), leaving a blank spot or a black video. The player now fetches a fresh link when one fails, when it reconnects to Home Assistant, and every 6 hours. A failing video retries calmly (30 seconds, then up to 10 minutes apart) instead of in a tight loop.
- No more flood of failed logins. When Home Assistant refuses a display's login, the player stops asking and shows its sign-in screen. Before, its widgets kept trying, and each try counted as a failed login (with a ban threshold set, Home Assistant could ban the mirror).
Install or update
HACS > Glass Panes > Download. No restart needed (only the player changed). Reload the mirror's page once: http://<mirror address>:8099/reload.
Known limits
- A video playing in the mirror app picks up a fresh link within about 30 seconds of Home Assistant coming back.
Mirror Android image 1 (for Lululemon Studio RevP21)
Mirror Android image 1 (for the Lululemon Studio RevP21)
Ready-made system.img and userdata.sparse for the Lululemon Studio mirror (board MIR63A0-00-P1, revision RevP21), so you can put Android on your mirror by flashing two files. Follow part 1 of the install guide.
This permanently replaces the lululemon software and cannot be undone. No backup of the original can be taken first. Do not flash a mirror you still want to use as a Lululemon mirror.
Check your download first
Both fingerprints must match before you flash anything (PowerShell: Get-FileHash .\system.img -Algorithm SHA256):
d13dd330bce43b1c46edb65a5eb95a77968f8fd9c413f166c4393e0072f83ed5 system.img
74b1f57ac20ce7c56065083a2bc3ddd283493be29d851fd04efc156ec96cf908 userdata.sparse
The same two lines are in the SHA256SUMS file attached below.
What is in it
Android 6.0.1 for the Lululemon Studio mirror, with the Wi-Fi and camera support it needs, and the Glass Panes project ADB key.
Security: one shared ADB key
These images trust a single published key, the Glass Panes project key. Anyone with a USB cable plugged into a mirror running them can control it. The image does not turn on adb over Wi-Fi, so this takes physical access.
Licences and credit
The Android and kernel source keep their own licences. The vendor binaries (Qualcomm, Quectel) belong to their owners. This build stands on the work of the Lululemon-mirror community. Thank you to Onemoremichael, lrinQVQ, TimStewartJ, repairman29, porcuswine, vgab7 and everyone in the mirror-repurposing community. If you own any of this and want it changed or removed, please open an issue.
Tested on
One unit: a RevP21 with stock software 1.25.0, flashed from Windows 11. After flashing, Wi-Fi was set up with scrcpy, the Mirror Kiosk app was installed, and /status showed the player loaded with memory and presence numbers. Other units and revisions (RevP18 is reported to behave differently) are untested. Please tell us how yours goes with the "Report your mirror" issue form, and do not post your mirror's serial number.
Mirror app 0.10.7
Mirror app 0.10.7
- Presence keeps working. If the camera reports an error, or stops sending pictures for 30 seconds, the app lets go of it and opens it again (waiting 5 s, then longer, up to 5 minutes, until pictures flow). Before, presence could quietly stop until the app was restarted. A camera that failed half way through starting is now released properly, so the next try can succeed.
- No crash loop. If the browser engine crashes again and again (for example on a pane that is too heavy), the app waits 1 s, 5 s, 15 s, 1 min, then 5 min between rebuilds instead of rebuilding non-stop. Ten calm minutes reset it.
- The mirror only ever shows your Home Assistant page. The browser engine inside the app is the last one Mozilla made for Android 6, and it will not get security fixes any more. So the app now refuses to load anything except the Home Assistant address it was given (same address and port) and its own black waiting page: links, redirects, pop-up windows and scripts that try to go elsewhere are blocked.
/statuscounts them inblocked_loads. If you change your Home Assistant address, set the new one on the mirror as before. /statusshowspresence.seconds_since_frame,presence.camera_restarts,engine_restartsandblocked_loads.- Includes everything in 0.10.6 (the stuck-page reload) and 0.10.5 (the security update).
Install: adb install -r mirror-kiosk-v0.10.7.apk (keeps your settings).