I’m creating a family friendly OH front end in pages. I’ll be using an old wall mounted ipad and I’ve got the following:
Overview page, only has time and date widget on and then click on the widget it takes you to a tabbed home page.
I’ve then got tabs based on what the family need to see / interact with, ie Home, Cameras etc.
My question is that ideally I’d like to have a way that after x amount of time the pages return to the overview page with the Time and Date on.
I’m thinking of it like a screensaver sort of idea. Once the user has interacted with the ipad I don’t necessarily want the screen that they were using left on display, to return to the date/time would be great…
This is a matter of semantics at this point. If you create a “page” using Settings → Pages in the UI, the answer is still just plain “no”. You can navigate to those pages using other parts of the app, you can link directly to the urls of those pages, but there is just nothing to tie the state of an item to what page the app is showing or what your browser targets without changing the code of the MainUI.
However, because of the flexibility of the custom widget system, there is basically nothing that you can build on a page that you cannot recreate as full widget. Some things can simply be duplicated as is (the same configuration yaml on the page code and widget code); some things you would have to work a little (or a lot) harder to truly duplicate. This would not be a MainUI “page” but it would be visually identical; the main difference being that you can put the widget on a popup and control that popup through the state of an item.
you can create this page as an f7-popup and manage open/close through an item, just as you already did for your camera. The only difference would be that the item is triggered by time event instead of door bell.
To trigger a time event you can use rules/cron or profiles, I think.
I was hoping to not have to do a multi hop process to update an item and open a popup but…
if I have a visible label card widget that updates an item, I can then have a rule that runs ok it changing and updates a second item, which is in turn called from an invisible widget, (like my camera widget), which opens a pop up.
I’ll have the second item on a timer so that the pop up closes after timeout and then also turns the first item off…