Page 1 of 1

Buttons, Icons, Cams - a few questions

Posted: Wednesday 06 November 2019 17:07
by janumix
Hi

1. Is there a chance to choose custom images for switches (blocks) for ON and OFF states, separately ?
2. Following statement:

Code: Select all

buttons.webcam_1 = {width:6, isimage:true, forcerefresh:1,  refresh:1000, refreshurl: 1000, image: 'http://192.168.1.3/snap.jpg', url: 'http://192.168.1.3/snap.jpg'}
refreshes image (in thumbnail) correctly but does not in popup (opens but do not refresh nor scales it to fit popup window). How to do that ?
3. How to put user/password in camera URL ? Normally http://user:password@IP should work but it doesn't. I read some posts in this forum but in my environment it does not work (in browser - Chrome it works fine) ?
4. In Domoticz I've got set up graphs for 48h instead of 24h (typically). Opening up graph in Dashticz shows <last hours>/<today>/<last month> captions. Is there any way to change these descriptions to better fit my setup (i.e. last 48h) ?
5. Can I change font size of switch-selector ?

BR
Janusz

Re: Buttons, Icons, Cams - a few questions

Posted: Thursday 07 November 2019 23:08
by HansieNL
For latest manual: https://dashticz.readthedocs.io/en/master/
1. See Block parameters
4. See Custom graphs

Re: Buttons, Icons, Cams - a few questions

Posted: Friday 08 November 2019 20:54
by janumix
It looks like I read old version of manual (or it was just updated ;) ).
1. works fine - thanks !
2. "refreshiframe" works but jpeg do not fit/scales into a frame.
4. works fine - thanks !

Re: Buttons, Icons, Cams - a few questions

Posted: Friday 08 November 2019 22:27
by HansieNL
5. You can change font by adding font settings for .btn .btn.active in custom.css

Re: Buttons, Icons, Cams - a few questions

Posted: Sunday 10 November 2019 21:55
by janumix
5. works fine - thanks !