Repository navigation
Is it possible to "go to screen page $id" based on an event? #149
|
I want to be able to have the screen go to a specific page based on an event in HA. In my use case I want to display a (PNG) image that has been generated elsewhere Fugleramme in kiosk mode on a dedicated page. I've used a workaround for now in the form of the Is this already possible and I just haven't found the right way yet? As a side note: I love this project, it's speed of development and the traction it seems to have from a ever growing community. Keep it going! |
Replies: 3 comments 1 reply
|
I've made a PR that might solve your problem: #153 This PR would make it possible to have a binary_sensor that triggers showing the camera feed when the screensaver is on. |
|
Hi @hydro-b, yes, this is already possible, and it needs no notification or pop-up. 1. Put the image on its own page In the editor, add a page (for example page 4) and put a camera tile on it. Choose your Generic camera (a 2. Jump to that page from an automation Every screen has the action action: esphome.living_room_screen_show_page
data:
page: 4
Good to know
Glad you like the project, thank you for the kind words! Got a screen running? Tell others which board you have and what works on the Tessera website. It helps everyone pick a screen that works. Want me to keep building? Consider supporting monthly or buying me a coffee, much appreciated! |
|
This conversation and its replies have moved to Community on the Tessera website. Please continue the conversation there. Sign in with your GitHub account to reply or add examples. The original authors, dates, comments and image links have been preserved. This GitHub thread is kept as an archive. GitHub Issues are now for bugs in existing functionality; closing this thread does not mean the request was rejected or implemented. Its current status is on the website. Got a screen running? Tell others which board you have and what works on the Tessera website. It helps everyone pick a screen that works. Want me to keep building? Consider supporting monthly or buying me a coffee, much appreciated! |
Hi @hydro-b, yes, this is already possible, and it needs no notification or pop-up.
1. Put the image on its own page
In the editor, add a page (for example page 4) and put a camera tile on it. Choose your Generic camera (a
camera.*orimage.*entity both work), set the tile size to Full page, and under Display choose Live picture with a pace (5, 10, 15 or 30 seconds). Pick Fill the tile or Whole picture depending on whether you want the image cropped to fill the glass or shown complete. This needs firmware 0.3.7 or newer and a board with room for pictures, such as the Guition boards. The CYD has no memory for camera pictures.2. Jump to that page from an automation
Every screen has the ac…