Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

barbaar
Posts: 56
Joined: Wednesday 24 December 2014 16:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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 :)
Mike
Posts: 5
Joined: Sunday 15 May 2016 8:42
Target OS: Linux
Domoticz version: 3.5827
Contact:

Re: Dashticz - General Discussions

Post 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%
crashingdutchman
Posts: 21
Joined: Monday 05 December 2016 11:29
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Contact:

Re: Dashticz - General Discussions

Post 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
User avatar
wizjos
Posts: 78
Joined: Monday 07 March 2016 19:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - General Discussions

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

Re: Dashticz - General Discussions

Post by robgeerts »

Well yeah but woth the continuous loop i get other bugs... like not loading news etc..on the second slide..
Wheeling
Posts: 7
Joined: Tuesday 02 May 2017 15:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Holland
Contact:

Re: Dashticz - General Discussions

Post 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
User avatar
wizjos
Posts: 78
Joined: Monday 07 March 2016 19:35
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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....
Ierlandfan
Posts: 89
Joined: Friday 09 October 2015 17:40
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

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

Re: Dashticz - General Discussions

Post 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
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 - General Discussions

Post by htilburgs »

I think we all have the issue.
See my call in the bug section: http://www.domoticz.com/forum/viewtopic ... 27#p132893
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
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

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

Post 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 :(
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - General Discussions

Post 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
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Mike
Posts: 5
Joined: Sunday 15 May 2016 8:42
Target OS: Linux
Domoticz version: 3.5827
Contact:

Re: Dashticz - General Discussions

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

Re: Dashticz - General Discussions

Post 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 2307 times
DvD
Posts: 18
Joined: Wednesday 22 January 2014 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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 ?
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post 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 = ' ';
DvD
Posts: 18
Joined: Wednesday 22 January 2014 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by DvD »

thats something you don't want to share with everybody, thats why I hide it
Wheeling
Posts: 7
Joined: Tuesday 02 May 2017 15:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Holland
Contact:

Re: Dashticz - General Discussions

Post 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;
DvD
Posts: 18
Joined: Wednesday 22 January 2014 13:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by DvD »

nope... I don't use the "var columns standby" because I only want the screen to dimm
josimd
Posts: 59
Joined: Saturday 09 January 2016 19:47
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by josimd »

_
Last edited by josimd on Friday 05 May 2017 21:14, edited 1 time in total.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest