Page 3 of 23
Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 11:48
by robgeerts
Ok, more then 1 mistakes
1.) calender.hd must be calender.hobbydeed
2.) you didnt declare columns[40] with columns[40] = {}
3.) you didnt specify a width of the column
Try this:
Code: Select all
var columns = {}
// First Column
columns[10] = {}
columns[10]['blocks'] = ['clock','weather']
columns[10]['width'] = 4;
// Second Column
columns[20] = {}
columns[20]['blocks'] = ['weather']
columns[20]['width'] = 4;
// Fourth Column
columns[30] = {}
columns[30]['blocks'] = ['clock','sunrise','horizon','streamplayer',buttons.radio,buttons.nunl]
columns[30]['width'] = 2;
// Third Column
columns[25] = {}
columns[25]['blocks'] = [buttons.moon]
columns[25]['width'] = 1;
columns[40] = {}
columns[40]['blocks'] = [calendars.hobbydeed]
columns[40]['width'] = 1;
I changed the width of the column with the moon it to 1, otherwise the total width exceeds 12...
Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 11:54
by tontze
robgeerts wrote:Ok, more then 1 mistakes
1.) calender.hd must be calender.hobbydeed
2.) you didnt declare columns[40] with columns[40] = {}
3.) you didnt specify a width of the column
Try this:
Code: Select all
var columns = {}
// First Column
columns[10] = {}
columns[10]['blocks'] = ['clock','weather']
columns[10]['width'] = 4;
// Second Column
columns[20] = {}
columns[20]['blocks'] = ['weather']
columns[20]['width'] = 4;
// Fourth Column
columns[30] = {}
columns[30]['blocks'] = ['clock','sunrise','horizon','streamplayer',buttons.radio,buttons.nunl]
columns[30]['width'] = 2;
// Third Column
columns[25] = {}
columns[25]['blocks'] = [buttons.moon]
columns[25]['width'] = 1;
columns[40] = {}
columns[40]['blocks'] = [calendars.hobbydeed]
columns[40]['width'] = 1;
I changed the width of the column with the moon it to 1, otherwise the total width exceeds 12...
I did change hobbydeed to hd before sending, thought i wouldnt want to share it, but forgot to change both

declaring and width was indeed missing, since it wasnt in the instructions on the first page either ..

Now i know they allways needs to be
Learning, learning

Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 11:57
by robgeerts
tontze wrote:.... since it wasnt in the instructions on the first page either ..
Added to first post

Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 14:36
by robgeerts
In latest version, the latest calendar-module is available
BUT BUT BUT
Combined doesn't work yet and probably only calendar at the time. This renewed version is
FAR FROM FINISHED.
So beware

Re: blacksn0w
Posted: Tuesday 09 May 2017 17:21
by lukev
blacksn0w wrote:
To be honest, following your argumentation the switches and all other Domoticz things aren't visible. But who will stop people from looking into your CONFIG.js, find the info about your Domoticz installation and go to the Domoticz backend? Leaving this unprotected in the net is more then careless.
See my PM
Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 21:04
by mvveelen
robgeerts wrote:In latest version, the latest calendar-module is available
BUT BUT BUT
Combined doesn't work yet and probably only calendar at the time. This renewed version is
FAR FROM FINISHED.
So beware

?
I thought you fixed it? Is it broken in the current beta? In my dashboard it keeps loading now....
Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 21:54
by EdwinK
Finally found out what I was doing wrong with my calendar, I used two different agenda's from different gmail-accounts. Got it working for one of them. Now I got to get rid of the old appointments.
Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 22:19
by robgeerts
mvveelen wrote:robgeerts wrote:In latest version, the latest calendar-module is available
BUT BUT BUT
Combined doesn't work yet and probably only calendar at the time. This renewed version is
FAR FROM FINISHED.
So beware

?
I thought you fixed it? Is it broken in the current beta? In my dashboard it keeps loading now....
Try removing
https://cors-anywhere.herokuapp.com/ in config.js
Re: Dashticz - Module - Calendar
Posted: Tuesday 09 May 2017 22:30
by HansieNL
I got the same problem, but not using cors. I make use of a local file.
Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 7:54
by qwerk
Calendar still loading. also using a local ics file
I also switch from webserver......... but ics is available via url.
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 8:26
by blacksn0w
HansieNL wrote:
I got the same problem, but not using cors. I make use of a local file.
Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Same here, since The New calendar module is trying to convert the ics to json via an online Service it is neccesary that the used calendar is adressed by a online url and not a local file.
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 8:49
by qwerk
aha,
that explains a lot.
maybe it is possible for the "intern ics" users, to also have the convertion done locally.
step by step, but for the near future .....
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 14:47
by HansieNL
blacksn0w wrote:HansieNL wrote:
I got the same problem, but not using cors. I make use of a local file.
Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Same here, since The New calendar module is trying to convert the ics to json via an online Service it is neccesary that the used calendar is adressed by a online url and not a local file.
Mmm... uploaded the calendar.ics file to my web provider and used that url (and checked, because I can dowload the file), but still no luck.
Any suggestion?
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 14:58
by blacksn0w
HansieNL wrote:blacksn0w wrote:HansieNL wrote:
I got the same problem, but not using cors. I make use of a local file.
Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Same here, since The New calendar module is trying to convert the ics to json via an online Service it is neccesary that the used calendar is adressed by a online url and not a local file.
Mmm... uploaded the calendar.ics file to my web provider and used that url (and checked, because I can dowload the file), but still no luck.
Any suggestion?
Had The same Problem, try it here with your url and See if there is an error:
http://ical-to-json.herokuapp.com
This is the Service used by the calendar Module.
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 15:07
by HansieNL
blacksn0w wrote:
Had The same Problem, try it here with your url and See if there is an error:
http://ical-to-json.herokuapp.com
This is the Service used by the calendar Module.
Got this message:
Error parsing feed: Encoding::UndefinedConversionError
"\xC3" from ASCII-8BIT to UTF-8
I'll leave it for now and hope it will be possible to use the local file some day.
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 15:20
by SwordFish
I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 16:02
by HansieNL
SwordFish wrote:I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
I don't care what you do, but for your own privacy it's maybe better that you blur your descriptions

Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 16:10
by robgeerts
SwordFish wrote:I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
I know, sorry, I'm not ready yet with rebuilding the calendar...
Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 16:15
by SwordFish
HansieNL wrote:SwordFish wrote:I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
I don't care what you do, but for your own privacy it's maybe better that you blur your descriptions

Thanks, didn't thought about it

Re: Dashticz - Module - Calendar
Posted: Wednesday 10 May 2017 17:02
by alveman
Had this conf working before I updated to the latest beta:
Code: Select all
var _ICALENDAR_URL = 'https://crossorigin.me/https://p02-calendarws.icloud.com/ca/subscribe/1/XXX';
var _ICALENDAR_DATEFORMAT = 'YYYY.MM.DD HH:mm';
var _ICALENDAR_LOCALE = 'en';
Now the calendar just saying "Loding..." any suggestions? I'm using iCloud calendar.
Martin