Custom Header/Widget - Define refresh-interval for "div"/item requests

Hello,

I made a custom widget with a lot of items.
this custom widget has small texts like “Heating ON”, “Night-Status”, “ALARM” …
So just small texts, which get just displayed, if something is one.
idea is, to have a small bar over all screens in habpanel, to show general status.
for this, I did create a lot of blocks in my widget, like:

<td style="background-color:green; border-width: 0px;">
ALARM ON

I have around 30 check-items like this.
the thing is, I show this habpanel also on a blackberry-display.
And as more items I did add, as slower the blackberry-display got.
I think, the problem is, that the widget is permanently refreshing and running through all “ifs”.

So my question is, can I adapt the interval, that the “if” of my custom-widget get just called each second for example?

KR

no one an idea on this :)?

There are very few expert habpanel users left (most users have moved to the response MainUI instead). I, myself, haven’t used habpanel in probably almost 10 years, and I certainly don’t know the answer to your question. However, the if statements in habpanel are based on angular-js, so my guess is that you will have more luck looking for this information in angular forums than you are here.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.