Page 65 of 184

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 19:47
by madrian
Jonb wrote:
robgeerts wrote:
madrian wrote:About slides in Dashticz:



Why not? I tried out:



With HW acceleration enabled the sliding animation is much smoother, but there is a little graphical glitch at the end (the flashing).

But this superslide project is very old and is not maintanced anymore, isn't there a better option? Like Swiper or any other project.
Thanks, will look into this!
You can change it to Fade instead of Slide function. I did it myself and it has a superb result! 100% smoothly and looks better too!
1. edit your jquery.superslides.js
2. find animation:"slide"
3. change to animation:"fade"
4. done (I'm sure you will like it)

You also can change the speed if you want, for me the standard speed value is great.
Nice solution, but you don't need to change jquery.superslides.js.

In main.js line 105, find:

$slides.superslides({
hashchange: true/*,
animation: 'fade'*/
});

and remove comments. I tried with/without jquery.superslides.js, I have not seeing any difference with fade animation.

+the best would be if slide animation followed your finger while sliding, like in native applications.

Swiper example:

http://idangero.us/swiper/demos/02-responsive.html

This swiping is works much better than current solution, but I don't know if Rob can change to this plugin.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 19:50
by rbisschops
Hi @robgeerts

Another strange one (bug?):

Code: Select all

    blocks[136] = {}
    blocks[136]['width'] = 6;
    blocks[136]['title']  = 'Thuis'  
    blocks[136]['icon']   = 'fa-home'
This is a virtual switch. If I name it 'Thuis' it gives 'aanwezig' as status. If I leave it, obviously it gets the Domoticz name. In my case 'VirtualPresence'.
The first is the prevered state. But , I it does not show the set icon in that case (see screenshot). Should this be a custom image instead of the font awesome one?
presence.jpg
presence.jpg (7.84 KiB) Viewed 1667 times
Thx

Ralph

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:16
by htilburgs
I have blinds as type and the stop button is working.
Ok, I believe you ;)
With the option to 'remove' the STOP button, both are happy.

I'm interested, Type RFY, RFY, Blinds, which hardware is this?

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:17
by mvveelen
Is it possible to implement the security panel?

When I add it now, it shows only "off", and I can't switch it on (using a code). Maybe a Dashticz-v2-style pop-up or something :) ?

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:19
by sonar
htilburgs wrote:
Type RFY, RFY, Blinds, which hardware is this?
This is how Somfy protocol is called in Domoticz

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:24
by madrian
Please add this information to the Wiki, it's missing. +add info that graph_IDX === IDX is the actual IDX of the device. I searched for graph_IDX, but I then found that IDX is for device. Thanks. ;)

//There is a bug with this graph with temp+hum+baro (or other multi output device), but we can fix this later if someone going to use it. Priority: low.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:25
by HansieNL
rbisschops wrote:Hi @robgeerts

Another strange one (bug?):

Code: Select all

    blocks[136] = {}
    blocks[136]['width'] = 6;
    blocks[136]['title']  = 'Thuis'  
    blocks[136]['icon']   = 'fa-home'
This is a virtual switch. If I name it 'Thuis' it gives 'aanwezig' as status. If I leave it, obviously it gets the Domoticz name. In my case 'VirtualPresence'.
The first is the prevered state. But , I it does not show the set icon in that case (see screenshot). Should this be a custom image instead of the font awesome one?

presence.jpg
Thx

Ralph
This is some custom code Rob has put in main.js for me. Maybe it's better that he removes this part because we have custom.js now.

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:25
by robgeerts
madrian wrote:
Jonb wrote:
robgeerts wrote:
Thanks, will look into this!
You can change it to Fade instead of Slide function. I did it myself and it has a superb result! 100% smoothly and looks better too!
1. edit your jquery.superslides.js
2. find animation:"slide"
3. change to animation:"fade"
4. done (I'm sure you will like it)

You also can change the speed if you want, for me the standard speed value is great.
Nice solution, but you don't need to change jquery.superslides.js.

In main.js line 105, find:

$slides.superslides({
hashchange: true/*,
animation: 'fade'*/
});

and remove comments. I tried with/without jquery.superslides.js, I have not seeing any difference with fade animation.

+the best would be if slide animation followed your finger while sliding, like in native applications.

Swiper example:

http://idangero.us/swiper/demos/02-responsive.html

This swiping is works much better than current solution, but I don't know if Rob can change to this plugin.
Yes, i can!

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:25
by robgeerts
rbisschops wrote:Hi @robgeerts

Another strange one (bug?):

Code: Select all

    blocks[136] = {}
    blocks[136]['width'] = 6;
    blocks[136]['title']  = 'Thuis'  
    blocks[136]['icon']   = 'fa-home'
This is a virtual switch. If I name it 'Thuis' it gives 'aanwezig' as status. If I leave it, obviously it gets the Domoticz name. In my case 'VirtualPresence'.
The first is the prevered state. But , I it does not show the set icon in that case (see screenshot). Should this be a custom image instead of the font awesome one?
presence.jpg
Thx

Ralph
Well, i had one exception for another user wich had a switch named Thuis. Will change this!

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:26
by robgeerts
mvveelen wrote:Is it possible to implement the security panel?

When I add it now, it shows only "off", and I can't switch it on (using a code). Maybe a Dashticz-v2-style pop-up or something :) ?
Will look into this. Only problem is that I dont have a security panel to test this.. ;)

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:28
by SwordFish
sonar wrote:
htilburgs wrote:
Type RFY, RFY, Blinds, which hardware is this?
This is how Somfy protocol is called in Domoticz
That's right :P

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:28
by madrian
robgeerts wrote:
mvveelen wrote:Is it possible to implement the security panel?

When I add it now, it shows only "off", and I can't switch it on (using a code). Maybe a Dashticz-v2-style pop-up or something :) ?
Will look into this. Only problem is that I dont have a security panel to test this.. ;)
I just bought an Envisalink module for my DSC alarm, but I am going to use simple buttons to control my alarm. Arm/Disarm/Bypass zones.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:29
by htilburgs
sonar wrote:
htilburgs wrote:
Type RFY, RFY, Blinds, which hardware is this?
This is how Somfy protocol is called in Domoticz
I'm looking, but no Somfy in hardware setup. :shock:

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:32
by gielie
robgeerts wrote:
rbisschops wrote:Hi @robgeerts

Another strange one (bug?):

Code: Select all

    blocks[136] = {}
    blocks[136]['width'] = 6;
    blocks[136]['title']  = 'Thuis'  
    blocks[136]['icon']   = 'fa-home'
This is a virtual switch. If I name it 'Thuis' it gives 'aanwezig' as status. If I leave it, obviously it gets the Domoticz name. In my case 'VirtualPresence'.
The first is the prevered state. But , I it does not show the set icon in that case (see screenshot). Should this be a custom image instead of the font awesome one?

presence.jpg
Thx

Ralph
Well, i had one exception for another user wich had a switch named Thuis. Will change this!
Maybe it was my question, if you remove this, how can i put it back in the custom.css

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:33
by SwordFish
It's not under hardware. You have to add a switch manual.
See this post https://www.domoticz.com/forum/viewtopic.php?t=2567

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:49
by htilburgs
SwordFish wrote:It's not under hardware. You have to add a switch manual.
See this post https://www.domoticz.com/forum/viewtopic.php?t=2567
Thanx for the information. Back to Dashticz ;)

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 20:53
by htilburgs
madrian wrote:Please add this information to the Wiki, it's missing. +add info that graph_IDX === IDX is the actual IDX of the device. I searched for graph_IDX, but I then found that IDX is for device. Thanks. ;)

//There is a bug with this graph with temp+hum+baro (or other multi output device), but we can fix this later if someone going to use it. Priority: low.
Maybe I don't see it, but what information has to be added to the Wiki??

ps. You have also the possibility to add it yourself ;) That's the nuce thing about the wiki Feel free and give it a try.

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 21:02
by HansieNL
Some pictures I use...
Image
Image

Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 21:08
by robgeerts
madrian wrote: Swiper example:

http://idangero.us/swiper/demos/02-responsive.html

This swiping is works much better than current solution, but I don't know if Rob can change to this plugin.
Swiper is includes in the latest version!!
You were right, this works better, will push it within an hour.

Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens

Posted: Saturday 22 April 2017 21:20
by mvveelen
robgeerts wrote:
mvveelen wrote:Is it possible to implement the security panel?

When I add it now, it shows only "off", and I can't switch it on (using a code). Maybe a Dashticz-v2-style pop-up or something :) ?
Will look into this. Only problem is that I dont have a security panel to test this.. ;)
Oh, but I mean the security panel from Domoticz. When you click on the 'security panel switch', it shows a page with the security panel.

Other question:

It seems the nzbget and the traffic add-ons are deleted? In the older versions I see some settings for this, but no documentation for it for the v2. Is that right?