Page 146 of 184

Re: Dashticz - General Discussions

Posted: Friday 03 November 2017 7:14
by dagger38
Works at last , copyed it in to the WWW dir , starts with /dashticz/index.html
Thanks , htilburgs and the others for info!!

Re: Dashticz - General Discussions

Posted: Friday 03 November 2017 9:22
by MsbS
Quick question (probably trivial). I have a custom sensor, but it is not clickable - I would like to see a graph when I click it (like e.g. for temperature readings). When I create a graph tile ('graph_[IDX]') it works fine, so the data is there.

Re: Swipe button

Posted: Friday 03 November 2017 9:52
by Lexfontes
Hi,

Not yet, may be I'll try to use otherl customs pages with an index page for my main menu and differents html pages.

Re: Dashticz - General Discussions

Posted: Friday 03 November 2017 19:40
by dagger38
Strange???
Dasticz is running , on a windows browser page AND on my samsung tablet..
Any changes i make in : /home/pi/domoticz/www/dashticz/custom/CONFIG.js file have absolutely NO effect on the running dasticz?
Why?

Re: Dashticz - General Discussions

Posted: Friday 03 November 2017 21:17
by dagger38
wow. IM stupid!, all the config.js is comented!

Re: Dashticz - General Discussions

Posted: Friday 03 November 2017 21:52
by EdwinK
You are not the first one, and I guess not the last one either who forgot to uncomment the config.js file.

Re: Swipe button

Posted: Friday 03 November 2017 21:53
by DAVIZINHO
hello, this is a good idea.
Today i need buttons to navigate because the swipe in my tablet is laggy.
Mi solution is make bigger the circles in the botton of dashticz. If this is a good solution for you, tell me and i share the howto

Where to get google maps api key ?

Posted: Saturday 04 November 2017 11:18
by curious
Because my map doesn't work yet I wonder if I have the right API-key.

I got it from https://developers.google.com/maps/docu ... et-api-key

Is that correct ?

Full screen on IPAD when using spotify

Posted: Saturday 04 November 2017 11:21
by curious
I learned from this forum that when using the spotify module, I have to open spotify in the same browser as Dashticz

In that case it is not possible to show the Dashticz dashboard fullscreen as far as I know.

Anyone managed to show the dashboard fullscreen on an IPad ?

Re: Dashticz - General Discussions

Posted: Saturday 04 November 2017 12:17
by Justinn
Hello,

I am having some issues with dashticz hope someone is able to solve my problem.
I can create everything and dashticz is connected to domoticz because I see the sunrise and sunset but it shows no devices in dashticz? I have them as favorite in domoticz.
My Config:

Code: Select all

var config = {}
config['domoticz_ip'] = 'ip:port';
config['app_title'] = 'Domoboard';
config['domoticz_refresh'] = '2';
config['dashticz_refresh'] = '2';
config['auto_positioning'] = 0;
config['standby_after'] = 0;
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['slide_effect'] = 'slide';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['boss_stationclock'] = 'RedBoss';
config['wu_api'] = 'API';
config['wu_city'] = 'City';
config['wu_name'] = 'Weer in City';
config['wu_country'] = 'NL'
config['last_update'] = 1;
config['hide_topbar'] = 1;
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['selector_instead_of_buttons'] = 1;
config['garbage_company'] = 'cure';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'ZIP';
config['garbage_street'] = 'Street';
config['garbage_housenumber'] = '2';
config['garbage_maxitems'] = '12';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;
config['language'] = 'nl_NL';
config['use_favorites'] = 1;

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: 10 }

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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
        {"track":5,"name":"Vastelaovend","file":"http://www.radiovastelaovend.nl/templates/rav/luister.m3u"},
  ]; 


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'}
buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.buienradar = {width:22, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}

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

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

blocks['104'] = {}
blocks['104']['key'] = '104';
blocks['104']['title'] = 'TV';
blocks['104']['switch'] = true;

blocks[233] = {}
blocks[233]['key'] = '233';
blocks[233]['device'] = 'TV';
blocks[233]['switch'] = true;


var columns = {}
					
columns[1] = {}
columns[1]['blocks'] = [233]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['clock','sunrise',buttons.nunl,buttons.nos,buttons.radio,buttons.buienradar]
columns[2]['width'] = 2;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_2','weather',tvguide.dutch,publictransport.ovinfobus]
columns[3]['width'] = 5; 

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

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['background_morning'] = 'bg6.jpg';
screens[1]['background_noon'] = 'bg6.jpg';
screens[1]['background_afternoon'] = 'bg6.jpg';
screens[1]['background_night'] = 'bg6.jpg';
screens[1]['columns'] = [1,2,3]

screens[2] = {}
screens[2]['background'] = 'bg3.jpg';
screens[2]['background_morning'] = 'bg_2.jpg';
screens[2]['background_noon'] = 'bg_2.jpg';
screens[2]['background_afternoon'] = 'bg_7.jpg';
screens[2]['background_night'] = 'bg_7.jpg';
screens[2]['columns'] = [4,5,6]
hope someone can help me! thanks in advance
Justinn

Re: Dashticz - General Discussions

Posted: Saturday 04 November 2017 13:30
by HansieNL
Have you already tried to set ['auto_positioning'] = 1;

Re: Where to get google maps api key ?

Posted: Sunday 05 November 2017 20:29
by curious
Addes these lines and now it works. But what is the use of the vars then ?

Code: Select all

var maps = {}
maps.location = { height: 400, width:15, latitude: 53.260860, longitude: 6.395335, zoom:11}

Re: Swipe button

Posted: Sunday 05 November 2017 20:33
by Lexfontes
Hi Davizinho,

Yes, I'm interested by this option. Thank's to share .

Re: Swipe button

Posted: Sunday 05 November 2017 22:45
by DAVIZINHO
hello again,
I find that the width and height of the buttons are located in this file:
/dashticz_v2/vendor/swiper/css/swiper.min.css

I edit the swiper.min.css and modify this class:
.swiper-pagination-bullet { }

with this dimensions:

width: 80px;
height: 80px;

you must try with diferents width and height you like

Re: Dashticz - General Discussions

Posted: Sunday 05 November 2017 23:13
by FrankDutch
dagger38 wrote: Friday 03 November 2017 19:40 Strange???
Dasticz is running , on a windows browser page AND on my samsung tablet..
Any changes i make in : /home/pi/domoticz/www/dashticz/custom/CONFIG.js file have absolutely NO effect on the running dasticz?
Why?
I have the same problem and i don't know how to solve it

/*
var config = {}
config['domoticz_ip'] = 'http://192.168.1.***:8***';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = 1;
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'day';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '0';
config['gm_latitude'] = '4.696699';
config['gm_longitude'] = '52.521445';
config['wu_api'] = '7df899576e906077';
config['wu_city'] = 'Uitgeest';
config['wu_name'] = 0;
config['wu_country'] = 'NL';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 0;
config['garbage_company'] = 0;
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 0;
config['garbage_street'] = 0;
config['garbage_housenumber'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;

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]
*/

this is the config could someone help me?

Re: Dashticz - General Discussions

Posted: Sunday 05 November 2017 23:16
by dagger38
Take away the ./* Line 1 and the */. On the last line
Same as I sit wrong

Re: Dashticz - General Discussions

Posted: Sunday 05 November 2017 23:29
by FrankDutch
thx
that sis the trick

Re: Dashticz - General Discussions

Posted: Monday 06 November 2017 7:19
by BennyV
Has anyone had this problem before? Working fine on Laptop/Pc but no devices seen on tablet or iphone :?
BennyV wrote: Friday 27 October 2017 12:12 I've set up Dashticz. I can see and use my devices on pc/laptop. But when I open it on a tablet or iphone I can't see any devices.
What can be my problem?

My config.js:

Code: Select all

var config = {}
config['language'] = 'nl_NL';
config['timeformat'] = 'DD/MM/YYYY HH:mm';
config['domoticz_ip'] = 'http://xxxxxxxxxxxxxx';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['wu_api']  = 'xxxxxxxxxxxx';
config['wu_city'] ='Gruitrode';
config['wu_country'] = 'Belgium';
config['wu_name']  = 'Gruitrode';
config['use_favorites']  = 0;

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:12, channels: [49,59,60], maxitems: 10 }

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":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
  ]; 


var buttons = {}
buttons.hbvl = {key: 'hbvl',  width:4, icon: 'fa-newspaper-o', title: 'HBVL', url: 'http://www.hbvl.be'}
buttons.hln = {key: 'hln',  width:4, icon: 'fa-newspaper-o', title: 'HLN', url: 'http://www.hln.be'}
buttons.sporza = {key: 'sporza',  width:4, icon: 'fa-newspaper-o', title: 'Sporza', url: 'http://www.sporza.be'}

var blocks = {}
blocks['blocktitle_buiten'] = {}
blocks['blocktitle_buiten']['key'] = 'blocktitle_buiten';
blocks['blocktitle_buiten']['type'] = 'blocktitle';
blocks['blocktitle_buiten']['title'] = 'Buiten';

blocks['blocktitle_gelijkvloers'] = {}
blocks['blocktitle_gelijkvloers']['key'] = 'blocktitle_gelijkvloers';
blocks['blocktitle_gelijkvloers']['type'] = 'blocktitle';
blocks['blocktitle_gelijkvloers']['title'] = 'Gelijkvloers';

blocks['blocktitle_boven'] = {}
blocks['blocktitle_boven']['key'] = 'blocktitle_boven';
blocks['blocktitle_boven']['type'] = 'blocktitle';
blocks['blocktitle_boven']['title'] = 'Boven';

blocks['blocktitle_onder'] = {}
blocks['blocktitle_onder']['key'] = 'blocktitle_onder';
blocks['blocktitle_onder']['type'] = 'blocktitle';
blocks['blocktitle_onder']['title'] = 'Onder';

blocks[40] = {} //achterdeur
blocks[40]['width'] = 4;
blocks[39] = {} //voordeur
blocks[39]['width'] = 4;
blocks[38] = {} //kelderdeur
blocks[38]['width'] = 4;
blocks[65] = {} //garage buiten
blocks[65]['width'] = 4;
blocks[66] = {} //Terras living
blocks[66]['width'] = 4;
blocks[67] = {} //Terras keuken
blocks[67]['width'] = 4;
blocks[54] = {} //voordeur sfeer
blocks[54]['width'] = 4;

blocks[50] = {} //aanrecht
blocks[50]['width'] = 6;
blocks[49] = {} //keuken
blocks[49]['width'] = 6;
blocks[51] = {} //sfeer
blocks[51]['width'] = 12;
blocks[52] = {} //zithoek
blocks[52]['width'] = 6;
blocks[53] = {} //eethoek
blocks[53]['width'] = 6;
blocks[55] = {} //bureau
blocks[55]['width'] = 4;
blocks[56] = {} //inkomhal
blocks[56]['width'] = 4;
blocks[64] = {} //Garage
blocks[64]['width'] = 4;
blocks[48] = {} //berging
blocks[48]['width'] = 4;
blocks[47] = {} //sas
blocks[47]['width'] = 4;
blocks[58] = {} //Toilet
blocks[58]['width'] = 4;
blocks[72] = {} //Rol omhoog
blocks[72]['width'] = 6;
blocks[72] ['icon'] = 'fa-arrow-up';
blocks[73] = {} //Rol omlaag
blocks[73]['width'] = 6;
blocks[73] ['icon'] = 'fa-arrow-down';

blocks[59] = {} //Overloop
blocks[59]['width'] = 4;
blocks[57] = {} //overloop sfeer
blocks[57]['width'] = 4;
blocks[60] = {} //Emily
blocks[60]['width'] = 4;
blocks[61] = {} //Ryan
blocks[61]['width'] = 4;
blocks[62] = {} //Slaapkamer
blocks[62]['width'] = 4;
blocks[63] = {} //Dressing
blocks[63]['width'] = 4;
blocks[69] = {} //Douche
blocks[69]['width'] = 4;
blocks[70] = {} //Badkamer
blocks[70]['width'] = 4;
blocks[71] = {} //Lavabo
blocks[71]['width'] = 4;
blocks[68] = {} //Zolder
blocks[68]['width'] = 4;

blocks[78] = {} //Trap
blocks[78]['width'] = 4;
blocks[77] = {} //Voorraad
blocks[77]['width'] = 4;
blocks[74] = {} //Droogkast
blocks[74]['width'] = 4;
blocks[76] = {} //Container
blocks[76]['width'] = 4;
blocks[80] = {} //Werkbank
blocks[80]['width'] = 4;
blocks[75] = {} //Dompelpomp
blocks[75]['width'] = 4;
blocks[79] = {} //Waterpomp
blocks[79]['width'] = 4;

blocks[41] = {} //Kodi
blocks[41]['width'] = 12;


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

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_buiten',40,39,38,65,66,67,'blocktitle_gelijkvloers', 50,49,51,52,53,55,56,64,48,47,58,72,73]
columns[1]['width'] = 4; 
					
columns[2] = {}
columns[2]['blocks'] = ['blocktitle_boven', 59,57,60,61,62,63,69,70,71,68, 'blocktitle_onder',78,77,74,76,80,75,79]
columns[2]['width'] = 4;

columns[3] = {}
columns[3]['blocks'] = ['currentweather_big','weather','sunrise', 41, buttons.hbvl, buttons.hln, buttons.sporza]
columns[3]['width'] = 4; 

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: Monday 06 November 2017 9:45
by CaesarPL
To be sure, set config['auto_positioning'] = 0;, don't know what is the default.

Re: Swipe button

Posted: Monday 06 November 2017 10:53
by Lexfontes
Thank you.