Page 1 of 1

Dashticz - Beta 2.5.3

Posted: Monday 21 January 2019 18:57
by Lokonli
Dashticz Beta 2.5.3 has been released today.

New functionality
  • OWM functionality
Now it's possible to show the OpenWeatherMap forecast in days instead of 3 hour period. You enable this by setting the following parameter in CONFIG.js:

Code: Select all

config['owm_days'] = 1;
You can select whether to show the minimum temperature for each day with:

Code: Select all

config['owm_min'] = 1;
  • Configure forced refresh of images and frames
Currently images and frames are being refreshed in the background. Sometimes the caching behaviour of the browser prevents refresh of the data. To prevent caching Dashticz automatically adds a parameter with current time info to the URL. This however generated errors from websites that don't expect this additional parameter. For that reason a new parameter 'forcerefresh' has been introduced that controls this caching-prevention mechanism. You can add it to the button and frame definitions. Default value is 'false'. Example:

Code: Select all

buttons.buienradar	= { forcerefresh:true, key: 'buienradar', width:12, isimage:true, refresh:60000, refreshiframe:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=256&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.06022&lng=4.39288&overname=2&zoom=13&naam=2496hx&size=5&voor=1', framewidth:580, frameheight: 520};
This might introduce regression: If you encounter images and/or frames not being refreshed, then please add the forcerefresh:true parameter to your button/frame definition


Bug fixes
  • Garbage provider 'Ophaalkalender' (BE)
Upgrade
For upgrade instructions see the Wiki:
https://www.domoticz.com/wiki/Dashticz_ ... ta_release

Re: Dashticz - Beta 2.5.3

Posted: Monday 28 January 2019 22:33
by Marcvdp
After installing the beta I noticed the Icons from Font Awsome are not loaded. How can I fix this?


Sent from my iPhone using Tapatalk Pro

Re: Dashticz - Beta 2.5.3

Posted: Tuesday 29 January 2019 8:36
by Lokonli
Marcvdp wrote: Monday 28 January 2019 22:33 After installing the beta I noticed the Icons from Font Awsome are not loaded. How can I fix this?


Sent from my iPhone using Tapatalk Pro
What was your previous version? Around June'18 Dashticz beta migrated to a new version of font-awesome. The consequence is that you have to change the icon names in your CONFIG.js.

You can find the right icon names via the fontawesome website:
https://fontawesome.com/start

For instance: For the tv icon you have to replace 'fa-tv' with 'fas fa-tv'

For most icons you have to put 'fas' (for a solid icon) or 'far' (for a regular icon) in front of your current icon definition.
Some icon names changed as well with the fontawesome update.

Re: Dashticz - Beta 2.5.3

Posted: Tuesday 29 January 2019 8:44
by Marcvdp
Thanks for the help! This does the trick. To answer your question I was running the last stable version. But wanted to use Open Weather Maps and couldn’t get it to work.



Sent from my iPhone using Tapatalk Pro

Re: Dashticz - Beta 2.5.3

Posted: Tuesday 29 January 2019 21:55
by clsgroen2
Running the latest beta and noticed that my camera image doesn't refresh in Chrome on OSX and Android, it works fine on Safari OSX and iOS.
Spoiler: show
buttons.cam_voordeur = { width:12, isimage:true, refresh:2000, image: 'http://192.168.0.61:88/cgi-bin/CGIProxy ... &pwd=<pass>', url: 'http://192.168.0.61:88/cgi-bin/CGIProxy ... &pwd=<pass>'}
On my older stable version it refreshes in all browsers.

Re: Dashticz - Beta 2.5.3

Posted: Tuesday 29 January 2019 22:09
by Lokonli
clsgroen2 wrote: Tuesday 29 January 2019 21:55 Running the latest beta and noticed that my camera image doesn't refresh in Chrome on OSX and Android, it works fine on Safari OSX and iOS.
Spoiler: show
buttons.cam_voordeur = { width:12, isimage:true, refresh:2000, image: 'http://192.168.0.61:88/cgi-bin/CGIProxy ... &pwd=<pass>', url: 'http://192.168.0.61:88/cgi-bin/CGIProxy ... &pwd=<pass>'}
On my older stable version it refreshes in all browsers.
Can you try with adding the forcerefresh:true parameter to the button definition, like:

Code: Select all

buttons.cam_voordeur = { forcerefresh:true, width:12, isimage:true, refresh:2000, image: 'http://192.168.0.61:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<user>&pwd=<pass>', url: 'http://192.168.0.61:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<user>&pwd=<pass>'}

Re: Dashticz - Beta 2.5.3

Posted: Wednesday 30 January 2019 14:09
by clsgroen2
Lokonli wrote: Tuesday 29 January 2019 22:09
clsgroen2 wrote: Tuesday 29 January 2019 21:55 Running the latest beta and noticed that my camera image doesn't refresh in Chrome on OSX and Android, it works fine on Safari OSX and iOS.
Spoiler: show
buttons.cam_voordeur = { width:12, isimage:true, refresh:2000, image: 'http://192.168.0.61:88/cgi-bin/CGIProxy ... &pwd=<pass>', url: 'http://192.168.0.61:88/cgi-bin/CGIProxy ... &pwd=<pass>'}
On my older stable version it refreshes in all browsers.
Can you try with adding the forcerefresh:true parameter to the button definition, like:
That works, thanks. Is this always needed or only to mitigate a bug?

Re: Dashticz - Beta 2.5.3

Posted: Wednesday 30 January 2019 16:12
by jake

clsgroen2 wrote: That works, thanks. Is this always needed or only to mitigate a bug?
Please check the first post