HABPanel - Yet another implementation of a no-frills dashboard

Never mind, it was my mistake :slight_smile:
now it works and I have to say that HABPanel is one of the most impressive interfaces I have ever seen in the home automation
thanks

1 Like

@ysc (or anyone) ā€¦ is there a way to save the panel configuration when I update Openhab? I seem to have lost my panel nowā€¦

Is there a way to reduce the data sent to the (awesome!) new graphs? It was very slow for me, so I had a look and it seems to be sending many tens of MBs of data, just for one graph! (I canā€™t get the exact numbers right now because of the first problem).

I believe there are initiatives to improve the update experience but they are not necessarily related to HABPanel, more about preserving the configuration database in its entirety between updates.

If you want to backup your HABPanel configuration, you can click on the ā€œEdit the local panel configurationā€ link below ā€œLocal storageā€ in the Advanced Settings page, then save (or copy) the configuration to a file.
After upgrading, go to the same screen and paste/load it back. You might still lose some settings like the theme, number of columns in the home screen and voice-related settings but the dashboards themselves are preserved.

Hi @ysc
I still have issue to save my config on OpenHab2, please see my last 2 post.
When I save I got 500 Internal Server Error.

Can you help me to fix?

Thanks

@marcolino7 never seen a 500 thereā€¦? Go to the Network tab in the developer tools, look for the failed call (should be a red ā€œconfigā€ line), click on it and then on the Response tab - there should be an error message.

Hi @ysc
Done all steps, i have one red ā€œconfigā€ line, status is 500, type il xhr, Initiator is vendor.js:103
Response Tab in empty, there is wrote ā€œThis request has no response data availableā€
In the Headers Tab, I have this:

I hope this can help you to help me.

Marco

Very strange, Iā€™m lost hereā€¦ Nothing in the openHAB logs on the server?

Hi @ysc,
which subsytem i have to filter for the logs?

Marco

@ysc thatā€™s helpful, thanks!

1 Like

No ideaā€¦ Maybe move this discussion to a more general openHAB 2 category since this is likely a problem with your installation, not with HABPanel.
You should at least be able to go to Paper UI, Configuration > Services > Configure HABPanel and Save and it should work.

One more thing you can try:
Assuming you have the REST API documentation site installed, go to http://yourip:port/doc/index.html#!/services/getConfiguration
put org.openhab.ui.habpanel as serviceId, hit ā€œtry it out!ā€ , backup the results just in case then go to
http://yourip:port/doc/index.html#!/services/updateConfiguration
and paste the response body in the body text area. Youā€™ll probably have your 500 error, hopefully with more details.

hi @ysc,
running getConfiguration, I got Empty Response and 500 Internal Server Error, just reading config.
Here is a screenshoot:

It is correct that Response is completly empty even if there is nothing saved?

Marco

Hi @ysc
I installed a new OpenHab box and installed a fresh copy of HabPanel. It obviously works fine.
I saved the configuration and retrieved it.
I paste the configuration from new box, to old box, into suggested page. This is the results:

I also tried from Paper UI->Configuration->Services when I save I got 500 Server Error.

I Opened a dedicate topic here:

Thanks

Marco

Hi,
Iā€™ve installed openhab 2 beta 4 and wanted to install the habpanel too.
But I cannot see it in paperUI under extansions. Iā€™ve checked the configuration to use experimental addons but nothing :frowning:
Am I doing something wrong?

Yes:

Try the latest snapshot and it will work (beta 4 is far too old):

https://openhab.ci.cloudbees.com/job/openHAB-Distribution/

1 Like

With this advice I was able to instal habpanel. But nothing is working anymore. PaperUi has all the time jersy not ready yet errors and habmin is telling me openhab is ofline.
maybe the latest snapshot is the problem?

Yes and ā€¦ no.
There have been several breaking changes the last weeks, for example the database storage has changed.
Read this category and adapt your system as required:

https://community.openhab.org/c/openhab-2/news-important-changes

I am trying to use d3js in the custom widget but it seems javascript code can not be evaluated. Are there anyone I can put javascript in the template or widget code?

Hi,
Sorry if this was answered before but I couldnā€™t find it: is it possible to amend the basic styles?
I would like to change the h1, h2, h3 styles for instance and assume this is set somewhere in a css file. But I canā€™t find where.

Thanks

@ysc Great work. I like Habpanel a lot. I plan to replace my Rotini dashboard on my tablet with it.

But. Somehow I do not found an option to select the local settings habpanel is using. If I for instance create a clock widget with a format string like ā€œEEEE dd.MM.yyyyā€ the day of the weeks is always in English. I know AngularJS is supporting this, but how do I configure this in habpanel?

My openhab location settings are set to de_DE.

Thanks a lot

1 Like

Iā€™m in trouble to find a scale which is suitable for a Windows PC and a smartphone. It looks like HABPanel is not using the device dpi in itā€™s calculation to draw the widgets at the same size on different devices. Any suggestions beside from making two designs by hand? :wink:

EDIT: Found this post, related to my qeustion: Examples of HABPanel Solutions