Page 133 of 184
Re: Dashticz - General Discussions
Posted: Thursday 03 August 2017 16:44
by EdwinK

- Screen Shot 2017-08-03 at 16.42.06.png (31.11 KiB) Viewed 2044 times
Somewhere in the Dashticz thread I think I've seen the solution, but can't find it anymore. Is it possible to place the arrows on both sides of the text. And to remove the 'stop' button?
Re: Dashticz - General Discussions
Posted: Thursday 03 August 2017 22:13
by madrian
I haven't been here long, going to upgrade my dashticz.

Are there any big changes, nice plugins?
Edit: woaaah, lot of changes. Cool!
Bug in graph:
+one more question: how do I change time format in miniclock? I tried change config['timeformat'], but it doesn't seem to be working.
Help, no data in dashticz!
Posted: Saturday 05 August 2017 14:02
by miesjel
Hi All,
First post here, new member and new to the world of Domoticz. I'm still finding my way in the system but so far so good, love it!
I've installed Dashticz because it just looks great, clean and simple not to much distractions. Perfect, but I wouldnt be writing this message if i had actual data in the dashboard.
I've marked switches as favorites
And this is my config, what am i doing wrong? And yes, i did check the wiki but couldnt see what is did wrong.
Code: Select all
var _LANGUAGE = 'nl_NL'; //or: de_DE, en_US, fr_FR, hu_HU, it_IT, pt_PT, sv_SE
var _HOST_DOMOTICZ = 'http://192.168.1.2:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 5; //in minutes
var _THEME = 'default'; // default = dashticz default theme
var _APP_TITLE = 'Dashticz';
/*
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 = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND = '';
var _WEATHER_CITY = 'Eindhoven';
var _WEATHER_CITYNAME = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY = 'NL';
var _USE_AUTO_POSITIONING = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK = false; //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 _HIDE_TOPBAR = false; //hide topbar with appname, clock and settings-icon
var _NEWS_RSSFEED = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT = false;
var _USE_BEAUFORT = true; //Bft instead of m/s
var _TRANSLATE_SPEED = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE = true;
var _LASTUPDATE_FORMAT = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
var _APIKEY_MAPS = '';
var _MAPS_LATITUDE = '';
var _MAPS_LONGITUDE = '';
var _AUTO_SWIPEBACK_TO = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME = 10; //seconds
var _SLIDE_PAGES = false; //Loop all pages and change page every x (min. 5) seconds, set _AUTO_SWIPEBACK_TIME = 0
var _CLIENTID_SPOTIFY = '111111';
Re: Help, no data in dashticz!
Posted: Saturday 05 August 2017 15:04
by HansieNL
miesjel wrote:Hi All,
First post here, new member and new to the world of Domoticz. I'm still finding my way in the system but so far so good, love it!
I've installed Dashticz because it just looks great, clean and simple not to much distractions. Perfect, but I wouldnt be writing this message if i had actual data in the dashboard.
I've marked switches as favorites
And this is my config, what am i doing wrong? And yes, i did check the wiki but couldnt see what is did wrong.
Hello,
Maybe it's better to remove your personal ID's.
Re: Help, no data in dashticz!
Posted: Saturday 05 August 2017 15:27
by miesjel
I have removed them. But except the ip address, everything is default.
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 11:50
by klaasnicolaas
Have you secured domoticz with a login / password?
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 12:00
by miesjel
klaasnicolaas wrote:Have you secured domoticz with a login / password?
No I haven't, do I need to secure it to make dashticz work?
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 12:29
by klaasnicolaas
No that is not necessary.
I ask because I have also a problem that is similar to this.
I don't see my switches if I'm not logged in to domoticz. So before I see something in dashticz, I need to log in from another tab (browser) in Domoticz. Very annoying if you still have to do that.
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 12:47
by miesjel
Even when I'm logged in on both and have both tabs open, I don't get to see any switches.
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 12:58
by klaasnicolaas
Already tried in different browser? Or in incognito mode?
Whatever you could do is looking for the latest dashticz V2 update.
On this page it is described how to do:
https://www.domoticz.com/wiki/Dashticz_ ... stallation
(section with GIT PULL)
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 13:17
by miesjel
Installed the update yesterday, fresh install. Started from scratch but still no success. And yes, I used different browsers.
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 13:19
by raymond
klaasnicolaas wrote:No that is not necessary.
I ask because I have also a problem that is similar to this.
I don't see my switches if I'm not logged in to domoticz. So before I see something in dashticz, I need to log in from another tab (browser) in Domoticz. Very annoying if you still have to do that.
In your settings in Domoticz you can define local IP adresses not needing user/password.
In Settings look for: Local Networks (no username/password): and set the IP address (or range) there.
This means that Dashticz would be able to get information without logging in, but from outside the network you'd still need to login so you are still secure.
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 13:42
by klaasnicolaas
Thank you Raymon that does the trick

Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 19:46
by miesjel
raymond wrote:klaasnicolaas wrote:No that is not necessary.
I ask because I have also a problem that is similar to this.
I don't see my switches if I'm not logged in to domoticz. So before I see something in dashticz, I need to log in from another tab (browser) in Domoticz. Very annoying if you still have to do that.
In your settings in Domoticz you can define local IP adresses not needing user/password.
In Settings look for: Local Networks (no username/password): and set the IP address (or range) there.
This means that Dashticz would be able to get information without logging in, but from outside the network you'd still need to login so you are still secure.
unfortunately this isnt the solution for my problem

. I've added my internal IP address range but i still have no data in my Dashticz dashboard. Any other solutions i can try?
Re: Help, no data in dashticz!
Posted: Monday 07 August 2017 19:59
by EdwinK
Shouldn't the config-file start with
Re: Dashticz - General Discussions
Posted: Tuesday 08 August 2017 10:07
by gielie
The following code doesn't work anymore
Code: Select all
function getBlock_6(device,idx){
$('.block_'+idx);
var html='';
html+='<div class="col-xs-4 col-icon">';
if(device['Status']=='Off') html+='<img src="img/cust_away.png" class="off icon" />';
else html+='<img src="img/cust_home.png" class="on icon" />';
html+='</div>';
html+='<div class="col-xs-8 col-data">';
html+='<strong class="title">'+device['Name']+'</strong><br />';
if(device['Status']=='Off') html+='<span class="state">AFWEZIG</span>';
else html+='<span class="state">AANWEZIG</span>';
if((_SHOW_LASTUPDATE && (typeof(blocks[idx])=='undefined' || typeof(blocks[idx]['hide_lastupdate'])=='undefined' || blocks[idx]['hide_lastupdate']===false)) || (!_SHOW_LASTUPDATE && (typeof(blocks[idx])!=='undefined' && typeof(blocks[idx]['show_lastupdate'])!=='undefined' && blocks[idx]['show_lastupdate']==true)) ){
html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
}
html+='</div>';
return html;
}
its only on/off now instead of af/aanwezig
can someone help me out, did something change?
Re: Dashticz - General Discussions
Posted: Tuesday 08 August 2017 14:12
by avdw72
Updated to the last release from 4 hours ago. Now I only get a black screen. No blocks or other info is shown. Also tried the standard CONFIG, no luck there either.
Re: Dashticz - General Discussions
Posted: Tuesday 08 August 2017 14:18
by robgeerts
What does your current config.js look like?
Re: Dashticz - General Discussions
Posted: Tuesday 08 August 2017 15:06
by homeserv
Hi all, just git cloned the repository and copied the CONFIG_DEFAULT.js to CONFIG.js in the custom folder.
I've put the requested config options in the CONFIG.js file;
- Spoiler: show
- var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU, sw_SW
var _HOST_DOMOTICZ = 'http://192.168.250.202:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'
var config = {}
config['domoticz_ip'] = 'http://192.168.250.202:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 0;
config['gm_zoomlevel'] = 0;
config['gm_latitude'] = 0;
config['gm_longitude'] = 0;
config['wu_api'] = 0;
config['wu_city'] = 'Amsterdam';
config['wu_name'] = 0;
config['wu_country'] = 'NL';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 0;
config['garbage_company'] = 0;
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 0;
config['garbage_street'] = 0;
config['garbage_housenumber'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;
I got a nice black screen without anything on it. The Chrome Console says: "Uncaught ReferenceError: config is not defined".
If i put the above config in the index.html below the "var dashtype=1;" row, it works perfectly.
Is it broken or am I doing something wrong?
Re: Dashticz - General Discussions
Posted: Tuesday 08 August 2017 15:09
by robgeerts
Strange, it works when I use your config...
By the way, you can delete:
Code: Select all
var _LANGUAGE = 'nl_NL'; //or: en_US, fr_FR, hu_HU, sw_SW
var _HOST_DOMOTICZ = 'http://192.168.250.202:8080';
var _DOMOTICZ_REFRESH = 5; //in seconds
var _DASHTICZ_REFRESH = 30; //in minutes
var _THEME = 'default'