Page 28 of 28

Re: Dashticz - Bug report

Posted: Tuesday 26 November 2019 20:04
by Lokonli
ben53252642 wrote: Tuesday 26 November 2019 2:04
freakshock wrote: Tuesday 24 April 2018 21:22 Not sure if this is a Dashticz bug, but I hope someone can help with this.
I use the buienradar image with a buienalarm url, to show a graph of the coming rain.
Lately however this is not working anymore. When the url is opened independently of dashticz (not within a frame) it works.
For instance this url:
http://www.buienalarm.nl/widget/graphic ... lor=4395c7

This is my code in config.js:

Code: Select all

var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.buienalarm.nl/widget/graphic?lat=51.692134&lon=5.290004&title=Den%20Bosch&color=4395c7'}
When clicking the buienradar image it just shows an empty frame. Anyone? :cry:
Did you find a solution for this?

I'm trying to display an image snapshot from my Foscam from the url:

Code: Select all

http://192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password
CONFIG.js

Code: Select all

var buttons = {}
buttons.webcam = {
  image:"//192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password",
  url:"//192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password",
  isimage:true,
  width: 12,
  refresh: 2000
}
It displays the image fine but when I click on it I get this error message in Chrome:

"This content can't be shown in a frame"
error994.JPG
I tried loading an image from internet via the url parameter, and that one shows in the popup window without problems.
That might mean that indeed only the CORS header causes the problem. This however can be solved with the (internal) CORS proxy.

Can you try the following as url parameter:

Code: Select all

url: './vendor/dashticz/nocache.php?//192.168.0.61/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password'
(php must be enabled)

Re: Dashticz - Bug report

Posted: Tuesday 26 November 2019 20:07
by Lokonli
ben53252642 wrote: Tuesday 26 November 2019 19:55 I've managed to work around the issue using a combination of a php cors proxy hosted on my local Apache server and a dedicated html page.

Thanks
Trying to find a solution in the same direction in parallel :)

Re: Dashticz - Bug report

Posted: Sunday 15 December 2019 9:55
by jgaalen
Since the last update of dashticz I've lost my slider icon. I can still slide, but the current value isn't visible anymore

Re: Dashticz - Bug report

Posted: Sunday 15 December 2019 10:33
by Lokonli
jgaalen wrote: Sunday 15 December 2019 9:55 Since the last update of dashticz I've lost my slider icon. I can still slide, but the current value isn't visible anymore
hmm, missed a line...

Should be fixed in latest beta.

Re: Dashticz - Bug report

Posted: Tuesday 17 December 2019 18:51
by geertvercamer
Any one else has trouble with public transport 'de lijn'?
This used to work fine, but not since v3.2.0 (I think).
CORS problem:
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www.delijn.be/rise-api-core/hal ... /503902/10 with MIME type application/json.

Re: Dashticz - Bug report

Posted: Thursday 19 December 2019 19:21
by Lokonli
geertvercamer wrote: Tuesday 17 December 2019 18:51 Any one else has trouble with public transport 'de lijn'?
This used to work fine, but not since v3.2.0 (I think).
CORS problem:
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www.delijn.be/rise-api-core/hal ... /503902/10 with MIME type application/json.
I think delijn changed it's response data, and removed cross-origin allowed.

It's solved in the latest beta by adding the CORS proxy to the delijn.be request.

You must have PHP enabled (or configured an alternative CORS proxy)

Re: Dashticz - Bug report

Posted: Monday 23 December 2019 22:31
by geertvercamer
sorry for the delay.
Yes it is solved in the latest beta.

Re: Dashticz - Bug report

Posted: Monday 13 January 2020 22:58
by Phantom
Recently my standby screen is not working anymore, it stays completely black with no errors in the console.
Even with this config i can't get it to work:

Code: Select all

var config = {}
config['domoticz_ip'] = 'https://xxxxxxx;
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['disable_googleanalytics'] = 1;


config['standby_after'] = 1;  //Enter standby mode after 5 minutes

var columns_standby = {}

columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock']  //specify blocks for the standby mode
columns_standby[1]['width'] = 12;
i tried ctrl F5, different browsers but it stays black.
Anyone have this same issue or know how to fix that?
I am using the most resent beta version 3.3.1

Re: Dashticz - Bug report

Posted: Tuesday 14 January 2020 22:14
by Lokonli
Phantom wrote: Monday 13 January 2020 22:58 Recently my standby screen is not working anymore, it stays completely black with no errors in the console.
Even with this config i can't get it to work:

Code: Select all

var config = {}
config['domoticz_ip'] = 'https://xxxxxxx;
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['disable_googleanalytics'] = 1;


config['standby_after'] = 1;  //Enter standby mode after 5 minutes

var columns_standby = {}

columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock']  //specify blocks for the standby mode
columns_standby[1]['width'] = 12;
i tried ctrl F5, different browsers but it stays black.
Anyone have this same issue or know how to fix that?
I am using the most resent beta version 3.3.1
There was a bug with the standby screen in case you have a single screen.

This has been fixed in latest beta just now.

Re: Dashticz - Bug report

Posted: Wednesday 15 January 2020 0:42
by Phantom
Thanks it work again :)

Re: Dashticz - Bug report

Posted: Wednesday 15 January 2020 9:23
by EdwinK
Not sure if this is a bug, or something else, but yesterday I noticed that part of my second screen is displayed on the first screen, and I can't swipe anymore. When trying to create another (costum_2) dashboard, the same thing happend.

Re: Dashticz - Bug report

Posted: Wednesday 15 January 2020 11:54
by Lokonli
EdwinK wrote: Wednesday 15 January 2020 9:23 Not sure if this is a bug, or something else, but yesterday I noticed that part of my second screen is displayed on the first screen, and I can't swipe anymore. When trying to create another (costum_2) dashboard, the same thing happend.
My changes to swiper have some unexpected side effects ...

I've added a config setting to enable/disable swiper.

Code: Select all

config['enable_swiper']  = 2
By default this setting should be 2 (enable for all screen sizes). Could you test by setting this value to 0 (swiper disabled), 1 (swiper enables on big screens), 2 (always enabled).

And: it's always good to test with latest beta :)

Sometimes creative.css didn't reload correctly. That also has been fixed ...

Re: Dashticz - Bug report

Posted: Wednesday 15 January 2020 13:21
by EdwinK
Unfortunately, this didn't work ;(

Trying to see if there is a new beta ;) . (There was but didn't change either.)

Re: Dashticz - Bug report

Posted: Wednesday 15 January 2020 21:26
by Lokonli
EdwinK wrote: Wednesday 15 January 2020 13:21 Unfortunately, this didn't work ;(

Trying to see if there is a new beta ;) . (There was but didn't change either.)
I can't reproduce, so can you give some more information:

What kind of system do you use to run Dashticz on?
What kind of display do you have? What is the resolution?

Do you have any swiper related settings in custom.css?

Could you post your CONFIG.js?

Re: Dashticz - Bug report

Posted: Wednesday 15 January 2020 22:31
by EdwinK
Dashticz is running on my Synology (DS418J). At the moment the display is just my MacBook on 1280x800 screen.

This is my CONFIG.js

Code: Select all

var config = {}
config['domoticz_ip'] 	= 'http://192.168.0.11:8080';
config['login_timeout'] 	= '60';
config['user_name'] 		= 'Edwin';
config['pass_word'] 		= '';
//config['app_title'] 		= '';
config['room_plan'] 		= '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_cors_url'] 	= '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] 	= '';
config['standby_call_url_on_end'] = '';

config['theme'] = 'default'
config['background_image'] = 'img/bg10.jpg';
config['standby_after'] = '0';
config['start_page'] = '1';
config['enable_swiper'] = '0';
config['vertical_scroll'] = '2';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '0';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'day';
config['blink_color'] = '255,0,0,0.5';
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'] = 'xxxxxxxxxx';
//config['gm_zoomlevel'] = '';
//config['gm_latitude'] = 'xx.xxxxxx';
//config['gm_longitude'] = 'xx.xxxxxx';

config['speak_lang'] = 'nl-NL';

config['owm_api'] 		= '';
config['owm_city'] 		= 'Rhoon';
config['owm_name'] 		= 'Rhoon';
config['owm_country'] 	= 'nl';
config['owm_lang'] 		= 'nl';
config['owm_cnt'] 		= '4';
config['owm_days'] 		= 1;
config['owm_min'] 		= 1;

config['idx_moonpicture'] = '';

config['longfonds_zipcode'] = '3161LH';
config['longfonds_housenumber'] = '27';

config['garbage_company'] 		= 'barafvalbeheer';
config['garbage_icalurl'] 			= '';
config['google_api_key']			= '';
config['garbage_calendar_id'] 		= '';
config['garbage_zipcode'] 			= '3161LH';
config['garbage_street'] 			= 'Jonkerhof';
config['garbage_housenumber'] 		= '27';
config['garbage_housenumberadd']	= '';
config['garbage_maxitems'] 		= '4';
config['garbage_width'] 			= '12';
config['garbage_hideicon'] 		= 0;
config['garbage_icon_use_colors'] 	= 1;
config['garbage_use_colors'] 		= 1;
config['garbage_use_names'] 		= 1;
config['garbage_use_cors_prefix'] 	= 1;

config['setpoint_min'] = '6';
config['setpoint_max'] = '30';
config['loginEnabled'] = 0;

config['disable_update_check'] = 0;
config['no_rgb'] = 1;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 1;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 1;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;

//Graph line colors and point size
config['lineColors'] = ['#EE0000', '#00EE00', '#0000EE'];
config['pointSize'] = ['0'];

//Garbage
config['garbage'] = {
        	gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
        	rest: {kliko: 'grey', code: '#5e5d5c', name: 'Rest', icon: 'img/garbage/kliko_grey.png'},
        	papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
				};

/*var _STREAMPLAYER_TRACKS     = [
    {"track":1,"name":"NPO Radio 1","file":"http://icecast.omroep.nl/radio1-bb-mp3"},
    {"track":2,"name":"Omroep Brabant","file":"http://streaming.omroepbrabant.nl/mp3hq"},
    {"track":3,"name":"Studio Brussel","file":"http://icecast.vrtcdn.be/stubru-high.mp3"},
		];
*/

var calendars = {}
  calendars.prive	= { 
maxitems: 5, 
url: s',
icon: 'fas fa-calendar-alt'
}

calendars.photography 	= { 
maxitems: 5, icalurl: /basic.ics',

icon: 'fas fa-camera'
 }

var buttons = {}
    //buttons.buienradar = {key: 'buienradar', width:12, isimage:true, refreshimage:60000, btnimage: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=256&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.860074&lng=4.412694&overname=2&zoom=13&naam=Rhoon&size=3&voor=1', framewidth:580, frameheight: 520}
    //buttons.log = {key:'log', width:12, image: '../custom/img/dz.png', title: 'Domoticz Log', log:true, level: 1}
    //buttons.tvgids = {key: 'tvgids', width:4, image: '../custom/img/tv.png', title: 'TV Gids', url: 'https://www.tvgids24.nl/gadget'}
    //buttons.p2000 = {key: 'p2000', width:4, image: '../custom/img/siren.png', title: 'P2000', newwindow:true, url: 'https://monitor.p2000alarm.nl'}
    //buttons.fr24 = {key: 'fr24', width:4, image: '../custom/img/fr24.png', title: 'FR24', newwindow:true, url: 'https://flightradar24.com'}
    //buttons.books = {key: 'books', width:12, image: '../custom/img/book.png', title: 'Boeken', url: '../clz/book.html'}
    //buttons.movies = {key: 'movies', width:12, image: '../custom/img/film.png', title: 'Films', url: '../clz/movie.html'}
    //buttons.music = {key: 'music', width:12, image: '../custom/img/music.png', title: 'Muziek', url: '../clz/music.html'}
	buttons.IPCam  = { width: 6, isimage: true, refreshimage: 60, btnimage: 'http://192.168.0.5/picture/1/current/?_username=admin&_signature=aa7a6254a761770579ac6c2a928970e61826a92e', url: 'http://192.168.0.5'};
	buttons.IPCam2 = {width: 6, isimage: true, refreshimage: 60, btnimage: 'http://192.168.0.168/webcapture.jpg?command=snap&channel=1&user=admin&password=tlJwpbo6%20',url: 'http://192.168.0.168/webcapture.jpg?command=snap&channel=1&user=admin&password=tlJwpbo6%20'};

var frames = {}
//	frames.volumioplayer = { width:12, height:720, refreshiframe: 1000000, frameurl: "http://XXX.XXX.XXX.XXX/playback"}


//var trafficinfo = {}
//	trafficinfo.anwba58 = { key:'anwba58', provider: 'anwb', road:'A58', trafficJams: false, roadWorks: true, radars: false, show_lastupdate:false, icon: 'fas fa-car', width:12, results: 10 };

//var maps = {}
//    maps.thuis = { height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: 51.432103, longitude: 4.314068, zoom:10 }

//var tvguide = {}
//    tvguide.npo = { key:'tvnpo', image: '../custom/img/tv.png', width:12, channels: [1,2,3], maxitems: 5 }
//    tvguide.other = { key:'tvother', image: '../custom/img/tv.png', width:12, channels: [29,18], maxitems: 4 }


var blocks = {}

blocks[49] = { //Thuis
	textOff:	'AFWEZIG',
	textOn: 	'AANWEZIG',
	icon: 		'fas fa-home',
	width: 		'4'}

// Alive?
blocks[391] = { //PI Hole
    hide_data: true, width: 4 }



blocks['v27'] = { //Uptime
    title: 'Uptime',
	image: 'uptime.png',
	switch: true,
	width: 12
}

blocks['longfonds'] = {
    title: 'Longfonds',
    width: 4,
    switch: true,
    image: 'longfonds.png',
}

blocks['traffic'] = {
    icon: 'fas fa-car'
}

blocks[49] = {
	title: 'Presence',
	width: 12
}

blocks['train'] = {
    icon: 'fas fa-train'
}

blocks['streamplayer'] = {
    image: '../custom/img/radio.png'
}

blocks['news_nualg'] = {
    feed: 'https://www.nu.nl/rss/algemeen',
    maxheight: 400,
    title: 'Nu.nl' //optional
    //icon: 'fas fa-icon'
}

blocks[451] = {
	//title: 'Tarief',
	width: 12
}

blocks['175_1'] = {
	title: 'Buiten temp.',
	switch: true,
	width: 4
}

blocks[376] = {
	title: 'Binnen temp.',
	switch: true,
	width: 4
	}

blocks['1_1'] = {
	title: 'Nu',
	switch: true,
	width: 4
}

blocks['1_2'] = {
	title: 'Vandaag (?)',
	switch: true,
	width: 4
}
blocks['2_1'] = {
	title: 'Vandaag (?)',
	switch: true,
	width: 4
}
blocks['2_2'] = {
	title: 'Totaal (?)',
	switch: true,
	width: 4
}	

blocks[407] = {
	width: 4,
	icon: 'fas fa-exclamation-triangle',
}
blocks[408] = {
	width: 4,
	icon: 'fas fa-exclamation-triangle',
}

//defining number of columns, their contents en widths
//width can be a number 1 to 12, but total widths of all columns should always be 12
var columns = {}

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

//--- Screen 1 ---
columns[1] = {}
    columns[1]['blocks'] = [377,380,407,408,'longfonds',284,285,286,287,'s4','s9',389,390,391,392,393,394]
    columns[1]['width'] = 5;

columns[2] = {}
    columns[2]['blocks'] = ['weather_owm',376,'175_1','1_1','1_2','2_1','2_2',buttons.IPCam,buttons.IPCam2]
    columns[2]['width'] = 5;

columns[3] = {}
    columns[3]['blocks'] = ['sunrise',49,451,'garbage','v27']
    columns[3]['width'] = 2;

//--- Screen 2 ---
columns[4] = {}
    columns[4]['blocks'] = [calendars.prive,calendars.photography]
    columns[4]['width'] = 5;

columns[5] = {}
    columns[5]['blocks'] = ['traffic',publictransport.ovinfobus,'train',publictransport.ovinfotrains]
    columns[5]['width'] = 5;

columns[6] = {}
    columns[6]['blocks'] = ['stationclock','news_nualg']
    columns[6]['width'] = 2;

columns[7] = {}
    columns[7]['blocks'] = [frames.volumioplayer]
    columns[7]['width'] = 6;

columns[8] = {}
    columns[9]['blocks'] = ['news',tvguide.npo,tvguide.other]
    columns[9]['width'] = 6;

//--- Standby Screen ---
var columns_standby = {}
columns_standby[1] = {}
    columns_standby[1]['blocks'] = ['clock']
    columns_standby[1]['width'] = 12;

//--- Multiple screens ---
var screens = {}

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

screens[2] = {}
    screens[2]['background'] = 'bg10.jpg';
    screens[2]['columns'] = [4,5,6]

screens[3] = {}
    screens[3]['background'] = 'bg10.jpg';
    screens[3]['columns'] = [7,8]
custon.css

Code: Select all

/*
CUSTOM CSS FILE
*/

/* Longfonds */
.longfonds .dt_title {
	font-size: 12px !important;
}
.longfonds .dt_state {
	font-size: 18px !important;
}

/* Uptime */
.block_v27 {
    height: 100% !important; 
}

/* MeteoAlarm */
.alertnormal .col-icon {
color: green !important;
}
.alertlight .col-icon {
color: yellow !important;
}
.alertmedium .col-icon {
color: orange !important;
}
.alerthigh .col-icon {
color: red !important;
}

/* Thermostaat Selector */
.block_380 .icon {
    width: 85% !important;
    height: auto; 
}
.block_380 .btn-group {
    margin-top: -15px !important;
}
.block_380 .btn {
  color: #000000;
  background-color: rgba(108,108,108,1.0);
  border-color: #000000;
}
.block_380 .btn.active {
  color: #000000;
  background-color: rgba(255,255,255,0.9);
  border-color: #000000;
}
.block_380 .title {		
    font-size: 0px !important;
}

/* Alles hier onder moet nog gecontroleerd worden */


.transbg[class*="col-xs"] {
    border-width: 3px !important;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
}
/* .transbg[class*="col-xs"].hover:hover {
    background-color: rgba(128,128,128,0.3);
} */


/* Placeholder */
/* .block_326 {
    background-color: transparent !important;
    color: transparent !important;
} */ 


/* Device blocks */
div.mh {
	height:75px;
}
@media (max-width: 975px) {
	div.mh {
		height:67px;
	}
}

/* Dimmer Slider and Handle - Off State */
/*[class*="block_"] .ui-slider-horizontal {
    background-color: rgba(255,255,255,0.4);
    border-color: transparent;
    height: 1px;
    top: 5px;
}
[class*="block_"] .ui-slider-handle {
    background-color: rgba(108,108,108,1.0);
    border-radius: 50%;
    border-color: transparent;
    height: 15px;
    width: 15px;
}
.block_431 .title, 
.block_417 .title, 
.block_124 .title, 
.block_126 .title,
.block_236 .title, 
.block_252 .title,
.block_391 .title,
.block_400 .title {
    color: rgba(108,108,108,1.0);
}
*/
/* Dimmer Slider and Handle - On State */
/*.slider-on [class*="ui-slider-h"] {
    background-color: rgba(255,255,255,1.0);
    border-color: transparent;
}
.slider-on .title {
    color: rgba(255,255,255,1.0);
}
*/


/* Buttons */
.button {
	min-height: 55px;
    padding-top: 10px !important;
}
.button .icon {
    width: 150% !important;
}
.button .dt_title {
	font-size: 125%;
}

Re: Dashticz - Bug report

Posted: Thursday 16 January 2020 8:32
by Lokonli
EdwinK wrote: Wednesday 15 January 2020 22:31 Dashticz is running on my Synology (DS418J). At the moment the display is just my MacBook on 1280x800 screen.

This is my CONFIG.js

Code: Select all

var config = {}
config['domoticz_ip'] 	= 'http://192.168.0.11:8080';
config['login_timeout'] 	= '60';
config['user_name'] 		= 'Edwin';
config['pass_word'] 		= '';
//config['app_title'] 		= '';
config['room_plan'] 		= '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_cors_url'] 	= '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] 	= '';
config['standby_call_url_on_end'] = '';

config['theme'] = 'default'
config['background_image'] = 'img/bg10.jpg';
config['standby_after'] = '0';
config['start_page'] = '1';
config['enable_swiper'] = '0';
config['vertical_scroll'] = '2';
config['auto_swipe_back_to'] = '1';
config['auto_swipe_back_after'] = '0';
config['auto_slide_pages'] = '0';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'day';
config['blink_color'] = '255,0,0,0.5';
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'] = 'xxxxxxxxxx';
//config['gm_zoomlevel'] = '';
//config['gm_latitude'] = 'xx.xxxxxx';
//config['gm_longitude'] = 'xx.xxxxxx';

config['speak_lang'] = 'nl-NL';

config['owm_api'] 		= '';
config['owm_city'] 		= 'Rhoon';
config['owm_name'] 		= 'Rhoon';
config['owm_country'] 	= 'nl';
config['owm_lang'] 		= 'nl';
config['owm_cnt'] 		= '4';
config['owm_days'] 		= 1;
config['owm_min'] 		= 1;

config['idx_moonpicture'] = '';

config['longfonds_zipcode'] = '3161LH';
config['longfonds_housenumber'] = '27';

config['garbage_company'] 		= 'barafvalbeheer';
config['garbage_icalurl'] 			= '';
config['google_api_key']			= '';
config['garbage_calendar_id'] 		= '';
config['garbage_zipcode'] 			= '3161LH';
config['garbage_street'] 			= 'Jonkerhof';
config['garbage_housenumber'] 		= '27';
config['garbage_housenumberadd']	= '';
config['garbage_maxitems'] 		= '4';
config['garbage_width'] 			= '12';
config['garbage_hideicon'] 		= 0;
config['garbage_icon_use_colors'] 	= 1;
config['garbage_use_colors'] 		= 1;
config['garbage_use_names'] 		= 1;
config['garbage_use_cors_prefix'] 	= 1;

config['setpoint_min'] = '6';
config['setpoint_max'] = '30';
config['loginEnabled'] = 0;

config['disable_update_check'] = 0;
config['no_rgb'] = 1;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 1;
config['last_update'] = 0;
config['hide_topbar'] = 1;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 1;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;

//Graph line colors and point size
config['lineColors'] = ['#EE0000', '#00EE00', '#0000EE'];
config['pointSize'] = ['0'];

//Garbage
config['garbage'] = {
        	gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
        	rest: {kliko: 'grey', code: '#5e5d5c', name: 'Rest', icon: 'img/garbage/kliko_grey.png'},
        	papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
				};

/*var _STREAMPLAYER_TRACKS     = [
    {"track":1,"name":"NPO Radio 1","file":"http://icecast.omroep.nl/radio1-bb-mp3"},
    {"track":2,"name":"Omroep Brabant","file":"http://streaming.omroepbrabant.nl/mp3hq"},
    {"track":3,"name":"Studio Brussel","file":"http://icecast.vrtcdn.be/stubru-high.mp3"},
		];
*/

var calendars = {}
  calendars.prive	= { 
maxitems: 5, 
url: s',
icon: 'fas fa-calendar-alt'
}

calendars.photography 	= { 
maxitems: 5, icalurl: /basic.ics',

icon: 'fas fa-camera'
 }

var buttons = {}
    //buttons.buienradar = {key: 'buienradar', width:12, isimage:true, refreshimage:60000, btnimage: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=256&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=51.860074&lng=4.412694&overname=2&zoom=13&naam=Rhoon&size=3&voor=1', framewidth:580, frameheight: 520}
    //buttons.log = {key:'log', width:12, image: '../custom/img/dz.png', title: 'Domoticz Log', log:true, level: 1}
    //buttons.tvgids = {key: 'tvgids', width:4, image: '../custom/img/tv.png', title: 'TV Gids', url: 'https://www.tvgids24.nl/gadget'}
    //buttons.p2000 = {key: 'p2000', width:4, image: '../custom/img/siren.png', title: 'P2000', newwindow:true, url: 'https://monitor.p2000alarm.nl'}
    //buttons.fr24 = {key: 'fr24', width:4, image: '../custom/img/fr24.png', title: 'FR24', newwindow:true, url: 'https://flightradar24.com'}
    //buttons.books = {key: 'books', width:12, image: '../custom/img/book.png', title: 'Boeken', url: '../clz/book.html'}
    //buttons.movies = {key: 'movies', width:12, image: '../custom/img/film.png', title: 'Films', url: '../clz/movie.html'}
    //buttons.music = {key: 'music', width:12, image: '../custom/img/music.png', title: 'Muziek', url: '../clz/music.html'}
	buttons.IPCam  = { width: 6, isimage: true, refreshimage: 60, btnimage: 'http://192.168.0.5/picture/1/current/?_username=admin&_signature=aa7a6254a761770579ac6c2a928970e61826a92e', url: 'http://192.168.0.5'};
	buttons.IPCam2 = {width: 6, isimage: true, refreshimage: 60, btnimage: 'http://192.168.0.168/webcapture.jpg?command=snap&channel=1&user=admin&password=tlJwpbo6%20',url: 'http://192.168.0.168/webcapture.jpg?command=snap&channel=1&user=admin&password=tlJwpbo6%20'};

var frames = {}
//	frames.volumioplayer = { width:12, height:720, refreshiframe: 1000000, frameurl: "http://XXX.XXX.XXX.XXX/playback"}


//var trafficinfo = {}
//	trafficinfo.anwba58 = { key:'anwba58', provider: 'anwb', road:'A58', trafficJams: false, roadWorks: true, radars: false, show_lastupdate:false, icon: 'fas fa-car', width:12, results: 10 };

//var maps = {}
//    maps.thuis = { height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: 51.432103, longitude: 4.314068, zoom:10 }

//var tvguide = {}
//    tvguide.npo = { key:'tvnpo', image: '../custom/img/tv.png', width:12, channels: [1,2,3], maxitems: 5 }
//    tvguide.other = { key:'tvother', image: '../custom/img/tv.png', width:12, channels: [29,18], maxitems: 4 }


var blocks = {}

blocks[49] = { //Thuis
	textOff:	'AFWEZIG',
	textOn: 	'AANWEZIG',
	icon: 		'fas fa-home',
	width: 		'4'}

// Alive?
blocks[391] = { //PI Hole
    hide_data: true, width: 4 }



blocks['v27'] = { //Uptime
    title: 'Uptime',
	image: 'uptime.png',
	switch: true,
	width: 12
}

blocks['longfonds'] = {
    title: 'Longfonds',
    width: 4,
    switch: true,
    image: 'longfonds.png',
}

blocks['traffic'] = {
    icon: 'fas fa-car'
}

blocks[49] = {
	title: 'Presence',
	width: 12
}

blocks['train'] = {
    icon: 'fas fa-train'
}

blocks['streamplayer'] = {
    image: '../custom/img/radio.png'
}

blocks['news_nualg'] = {
    feed: 'https://www.nu.nl/rss/algemeen',
    maxheight: 400,
    title: 'Nu.nl' //optional
    //icon: 'fas fa-icon'
}

blocks[451] = {
	//title: 'Tarief',
	width: 12
}

blocks['175_1'] = {
	title: 'Buiten temp.',
	switch: true,
	width: 4
}

blocks[376] = {
	title: 'Binnen temp.',
	switch: true,
	width: 4
	}

blocks['1_1'] = {
	title: 'Nu',
	switch: true,
	width: 4
}

blocks['1_2'] = {
	title: 'Vandaag (?)',
	switch: true,
	width: 4
}
blocks['2_1'] = {
	title: 'Vandaag (?)',
	switch: true,
	width: 4
}
blocks['2_2'] = {
	title: 'Totaal (?)',
	switch: true,
	width: 4
}	

blocks[407] = {
	width: 4,
	icon: 'fas fa-exclamation-triangle',
}
blocks[408] = {
	width: 4,
	icon: 'fas fa-exclamation-triangle',
}

//defining number of columns, their contents en widths
//width can be a number 1 to 12, but total widths of all columns should always be 12
var columns = {}

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

//--- Screen 1 ---
columns[1] = {}
    columns[1]['blocks'] = [377,380,407,408,'longfonds',284,285,286,287,'s4','s9',389,390,391,392,393,394]
    columns[1]['width'] = 5;

columns[2] = {}
    columns[2]['blocks'] = ['weather_owm',376,'175_1','1_1','1_2','2_1','2_2',buttons.IPCam,buttons.IPCam2]
    columns[2]['width'] = 5;

columns[3] = {}
    columns[3]['blocks'] = ['sunrise',49,451,'garbage','v27']
    columns[3]['width'] = 2;

//--- Screen 2 ---
columns[4] = {}
    columns[4]['blocks'] = [calendars.prive,calendars.photography]
    columns[4]['width'] = 5;

columns[5] = {}
    columns[5]['blocks'] = ['traffic',publictransport.ovinfobus,'train',publictransport.ovinfotrains]
    columns[5]['width'] = 5;

columns[6] = {}
    columns[6]['blocks'] = ['stationclock','news_nualg']
    columns[6]['width'] = 2;

columns[7] = {}
    columns[7]['blocks'] = [frames.volumioplayer]
    columns[7]['width'] = 6;

columns[8] = {}
    columns[9]['blocks'] = ['news',tvguide.npo,tvguide.other]
    columns[9]['width'] = 6;

//--- Standby Screen ---
var columns_standby = {}
columns_standby[1] = {}
    columns_standby[1]['blocks'] = ['clock']
    columns_standby[1]['width'] = 12;

//--- Multiple screens ---
var screens = {}

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

screens[2] = {}
    screens[2]['background'] = 'bg10.jpg';
    screens[2]['columns'] = [4,5,6]

screens[3] = {}
    screens[3]['background'] = 'bg10.jpg';
    screens[3]['columns'] = [7,8]
custon.css

Code: Select all

/*
CUSTOM CSS FILE
*/

/* Longfonds */
.longfonds .dt_title {
	font-size: 12px !important;
}
.longfonds .dt_state {
	font-size: 18px !important;
}

/* Uptime */
.block_v27 {
    height: 100% !important; 
}

/* MeteoAlarm */
.alertnormal .col-icon {
color: green !important;
}
.alertlight .col-icon {
color: yellow !important;
}
.alertmedium .col-icon {
color: orange !important;
}
.alerthigh .col-icon {
color: red !important;
}

/* Thermostaat Selector */
.block_380 .icon {
    width: 85% !important;
    height: auto; 
}
.block_380 .btn-group {
    margin-top: -15px !important;
}
.block_380 .btn {
  color: #000000;
  background-color: rgba(108,108,108,1.0);
  border-color: #000000;
}
.block_380 .btn.active {
  color: #000000;
  background-color: rgba(255,255,255,0.9);
  border-color: #000000;
}
.block_380 .title {		
    font-size: 0px !important;
}

/* Alles hier onder moet nog gecontroleerd worden */


.transbg[class*="col-xs"] {
    border-width: 3px !important;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.7);
}
/* .transbg[class*="col-xs"].hover:hover {
    background-color: rgba(128,128,128,0.3);
} */


/* Placeholder */
/* .block_326 {
    background-color: transparent !important;
    color: transparent !important;
} */ 


/* Device blocks */
div.mh {
	height:75px;
}
@media (max-width: 975px) {
	div.mh {
		height:67px;
	}
}

/* Dimmer Slider and Handle - Off State */
/*[class*="block_"] .ui-slider-horizontal {
    background-color: rgba(255,255,255,0.4);
    border-color: transparent;
    height: 1px;
    top: 5px;
}
[class*="block_"] .ui-slider-handle {
    background-color: rgba(108,108,108,1.0);
    border-radius: 50%;
    border-color: transparent;
    height: 15px;
    width: 15px;
}
.block_431 .title, 
.block_417 .title, 
.block_124 .title, 
.block_126 .title,
.block_236 .title, 
.block_252 .title,
.block_391 .title,
.block_400 .title {
    color: rgba(108,108,108,1.0);
}
*/
/* Dimmer Slider and Handle - On State */
/*.slider-on [class*="ui-slider-h"] {
    background-color: rgba(255,255,255,1.0);
    border-color: transparent;
}
.slider-on .title {
    color: rgba(255,255,255,1.0);
}
*/


/* Buttons */
.button {
	min-height: 55px;
    padding-top: 10px !important;
}
.button .icon {
    width: 150% !important;
}
.button .dt_title {
	font-size: 125%;
}
I still can't reproduce :(

In your CONFIG.js I see:

Code: Select all

config['enable_swiper'] = '0';
To double check: You still have a swiper issue if you have

Code: Select all

config['enable_swiper'] = '2';
?

Do you see any difference between:

Code: Select all

config['enable_swiper'] = '0';
and

Code: Select all

config['enable_swiper'] = '2';
?
Could you also test your config on a Windows PC or Android tablet? Just to rule out a IOS dependency.
(I've tested on a iPad: no issues ...)

Re: Dashticz - Bug report

Posted: Thursday 16 January 2020 9:21
by EdwinK
No difference between the two config's.

I don't own any other machines right now to test on, unfortunately.

Re: Dashticz - Bug report

Posted: Friday 24 January 2020 8:10
by dannybloe
Peeps, there is a new sub forum for bug reports. Let's start using that from now on where each report is it's own topic to keep things manageable. Locking this topic for now.

Cheers,

Danny