Examples of HABPanel Solutions

Many thanks for your hint Lorenzo. Since my group not only contains contacts with OPEN/CLOSED, I had to tweak the filter a bit. My window sensors from homematic are strings and the string item can contain OPEN/CLOSED/TILTED. So I ended up using your suggestion but, filtering on NOT CLOSED.

{{(itemsInGroup(config.item) | filter:{state:'!CLOSED'}).length}}

Again, thanks much for your idea that got me going.

I found solution:
Add this to the override css. This will keep the proportions to 16:10 and fill the right side with blank canvas

.container {
  margin-left: 0;
  height:100vh;
  width:160vh;
  box-shadow: none
}

Crispin, Iā€™d be happy to see you ESP8266-code for the flow meter. Thereā€™s really a blank spot on the home automation market when it come to flow meters.

Iā€™ll post it on github over the weekend.

Great, thanks!

Details here :
https://chri5.lima-city.de/?p=114

2 Likes

Hi,

Firstly I have to say, that all the examples are masterpices and got me hooked to habpanel. Now I have got one question, i might have overseen it, but is it possible to hide a dashboard on the main panel, or how have any of you realized that what I want to do.
My idea is to have one custom widget with a multiple of buttons that would each let me jump to a spacific dashboard? I donā€™t want to have for example 10 widgets for 10 dashboards. Just one widget on the main page to reach all the dashboards.

Ich schreibe meine Frage auch noch mal in Deutsch falls das fĆ¼r einige einfach zu beantworten sein sollte.
Ich mƶchte gerne auf der Habpanel Hauptseite nur ein selbsterzeugtes widget haben welches mehrere Knƶpfe beherbergt, und jenach dem welcher Knopf gedrĆ¼ckt wird soll dann zu diesem Dashboard gewechselt werden.

Hey, I think you can add an Item e.g. String ā€œDashboardNameā€ and configure the habpanel configuration ā€œSwitch dashboard with Item valueā€ reacting on this item. You can use a selection widget to change the Item value to a dashboards name.

Thanks alot. I will have a look into that.

With all the brilliant ideas in this Forum, kann anybody give me a good site for svg and png?

1 Like

I use the iconset from the german knx Forum. Icons are available in svg and png

@dawys
I really like your theme and widgets.
They are very clean and nice structured!
Also the popups to modify the parameters are well thought.

Would you like to share us your widgets + binding configuration and .css ? :slight_smile:
Especially I am interested in the monthly calender widget. You use it to set your holiday calender automation or what?

Thanks
Caprisna

Hi Caprisna,

thank you very much!

Yes i use may calender dropdown to set my holiday.

i have pushed the basic config to github:

greetings dawys

3 Likes

Anybody knows homehabit (android app, still in beta) and can say something to the differences to habpanel?

I tested habpanel and homehabit for some time, but i have to say, habpanel is way to slow for me. On my old cheap android tablet i say ok, the device is too old, but on my new i5-Desktop-Computer running win10 with 16GB RAM it is not recognizable faster.

Can anybody tell me, if habpanel can be very fast and snyppy or is this a generally problem of this ui?

On homehabit i press a button, the button immediately changes the collor - or i can jump from one dashboard to another very fast. In habpanel there always is a time to wait, until the command is done.

My openhab runs inside a virtual machin on a xeon server - so i would say my server is not the bottleneck.

Any advice or idea?

I will just reply on the first part of the question - differences. Home habit is not open source nor free application - if I recall correctly, creator of the home habit said he will even charge per device, and not per account, as most applications do. And the price for single device will be rather high for android application. Secondly, in home habit, you can only use widgets that creator made (and, subjectively, made with lots of bugs), while in HABPanel you can do pretty much anything, with custom widgets made by you or others. Regarding speed, on my tablet itā€™s reasonably fast and, indeed, usable.

Best regards,
Davor

Yes, i know the bad sides of homehabitā€¦

Basic UI on my desktop-pc or my android phone (android app) is working fast too, but it is not as beautyful like you can do it with habpanel. I donĀ“t want it to have on my wall.

You can work with habpanel, that is not the problem. When i want to power on the light, it will power onā€¦ But it is not very fast and so in my eyes i donĀ“t want to use it in my living room and show it to my guests.

So there is no way to make habpanel faster, very bad. But what is the problem of habpanel? Why is it slow? Even on fast devices?
Because it can work very fast - see android app, basic ui, homehabit, ā€¦ So is there something programmed bad - maybe it can be faster in the future, when the developer finds the bug?

Hi, I would like to know how to create transparent widget for slider or any other widget type ?

Thanks !

Hi davor,
I have got another question, again. The labels on your screen and the gaps between the Top Icons, how die you get them so small? I have always got the gapsize of a Widget.

Hello!
Iā€™ll reply here, because Iā€™m not at home at the moment, and I donā€™t recall the exact place where it can be at, so, someone else can help too. In habpanel thereā€™s an option to set number of columns of the grid (or something like that). If you set that to a higher value, youā€™ll be able to move and position widgets more precisely. Also, labels have font size, if I understood your question correctly.

Best regards,
Davor

Thanks again for the tips when I was setting up my kitchen display back in October. I now have a working solution, or maybe I should call it a ā€œprototypeā€.

For those who are interested, I asked for a solution to turn the screen on and off through command line, as I wanted to use a PIR sensor to turn on the screen when someone comes near the screen.

I ended up connecting the PIR sensor directly onto one of the GPIO pins on the Raspberry. Currently, I use a script that polls the PIR sensor every minute for ā€œpresenceā€, and turn the screen on if it has been turned off. The script turns the monitor off after 15 minutes of inactivity.

I am looking to improve my script when I find time, to:

  • Make it interrupt-driven instead of polling continually
  • Subscribe to a Mosquitto event, so I can integrate the screen on / off command into Openhab. This way, when I turn off all lights in the kitchen after sunset, I can turn the screen off at the same time.

Here is a picture of my screen, after it was built into the kitchen. I do have some fine-tuning of the surround trim to do, but so far, I am pleased with the integration! Thanks for the inspiration in this thread!!

8 Likes