Hi, I’m running openHAB 2.0.0.b5, and just started with HABPanel. I understand it should be possible to store configuration centrally, which is important to me. However, I only see the option of storing locally (from HABPanel -> Burger menu -> Cogweel -> Current storage configuration).
Below the selection for local storage there is a clickable area "Save the current configuration to a new panel configuration"
Did you try to click there?
No, me neither.
It took me a while to figure out that the dashboard was stored locally in the browser, I thought it just kept forgetting my panels. I eventually found this area that confirmed to me that it was stored in browser local storage, but it didn’t occur to me that “Save the current configuration to a new panel configuration” would be a useful thing. To me that sounds like “save as” functionality.
HABPanel looks really nice, apart from the local browser only nature of it IMO. I want to set something up that I can then easily view from a tablet of phone. I don’t want to do the actual development on the phone though for obvious reasons
Once you’re happy with your set of dashboards, go back to “Advanced settings” then click/tap on “Save the current configuration to a new panel configuration”; this will store it on the openHAB 2 server as described above, and make it available for reuse
…
It seems it’s not even mentioned in the documentation nor in the Settings when you save it to the server what the correct URL will be. Can someone point me in the right direction? I might have missed something.
Once you’re happy with your set of dashboards, go back to “Advanced settings” then click/tap on “Save the current configuration to a new panel configuration”; this will store it on the openHAB 2 server as described above, and make it available for reuse.
On the upper right corner of you HABPanel go to:
= Edit dashboard
Thank you sihul for the explenation, but I still can’t get it to work. On my laptop in Google Chrome I go to ‘http://192.168.x.xx:xxxx/habpanel/index.html#/view/Overview’ or ‘http://192.168.x.xx:xxxx/habpanel/index.html#/view/TestPanel’ and it works fine. When I then try these links in an incognito tab on Google Chrome it’s just all black, same happens on another PC.
Am I still doing something wrong? Attached a screenshot of the Settings below.
You have to choose the right panel configuration first in the settings, the current panel configuration is stored in the browser’s local settings, but if you go to Paper UI, Configuration > Services > UI > HABPanel > Configure, you can specify an “initial panel configuration” setting. If you set it to “TestPanel” it will switch to it on new instance (for example, in incognito mode windows).
will take you to the dashboard with the specified ID. The ID is usually the same as the title - except if you added the dashboard then renamed it, it won’t change - in other terms, it’s the title you gave when creating the dashboard.