HabPanel client disconnection causes delay

Hi,

I’m running OH 2.5.10 of a Debian server and use an android tablet mounted on the wall to input and read output data. Due to the great customizability with Habpanel, its a given.
The tablet is kind of old and running Android 4.4.2 with Fully kiosk browser displaying Habpanel.
I’ve tinkered with the settings in FullyKiosk and installed @arctus great add-on habpanel-filter which sped things up a bit.
Bit now I’ve noticed a delay of a couple of seconds when I haven’t touched the display for some time. Its like it has gone into standby and needs to connect to the OH-server while i wait impatiently :slight_smile:
Here is a logcat from the android device (OH does not tell me anything about this).
As you can see, its about to renew the SSE connection and closes the old, but doesn’t connect until I touch the display and Fully turn off the screensaver.
I’m not sure if this is an FullyKiosk, Android or Openhab isse.
Help appreciated.

12-13 16:00:30.376 I/chromium( 1017): [INFO:CONSOLE(192)] "Updating powerUsageW state from 1355 to 1360", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (192)
12-13 16:00:35.696 I/chromium( 1017): [INFO:CONSOLE(192)] "Updating powerUsageW state from 1360 to 1356", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (192)
12-13 16:00:39.656 I/chromium( 1017): [INFO:CONSOLE(45)] "Renewing SSE connection...", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (45)
12-13 16:00:39.666 I/chromium( 1017): [INFO:CONSOLE(48)] "Closing old stream", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (48)
12-13 16:05:30.706 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:30.776 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:33.646 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:33.726 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:34.456 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:34.556 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:35.496 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:35.606 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:36.246 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:36.356 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:36.666 I/chromium( 1017): [INFO:CONSOLE(91)] "Command sent: ZWPlug9_Lampa2=OFF", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (91)
12-13 16:05:37.056 I/chromium( 1017): [INFO:CONSOLE(91)] "Command sent: ZWPlug9_Lampa2=OFF", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (91)
12-13 16:05:37.146 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:37.266 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:37.536 I/chromium( 1017): [INFO:CONSOLE(91)] "Command sent: ZWPlug9_Lampa2=OFF", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (91)
12-13 16:05:37.886 I/chromium( 1017): [INFO:CONSOLE(91)] "Command sent: ZWPlug9_Lampa2=OFF", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (91)
12-13 16:05:39.246 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_DOWN
12-13 16:05:39.346 I/ViewRootImpl( 1017): ViewRoot's Touch Event : ACTION_UP
12-13 16:05:39.796 I/chromium( 1017): [INFO:CONSOLE(91)] "Command sent: ZWPlug9_Lampa2=OFF", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (91)
12-13 16:05:43.686 I/chromium( 1017): [INFO:CONSOLE(36)] "Loaded 71 openHAB items", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (36)
12-13 16:05:44.176 I/chromium( 1017): [INFO:CONSOLE(45)] "Renewing SSE connection...", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (45)
12-13 16:05:44.196 I/chromium( 1017): [INFO:CONSOLE(48)] "Closing old stream", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (48)
12-13 16:05:44.456 I/chromium( 1017): [INFO:CONSOLE(36)] "Loaded 71 openHAB items", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (36)
12-13 16:05:44.756 I/chromium( 1017): [INFO:CONSOLE(192)] "Updating powerUsageW state from 1637 to 1625", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (192)
12-13 16:05:50.886 I/chromium( 1017): [INFO:CONSOLE(192)] "Updating powerUsageW state from 1625 to 1635", source: http://192.168.0.11:8080/habpanel/app/services/openhab.service.js (192)