Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post 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.
User avatar
rbisschops
Posts: 63
Joined: Monday 12 May 2014 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Location: Schiedam, Netherlands
Contact:

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

Post 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 1652 times
Thx

Ralph
RPi 3B (master): RFXtrx433, Harmony Hub, Z-Wave devices, CoCo units, Hue, Xiaomi Aquara
RPi 2B (slave): P1 connection, MySensors with custom built watermeter sensors on Aquadis+
RPi’s with: Mosquitto MQTT, Home Bridge, Home Assistant (for evaluation only)
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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?
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
User avatar
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post 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 :) ?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
sonar
Posts: 18
Joined: Saturday 31 January 2015 11:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

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

Post by sonar »

htilburgs wrote:
Type RFY, RFY, Blinds, which hardware is this?
This is how Somfy protocol is called in Domoticz
Last edited by sonar on Saturday 22 April 2017 20:24, edited 1 time in total.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post 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.
Last edited by madrian on Saturday 22 April 2017 20:26, edited 1 time in total.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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.. ;)
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post 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
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

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

Post 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.
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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:
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

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

Post 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
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

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

Post 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
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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 ;)
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

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

Post 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.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by HansieNL »

Some pictures I use...
Image
Image
Blah blah blah
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

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

Post 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.
User avatar
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

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

Post 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?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Locked

Who is online

Users browsing this forum: No registered users and 1 guest