Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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 »

Screen Shot 2017-08-03 at 16.42.06.png
Screen Shot 2017-08-03 at 16.42.06.png (31.11 KiB) Viewed 1850 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?
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by madrian »

I haven't been here long, going to upgrade my dashticz. :) Are there any big changes, nice plugins? 8-)

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.
Attachments
Screen Shot 2017-08-03 at 22.44.12.png
Screen Shot 2017-08-03 at 22.44.12.png (350.26 KiB) Viewed 1820 times
Screen Shot 2017-08-03 at 22.44.04.png
Screen Shot 2017-08-03 at 22.44.04.png (57.71 KiB) Viewed 1820 times
User avatar
miesjel
Posts: 14
Joined: Saturday 05 August 2017 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Help, no data in dashticz!

Post 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.

Image

I've marked switches as favorites
Image

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';


Last edited by miesjel on Saturday 05 August 2017 15:26, edited 1 time in total.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Help, no data in dashticz!

Post 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.

Image

I've marked switches as favorites
Image

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.
Blah blah blah
User avatar
miesjel
Posts: 14
Joined: Saturday 05 August 2017 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Help, no data in dashticz!

Post by miesjel »

I have removed them. But except the ip address, everything is default.
klaasnicolaas
Posts: 8
Joined: Monday 07 August 2017 1:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Alkmaar
Contact:

Re: Help, no data in dashticz!

Post by klaasnicolaas »

Have you secured domoticz with a login / password?
Hardware/Setup:
- Dashticz V2
- Aeon Labs Z-Stick GEN5
- RFXtrx433E
- P1 Smart Meter
- 1x Fibaro Smoke Sensor
- 1x Fibaro Wall Plug
- KAKU Stuff
User avatar
miesjel
Posts: 14
Joined: Saturday 05 August 2017 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Help, no data in dashticz!

Post 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?
klaasnicolaas
Posts: 8
Joined: Monday 07 August 2017 1:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Alkmaar
Contact:

Re: Help, no data in dashticz!

Post 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.
Hardware/Setup:
- Dashticz V2
- Aeon Labs Z-Stick GEN5
- RFXtrx433E
- P1 Smart Meter
- 1x Fibaro Smoke Sensor
- 1x Fibaro Wall Plug
- KAKU Stuff
User avatar
miesjel
Posts: 14
Joined: Saturday 05 August 2017 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Help, no data in dashticz!

Post by miesjel »

Even when I'm logged in on both and have both tabs open, I don't get to see any switches.
klaasnicolaas
Posts: 8
Joined: Monday 07 August 2017 1:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Alkmaar
Contact:

Re: Help, no data in dashticz!

Post 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)
Hardware/Setup:
- Dashticz V2
- Aeon Labs Z-Stick GEN5
- RFXtrx433E
- P1 Smart Meter
- 1x Fibaro Smoke Sensor
- 1x Fibaro Wall Plug
- KAKU Stuff
User avatar
miesjel
Posts: 14
Joined: Saturday 05 August 2017 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Help, no data in dashticz!

Post by miesjel »

Installed the update yesterday, fresh install. Started from scratch but still no success. And yes, I used different browsers.
raymond
Posts: 71
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10232
Contact:

Re: Help, no data in dashticz!

Post 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.
klaasnicolaas
Posts: 8
Joined: Monday 07 August 2017 1:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Alkmaar
Contact:

Re: Help, no data in dashticz!

Post by klaasnicolaas »

Thank you Raymon that does the trick :)
Hardware/Setup:
- Dashticz V2
- Aeon Labs Z-Stick GEN5
- RFXtrx433E
- P1 Smart Meter
- 1x Fibaro Smoke Sensor
- 1x Fibaro Wall Plug
- KAKU Stuff
User avatar
miesjel
Posts: 14
Joined: Saturday 05 August 2017 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: Help, no data in dashticz!

Post 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?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Help, no data in dashticz!

Post by EdwinK »

Shouldn't the config-file start with

Code: Select all

var config = {}
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 - General Discussions

Post 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?
- 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
avdw72
Posts: 4
Joined: Tuesday 08 August 2017 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post 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.
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 »

What does your current config.js look like?
homeserv
Posts: 4
Joined: Tuesday 08 August 2017 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post 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?
Raspberry PI 3 | RFXCOM - RFXtrx433 USB | Razberry | Philips HUE | YouLess energy meter| HoneyWell Evohome wireless
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 »

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'
Locked

Who is online

Users browsing this forum: No registered users and 0 guests