Page 5 of 23
Re: Dashticz - Module - Calendar
Posted: Friday 12 May 2017 12:37
by gielie
mvveelen wrote:Eh....why does my calendar show these strange line then ? Using the latest beta (about 1 hour ago). Locale is set to NL, is this a bug or something with my setup (2 iCalendar's combined) ?
This is my setting, with the locale set to nl but still no luck.
Code: Select all
var calendars = {}
calendars.private = { maxitems: 3, icalurl: 'webcal://p40-
var _ICALENDAR_DATEFORMAT = 'dddd DD MMMM YYYY';
var _ICALENDAR_LOCALE = 'nl_NL'; //en,hu, etc.
Resulting in this

Re: Dashticz - Module - Calendar
Posted: Friday 12 May 2017 12:49
by robgeerts
gielie wrote:mvveelen wrote:Eh....why does my calendar show these strange line then ? Using the latest beta (about 1 hour ago). Locale is set to NL, is this a bug or something with my setup (2 iCalendar's combined) ?
This is my setting, with the locale set to nl but still no luck.
Code: Select all
var calendars = {}
calendars.private = { maxitems: 3, icalurl: 'webcal://p40-
var _ICALENDAR_DATEFORMAT = 'dddd DD MMMM YYYY';
var _ICALENDAR_LOCALE = 'nl_NL'; //en,hu, etc.
Resulting in this

Should work in latest beta. Please get it again..
BUT, you have to add the time:
Code: Select all
var _ICALENDAR_DATEFORMAT = 'dddd DD MMMM YYYY HH:mm';
var _ICALENDAR_LOCALE = 'nl_NL'; //en,hu, etc.
Re: Dashticz - Module - Calendar
Posted: Friday 12 May 2017 12:56
by gielie
confirmed, tanks for the fast solution.

Re: Dashticz - Module - Calendar
Posted: Saturday 13 May 2017 9:53
by rickvanakkeren
Thanks for the good work! I got my calendars working (combined). It works pretty fine. But is it possible to display the month in text (like jan, feb, mar, apr) instead of a number?
And for recurring items, I see the date of the last appointment instead of the upcoming, and the time is displayed wrong (one hour late).
Re: Dashticz - Module - Calendar
Posted: Saturday 13 May 2017 10:57
by mvveelen
robgeerts wrote:
Your calendar shows right at my dashboard, I have this var set in config.js:
Code: Select all
var _ICALENDAR_DATEFORMAT = 'DD.MM HH:mm';
What do you have set in this variable?
Combined calendars should work again.
I still used the "friendly" setting. With this it displays right, thanks !
Re: Dashticz - Module - Calendar
Posted: Sunday 14 May 2017 9:26
by mikeoo
Trying to add my Google Calandar my can't get it working.
Added the code to CONFIG.js
This is only the part what i use in CONFIG.js. Of course there is more in CONFIG.js
Code: Select all
var calendars = {}
calendars.private = { maxitems: 5, icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/' }
var columns = {}
columns[3] = {}
columns[3]['blocks'] = ['clock',buttons.buienradar,'streamplayer',calendars.private]
columns[3]['width'] = 2;
But i only get
LOADING in Dashticz
When i past
https://calendar.google.com/calendar/ in a browser i get my Calandar.
Do i need to change something in Gmail Calander setting also for this function to work.
Re: Dashticz - Module - Calendar
Posted: Sunday 14 May 2017 9:57
by capman
mikeoo wrote:Trying to add my Google Calandar my can't get it working.
....cut....
When i past
https://calendar.google.com/calendar/ in a browser i get my Calandar.
Do i need to change something in Gmail Calander setting also for this function to work.
You need to log in to your google calendar and go to "instellingen" or "setup" a think in english. It's the gear icon on the top right of your screen.
Then you click on agenda's left to labs (it's on the left top). On the next screen click on your agenda you want to use. Click on the green icon next to 'private adres' , its the icon that said 'ICAL'. Now opens a window with your link you have to paste in to your custom config.js.
Code: Select all
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/', icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxx/basic.ics' }
Hope it helps you out.
Re: Dashticz - Module - Calendar
Posted: Sunday 14 May 2017 10:04
by mikeoo
capman wrote:mikeoo wrote:Trying to add my Google Calandar my can't get it working.
....cut....
When i past
https://calendar.google.com/calendar/ in a browser i get my Calandar.
Do i need to change something in Gmail Calander setting also for this function to work.
You need to log in to your google calendar and go to "instellingen" or "setup" a think in english. It's the gear icon on the top right of your screen.
Then you click on agenda's left to labs (it's on the left top). On the next screen click on your agenda you want to use. Click on the green icon next to 'private adres' , its the icon that said 'ICAL'. Now opens a window with your link you have to paste in to your custom config.js.
Code: Select all
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/', icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxx/basic.ics' }
Hope it helps you out.
Thank you. I found that ICAL part but because it was not mention on the first page that you need that url i was think the you only need the url for Googl Calandar.
now working fine.
Re: Dashticz - Module - Calendar
Posted: Sunday 14 May 2017 20:54
by robgeerts
Nice

Remove
https://cors-anywhere.herokuapp.com/ from the url.
This is done within Dashticz itself...
Re: Dashticz - Module - Calendar
Posted: Sunday 14 May 2017 22:09
by EdwinK
For a second, I thought I had the combined calendars working. But ... nope.

Re: Dashticz - Module - Calendar
Posted: Monday 15 May 2017 17:19
by rickvanakkeren
rickvanakkeren wrote:Thanks for the good work! I got my calendars working (combined). It works pretty fine. But is it possible to display the month in text (like jan, feb, mar, apr) instead of a number?
And for recurring items, I see the date of the last appointment instead of the upcoming, and the time is displayed wrong (one hour late).
In addition: is it possible to also show the day of the week in text?
(like ma 15 mei - 16:00 - 17:00 - event)
Re: Dashticz - Module - Calendar
Posted: Monday 15 May 2017 19:14
by qwerk
it already is,
in the CONFIG.js change de icalendar dateformat
ddd DD-MM-...... etc
the ddd is the day in letters mo. tu. we.
dddd is the full day name
Re: Dashticz - Module - Calendar
Posted: Monday 15 May 2017 21:43
by Trigun
Hi Guys, trying to setup the calender but am quite lost with all the info within this topic.
I am trying to setup a google calendar but don't know which info is right and which is not.
I assume I need 2 things:
1: the Icalender URL = which is ?
2: the ical url = which I have.
but whats next.
Thnx in advance guys!
Re: Dashticz - Module - Calendar
Posted: Monday 15 May 2017 21:50
by htilburgs
Trigun wrote:Hi Guys, trying to setup the calender but am quite lost with all the info within this topic.
I am trying to setup a google calendar but don't know which info is right and which is not.
I assume I need 2 things:
1: the Icalender URL = which is ?
2: the ical url = which I have.
but whats next.
Thnx in advance guys!
Have you already take a look at the wiki?
http://www.domoticz.com/wiki/Dashticz_V ... a_calendar
Re: Dashticz - Module - Calendar
Posted: Monday 15 May 2017 22:00
by EdwinK
I believe the 'cors-anywhere...' part wasn't needed anymore, the script seems to handle it
Re: Dashticz - Module - Calendar
Posted: Monday 15 May 2017 22:37
by robgeerts
Removed that part from the wiki

Re: Dashticz - Module - Calendar
Posted: Tuesday 16 May 2017 6:28
by poudenes
Is it correct that the calendar is still in progress? Updated this morning to latest beta and see the items and repeated items as well. Only items from 2018 and 2017 are listed...
Re: Dashticz - Module - Calendar
Posted: Tuesday 16 May 2017 16:35
by Derik
dear all.Can i use the calendar module from the wiki? or do i need this code? Or????
Thanks For the great work
Re: Dashticz - Module - Calendar
Posted: Tuesday 16 May 2017 16:56
by robgeerts
Take a look at the first post in this topic.
Re: Dashticz - Module - Calendar
Posted: Tuesday 16 May 2017 16:58
by Derik
robgeerts wrote:Take a look at the first post in this topic.
I read the topic..
I see beta and not finished yet et..
Only when i use the first code this the ast version?
