Calendar not showing
Posted: Monday 11 January 2021 11:03
Hi guys,
So I spend all weekend trying to get Dashticz configured the way I like. All works just fine except for the calendar function. I really tried everything, used the search button on this forum and could not find anything that works. Really hope someone can help, I'm stuck! Code snips of my Config.js:
In the dashboard I see a calendar block, it says 'laden' / 'loading' but nothing shows! Clicking the block will open the calendar straight away. What am I doing wrong?
Running
Dashticz V3.7.2 beta
Domoticz version 2020.2
dzVents version 3.0.2
PHP version 8.0.0
So I spend all weekend trying to get Dashticz configured the way I like. All works just fine except for the calendar function. I really tried everything, used the search button on this forum and could not find anything that works. Really hope someone can help, I'm stuck! Code snips of my Config.js:
Code: Select all
var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://10.0.0.187:8585';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['enable_websocket'] = 'true';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['hide_topbar'] = 0;
config['hide_seconds'] = 1;
config['app_title'] = 'ControlCenter';
config['gm_api'] = 'XXXXXXXXXXXXXXXXX';
config['gm_zoomlevel'] = '8';
config['gm_latitude'] = 'XX.XXXXXX';
config['gm_longitude'] = 'X.XXXXXX';
config['use_beaufort'] = 1;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['selector_instead_of_buttons'] = 1;
config['calendarlanguage'] = 'nl';
var calendars = {}
calendars.school = { maxitems: 5, url: 'https://calendar.google.com/calendar/embed?src=XXXXXXXXXXXXXXXXXXXXXXXgroup.calendar.google.com&ctz=Europe%2FAmsterdam', icalurl: 'https://calendar.google.com/calendar/ical/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXgroup.calendar.google.com/private-XXXXXXXXXXXXXXXXXXXXXXXXXX/basic.ics' }
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
columns[1] = {}
columns[1]['blocks'] = [calendars.school]
columns[1]['width'] = 2;
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock']
columns_standby[1]['width'] = 12;
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3,4]
screens[2] = {}
screens[2]['background'] = 'bg2.jpg';
screens[2]['columns'] = [5,6,7,8]
Running
Dashticz V3.7.2 beta
Domoticz version 2020.2
dzVents version 3.0.2
PHP version 8.0.0