Examples of HABPanel Solutions


(kristoffer_c_johanss) #148

looks really nice…could you post the config?


(Patrick) #149

I got the logos from here: http://thesquid.ink/line-icons


(Patrick) #150

I added a custom css option to HabPanel, which I just saw was added in v2.1. I’ll upgrade to 2.1 and then post my 2.1 configs!


(Andrew Pawelski) #151

thanks @gersilex and @hExPY I dusted off an API key i used years ago - any idea on how to do a refresh in the iframe now?


(SiLeX) #152

No idea about the refresh. I think a refresh interval is not yet
implemented, but better look into the source code to be sure. Will have a
look too some time this week. If not, this is definitely worth an issue for
HABPanel, as almost everything should refresh, IMHO.

Andrew Pawelski bot@community.openhab.org schrieb am Mo., 3. Juli 2017 um
15:07 Uhr:


(Michael Stjerna) #153

Hi

I would really like the config files for the “Home” and “System”, especially the Astro and Weather :slight_smile:


(Dominic Bonneau) #154

Hi ! , How did you do the rules panel ?

How can you tell the last time it was execute and how many time ??

Thanks


(SiLeX) #155

Refresh is indeed not implemented, yet. I opened issues for the iframe and timeline widgets.


(Patrick) #156

I created a switch, a numeric and a datetime item per rule and update and evaluate the state in the rule. This way I can consistently keep track of the execution count and time and display it. I also want the ability to turn rules off via HabPanel, hence the switch.


(Patrick) #157

I uploaded my theme.css file and custom widget code here:


(Dominic Bonneau) #158

Wow so much pain but such a great idea … but since I plan to re do all my openhab on another server I’m gonna try to implement it !


(Ward) #159

Is it possible to add charts and switch between different time periods? I would like to switch easly between hour, day, month & year.

In ClassicUI, this is realy easy with

Switch item=Weather_Chart_Period label="Choose time period" mappings=[0=Hour, 1=Day, 2=Week, 3=Month]
			Chart item=Weather_Temp_Chart period=h refresh=600 visibility=[Weather_Chart_Period==0]
			Chart item=Weather_Temp_Chart period=D refresh=900 visibility=[Weather_Chart_Period==1, Weather_Chart_Period=="NULL"]
			Chart item=Weather_Temp_Chart period=W refresh=3600 visibility=[Weather_Chart_Period==2]
			Chart item=Weather_Temp_Chart period=M refresh=3600 visibility=[Weather_Chart_Period==3]

(Yannick Schaus) #160

Not yet but I’ve been thinking about it.


(Nduduzo Ngcobo) #161

Has anyone been able to implement art covers from Kodi to Habpanel?


(Sergey M) #162

Hello!
It is possible to make a custom widget that would show the state of the item as a dummy, but would be a button to navigate to another panel? In this case, the transition to another panel would be carried out only on this device?


(Tom) #163

Yes.
In HABpanel main settings, there is, at the bottom, a place to do this.
First create two ITEM in an .items file

For example:

Switch newPanel

String HABpanel

Add this switch to the first HABpanel dashboard with suitable labels

In HABpanel main settings, where it says:

Switch dashboard with item value
When this item changes to a dashboard’s name, switch to it:

Select your new item, HABpanel from the pull down list.

Create a rule:

rule “Change dashboards”

when

Item newPanel changed

then

HABpanel.postUpdate("name of new dashboard")   

end


(Sergey M) #164

Thank you for your help. I’m sure my English is very bad, so you did not understand my question. When switching to another panel, in your example, the transition will occur on all devices, and I need only on the current one. In standard widgets, there is a widget button, it has the action of switching to another panel, it’s very cool! But on this button you can place only the icon, and I need to display the status of the selected item.
Thank you!


(Tom) #165

Not sure about the second part but one way to do the first part would have the same panel configuration for each of your panels, but with a different Panel configuration name. It could be a real pain though, depending on how many panels you had, to modify something on all of them.


(Sergey M) #166

About 90 widgets, each of which should open its panel. It is very important that this is not reflected on other devices.


(marcel_erkel) #167

Yes, it’s not perfect yet, but it’s a start. The image widget unfortunately does not automatically resize the images. I’m sure this can be fixed using a custom image widget, but have not looked into that yet.