HABPanel - Yet another implementation of a no-frills dashboard

Is there a way to export or save the dashboard configs to a file?

This would be interesting for me too.

And how can i change the location where a dashpanel is saved?

I want to save it server side. So i can use the same panel for every device of my familiy.

Is the configuration part of the official docs not working?

http://docs.openhab.org/addons/uis/habpanel/readme.html#configuration

It can however store all its configuration (called panel configurations, including sets of dashboards, custom widgets definitions, and other settings) on the server as openHAB 2 service configuration variables.

You can access this server-side configuration in Paper UI, Configuration > Services > UI > HABPanel. From there, you can also lock down the embedded editing features globally to prevent accidental changes by end users. You can also specify the name of a known panel configuration to load immediately when starting to configure a brand new HABPanel instance; otherwise, the local browserā€™s storage will be used only until you save a new panel configuration as detailed below.

1 Like

But this is not working for meā€¦

I already made a habpanel with chrome browser and saved it server side with the name ā€œHome Test 1ā€.
I also entered exactly this name to the Paper UI and saved it there --> ā€œHome Test 1ā€ without ā€œā€

After this i opened a new browser (firefox or IE11). There i used habpanel never before.

But the dashboard is empty. No chance to load the server saved ā€œHome Test 1ā€ Panel.

???

Did i do something wrong?

Maybe. I have never used HABPanel before, but did a short test and it worked:

On the computer where you want to save the config:

Go to your dashboard config and hit ā€œSave on the openHAB2 server when doneā€ , then click "Advanced settings"
On the left hand side choose the second option ā€œSave the current configuration to a new panel configurationā€ and define a name.

On the computer where you want to load the dashboard config go to
PaperUI -> Configuration -> Services -> UI -> HABPanel -> Configure
Type the name you saved your dashboard config with at ā€œInitial Panel Configuratonā€, then hit ā€œSaveā€

Open HABpanel

http://192.168.2.237:8080/habpanel/index.html#/

and voila, you have your saved dashboard available.

My test in pictures:

2 Likes

Ok, thanks, now it works.

I think the error was, i named the panel to ā€œHome test 1ā€

Now i tried only one word without spaces --> ā€œtestā€ and it worked.


Can i save more then one server side configuration? Maybe i can make a configuration for smartphone, one for tablet, one for notebook?

1 Like

I think so ā€¦ just use a different name for each config.

@ysc, Well, so I managed to set footer to ā€œhideā€. And now I cannot get into settings again.
How do I enable it? :slight_smile:

EDIT: Found the quicklink: http://ip:8080/habpanel/index.html#/settings which took me back.

Hello!

@ysc : Iā€™m trying to use Frame widget to display Grafana graphs. In Grafana, I took Embed iFrame link, extracted URL and added it to the Frame settings URL field. Iā€™ve set Refresh interval in the widget settings to 120 seconds. The problem Iā€™m facing is constant refreshing of a graph (every 5 seconds), even though Iā€™ve set Refresh interval to 120 seconds. Refreshing wouldnā€™t be much of a problem itself, but, while refreshing it, graph disappears, and then reappears again. Do you know if thatā€™s the problem with Grafana, or the Frame widget? Does Refresh interval setting in frame widget works?

Best regards,
Davor

See:

Iā€™ve not received confirmation that the fix closing the issue solves the problem though.
Update to the latest snapshot and let me know here or on GitHub.

1 Like

Hello!

Since this issueā€™s last comment was from 05.10, and I have nightly from 12.10, I guess the problem isnā€™t solved (at least the problem Iā€™m having). I can try and install latest nightly tonight, to see if it changes anything. Iā€™ve also tried to call local html (http:/localhost:8080/static) with weather iFrame inside html, but it refreshes every 5 seconds too. Iā€™ll try new nightly tonight and report the test results. Thank you for your help.

Best regards,
Davor

I may be experiencing the same. I added a comment in Github with details.

Some websites ( e.g. https://open.spotify.com , https://www.ziggogo.tv ) donā€™t support displaying itself in a iFrame, hence I canā€™t use the iframe-widget to display these sites.

  1. Does anyone know a workaround for this ( and I mean really from within HABPanel, so I can use HABPanel in kiosk-mode) ?
  2. Is it possible to develop a ā€˜native webpageā€™ widget in HAPPanel to by-pass these limitations?