Buttons, Icons, Cams - a few questions Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
janumix
Posts: 21
Joined: Wednesday 06 November 2019 15:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Buttons, Icons, Cams - a few questions

Post 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
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buttons, Icons, Cams - a few questions

Post by HansieNL »

For latest manual: https://dashticz.readthedocs.io/en/master/
1. See Block parameters
4. See Custom graphs
Blah blah blah
janumix
Posts: 21
Joined: Wednesday 06 November 2019 15:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buttons, Icons, Cams - a few questions

Post 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 !
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buttons, Icons, Cams - a few questions

Post by HansieNL »

5. You can change font by adding font settings for .btn .btn.active in custom.css
Blah blah blah
janumix
Posts: 21
Joined: Wednesday 06 November 2019 15:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buttons, Icons, Cams - a few questions

Post by janumix »

5. works fine - thanks !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest