Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

Hi Guys,

I hope somebody can help me.

I installed the beta version today in apache and configured it. But i looks like there is no connection with domoticz because it does not see my devices/hardware and no sunset time etc etc..

when i login in the original portal ip:8080 then all works fine.

is there a solutions for this?

this is my screen:
dash1.jpg
dash1.jpg (218.28 KiB) Viewed 3001 times

this is my config:

Code: Select all

config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;

//var trashnames = {}
//trashnames['Gft'] = 'GFT';
//trashnames['Pmd'] = 'Plastic';
//trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [1,2,3,4,31,46,92], maxitems: 8 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.06022&lng=4.39288&overname=2&zoom=13&naam=2493bj&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock',89]

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = [18,19,21,22,buttons.buienradar,'news_2',tvguide.dutch,'traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

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

Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
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 »

Doesn't look like a complete config.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




//var trashnames = {}
//trashnames['Gft'] = 'GFT';
//trashnames['Pmd'] = 'Plastic';
//trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [1,2,3,4,31,46,92], maxitems: 8 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew »

michaelm86 wrote: Monday 12 February 2018 17:20 Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




//var trashnames = {}
//trashnames['Gft'] = 'GFT';
//trashnames['Pmd'] = 'Plastic';
//trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [1,2,3,4,31,46,92], maxitems: 8 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Try to clear cache. Do you have a login to Domoticz? Sometimes when I have several users it connects whith wrong user. Logout from Domoticz and Rhen try to connect dashticz
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

DewGew wrote: Monday 12 February 2018 17:34
michaelm86 wrote: Monday 12 February 2018 17:20 Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




//var trashnames = {}
//trashnames['Gft'] = 'GFT';
//trashnames['Pmd'] = 'Plastic';
//trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [1,2,3,4,31,46,92], maxitems: 8 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Try to clear cache. Do you have a login to Domoticz? Sometimes when I have several users it connects whith wrong user. Logout from Domoticz and Rhen try to connect dashticz
Thanks, i already tried this. even in an in-private browser an after rebooting the server.
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew »

michaelm86 wrote: Monday 12 February 2018 17:38
DewGew wrote: Monday 12 February 2018 17:34
michaelm86 wrote: Monday 12 February 2018 17:20 Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




//var trashnames = {}
//trashnames['Gft'] = 'GFT';
//trashnames['Pmd'] = 'Plastic';
//trashnames['Rest'] = 'Rest'; //LEAVE EMPTY IF YOU WANT TO HIDE IT


var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [1,2,3,4,31,46,92], maxitems: 8 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Try to clear cache. Do you have a login to Domoticz? Sometimes when I have several users it connects whith wrong user. Logout from Domoticz and Rhen try to connect dashticz
Thanks, i already tried this. even in an in-private browser an after rebooting the server.
Change:

Code: Select all

columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
to:

Code: Select all

columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic']
Maybe there is a bug with spotify plugin?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew »

michaelm86 wrote: Monday 12 February 2018 19:19 Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

DewGew wrote: Monday 12 February 2018 19:42
michaelm86 wrote: Monday 12 February 2018 19:19 Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
BCrippsy38
Posts: 7
Joined: Friday 11 August 2017 17:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8833
Contact:

Re: Mixture of commas and stops when presenting decimal numbers.

Post by BCrippsy38 »

garethhowell wrote: Wednesday 11 October 2017 22:01 I've just noticed that there is a mixture of commas and decimal points when presenting decimal data. Temperature blocks use commas ( as in 23,4) whereas thermostats use decimal point (15.5).

Can this be configured somewhere. I'd like usage to be consistent.
Did anyone ever figure this issue out? I'm finding my motion sensors that have temp and humidity are doing this, as well as the whole house energy meter. its when the IDX has multiple values. I also can't configure these sub blocks other than changing the name. resizing the widths and icons dont work with the blocks['Idx_1']['width'] = 6; and blocks['Idx_2']['width'] = 6; etc..

any help is greatly appreciated
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

michaelm86 wrote: Monday 12 February 2018 21:07
DewGew wrote: Monday 12 February 2018 19:42
michaelm86 wrote: Monday 12 February 2018 19:19 Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...
it works now! thanks for al the support.

i think i found the issue.

when i login to the dashticz dashboard then i cannot see the switches and temp sensors etc etc. but when i open an extra tab in the browser and login to the normal domoticz portal and then refresh the dasticz page everything is visible... but when the normal portal logs out after login expiration then dashticz losses the connectivity with domoticz.

is there a solution to not auto logout the dashbord (disable login expiration?) or to give dashticz te right settings to login on it own?

or maybe any other ideas?
Last edited by michaelm86 on Tuesday 13 February 2018 11:18, edited 1 time in total.
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew »

michaelm86 wrote: Tuesday 13 February 2018 9:52
michaelm86 wrote: Monday 12 February 2018 21:07
DewGew wrote: Monday 12 February 2018 19:42
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...
it works now! thanks for al the support.

i think i found the issue.

when i login to the dashticz dashboard then i cannot see the switches and temp sensors etc etc. but when i open an extra tab in the browser and login to the normal domoticz portal and then refresh the dasticz page everything is visible... but when the normal portal logs out after login expiration then dashticz losses the connectivity with domoticz.

is there a solution to not auto logout the dashbord (disable login expiration?) or to give dashticz te right settings to login on it own?

or maybe any other ideas?
Do you login with same user or do you have a diffrent for dashticz?
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 »

DewGew wrote: Tuesday 13 February 2018 18:09
michaelm86 wrote: Tuesday 13 February 2018 9:52
michaelm86 wrote: Monday 12 February 2018 21:07

It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...

it works now! thanks for al the support.

i think i found the issue.

when i login to the dashticz dashboard then i cannot see the switches and temp sensors etc etc. but when i open an extra tab in the browser and login to the normal domoticz portal and then refresh the dasticz page everything is visible... but when the normal portal logs out after login expiration then dashticz losses the connectivity with domoticz.

is there a solution to not auto logout the dashbord (disable login expiration?) or to give dashticz te right settings to login on it own?

or maybe any other ideas?
Do you login with same user or do you have a diffrent for dashticz?
I configured the same user and password in te portal settings of dashticz.
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
Wob76
Posts: 110
Joined: Wednesday 19 April 2017 6:31
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Wob76 »

mrjulien wrote: Thursday 08 February 2018 0:17 hello,
i made a basic improvement to have temp + humidity on 1 block
2018-02-08_00h02_19.png

i think it should be interesting to have a parameterer like this
config['multiblock'] = '0/1';
Is this possible yet?
webmagic
Posts: 2
Joined: Monday 19 February 2018 20:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by webmagic »

I am a newbie. Is it possible to install Dashticz theme on the Version 3.8153 (July 30h 2017) of Domoticz?
joostnl
Posts: 68
Joined: Wednesday 03 February 2016 19:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by joostnl »

Wob76 wrote: Friday 16 February 2018 3:22
mrjulien wrote: Thursday 08 February 2018 0:17 hello,
i made a basic improvement to have temp + humidity on 1 block
2018-02-08_00h02_19.png

i think it should be interesting to have a parameterer like this
config['multiblock'] = '0/1';
Is this possible yet?
+1 would really safe space
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew »

webmagic wrote: Monday 19 February 2018 20:57 I am a newbie. Is it possible to install Dashticz theme on the Version 3.8153 (July 30h 2017) of Domoticz?
No Problem...
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
aiolos
Posts: 127
Joined: Sunday 13 September 2015 18:58
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: Nieuwegein, NL
Contact:

Re: Dashticz - General Discussions

Post by aiolos »

Hi,

Due to other obligations I've been a bit quiet on the Dashticz front the last couple of weeks. I'll try to pickup some of the issues coming weeks. I didn't read all posts on the forum, but will try to spot everything. (maybe we should move issues and feature requests more to Github when they arise, but I can imagine not everyone has a Github account, so that's more something for the developers to take care of).
Contributor to Dashticz
More on my Github profile
josimd
Posts: 59
Joined: Saturday 09 January 2016 19:47
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by josimd »

Simple one, just started with Dashticz, website is running, but I cannot show my devices, add the correct IDX-en but somehow they are not shown, I only see the block title "schakelaars"... should be something easy..

var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';

blocks[106] = {}
blocks[106]['hide_stop'] = true;

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',338,241,364]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [buttons.calendar,buttons.nunl,'currentweather_big','weather'] //kodi: ,298
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['clock',buttons.moon,buttons.buienradar,'streamplayer']
columns[3]['width'] = 2;
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - General Discussions

Post by jake »

bug?:
I have 2 temperature blocks, side by side (same size). As soon as 1 temperature has a '-' sign in front of it, it will put the 'C sign on the next line, while there is plenty of space and the other temperature with 3 digits fits in 1 line without problem.

Example:

Positive value
21.5'C

Negative value:
-1.5
'C
Locked

Who is online

Users browsing this forum: floris74 and 1 guest