Page 105 of 184

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 14:42
by barbaar
HansieNL wrote:
barbaar wrote:Hi,
Nothing seems to be wrong. Your screen goes to standby after 1 minute and shows exactly what you told and have configured.
var _STANDBY_AFTER_MINUTES = 1;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','currentweather_big','weather']
columns_standby[1]['width'] = 12;
Thanks! That's it :)

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 14:44
by Mike
Anyone else experiencing high CPU loads after having dashticz running and open in a tab for a longer period?

The fans in my laptop start kicking in, they normally never do except when I'm playing a game. The process in Chrome was using 20% CPU, when I closed the tab and reopened dashticz it was back to normal: <1%

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 15:18
by crashingdutchman
Would anyone be interested in adding Flightradar24 to his dashboard? I have this setup now and it seems to work nice, although I would like to be able to remove the left part of that site.Image

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 15:49
by wizjos
Concerning the swiper function, I've noticed the continuous loop has been disabled... Lazy as I am I propose to make this configurable as well:
In config.js add:

Code: Select all

var _CONTINUOUS_LOOP		= false;
and in main.js add:

Code: Select all

if(typeof(_CONTINUOUS_LOOP)=='undefined') var _CONTINUOUS_LOOP  = false;
in the upper part of the file and change function startSwiper to:

Code: Select all

function startSwiper(){
	if(objectlength(screens)>1 && (typeof(_EDIT_MODE)=='undefined' || _EDIT_MODE===false)){
		myswiper = new Swiper('.swiper-container', {
			pagination: '.swiper-pagination',
			paginationClickable: true,
			loop: _CONTINUOUS_LOOP,
			effect: _SCREENSLIDER_EFFECT,
			keyboardControl:true
		});
	}
}
Regards,
Wizjos

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 15:51
by robgeerts
Well yeah but woth the continuous loop i get other bugs... like not loading news etc..on the second slide..

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 16:50
by Wheeling
I notice that Blocks no longer updates from Domoticz. Only if i refresh the browser manually than update also the times / text from Domoticz. I'm using the last beta, but it's been a while now i think. Do more people have this problem?

Below, I think, the setting for the refresh

Code: Select all

var _LANGUAGE 		= 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ		= 'http://192.168.1.200:8080';
var _DOMOTICZ_REFRESH		= 5; //in seconds
var _DASHTICZ_REFRESH		= 30; //in minutes
var _THEME 				= 'default'; // default = dashticz default theme

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 16:57
by wizjos
robgeerts wrote:Well yeah but woth the continuous loop i get other bugs... like not loading news etc..on the second slide..
Hmmm, the news rss is loading allright, but it is a bit overdone: it srolls out of the screen. Very strange behaviour :shock:

EDIT: Even weirder: when going in reverse (left arrow key) the rss displays as it should (1 item), but when scrolling with the right arrow key it displays all... But another right key, followed by a left key makes it normal again....

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 17:06
by Ierlandfan
crashingdutchman wrote:Would anyone be interested in adding Flightradar24 to his dashboard? I have this setup now and it seems to work nice, although I would like to be able to remove the left part of that site.Image
I was playing with that also. I use this:

frames.flightradar = {height:250,frameurl:"https://www.flightradar24.com/52.8,5/10",width:12}
Gives you the Northern part of Holland. No menu on the left side for me.

Edit, found a better source (thanx to Vliegveld Middenmeer)

https://www.flightradar24.com/simple?la ... 2=altspeed

If you want all aiprplanes you have to delete maxspeed and minspeed. If you only want light aircraft like Microlights, gliders, Cessna, Piper and that kind of airplanes leave them in place.

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 18:00
by SwordFish
Wheeling wrote:I notice that Blocks no longer updates from Domoticz. Only if i refresh the browser manually than update also the times / text from Domoticz. I'm using the last beta, but it's been a while now i think. Do more people have this problem?

Below, I think, the setting for the refresh

Code: Select all

var _LANGUAGE 		= 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ		= 'http://192.168.1.200:8080';
var _DOMOTICZ_REFRESH		= 5; //in seconds
var _DASHTICZ_REFRESH		= 30; //in minutes
var _THEME 				= 'default'; // default = dashticz default theme
I noticed it to


Verzonden vanaf mijn iPhone met Tapatalk

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 18:11
by htilburgs
I think we all have the issue.
See my call in the bug section: http://www.domoticz.com/forum/viewtopic ... 27#p132893

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

Posted: Friday 05 May 2017 18:25
by tontze
DewGew wrote:
tontze wrote:
koowee wrote:
Did you add ; after that? If not, try if that help

Code: Select all

var _THEME = 'default';
Yes, didnt help :/
Config.js file is moved to custom folder.

// DewGew
Yes it is :)

I wiped whole directory and cloned again, edited config.js, now i have only background, not even clock :(

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 18:49
by EdwinK
crashingdutchman wrote:Would anyone be interested in adding Flightradar24 to his dashboard? I have this setup now and it seems to work nice, although I would like to be able to remove the left part of that site.Image
Would be fun

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 18:55
by Mike
Mike wrote:Anyone else experiencing high CPU loads after having dashticz running and open in a tab for a longer period?

The fans in my laptop start kicking in, they normally never do except when I'm playing a game. The process in Chrome was using 20% CPU, when I closed the tab and reopened dashticz it was back to normal: <1%
after about 4 hours (in the background, whilst doing other stuff) its gone up to 5%, when i look at the webpage it drops down after a while to normal cpu usage.
I'd like to have a window i can alt+tab to but it seems i have to close it to get my laptop to sleep and/or using excessive power.
Might be the webcam or buienradar I have running, but I'm running on the stable version :?:

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 19:11
by madrian
iCloud style background:
Screen-Shot-2017-05-05-19-09-52.png
Screen-Shot-2017-05-05-19-09-52.png (356.84 KiB) Viewed 2456 times

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 20:41
by DvD
I didn't change anything , except the updates with git pull but now after 5 minutes it goes to a black screen. Normally it should dimm the active screen.

my config

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.0.4:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30;

/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = 'http://192.168.0.4:8080/dashboard/switch_horizon.php'; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = ';
var _WEATHER_CITY                       = 'Spijkenisse';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = true; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _STANDBY_AFTER_MINUTES  = 5; //enter amount of minutes like: 5 (5 minutes)
var _USE_DUTCH_TRAFFICINFO      = true;
var _STANDBY_CALL_URL           = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=20'; //adjust brightness raspberry touchscreen, leave empty if not used
var _END_STANDBY_CALL_URL       = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=250'; //adjust brightness raspberry touchscreen, leave empty if not used
var _IDXmoonpicture      = 31; //index of the uservariabele MoonPicture
var _APIKEY_MAPS         = ';
var _MAPS_LATITUDE         = 51.850978;
var _MAPS_LONGITUDE      = 4.321489;
var _MAPS_ZOOMLEVEL = 11
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

Am I missing something ?

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 20:47
by Phantom
DvD wrote:I didn't change anything , except the updates with git pull but now after 5 minutes it goes to a black screen. Normally it should dimm the active screen.

my config

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.0.4:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30;

/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = 'http://192.168.0.4:8080/dashboard/switch_horizon.php'; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = ';
var _WEATHER_CITY                       = 'Spijkenisse';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = true; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _STANDBY_AFTER_MINUTES  = 5; //enter amount of minutes like: 5 (5 minutes)
var _USE_DUTCH_TRAFFICINFO      = true;
var _STANDBY_CALL_URL           = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=20'; //adjust brightness raspberry touchscreen, leave empty if not used
var _END_STANDBY_CALL_URL       = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=250'; //adjust brightness raspberry touchscreen, leave empty if not used
var _IDXmoonpicture      = 31; //index of the uservariabele MoonPicture
var _APIKEY_MAPS         = ';
var _MAPS_LATITUDE         = 51.850978;
var _MAPS_LONGITUDE      = 4.321489;
var _MAPS_ZOOMLEVEL = 11
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

Am I missing something ?

Hey, you are missing a ' here: var _APIKEY_MAPS = ' ';

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 20:48
by DvD
thats something you don't want to share with everybody, thats why I hide it

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 21:00
by Wheeling
DvD wrote:I didn't change anything , except the updates with git pull but now after 5 minutes it goes to a black screen. Normally it should dimm the active screen.

my config

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.0.4:8080';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30;

/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON         = 'http://192.168.0.4:8080/dashboard/switch_horizon.php'; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = ';
var _WEATHER_CITY                       = 'Spijkenisse';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = true; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _STANDBY_AFTER_MINUTES  = 5; //enter amount of minutes like: 5 (5 minutes)
var _USE_DUTCH_TRAFFICINFO      = true;
var _STANDBY_CALL_URL           = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=20'; //adjust brightness raspberry touchscreen, leave empty if not used
var _END_STANDBY_CALL_URL       = 'http://127.0.0.1/cgi-bin/screen_brightness.cgi?brightness=250'; //adjust brightness raspberry touchscreen, leave empty if not used
var _IDXmoonpicture      = 31; //index of the uservariabele MoonPicture
var _APIKEY_MAPS         = ';
var _MAPS_LATITUDE         = 51.850978;
var _MAPS_LONGITUDE      = 4.321489;
var _MAPS_ZOOMLEVEL = 11
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

Am I missing something ?
Do you have this in your code?

Code: Select all

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','currentweather_big','weather']
columns_standby[1]['width'] = 12;

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 21:09
by DvD
nope... I don't use the "var columns standby" because I only want the screen to dimm

Re: Dashticz - General Discussions

Posted: Friday 05 May 2017 21:12
by josimd
_