HABPanel - Yet another implementation of a no-frills dashboard

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

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