Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to stay on hidden page even if rotationHomePage is set. #67

Open
lxne opened this issue Dec 22, 2021 · 4 comments
Open

Option to stay on hidden page even if rotationHomePage is set. #67

lxne opened this issue Dec 22, 2021 · 4 comments

Comments

@lxne
Copy link

lxne commented Dec 22, 2021

Is your feature request related to a problem? Why do you want this feature?

In 'normal' mode I want my mirror to switch back to the homepage after being on another page for some time but I don't want it to automatically switch back from a hidden page.

Describe the solution you'd like

A new option e.g.:
rotateHomeHidden: boolean,

Additional context

Additionally it would be handy if the notification HOME_PAGE had an optional boolean. If no boolean is set, pages switches to home only from other 'normal' pages. If boolean is set to 1, pages also switches to home from hidden pages.

@edward-shen
Copy link
Owner

Sounds reasonable. Looking for PRs.

@sdetweil
Copy link

what is a hidden page? only one page is active at a time.

so maybe config option
HomePageOnlyByRequest: false(default)/true

notification: doesn't that present some inconsistency? it JUST so happens at the TIME the notification comes in, the current page has no content visible. all Pages did was NOT hide its content.. the module could have hidden content on its own

@lxne
Copy link
Author

lxne commented Nov 21, 2024

what is a hidden page? only one page is active at a time.

Hi Sam,

there are special hiddenPages which are not available on the normal page rotation and only accessible via a notification.
Now if you use rotationHomePage you switch back to homepage or normal rotation after the specified time.

When using rotationHomePage I would like to have some specific hiddenPages that ignore the automatic return to rotation.
For example, as a 'guest mode'. There is a party going on, and I don't want all the guests to see everything on the mirror, so I just switch to the guest page and stay there until I chose to go back to normal rotation.

Simply said rotation should be paused when I switch to the hidden guest page. And should be resumed, when I switch back to the normal pages.

I hope this makes sense.

PS: bugsounet has EXT-Pages based on this module. Maybe some synergies could be used?

@sdetweil
Copy link

thanks.. very helpful.. I had missed this set of features
my MMM-Config schema is wrong relative to that
its really

        {
            "pagename1": [ class1, class2, ...classn],
            "pagename1": [ class1, class2, ...classn],
        }

which can use my simplified notation

        {
            "guest": [ "guest"],
            "stocks": [ "stocks"],
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants