Hi, i also have some problems with the google calender on my rpi with dashticz (latest beta)
i only get a brown empty block, when i click on it, i do get my google calender!
but is does not show data in the brown block by default.
when i disable my google calander and use the garbage calender i do get calender data
i am reading and searching for days .. cant find it...
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://x.x.x.x:82';
config['user_name'] = 'xxx';
config['pass_word'] = 'xxx';
config['app_title'] = 'Domotica familie ';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '30';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '';
config['auto_swipe_back_after'] = '';
config['auto_slide_pages'] = '';
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 'https://calendar.google.com/calendar/ical/user%40gmail.com/public/basic.ics';
//config['calendar_parse_localy']=true;
config['default_cors_url'] = 'http://cors-anywhere.herokuapp.com/';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = '1';
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['selector_instead_of_buttons'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = '0';
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = '1';
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = '1';
var _STREAMPLAYER_TRACKS = [
{"track":1,"name":"3fm","file":"http://icecast.omroep.nl/3fm-bb-mp3"},
{"track":2,"name":"538","file":"http://18973.live.streamtheworld.com/RADIO538.mp3"},
{"track":3,"name":"Q-Music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp33"},
{"track":4,"name":"Radio10","file":"http://stream.radio10.nl/radio10"},
{"track":5,"name":"Veronica","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"},
{"track":6,"name":"Skyradio","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/SKYRADIO.mp3"},
]
var calendars = {}
//calendars.peter = { maxitems: 10, url: 'https://calendar.google.com/calendar/embed?src=myusern%40gmail.com&ctz=Europe%2FAmsterdam',icalurl: 'https://calendar.google.com/calendar/ical/myuser%40gmail.com/public/basic.ics' }
calendars.peter = {maxitems:4, icalurl:'https://inzamelschema.rmn.nl/ical/0356200000014977'}
var publictransport = {}
publictransport.ovinfotrain = { show_via: true, station: 'station-den-haag-centraal', title:'NS-DH centraal', provider: '9292-train', show_lastupdate:true, icon: 'train', width: 6, results: 8 };
publictransport.ovinfotram = { show_via: false, station: 'xxxxxxx'', title:'HTM',provider: '9292-tram-bus', show_lastupdate:true, icon: '9292-bus', width:6, results: 8 };
var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fas fa-tv', width:12, channels: [1,2,3,4,31,36,37,34,466,420], maxitems: 10 }
var buttons = {}
buttons.radio = {width:8, image: 'radio', title: '/img/radio_on.png', url: 'http://nederland.fm'}
buttons.buienradar = {width:8, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=296', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
buttons.webcam = {width:12, isimage:true, refresh:2000, image: 'http://192.168.20.50/cgi-bin/snapshot.cgi?user=xxxx&pwd=xxx', url: 'http://192.168.20.50/cgi-bin/snapshot.cgi?user=xxxx&pwd=xxxxxxx'}
var blocks = {}
//
// TITELBLOKKEN
//
blocks['1'] = {}
blocks['1']['type'] = 'blocktitle';
blocks['1']['title'] = 'Scenes';
blocks['1a'] = {}
blocks['1a']['type'] = 'blocktitle';
blocks['1a']['title'] = 'Schakelaars';
blocks['1b'] = {}
blocks['1b']['type'] = 'blocktitle';
blocks['1b']['title'] = 'Tuin';
blocks['2a'] = {}
blocks['2a']['type'] = 'blocktitle';
blocks['2a']['title'] = 'Amusement';
blocks['2b'] = {}
blocks['2b']['type'] = 'blocktitle';
blocks['2b']['title'] = 'Netwerk';
blocks['3'] = {}
blocks['3']['type'] = 'blocktitle';
blocks['3']['title'] = 'Klimaat';
blocks['3b'] = {}
blocks['3b']['type'] = 'blocktitle';
blocks['3b']['title'] = 'Security';
blocks['4'] = {}
blocks['4']['type'] = 'blocktitle';
blocks['4']['title'] = 'Thuis';
blocks['4a'] = {}
blocks['4a']['type'] = 'blocktitle';
blocks['4a']['title'] = 'Tv';
blocks['4b'] = {}
blocks['4b']['type'] = 'blocktitle';
blocks['4b']['title'] = 'Pc en tablet';
//
// WEER
//
blocks[1163] = {}
blocks[1163]['title'] = 'Vorstalarm 4c';
blocks[1163]['icon'] = 'fas fa-bell';
blocks[1163]['hide_data'] = true;
blocks[457] = {}
blocks[457]['title'] = 'Temperatuur tuin';
blocks[457]['hide_data'] = true;
blocks[457]['last_update'] = false;
blocks[948] = {}
blocks[948]['title'] = 'Zuiderpark';
blocks[948]['hide_data'] = true;
blocks[948]['last_update'] = false;
blocks[455] = {}
blocks[455]['title'] = 'Zolder';
blocks[455]['hide_data'] = true;
blocks[455]['last_update'] = false;
blocks[1025] = {}
blocks[1025]['title'] = 'Zolder radiator';
blocks[1025]['hide_data'] = true;
//
// NEWS FEED https://crossorigin.me/ niet meer gebruiken
//
blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://www.nu.nl/rss/algemeen';
blocks['news_3'] = {}
blocks['news_3']['feed'] = 'http://www.nu.nl/rss/sport';
blocks['news_4'] = {}
blocks['news_4']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
blocks['news_5'] = {}
blocks['news_5']['feed'] = 'http://www.nu.nl/rss';
//
//SCENES
//
blocks['s13'] = {}
blocks['s13']['title'] = 'Sfeerverlichting binnen';
blocks['s13']['hide_data'] = true;
blocks['s13']['icon'] = 'fas fa-tasks';
blocks['s14'] = {}
blocks['s14']['title'] = 'Nachtverlichting';
blocks['s14']['hide_data'] = true;
blocks['s14']['icon'] = 'fas fa-tasks';
blocks['s15'] = {}
blocks['s15']['title'] = 'Sfeerverlichting buiten';
blocks['s15']['hide_data'] = true;
blocks['s15']['icon'] = 'fas fa-tasks';
blocks['s16'] = {}
blocks['s16']['title'] = 'Opstaan';
blocks['s16']['hide_data'] = true;
blocks['s16']['icon'] = 'fas fa-tasks';
blocks['s18'] = {}
blocks['s18']['title'] = 'Beneden/weg';
blocks['s18']['hide_data'] = true;
blocks['s18']['icon'] = 'fas fa-tasks';
blocks['s19'] = {}
blocks['s19']['title'] = 'Aanwezigheid';
blocks['s19']['hide_data'] = true;
blocks['s19']['icon'] = 'fas fa-tasks';
blocks[969] = {}
blocks[969]['title'] = 'Sproei grasveld';
blocks[969]['hide_data'] = true;
blocks[969]['icon'] = 'fas fa-tree';
blocks[972] = {}
blocks[972]['title'] = 'Sproei borders 1';
blocks[972]['hide_data'] = true;
blocks[972]['icon'] = 'fas fa-tree';
blocks[973] = {}
blocks[973]['title'] = 'Sproei borders 2';
blocks[973]['hide_data'] = true;
blocks[973]['icon'] = 'fas fa-tree';
//
// SCHAKELAARS
//
blocks[1049] = {}
blocks[1049]['title'] = 'Zolder default heating';
blocks[1049]['hide_data'] = true;
blocks[1049]['icon'] = 'fas fa-fire';
blocks[1049]['width'] = 6;
blocks[985] = {}
blocks[985]['title'] = 'Visite';
blocks[985]['hide_data'] = true;
blocks[985]['icon'] = 'fas fa-users';
blocks[985]['width'] = 6;
blocks[985]['speak'] = 'Visitemodus wordt aangepast';
blocks[1012] = {}
blocks[1012]['title'] = 'Maak een foto';
blocks[1012]['icon'] = 'fas fa-camera';
blocks[1012]['hide_data'] = true;
blocks[1012]['width'] = 6;
blocks[1012]['speak'] = 'Er wordt een foto gemaakt';
blocks[86] = {}
blocks[86]['title'] = 'Rolluik';
blocks[86]['hide_data'] = true;
blocks[86]['width'] = 6;
blocks[86]['speak'] = 'Rolluik is gewijzigd';
blocks[1002] = {}
blocks[1002]['title'] = 'Lantaarn';
blocks[1002]['hide_data'] = true;
blocks[1002]['width'] = 3;
blocks[1002]['speak'] = 'Lantaarn is gewijzigd';
blocks[991] = {}
blocks[991]['title'] = 'Border';
blocks[991]['hide_data'] = true;
blocks[991]['width'] = 3;
blocks[145] = {}
blocks[145]['title'] = 'Printer';
blocks[145]['icon'] = 'fas fa-print';
blocks[145]['hide_data'] = true;
blocks[145]['width'] = 3;
blocks[262] = {}
blocks[262]['title'] = 'Boiler';
blocks[262]['icon'] = 'fas fa-tint';
blocks[262]['hide_data'] = true;
blocks[262]['width'] = 3;
blocks[260] = {}
blocks[260]['title'] = 'Edge router';
blocks[260]['icon'] = 'fas fa-hdd';
blocks[260]['hide_data'] = true;
blocks[260]['width'] = 3;
blocks[263] = {}
blocks[263]['title'] = 'Accu';
blocks[263]['icon'] = 'fas fa-battery-full';
blocks[263]['hide_data'] = true;
blocks[263]['width'] = 3;
blocks[263]['speak'] = 'Accu is gewijzigd';
blocks[1005] = {}
blocks[1005]['title'] = 'Wii en Tv';
blocks[1005]['icon'] = 'fas fa-gamepad';
blocks[1005]['hide_data'] = true;
blocks[1005]['width'] = 3;
//
// ENTERTAINMENT
//
blocks[354] = {}
blocks[354]['title'] = 'Denon volume';
blocks[354]['icon'] = 'fas fa-music';
blocks[354]['width'] = 12;
blocks[353] = {}
blocks[353]['title'] = 'Denon source';
blocks[353]['icon'] = 'fas fa-music';
blocks[353]['width'] = 12;
blocks[134] = {}
blocks[134]['title'] = 'Denon zenders';
blocks[134]['icon'] = 'fas fa-music';
blocks[134]['width'] = 12;
blocks[139] = {}
blocks[139]['title'] = 'Denon mixer';
blocks[139]['icon'] = 'fas fa-music';
blocks[139]['width'] = 12;
blocks[277] = {}
blocks[277]['title'] = 'TV Woon kamer';
blocks[277]['icon'] = 'fas fa-tv';
blocks[277]['hide_data'] = true;
blocks[277]['width'] = 3;
blocks[827] = {}
blocks[827]['title'] = 'TV Werk kamer';
blocks[827]['icon'] = 'fas fa-tv';
blocks[827]['hide_data'] = true;
blocks[827]['width'] = 3;
blocks[805] = {}
blocks[805]['title'] = 'TV Niels';
blocks[805]['icon'] = 'fas fa-tv';
blocks[805]['hide_data'] = true;
blocks[805]['width'] = 3;
blocks[805]['speak'] = 'TV niels is veranderd';
blocks[675] = {}
blocks[675]['title'] = 'TV Sonia';
blocks[675]['icon'] = 'fas fa-tv';
blocks[675]['hide_data'] = true;
blocks[675]['width'] = 3;
blocks[675]['speak'] = 'TV sonia is veranderd';
//
// NETWORK
//
blocks[287] = {}
blocks[287]['title'] = 'Zyxel';
blocks[287]['width'] = 4;
blocks[287]['icon'] = 'fas fa-hdd';
blocks[287]['hide_data'] = true;
blocks[286] = {}
blocks[286]['title'] = 'Unify';
blocks[286]['width'] = 4;
blocks[286]['icon'] = 'fas fa-hdd';
blocks[286]['hide_data'] = true;
blocks[289] = {}
blocks[289]['title'] = 'Qnap';
blocks[289]['width'] = 4;
blocks[289]['icon'] = 'fas fa-hdd';
blocks[289]['hide_data'] = true;
blocks[283] = {}
blocks[283]['title'] = 'Edge router';
blocks[283]['width'] = 4;
blocks[283]['icon'] = 'fas fa-hdd';
blocks[283]['hide_data'] = true;
blocks[284] = {}
blocks[284]['title'] = 'Ziggo lan';
blocks[284]['width'] = 4;
blocks[284]['icon'] = 'fas fa-hdd';
blocks[284]['hide_data'] = true;
blocks[285] = {}
blocks[285]['title'] = 'Ziggo wan';
blocks[285]['width'] = 4;
blocks[285]['icon'] = 'fas fa-hdd';
blocks[285]['hide_data'] = true;
//
// SECURITY
//
blocks[273] = {}
blocks[273]['title'] = 'Monique 06';
blocks[273]['icon'] = 'fas fa-phone-volume';
blocks[273]['hide_data'] = true;
blocks[274] = {}
blocks[274]['title'] = 'Peter 06';
blocks[274]['icon'] = 'fas fa-phone-volume';
blocks[274]['hide_data'] = true;
blocks[275] = {}
blocks[275]['title'] = 'Sonia 06';
blocks[275]['icon'] = 'fas fa-phone-volume';
blocks[275]['hide_data'] = true;
blocks[276] = {}
blocks[276]['title'] = 'Niels 06';
blocks[276]['icon'] = 'fas fa-phone-volume';
blocks[276]['hide_data'] = true;
//
// ALARMEN
//
blocks[207] = {}
blocks[207]['title'] = 'Alarm';
blocks[207]['hide_data'] = true;
blocks[207]['icon'] = 'fas fa-exclamation-triangle';
blocks[210] = {}
blocks[210]['title'] = 'Huisdeur';
blocks[210]['icon'] = 'fas fa-door-open';
blocks[210]['hide_data'] = true;
blocks[968] = {}
blocks[968]['title'] = 'Rook hal';
blocks[968]['icon'] = 'fas fa-smoking';
blocks[968]['hide_data'] = true;
blocks[968]['speak'] = 'Er is rook in de hal';
blocks[966] = {}
blocks[966]['title'] = 'Rook trap';
blocks[966]['icon'] = 'fas fa-smoking';
blocks[966]['hide_data'] = true;
blocks[966]['speak'] = 'Er is rook op de trap';
blocks[272] = {}
blocks[272]['title'] = 'Alarm knop';
blocks[272]['icon'] = 'fas fa-exclamation-triangle';
blocks[1180] = {}
blocks[1180]['title'] = 'Bel tuin';
blocks[1180]['icon'] = 'fas fa-bell';
blocks[1180]['hide_data'] = true;
blocks[1182] = {}
blocks[1182]['title'] = 'Bel voordeur';
blocks[1182]['icon'] = 'fas fa-bell';
blocks[1182]['hide_data'] = true;
blocks[1149] = {}
blocks[1149]['title'] = 'Wasmachine';
blocks[1149]['icon'] = 'fas fa-bell';
blocks[1149]['hide_data'] = true;
//
// pc en tablet
//
blocks[786] = {}
blocks[786]['title'] = 'Niels pc ziggo';
blocks[786]['hide_data'] = true;
blocks[786]['icon'] = 'fas fa-desktop';
blocks[786]['speak'] = 'Pc niels is veranderd';
blocks[278] = {}
blocks[278]['title'] = 'Niels pc vlan';
blocks[278]['hide_data'] = true;
blocks[278]['icon'] = 'fas fa-desktop';
blocks[278]['speak'] = 'Pc niels is veranderd';
blocks[279] = {}
blocks[279]['title'] = 'Niels ptb';
blocks[279]['hide_data'] = true;
blocks[279]['icon'] = 'fas fa-laptop';
blocks[279]['speak'] = 'Pc niels is veranderd';
blocks[676] = {}
blocks[676]['title'] = 'Niels pc vlan wifi';
blocks[676]['hide_data'] = true;
blocks[676]['icon'] = 'fas fa-desktop';
blocks[676]['speak'] = 'Pc niels is veranderd';
blocks[280] = {}
blocks[280]['title'] = 'Sonia ptb';
blocks[280]['hide_data'] = true;
blocks[280]['icon'] = 'fas fa-laptop';
blocks[282] = {}
blocks[282]['title'] = 'Peter pc vlan';
blocks[282]['hide_data'] = true;
blocks[282]['icon'] = 'fas fa-desktop';
blocks[281] = {}
blocks[281]['title'] = 'Peter ptb';
blocks[281]['hide_data'] = true;
blocks[281]['icon'] = 'fas fa-laptop';
blocks[678] = {}
blocks[678]['title'] = 'Peter tablet';
blocks[678]['hide_data'] = true;
blocks[678]['icon'] = 'fas fa-tablet-alt';
blocks[291] = {}
blocks[291]['title'] = 'Monique tablet';
blocks[291]['hide_data'] = true;
blocks[291]['icon'] = 'fas fa-tablet-alt';
blocks[677] = {}
blocks[677]['title'] = 'Sonia tablet';
blocks[677]['hide_data'] = true;
blocks[677]['icon'] = 'fas fa-tablet-alt';
blocks[677]['speak'] = 'Pc sonia is veranderd';
blocks[498] = {}
blocks[498]['title'] = 'PS4';
blocks[498]['hide_data'] = true;
blocks[498]['icon'] = 'fas fa-gamepad';
//
// KOLOMMEN
//
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['clock','sunrise', buttons.buienradar,1163,457,455,1025,'news_2','news_3']
columns[1]['width'] = 3;
columns[2] = {}
columns[2]['blocks'] = ['1','s16','s18','s19','s13','s15','s14',969,972,973,'1a',1049,985,1012,86,1002,991,145,262,260,1005,263,publictransport.ovinfotrain,publictransport.ovinfotram]
columns[2]['width'] = 3;
columns[3] = {}
columns[3]['blocks'] = ['2a','streamplayer',tvguide.dutch,354,353,134,139,277,827,805,675,'2b',287,286,289,283,285,284]
columns[3]['width'] = 3;
columns[4] = {}
columns[4]['blocks'] = [buttons.webcam,274,273,276,275,282,281,678,291,786,278,676,279,280,677,498,'3b',210,207,272,968,966,1180,1182,1149]
columns[4]['width'] = 3;
columns[5] = {}
columns[5]['blocks'] = ['clock','sunrise', calendars.peter]
columns[5]['width'] = 6;
columns[6] = {}
columns[6]['blocks'] = ['clock']
columns[6]['width'] = 6;
//
// SCHERMEN
//
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [1,2,3,4];
screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['columns'] = [5,6];