Dashticz + Fully Kiosk Browser refresh settings

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Dashticz + Fully Kiosk Browser refresh settings

Post by sammyke007 »

Hi

I have a Huawei Mediapad T5 running Fully Kiosk Browser mounted in my hallway. It's running Dashticz offcourse.
The screen comes on when it detects motion with the build in front camera, or when my front door opens using the http command. It's all working really nice.

The only "minor" thing is when the tablet's screen has been off for a longer time (no motion detected), and the screen comes on, it always has to reload the dashticz site. I know it only takes a second or 5-10 to load the Dashticz interface, but what settings do you guys use for both Dashticz and Fully?

These are mine:

Dashticz config.js:

Code: Select all

config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['standby_after'] = '0';
config['enable_websocket'] = true;
Fully Kiosk Browser:

Code: Select all

Web auto reload -> Auto Reload on Idle = 0
Web auto reload -> Auto Reload on Screen On = OFF
Device Management -> Keep Screen On = ON
Device Management -> Screen Off Timer (PLUS) = 90
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by Lokonli »

My dashticz_refresh value is 300, however that doesn't completely prevent the 'wake-up' delay.

It seems that the WebView window of FKB gets deactivated after a while, and that Dashticz needs some time to startup again.
At activation Dashticz starts handling the timeout events, including the refresh as set with dashticzh_refresh.

If anyone has more info on this, please share it here.

I'll do some experiments as well.
(experiment 1: what happens if I trigger FKB TextToSpeech every minute?)
sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by sammyke007 »

Tnx Lokonli for looking into it. Sounds kinda logic what you're saying.
Maybe not the correct solution, but setting the dashticz_refresh to 1440 (24h) might help? If websockets are running like they should, I don't know why Dashticz should reload, or am I missing something?
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by Lokonli »

You can also set it to 0.

I reboot my tablet every night.
sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by sammyke007 »

Lokonli wrote: Monday 19 April 2021 15:32 You can also set it to 0.

I reboot my tablet every night.
Set it to 0, will report back later.
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Lokonli,
Is it possible to refresh OWM in the standby mode.
Now i need to refresh Dashticz to get OWM update. This is causing to reload Dashticz every hour to get the updated OWM on the Standby screen
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by Lokonli »

madpatrick wrote: Monday 19 April 2021 17:34 Lokonli,
Is it possible to refresh OWM in the standby mode.
Now i need to refresh Dashticz to get OWM update. This is causing to reload Dashticz every hour to get the updated OWM on the Standby screen
Yes, I'll look into that.

Would the OWM widgets be an alternative? They will refresh already

https://dashticz.readthedocs.io/en/mast ... idget.html
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Unfortunately the widgets are not a alternative.
I want have my screen as much as black as possible and the widget are too colourfull :roll:

Image
The OWM icon are unfortunately dissapeared with the screenshot :shock:
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by HansieNL »

Maybe weatherwidget.io an option?
weatherwidget-io.png
weatherwidget-io.png (17.54 KiB) Viewed 2755 times
Blah blah blah
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Is it possible without the forecast of the next coming days ?
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by HansieNL »

madpatrick wrote: Monday 19 April 2021 18:26 Is it possible without the forecast of the next coming days ?
Yess. You can customize the view.
Blah blah blah
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Definately an option !

Image

I will try ito implement it into Block ;)
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by HansieNL »

There's already an option to show this in Dashticz...
See HTML custom block in the documentation.
Blah blah blah
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Hi Hansie,

I have found it and working with as we speak... ;)
https://dashticz.readthedocs.io/en/beta ... /html.html
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

The widget is working on screen 1, but not in the standby mode
Image

I see only the location.
Same configuration is working normal on the screens

It looks that the <script> part is not loading in the Standby mode.
Is this possible ?

Code: Select all

<a class="weatherwidget-io" href="https://forecast7.com/nl/51d834d13/hellevoetsluis/" data-font="Arial" data-icons="Climacons Animated" data-mode="Current" data-days="5" data-theme="dark" >Hellevoetsluis, Netherlands</a>
<script>
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='https://weatherwidget.io/js/widget.min.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','weatherwidget-io-js');
</script>
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by Lokonli »

I think it's a limitation of the weatherwidget.

The weatherwidget is run only once. That means if you have a weatherwidget on one of your normal screens, then it's run before the standby screen is created, and the weatherwidget on the standby screen is not found...

So you have to choose: weatherwidget on a normal screen, or weatherwidget on the standby screen, not both.

There is no easy workaround.
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Thanks Lokonli,

Now it is working !
It is only not so stable. Sometime it is not loading in the standby mode and needs a reload of Dashticz

It looks like to be an Fully Remote Admin issue
With Chrome Browser on my tablet it is working
Last edited by madpatrick on Tuesday 20 April 2021 9:45, edited 1 time in total.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by sammyke007 »

sammyke007 wrote: Monday 19 April 2021 15:57
Lokonli wrote: Monday 19 April 2021 15:32 You can also set it to 0.

I reboot my tablet every night.
Set it to 0, will report back later.
For now, setting the dashticz refresh to 0 works like I hoped for!
Tnx for the tip Lokonli! As websockets are used, I don't see why refreshing every hour is needed. Great!
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by madpatrick »

Lokonli wrote: Monday 19 April 2021 21:27 I think it's a limitation of the weatherwidget.

The weatherwidget is run only once. That means if you have a weatherwidget on one of your normal screens, then it's run before the standby screen is created, and the weatherwidget on the standby screen is not found...

So you have to choose: weatherwidget on a normal screen, or weatherwidget on the standby screen, not both.

There is no easy workaround.
I managed the to get the widget working on the standby screen, but it is also not updating hte weather information.
After a restart of the Dashticz often the weather information is lost and i see not widget
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
jacobsentertainment
Posts: 223
Joined: Thursday 01 October 2020 1:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Not @ home
Contact:

Re: Dashticz + Fully Kiosk Browser refresh settings

Post by jacobsentertainment »

Lokonli wrote: Monday 19 April 2021 15:32 You can also set it to 0.

I reboot my tablet every night.
I have done the same thing setting it to 0. It's a quick solution for keeping the screen in full screen mode but comes with other disadvantages, calendar and weather things are not updated any-more. Would be nice for the next update, if full mode is switched that it stays in full mode after refresh...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest