Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

[Feature Request] Go to 'default' dashboard aftert inactivity #350

Open
vzorglub opened this issue Jan 16, 2019 · 3 comments
Open

[Feature Request] Go to 'default' dashboard aftert inactivity #350

vzorglub opened this issue Jan 16, 2019 · 3 comments

Comments

@vzorglub
Copy link

To have an option to select a 'default' dashboard and a timeout value.
The HABpanel would go back to this dashboard after the timeout period if no activity.
Use case:
Different tablets in different rooms. The tablets should go back to the specific room default dashboard after a while. The default dashboard (on each tablet) have the relevant controls for that room.
If a tablet is used to check the weather (for example) the tablet should return to the room's control dashboard automatically.

@LuckyMallari
Copy link
Contributor

LuckyMallari commented Jan 16, 2019

I actually have an active PR for that feature. This is basically a screensaver.

#287

@mrumpf
Copy link

mrumpf commented Feb 13, 2019

There has been a similar discussion in the community:
https://community.openhab.org/t/refresh-back-to-main-habpanel-after-a-set-time-limit/22701/3

As a workaround, using a template widget on all dashboards and transition back to the base URL basically works.

Name: Reload Main View
Template: <META HTTP-EQUIV="refresh" CONTENT="60; URL=http://openhab:8081/habpanel/index.html#">

NOTE: When copying the HTML template code, make sure that the quotes do not get transformed. You can check with the browser developer tools whether the meta tag has been inserted correctly.

The drawback of this workaround is that in fully packed dashboards, a scrollbar shows up, even if the background is set to transparent.

@8666
Copy link

8666 commented May 2, 2019

I would prefer the option to get an item updated when you use the HABpanel. It should be updated by all browsers with some unique ID. Then you can configure different habpanel instances (different tablets) to watch for an item update and switch to that dashboard (this is already available).

Then you can write rules/logic in Openhab and not having configs in the browsers.

That way, for example, if the house is armed and we are away the tablets will go to the alarm keyboard panel and stay on that page. In normal case, some will go to a default home page, some will go to a room specific page, etc.

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

No branches or pull requests

4 participants