Works like a charm, i guess my way of thinking was going the other way ( or too difficult)
now its getting somewhere

Moderators: leecollings, htilburgs, robgeerts
Care to share your settings?
:Looks nice
Can you share you entire config please?TankySpanky wrote: ↑Monday 25 March 2019 12:10 Hello all,
Here is my "work in progress"
Lampen standaard settings etc
Netwerk etc true crontab ping every 4 minutes
"Wie is thuis" also via crontab telefoon ping on wifi netwerk
Verkeers info changed to Belgie(link changed in traffic.js)
Afval kalender didnt work in the "beta" versie because dashticz.nl is not online so everything brought bakc to the old version.
Alot of switches are not visable yet,but will be on the other screens.
I only seems not to get the normal google calendar to work???
But its all work in progress still
Still working here with latest beta https://github.com/Dashticz/dashticz_v2/tree/beta
Thank you! I did't even know that website existed, all I had was the wiki on main domoticz wikiHansieNL wrote: ↑Saturday 08 June 2019 23:32Still working here with latest beta https://github.com/Dashticz/dashticz_v2/tree/beta
See https://dashticz-v2.readthedocs.io/en/l ... sport.html for explanation how to get traffic information.
I found the problem. When installing Dashticz the custom.js contains:
Code: Select all
//add custom javascript in here
function afterGetDevices(){
}
function getExtendedBlockTypes(blocktypes){
//blocktypes.Type['Lighting 2'] = { icon: 'fa fa-lightbulb-o', title: '<Name>', value: 'ds' }
return blocktypes;
}
config['spot_clientid'] = '1112f16564cf4f4dsd4cbe8b52c58a44';
At the same page, enter your dashticz-url in the Redirect URIs field, for example:'
http://192.168.1.3:8080/
DONT FORGET TO PUSH THE SAVE BUTTON!!
In CONFIG.js, add the block like:
columns[2] = {}
columns[2]['blocks'] = ['spotify']
columns[2]['width'] = 5;
The readthedocs documentation is most up-to-date:Sembo wrote: ↑Sunday 16 June 2019 9:19 Hey,
yes, the default one is working, but I do not understand if I need to build any more sections in the config and how it is structured. Do I first need to build a block and divide it into columns or whatever. Is there any easy-to-understand manual for using these parameters? IO have read the manual and tried to understand the configs from the samples here as well.
Just use the example with Spotify: It is described as follows:
On the next page, copy "Client ID" to your CONFIG.js like:
config['spot_clientid'] = '1112f16564cf4f4dsd4cbe8b52c58a44';
At the same page, enter your dashticz-url in the Redirect URIs field, for example:'
http://192.168.1.3:8080/
DONT FORGET TO PUSH THE SAVE BUTTON!!
In CONFIG.js, add the block like:
columns[2] = {}
columns[2]['blocks'] = ['spotify']
columns[2]['width'] = 5;
In my eyes, "Spotify" now is a already existing "function" or module which is already implemented? What are these columns doing and how to see them in relation to the other parameters?
And by the way: The only thing which is working if the "Mediaplayer" which comes with the default config from dashticz. Yes it works, but why is it positioned on the right by default? There is no parameter to do so. How important is the CSS file regarding this?
Just trying to get to know the structure and connections between all the files and parameters to get the big picture of it![]()
Thanks a lot!
For a basic dashboard start reading at:Sembo wrote: ↑Sunday 16 June 2019 18:40 Hey,
yes PHP installed but I am still trying to get a clue what a block means and how to structure it in the file with columns.
Also have installed the beta as recommend.
I will have a look at the docs, thanks for those! Do you maybe have an easy example?
How can I interpret this?
columns[2] = {}
columns[2]['blocks'] = ['spotify']
columns[2]['width'] = 5;
What does the "2" mean? What does each line mean? That would help. And what do these three lines expect in the background? I also installed the Spotify plugin - there is no documentation that it has to be installed or not.
Thank you!!
Users browsing this forum: No registered users and 1 guest