Page 163 of 184

Re: Dashticz - General Discussions

Posted: Friday 26 January 2018 13:26
by htilburgs
I loaded your CONFIG.js and took it appart. So first the config -> working, then config with var calendars{} -> working, and so on, until you got to the part where it's not Ok anymore. Than take a look at that part and find the error. (Took me for about 5 minutes...;))

Re: Dashticz - General Discussions

Posted: Friday 26 January 2018 18:53
by Mads
CaesarPL wrote: Friday 26 January 2018 11:24 1. First thing:
Spoiler: show

Code: Select all

config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['idx_moonpicture'] = 7;
In idx_moonpicture put your IDX of user variable

2. Define buttons:
Spoiler: show

Code: Select all

var buttons = {} 
buttons.moon = {width:6, isimage:true, refreshimage:60000, image: 'moon'}
3. Put in column:
Spoiler: show

Code: Select all

columns[1] = {} 
columns[1]['blocks'] = [buttons.moon];
columns[1]['width'] = 3;
4. Put on screen:
Spoiler: show

Code: Select all

screens[1] = {}
screens[1]['columns'] = [1];
thx that worked.. funny thats isnt default when you outqoute the */

another thing. My blocks will not show up, when i connect outside my local network. Is that a known thing?

Default Dashboard Code

Posted: Saturday 27 January 2018 6:30
by whatisk
I have just started playing around with Dashticz and only now realised that initially the CONFIG.js file is entirely commented out.

Even though that was commented out, Dashticz still produced a dashboard showing the switches, etc that I have on the default Domoticz dashboard as well as weather forecast (I configured items through the settings cog at the top right). I was wondering if there is a file somewhere that this is being configured from. Ideally I would like to use it as the template and modify from there. When I did remove the comments from the CONFIG.js file the Dashticz dashboard obviously completely changed.

Thanks!

Re: Default Dashboard Code

Posted: Saturday 27 January 2018 8:57
by whatisk
Okay, I have looked at a few examples and gotten a Dashboard going using the uncommented CONFIG.JS

I also discovered that the 'use favourites' does not do what I thought. I didn't realise it would restrict what I can have on the dashboard to only what is in my favourites list.

Been a steep learning curve but I'm getting there :)

Re: Dashticz - General Discussions

Posted: Monday 29 January 2018 21:49
by htilburgs
Mads wrote: Friday 26 January 2018 18:53
CaesarPL wrote: Friday 26 January 2018 11:24 1. First thing:
Spoiler: show

Code: Select all

config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['idx_moonpicture'] = 7;
In idx_moonpicture put your IDX of user variable

2. Define buttons:
Spoiler: show

Code: Select all

var buttons = {} 
buttons.moon = {width:6, isimage:true, refreshimage:60000, image: 'moon'}
3. Put in column:
Spoiler: show

Code: Select all

columns[1] = {} 
columns[1]['blocks'] = [buttons.moon];
columns[1]['width'] = 3;
4. Put on screen:
Spoiler: show

Code: Select all

screens[1] = {}
screens[1]['columns'] = [1];
thx that worked.. funny thats isnt default when you outqoute the */

another thing. My blocks will not show up, when i connect outside my local network. Is that a known thing?
You’re outside your network and your config.js points to you’re internal IP address. That’s why.

Use custom_2 to make an external view in combination with index2.html. Is it wise to publish to rhe outside? I don’t think so.

Re: Dashticz - Defined Buttons for screen navigation

Posted: Tuesday 30 January 2018 0:07
by tlkg
I have scanned the forum for a way to create a button to navigate to different defined screens, but didn't find any solutions.

I want to create various buttons on screen 1, that when pressed would go to a specific defined screen number. These buttons would be labeled as to the content of given screen and allow the user not have to use the bottom slider to advance to each screen separately.

thanks

Re: Dashticz - Defined Buttons for screen navigation

Posted: Tuesday 30 January 2018 8:00
by DewGew
tlkg wrote: Tuesday 30 January 2018 0:07 I have scanned the forum for a way to create a button to navigate to different defined screens, but didn't find any solutions.

I want to create various buttons on screen 1, that when pressed would go to a specific defined screen number. These buttons would be labeled as to the content of given screen and allow the user not have to use the bottom slider to advance to each screen separately.

thanks
You can use:

Code: Select all

buttons.screen2 = {width:12, icon:'fa-chevron-right', title: 'Page 2', slide:2};
buttons.screen3 = {width:12, icon:'fa-chevron-right', title: 'Page 3', slide:3};
Then add:

Code: Select all

columns[3] = {};
columns[3]['blocks'] = [ buttons.screen2];
 
columns[6] = {}; 
columns[6]['blocks'] = [ buttons.screen3];

Re: Dashticz - General Discussions

Posted: Tuesday 30 January 2018 15:25
by tlkg
Wow, works perfect !! Thanks!!

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 7:29
by marcel19
Hi Everyone,

I have been busy with domoticz for some time and wanted to expand this with dashticz.
Reason: to place a tablet on the wall for extra functions.

Now I have installed dashticz following the wiki page: https://www.domoticz.com/wiki/Dashticz_ ... stallation
I used the following command to install it:
git clone https://github.com/robgeerts/dashticz_v2 dashticz

Then everything followed neatly as on the wiki page are also neatly removed the / * at the beginning and * / at the end + ipaddress of my domoticz inserted. Only I do not get a connection with domoticz, if I want to adjust on the page of dashricz and I choose to save, nothing is stored.
Hopefully someone can help me in the right direction.

Below the complete file: CONFIG.js
Spoiler: show
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://USERNAME:[email protected]:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

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

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

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

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


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


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

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 8:28
by DewGew
marcel19 wrote: Thursday 01 February 2018 7:29 Hi Everyone,

I have been busy with domoticz for some time and wanted to expand this with dashticz.
Reason: to place a tablet on the wall for extra functions.

Now I have installed dashticz following the wiki page: https://www.domoticz.com/wiki/Dashticz_ ... stallation
I used the following command to install it:
git clone https://github.com/robgeerts/dashticz_v2 dashticz

Then everything followed neatly as on the wiki page are also neatly removed the / * at the beginning and * / at the end + ipaddress of my domoticz inserted. Only I do not get a connection with domoticz, if I want to adjust on the page of dashricz and I choose to save, nothing is stored.
Hopefully someone can help me in the right direction.

Below the complete file: CONFIG.js
Spoiler: show
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://USERNAME:[email protected]:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

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

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

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

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


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


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

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]
Garbage module is changed read in garbage thread here in forum. Delete:

Code: Select all

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT
Now you can connect to dashticz.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 9:48
by marcel19
DewGew wrote: Thursday 01 February 2018 8:28
marcel19 wrote: Thursday 01 February 2018 7:29 Hi Everyone,

I have been busy with domoticz for some time and wanted to expand this with dashticz.
Reason: to place a tablet on the wall for extra functions.

Now I have installed dashticz following the wiki page: https://www.domoticz.com/wiki/Dashticz_ ... stallation
I used the following command to install it:
git clone https://github.com/robgeerts/dashticz_v2 dashticz

Then everything followed neatly as on the wiki page are also neatly removed the / * at the beginning and * / at the end + ipaddress of my domoticz inserted. Only I do not get a connection with domoticz, if I want to adjust on the page of dashricz and I choose to save, nothing is stored.
Hopefully someone can help me in the right direction.

Below the complete file: CONFIG.js
Spoiler: show
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://USERNAME:[email protected]:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

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

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

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

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


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


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

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]
Garbage module is changed read in garbage thread here in forum. Delete:

Code: Select all

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT
Now you can connect to dashticz.


Like i said i can connect to dashticz, everything is working. but when i make a change in the dashticz dashboard like changing the refresh time from dashticz from 60 to 1. when i hit apply and refresh the page. everything is reset to 60 minuts.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 10:13
by DewGew
marcel19 wrote: Thursday 01 February 2018 9:48
DewGew wrote: Thursday 01 February 2018 8:28
marcel19 wrote: Thursday 01 February 2018 7:29 Hi Everyone,

I have been busy with domoticz for some time and wanted to expand this with dashticz.
Reason: to place a tablet on the wall for extra functions.

Now I have installed dashticz following the wiki page: https://www.domoticz.com/wiki/Dashticz_ ... stallation
I used the following command to install it:
git clone https://github.com/robgeerts/dashticz_v2 dashticz

Then everything followed neatly as on the wiki page are also neatly removed the / * at the beginning and * / at the end + ipaddress of my domoticz inserted. Only I do not get a connection with domoticz, if I want to adjust on the page of dashricz and I choose to save, nothing is stored.
Hopefully someone can help me in the right direction.

Below the complete file: CONFIG.js
Spoiler: show
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://USERNAME:[email protected]:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

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

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

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

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


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


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

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]
Garbage module is changed read in garbage thread here in forum. Delete:

Code: Select all

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT
Now you can connect to dashticz.


Like i said i can connect to dashticz, everything is working. but when i make a change in the dashticz dashboard like changing the refresh time from dashticz from 60 to 1. when i hit apply and refresh the page. everything is reset to 60 minuts.
You mean to use the setting popup?.. you need to have PHP enabled webserver to save to CONFIG.js or if you want save settings to local storage in your browser your CONFIG.js can look like this or comment out everything in your config.js:

Code: Select all

/*
var config = {}
config['domoticz_ip'] = 'http://192.168.1.3:8084';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
*/
Else you have to put everything by your self in your CONFIG.js.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 10:58
by marcel19
DewGew wrote: Thursday 01 February 2018 10:13
marcel19 wrote: Thursday 01 February 2018 9:48
DewGew wrote: Thursday 01 February 2018 8:28
Garbage module is changed read in garbage thread here in forum. Delete:

Code: Select all

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT
Now you can connect to dashticz.


Like i said i can connect to dashticz, everything is working. but when i make a change in the dashticz dashboard like changing the refresh time from dashticz from 60 to 1. when i hit apply and refresh the page. everything is reset to 60 minuts.
You mean to use the setting popup?.. you need to have PHP enabled webserver to save to CONFIG.js or if you want save settings to local storage in your browser your CONFIG.js can look like this or comment out everything in your config.js:

Code: Select all

/*
var config = {}
config['domoticz_ip'] = 'http://192.168.1.3:8084';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
*/
Else you have to put everything by your self in your CONFIG.js.

Ok perfect so now i understand. i dont mind to edit the CONFIG.js file at all. i diddent know that the CONFIG.js overwrites the gui interface.
So i understand that when i want to edit it trough the GUI i need to set /* on the top and */ at the end of the CONFIG.js file.

When i do that all my favorites are available trough dashticz, but when i go to edit mode, and try to save the button is the right-bottom corner is not working. (and yes i have php installed)

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 11:31
by DewGew
Edit mode for blocks is not yet finished its under development.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 16:10
by marcel19
DewGew wrote: Thursday 01 February 2018 11:31 Edit mode for blocks is not yet finished its under development.
Wat is the best page to learn to work with the configs of dashticz?
i'm completly new to this but i really want to learn to understand this.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 17:47
by gerardosamara
Domoticz Beta 8823
Platform RPI3
Dashticz_V2 Beta

Hi ,

I have installed the Dashticz_V2 as per the Wiki instructions using git clone
Config.Js has not been changed except remoe /* */ and update IP:Port .

When loading the dashboard , the error message "Dashboard V2 is loading ... without endind to load

Timeout! Something is wrong check your config.js ( attached below)
Spoiler: show
var config = {}
config['domoticz_ip'] = 'http://192.168.0.150:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

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

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

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

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


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


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

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

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

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

Any idea please ?
Thank you

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 21:04
by marcel19
gerardosamara wrote: Thursday 01 February 2018 17:47 Domoticz Beta 8823
Platform RPI3
Dashticz_V2 Beta

Hi ,

I have installed the Dashticz_V2 as per the Wiki instructions using git clone
Config.Js has not been changed except remoe /* */ and update IP:Port .

When loading the dashboard , the error message "Dashboard V2 is loading ... without endind to load

Timeout! Something is wrong check your config.js ( attached below)
Spoiler: show
var config = {}
config['domoticz_ip'] = 'http://192.168.0.150:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';

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

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

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

var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/ ... ive_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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];


var buttons = {}
buttons.nunl = {key: 'nunl', width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos', width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


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


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

columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2;

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

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

Any idea please ?
Thank you

If you are using a username and password to login to your domoticz you need to add this to your config like this:
config['domoticz_ip'] = 'http://USERNAME:[email protected]:8080';

Replace ADMIN:PASSWORD with you own.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 21:34
by gerardosamara
Thank you @marcel19 for your answer.

I am not using USER&PASSWORD protection to login in Domoticz.

Gerard

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 21:40
by marcel19
gerardosamara wrote: Thursday 01 February 2018 21:34 Thank you @marcel19 for your answer.

I am not using USER&PASSWORD protection to login in Domoticz.

Gerard
another solution: this one took me a time to figure out.
when you go to the adress: http://192.168.0.150:8080/Dashticz_V2/
the last / at the end of the adress is needed to display dashticz at all.

Re: Dashticz - General Discussions

Posted: Thursday 01 February 2018 22:06
by gerardosamara
Same issue when trying to login "http://192.168.0.150:8080/dashticz_v2/ "
Here the install created directoty name as dashticz_v2 instead of Dashticz_V2