HABPanel - Yet another implementation of a no-frills dashboard

Is there a way to display some photos (Slideshow) from a folder with additional informations from Items during Idel-Time? This will help to improve the WAF on top as it cane used as a PhotoFrame until you like to control anything. (I have build a Photoframe using RPi and 10" Touchscreen, in my opinion this would fits perfect :slight_smile:)

The slideshow notion comes close to what I’m thinking about. I run habpanel on a wall mounted iPad. Timeout and screen diming/screensaver features are not native to iPad browsers.

The are kiosk apps that return to a homepage after predefined timeouts and also having screen diming/screen saver functionalist however these are expensive.

Has anyone got a good(cheap) solution for this. Or is there some way something like this could be implemented in habpanel?

If you have an relatively new Android tablet I believe they have this feature built in. It used to be called “Daydream” until they recently re-purposed the name for their VR equipment.

http://www.greenbot.com/article/2151960/how-to-set-up-daydream-android-s-overlooked-customizable-docking-screen.html

Unfortunately I have an iPad and this is not available.

For anyone interested I found an app icab-mobile browser http://www.icab-mobile.de which has a kiosk mode that does what I wanted. An idle timeout function after certainly time which returns to a homepage ( hopefully a HABpanel default dashboard with links to other).
icab-mobile also has a diming feature to reduce iPad screen brightness once the timeout is reached.

For less than the cost of a coffee you can’t go wrong. I’ve tested it successfully on my iPhone and I’m eager to try it on my iPad at home later today.

Don’t worry, I’m sure Apple will introduce this “revolutionary” new technology in a year or two.

:grin:

1 Like

:grinning: Probably.

Good news! HABPanel is now added as an experimental feature to the distro. So if you enable “remote repo access” and “experimental features” in Configurations->System in the Paper UI, you will find it listed as a User Interface:

Once people feel that it is mature enough to be used, I’ll happily add it as a standard UI option that even ships with the offline distro.

4 Likes

:slight_smile:

if this is will get an integrated official UI I would like to see an option to change max width of the panel ui.
style.css
.container max-width: 1000px;
As fas as Im concerned (also the name Panel UI) a lot of people use it for their wall mounted tablets - and I think a lot of them are 1920x1080 - so a lot of place on the screen could be used.

1 Like

Hi,
sorry for noob question.
Is possible to une this on OpenHab 1.6 with Local Browser storage, and how install on OHab 1.6?

Thanks a lot

Marco

On a raspberry e.g. — at Github download the ZIP File. Unpack it to the folder ’ 
 /openhab/webapps/static/habpanel’.

Open your browser “http://<your-pi>:8080/static/habpanel/”

I run it at OH 1.6.3 and it works fine!

Hi,
thanks for hel, I have installed it.

Regards

Marco

Hi,
I would like to use a Knob to setup the temperature of my thermostat. I have 0.1 step resolution and i configured widget like this:

It seems it have some issue handling decimal step. When i Reload page with F5, it show 0.0, but if I click on the knob, it show the value and set correct value on openhab. After few second widget round to near integer (if 24.3 round to 24.0) but value on openhab is not changed.

Thanks a lot for support.

Marco

Indeed.
No workaround for now - the primary target is Webkit-based browsers: Chrome, Safari. Firefox seems to work pretty well too.

Check http://your_ip:8080/rest/persistence - if you see something related to influxdb there try to set it as the persistence service name in the chart widget settings,it might just work :slight_smile:

Sure, don’t know when but it makes sense.

I haven’t implemented a refresh interval for the image widget, and it doesn’t know about items - you have to figure out the URL for now and put it there.

Right, this was a leftover from the very early days, the plan is to have a few global settings and this could be one of them.

Sorry, I can’t reproduce this easily. Hit F12 while running in a desktop browser and check for related item updates messages in the Javascript console
 this might even not be HABPanel related.

1 Like

Also, FYI: Kai was nice enough :wink: to add a dedicated HABPanel category in the forums so you may start threads there for specific topics instead of replying in here!

i open the /rest/ site and seeing this:
[{“id”:“influxdb”,“label”:“influxdb”,“type”:“Queryable”}]
i tried different things, no chart


Do you see data when you call (replace “Your_Item”) http://your_server:8080/rest/persistence/Your_Item?servicename=influxdb?

hi @ysc
I think my issue is related to float values. If you want to try setup a Numeric Item, and the on sitemap a setpoint with increments of 0.1
Then link to HabPanel

Marco

Hi, @ysc
I’m checking the code of the widget and seem I found the partial root cause of the issue.
I edited your code in this way:

function getValue() {
            var item = OHService.getItem(vm.widget.item);
            if (!item) {
                //console.log('item ' + vm.widget.item + ' not found');
                return;
            }

            var parts = item.state.split(',');
            var value;
            if (parts.length == 3) {
                // knob received HSB value, use the 3rd (brightness)
                value = (parseFloat(parts[2])).toFixed(1);
            } else {
                value = (parseFloat(parts[0])).toFixed(1);
            }

            return value;
        }

Instead using parseINT i used parseFloat and added toFixed for rounding to 1 decimal.

I’m still with another part of my issue. Refreshing the page from the browser, the widget show 0.

Can you help me on this? Better thing should be edit this Widget and add the capability to add float values, or add another similar widget handling Float values.

Thanks

Marco

{
“error”: {
“message”: “HTTP 404 Not Found”,
“http-code”: 404,
“exception”: {
“class”: “javax.ws.rs.NotFoundException”,
“message”: “HTTP 404 Not Found”,
“localized-message”: “HTTP 404 Not Found”
}
}
}

So that’s not working


Shouldn’t that be:

http://your_server:8080/rest/persistence/items/Your_Item?servicename=influxdb

hmmm
 I can’t get an n3 line chart working either in openhab2.