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 »

robgeerts wrote:
1.) download latest beta
2.) add following code to config.js:

The new animated weather icons are very cute. :)

BTW personally I haven't tried combined calendars, but separate calendars still not working. :twisted:

columns[3]['blocks'] = [calendars.private, calendars.business];
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

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

Post by poudenes »

And Agenda items that repeats every time are not shown as well.
For the rest wonderful scripting. Keep up the good work :D
madrian wrote:
robgeerts wrote:
1.) download latest beta
2.) add following code to config.js:

The new animated weather icons are very cute. :)

BTW personally I haven't tried combined calendars, but separate calendars still not working. :twisted:

columns[3]['blocks'] = [calendars.private, calendars.business];
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
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: BTW personally I haven't tried combined calendars, but separate calendars still not working. :twisted:
columns[3]['blocks'] = [calendars.private, calendars.business];
Did youtry https://cors-anywhere.herokuapp.com/ instead of crosorigin.me in front of the calender-url?

Blueone wrote:I'm having some issues with the dashboard, after a while the dashboard reacts extremely slow and sometimes also doesn't exit the stand-by mode or also very slowly (looks like it is waiting for something). And sometimes when it end standby is shows only the background on a empty screen, I can swipe and am seeing the main screen but is goes back to the empty screen when I release the screen, a complete refresh is the only option in this case.
Do you have the latest version?
It should automatically reload after 30 minutes or so...

Teunissm wrote:is it posible in the latest beta version to add an rgb switch? I saw something about it?
Not yet finished ;)

poudenes wrote:And Agenda items that repeats every time are not shown as well.
For the rest wonderful scripting. Keep up the good work :D
I know, you mentioned it a couple of times ;)
Will look into this
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

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

Post by poudenes »

robgeerts wrote:
poudenes wrote:And Agenda items that repeats every time are not shown as well.
For the rest wonderful scripting. Keep up the good work :D
I know, you mentioned it a couple of times ;)
Will look into this
I'm sorry. :) there lots of posts and try to help. Did someone also have trouble with multiple screens in Beta? When its loaded i can't switch. Have to resize the browser first or change from full screen to normal and back on tablet before i can use the dots to switch.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
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 »

b00n wrote:For the 2 hour time issue:

in ical_parser.js i changed:

Code: Select all

var utcdatems = ConvertUTCTimeToLocalTime(Date.UTC(dtutc.year, (dtutc.month-1), dtutc.day, dtutc.hour, dtutc.minute));
to

Code: Select all

var utcdatems = Date.UTC(dtutc.year, (dtutc.month-1), dtutc.day, dtutc.hour, dtutc.minute);
and the time issue is gone :D (last beta)
Ok just tested with this.
But, the problem I have is the when I use the last line of code you mentioned, I got most items right, but some items,created by someone else in shared calendar is still 2 hours off...
Blueone
Posts: 130
Joined: Friday 29 November 2013 11:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Blueone »

robgeerts wrote:
Blueone wrote:I'm having some issues with the dashboard, after a while the dashboard reacts extremely slow and sometimes also doesn't exit the stand-by mode or also very slowly (looks like it is waiting for something). And sometimes when it end standby is shows only the background on a empty screen, I can swipe and am seeing the main screen but is goes back to the empty screen when I release the screen, a complete refresh is the only option in this case.
Do you have the latest version?
It should automatically reload after 30 minutes or so...
Using the last version, sometimes is also happens already after 5 minutes or so. I also notice it in the setpoint setting, when I change it could take a while before it refreshed while sometimes it is working perfect. So I think one piece of code or call is causing this issue which delays the rest. But is quite hard to debug, so tips to debug are welcome. Maybe I can also disable the block one by one to see if I can pin-point it.
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: Dashticz v2.0, custom positioning and multiple screens

Post by gielie »

koowee wrote:
SuperMouse wrote:But how to get the lastudate working?

Do I need to add this in blocks ? like:

blocks[121] = {}
blocks[121]['lastupdate'] = true

How did you do this?
You need to enable _SHOW_LASTUPDATE variable

Code: Select all

var _SHOW_LASTUPDATE = true;
And if you want to hide last update data from some device, then you need to add this kind of block

Code: Select all

blocks[idx]['hide_lastupdate'] = true;
Thats really inconvenient, would it be more easy to make a show_lastupdate for the idx you want instead of the one you don't want.
@Rob Is this something you can put on your todo list?
- 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
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 »

Added to my list..
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 »

Link on multiple calendars

In latest beta it is possible to add a click-function to the calendar-block.

Code: Select all

var calendars = {}
calendars.wedevise = { icalurl: 'http://urlto.com/basic.ics' }
calendars.private = { icalurl: 'http://urlto.com/basic.ics' }

calendars.combined = {}
calendars.combined.calendars = [
	{ color:'white',calendar:calendars.wedevise }, 
	{ color:'#ccc',calendar:calendars.private }
]
calendars.combined.url = 'https://linktocalendar.com';

WARNING: if you already used combined calendars, change it to the code above, with or without the url part ('calendars' in varname has been added)
bimse
Posts: 21
Joined: Sunday 05 February 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: Model 3
Contact:

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

Post by bimse »

I can see that the 'Security pane' has been added, how is this used?

Is it possible to add a timer function to the radio so it can be used as a clock radio. Possibly ruled in lua.
Translated with google
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

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

Post by poudenes »

Maybe a idea to put all functions on the http://www.domoticz.com/wiki/Dashticz-v2 site?
Or at least whats in the production version is added.
robgeerts wrote:Link on multiple calendars

In latest beta it is possible to add a click-function to the calendar-block.

Code: Select all

var calendars = {}
calendars.wedevise = { icalurl: 'http://urlto.com/basic.ics' }
calendars.private = { icalurl: 'http://urlto.com/basic.ics' }

calendars.combined = {}
calendars.combined.calendars = [
	{ color:'white',calendar:calendars.wedevise }, 
	{ color:'#ccc',calendar:calendars.private }
]
calendars.combined.url = 'https://linktocalendar.com';

WARNING: if you already used combined calendars, change it to the code above, with or without the url part ('calendars' in varname has been added)
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Blueone
Posts: 130
Joined: Friday 29 November 2013 11:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Blueone »

Blueone wrote:
robgeerts wrote:
Blueone wrote:I'm having some issues with the dashboard, after a while the dashboard reacts extremely slow and sometimes also doesn't exit the stand-by mode or also very slowly (looks like it is waiting for something). And sometimes when it end standby is shows only the background on a empty screen, I can swipe and am seeing the main screen but is goes back to the empty screen when I release the screen, a complete refresh is the only option in this case.
Do you have the latest version?
It should automatically reload after 30 minutes or so...
Using the last version, sometimes is also happens already after 5 minutes or so. I also notice it in the setpoint setting, when I change it could take a while before it refreshed while sometimes it is working perfect. So I think one piece of code or call is causing this issue which delays the rest. But is quite hard to debug, so tips to debug are welcome. Maybe I can also disable the block one by one to see if I can pin-point it.
Oke, I think i found the cause with the timeline in debugging mode. I appears is't waiting very long for some images from nu.nl or something, an example.
2017-05-03 11_24_32-Dashticz.png
2017-05-03 11_24_32-Dashticz.png (4.75 KiB) Viewed 2133 times
http://sat.sanoma.fi/sat/sat.gif?log=1& ... 53&ctz=120

It is loading this every 10seconds (when refreshing the dashboard) while I don't have an active iframe with this info in it, only a button which directs to nu.nl (nu.nl is part of sanoma). It is also doing this in a syncronous job, so the json calls are waiting for this. I think there are two issues/improvements here:

- it is loading all the external information every 10 seconds while the buttons aren't open on the screen
- External information is loaded synchronously and the json call are waiting for it, maybe external information can be loaded async to inprove the user experience?

I hope you can do something with this information, thanks in advance! :D. And if you need extra debug information, please let me know :).

BTW, I think some of the external images which are requested by nu.nl are blocked by piHole, will check that this evening, but it shouldn't interfere the working of the dashboard.
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 »

robgeerts wrote: BTW personally I haven't tried combined calendars, but separate calendars still not working. :twisted:
columns[3]['blocks'] = [calendars.private, calendars.business];
Did youtry https://cors-anywhere.herokuapp.com/ instead of crosorigin.me in front of the calender-url?
[/quote]

Yep, because crossorigin.me not worked in the morning. Only one calendar works at the same time.
crashingdutchman
Posts: 21
Joined: Monday 05 December 2016 11:29
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Contact:

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

Post by crashingdutchman »

It seems that after the Standby period triggers my screen is now completely black instead of dimmed. I didn't find a settings for this. Anyone else seeing this too?
User avatar
rbo0567
Posts: 12
Joined: Thursday 13 April 2017 16:41
Target OS: Linux
Domoticz version: v4.9701
Location: 's-Hertogenbosch
Contact:

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

Post by rbo0567 »

crashingdutchman wrote:It seems that after the Standby period triggers my screen is now completely black instead of dimmed. I didn't find a settings for this. Anyone else seeing this too?
Yep. Same here.
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 »

Not over here, could you send me your config.js (without credentials).
Do you have the latest version and cleared cache?
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 »

poudenes wrote:Maybe a idea to put all functions on the http://www.domoticz.com/wiki/Dashticz-v2 site?
Or at least whats in the production version is added.
robgeerts wrote:Link on multiple calendars

In latest beta it is possible to add a click-function to the calendar-block.

Code: Select all

var calendars = {}
calendars.wedevise = { icalurl: 'http://urlto.com/basic.ics' }
calendars.private = { icalurl: 'http://urlto.com/basic.ics' }

calendars.combined = {}
calendars.combined.calendars = [
	{ color:'white',calendar:calendars.wedevise }, 
	{ color:'#ccc',calendar:calendars.private }
]
calendars.combined.url = 'https://linktocalendar.com';

WARNING: if you already used combined calendars, change it to the code above, with or without the url part ('calendars' in varname has been added)
Added :)
http://www.domoticz.com/wiki/Dashticz_V ... tomization
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 »

gielie wrote:
koowee wrote:
SuperMouse wrote:But how to get the lastudate working?

Do I need to add this in blocks ? like:

blocks[121] = {}
blocks[121]['lastupdate'] = true

How did you do this?
You need to enable _SHOW_LASTUPDATE variable

Code: Select all

var _SHOW_LASTUPDATE = true;
And if you want to hide last update data from some device, then you need to add this kind of block

Code: Select all

blocks[idx]['hide_lastupdate'] = true;
Thats really inconvenient, would it be more easy to make a show_lastupdate for the idx you want instead of the one you don't want.
@Rob Is this something you can put on your todo list?
In latest beta it is possible to have:

Code: Select all

var _SHOW_LASTUPDATE = false;

var blocks = {}
blocks[233] = {}
blocks[233]['show_lastupdate'] = true;
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 »

I have one calendar, but after the last beta update it isn't working anymore?
I did put in the code for combined calendars en without but the calendar isn't showing :(
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

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

Post by woody4165 »

robgeerts wrote: Will check out the graph height later. According the news-bug, this is fixed in next beta (not available yet).
In the meantime, open main.js, find:

Code: Select all

myswiper = new Swiper('.swiper-container', {
	pagination: '.swiper-pagination',
	paginationClickable: true,
	loop: true,
	effect: _SCREENSLIDER_EFFECT,
	keyboardControl:true
});
AND change to:

Code: Select all

myswiper = new Swiper('.swiper-container', {
	pagination: '.swiper-pagination',
	paginationClickable: true,
	loop: false,
	effect: _SCREENSLIDER_EFFECT,
	keyboardControl:true
});
(looping the slides gives too much headaches ;)
Hi @robgeerts

just tried, but no changes on second page... :roll:
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Locked

Who is online

Users browsing this forum: No registered users and 1 guest