Dashticz / dashticz_v2

Alternative dashboard for Domoticz
107 stars 60 forks source link

Dashticz v2 is loading... #322

Open Yardco opened 6 years ago

Yardco commented 6 years ago

After installing Dashticz, changing CONFIG.js, ip and port all Im getting is a white screen and the text; Dashticz v2 is loading...

Any idea how to get Dashticz running?

lokonli commented 6 years ago

Can you post your CONFIG.js? (remove your personal info)

DewGew commented 6 years ago

There is something wrong with your CONFIG.js. Like @lokonli says post your CONFIG.js maybe we can figure this out. If you already fixed it close this issue.

rldn21 commented 6 years ago

I also have the same problem, together with the "timeout" message while loading. After loading, sometimes i receive the "double check path to domoticz error" message. The paths are set up correctly: _config['domoticzip'] = 'http://10.0.1.50:8080';

lokonli commented 6 years ago

@rldn21 What's your OS/browser? What version of Dashticz are you using? (see dashticz Settings -> Info)

If you post your CONFIG.js I can have a look.

rldn21 commented 6 years ago

Hi,

I run Mac OS X High Sierra with Chrome/Safari.

I have the dashticz v. 2.3.3 version.

I dont know how to fix this issue, its killing me, because a lot of functions wont work with the timeout error.

Greets!

var config = {} config['domoticz_ip'] = 'http://10.0.1.22:8080'; config['language'] = 'nl_NL'; config['app_title'] = 'Home'; config['domoticz_refresh'] = '5'; config['dashticz_refresh'] = '60'; config['standby_after'] = 10; config['auto_positioning'] = 0; config['use_favorites'] = 0; config['last_update'] = 0; config['wu_api'] = '5786851eb382663c'; config['wu_city'] = ’Hdorp'; config['wu_name'] = ‘Hdorp'; config['wu_country'] = 'NL'; config['hide_topbar'] = 0; config['default_news_url'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/algemeen'; config['news_scroll_after'] = '15'; config['timeformat'] = 'DD-MM-YY HH:mm'; config['calendarformat'] = 'dd DD.MM HH:mm'; config['calendarlanguage'] = 'nl_NL'; config['static_weathericons'] = 1; config['shorttime'] = 'HH:mm'; config['no_rgb'] = 1; config['hide_seconds'] = 1; config['standard_graph'] = 'hours'; config['auto_slide_pages'] = '0'; config['slide_effect'] = 'slide'; config['selector_instead_of_buttons'] = 0;

var tvguide = {} tvguide.dutch = { key:'dutch', icon: 'fa-television', width:12, channels: [4,31,46,34,37,92], maxitems: 10 }

var _STREAMPLAYER_TRACKS = [ {"track":1,"name":"Radio 538","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/RADIO538.mp3 "}, {"track":2,"name":"Decibel","file":"http://decibel.nl/live/decibel.asx"}, {"track":3,"name":"FunX Radio","file":"http://icecast.omroep.nl/funx-amsterdam-bb-mp3"}, {"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"}, ];

var calendars = {} calendars.prive = {maxitems: 5, icon:'fa-calendar', icalurl:'https://calendar.google.com/calendar/ical/SORRYPRIVE'}

var buttons = {} buttons.webcam1 = { width:12, refreshimage:2000, isimage:true, image: 'http://10.0.1.22:8080/camsnapshot.jpg?idx=1' } buttons.log = { key:'log', width:12, title: 'Domoticz log', icon:'fa-clipboard', log:true, level: 2}

var blocks = {}

blocks['news_2'] = {} blocks['news_2']['feed'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/algemeen';

blocks['weather'] = {} blocks['weather']['width'] = 12;

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

blocks['blocktitle_2'] = {} blocks['blocktitle_2']['type'] = 'blocktitle'; blocks['blocktitle_2']['title'] = 'Temperatuur';

blocks['blocktitle_3'] = {} blocks['blocktitle_3']['type'] = 'blocktitle'; blocks['blocktitle_3']['title'] = 'Domotica';

blocks[25] = {} //Thermostaat blocks[25]['title'] = 'Thermostaat'; blocks[25]['width'] = 4;

blocks[26] = {} //Woonkamer temperatuur blocks[26]['title'] = 'Woonkamer'; blocks[26]['width'] = 4;

blocks[1] = {} //Buitentemp blocks[1]['title'] = 'Buitentemp.'; blocks[1]['width'] = 4; blocks[1]['protected'] = false;

blocks[50] = {} //Badkamer temperatuur blocks[50]['title'] = 'Badkamer temp.'; blocks[50]['width'] = 4;

blocks[53] = {} // Badkamervocht blocks[53]['title'] = 'Badkamer vocht'; blocks[53]['width'] = 4; blocks[53]['protected'] = false;

blocks[4] = {} //Regen blocks[4]['title'] = 'Regenval'; blocks[4]['width'] = 4;

blocks[21] = {} //Deurcontact Voordeur blocks[21]['title'] = 'Voordeur'; blocks[21]['width'] = 12;

blocks[66] = {} //Deurcontact Achterdeur blocks[66]['title'] = 'Achterdeur'; blocks[66]['width'] = 12;

blocks[10] = {} //dimmer blocks[10]['title'] = 'Trapverlichting'; blocks[10]['width'] = 12;

blocks[61] = {} //Nest beneden rookmelder blocks[61]['title'] = 'Nest Beneden'; blocks[61]['width'] = 12;

blocks[62] = {} //Nest boven rookmelder blocks[62]['title'] = 'Nest Boven'; blocks[62]['width'] = 12;

blocks[6] = {} blocks[6]['icon'] = 'fa-android'; blocks[6]['title'] = ‘Ik'; blocks[6]['protected'] = true;

blocks[7] = {} blocks[7]['icon'] = 'fa-server'; blocks[7]['title'] = 'Synology'; blocks[7]['protected'] = true;

blocks[8] = {} blocks[8]['icon'] = 'fa-apple'; blocks[8]['title'] = ‘Zij'; blocks[8]['protected'] = true;

blocks[55] = {} blocks[55]['image'] = 'rpi.svg'; blocks[55]['title'] = 'RPi CPU';

blocks[56] = {} blocks[56]['image'] = 'rpi.svg'; blocks[56]['title'] = 'RPi Temp.';

blocks[57] = {} blocks[57]['image'] = 'rpi.svg'; blocks[57]['title'] = 'RPi Memory';

blocks[67] = {} blocks[67]['title'] = 'Denon Source'; blocks[67]['width'] = 12; blocks[67]['icon'] = 'fa-film';

blocks[68] = {} blocks[68]['title'] = 'Denon Volume'; blocks[68]['width'] = 6; blocks[68]['icon'] = 'fa-volume-up';

blocks[73] = {} blocks[73]['title'] = 'Denon Volume'; blocks[73]['width'] = 12; blocks[73]['icon'] = 'fa-volume-up';

blocks[54] = {} blocks[54]['icon'] = 'fa-shield'; blocks[54]['title'] = 'Alarm status'; blocks[54]['width'] = 12; blocks[54]['openpopup'] = {}; blocks[54]['openpopup']['url'] = 'http://10.0.1.22:8080/secpanel/index.html'; blocks[54]['openpopup']['auto_close'] = 15; //seconds

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

columns[1] = {} columns[1]['blocks'] = ['clock', 54, 21,66, 61, 62, buttons.alarm, buttons.log,'streamplayer'] columns[1]['width'] = 2;

columns[2] = {} columns[2]['blocks'] = ['currentweather_big', 25, 26, 1, 4, 50, 53,'weather',calendars.prive,'news'] columns[2]['width'] = 5;

columns[3] = {} columns[3]['blocks'] = ['10', '6', '8', '7', '67', '73',buttons.webcam1] columns[3]['width'] = 5;

//columns[4] = {} //columns[4]['blocks'] = [buttons.webcam1] //columns[4]['width'] = 12;

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

var screens = {} screens[1] = {} //screens[1]['background'] = '0'; screens[1]['background'] = 'bg14.jpg'; screens[1]['columns'] = [1,2,3]

Op 21 jun. 2018, om 15:01 heeft lokonli notifications@github.com het volgende geschreven:

@rldn21 https://github.com/rldn21 What's your OS/browser? What version of Dashticz are you using? (see dashticz Settings -> Info)

If you post your CONFIG.js I can have a look.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Dashticz/dashticz_v2/issues/322#issuecomment-399095515, or mute the thread https://github.com/notifications/unsubscribe-auth/Amd1q8fKu7mjXR8zj8-Vl2xKmfUO39Q5ks5t-5lHgaJpZM4UO5T5.

lokonli commented 6 years ago

I hope you solved this already... If not: on a few places you use ` instead of '. Check the following lines: config['wu_city'] = ’Hdorp'; config['wu_name'] = ‘Hdorp'; blocks[6]['title'] = ‘Ik'; blocks[8]['title'] = ‘Zij';