From Gexis Player 1.15.0, first on the Testing channel, Home Assistant can put a page of its own on the player’s screen for a while: the cameras when the doorbell rings, for example. The page shows over whatever is on the screen, the music plays on, and when it goes, the screen is as it was.

Home Assistant puts its page up; a touch, a key or its time takes it down.
๐ Off until switched on
Each player has a switch, Pages from Home Assistant in Settings โ Display, off until you turn it on. Until then, Home Assistant’s request is refused, and says so.
Home Assistant needs what it needs for the player’s dashboard: to allow its pages to be shown inside another page, and to let the player in. A player whose dashboard already shows can show its pages too. A page that cannot be shown is refused, and Home Assistant says why.
๐ From Home Assistant
The Gexis Player integration, from 0.6.0, adds two actions to each player: Show a page on the screen and Hide the page. In an automation, for example when the doorbell rings:
action: gexis.show_page
target:
entity_id: media_player.living_room
data:
url: http://homeassistant.local:8123/home-security/tv # as the player reaches it
id: cameras
seconds: 120
Any of Home Assistant’s pages can be shown, cameras or not. A second request with the same id starts its time again, and a Page sensor on each player says whether a page is up. Without Home Assistant, the player’s API takes the same request.
๐ How it goes
- A touch anywhere on the screen, or any key on a remote, closes it; that touch or key does nothing else.
- Its time ends: as long as Home Assistant asks, up to an hour, and 10 minutes when it does not say.
- Home Assistant takes it down with Hide the page, or the switch is turned off.
- You ask the player for something else – the visualiser, the dashboard, a view or Screen off from the phone – and the page makes way.
Then what was there comes back: the same screen, the visualiser if it was up, and standby if the screen was off. A screen in standby wakes for the page and goes back to sleep after it.
๐ก๏ธ The music comes first
Live video is heavy for a Raspberry Pi 4: the player decodes it without the Pi’s video hardware. On a test player showing seven camera streams while music played, the sound carried on without a dropout, but the processor’s load tripled and the Pi reached 74 ยฐC, still warming.
So the player takes the page down if it reaches 80 ยฐC or the Pi starts slowing itself down. For cameras, show only a few, in their small streams (640 ร 360 rather than 1280 ร 720).

Comments
0