Page 15 of 23

Re: Dashticz - Module - Calendar

Posted: Thursday 01 March 2018 15:06
by Cletus
Excelent, that change fixed it for me! Thanks!

Re: Dashticz - Module - Calendar

Posted: Thursday 08 March 2018 8:54
by emoncuit
Hello Axel2906,

I confirm your code has fixed the "loading" issue.
Thanks a lot!

Re: Dashticz - Module - Calendar

Posted: Sunday 11 March 2018 20:20
by RiHa
Hey guys,
I still have the problem that the calendar block in dashticz keeps saying 'loading' and doesn't give my calendar appointments. But when I paste the private Ical url in my browser, the browser starts downloading the Ical information. Can anyone explain how I can add axel2906's workaround to the CONFIG.js?

Re: Dashticz - Module - Calendar

Posted: Monday 12 March 2018 9:47
by axel2906
RiHa wrote: Sunday 11 March 2018 20:20 Hey guys,
I still have the problem that the calendar block in dashticz keeps saying 'loading' and doesn't give my calendar appointments. But when I paste the private Ical url in my browser, the browser starts downloading the Ical information. Can anyone explain how I can add axel2906's workaround to the CONFIG.js?
Hey,

the changes must be made in CALENDAR.js not in config.js. Find this line in calendar.js (dashticz_v2/js folder) line 56

Code: Select all

var cache = new Date().getTime();
		curUrl = http://dashticz.nl/ical/?time=' + cache + '&url=' + curUrl;
		moment.locale(settings['calendarlanguage']);
		$.getJSON(curUrl,function(data,textstatus,jqXHR){
and add

Code: Select all

'https://cors-anywhere.herokuapp.com/
before http://dashticz.nl

Re: Dashticz - Module - Calendar

Posted: Monday 12 March 2018 12:59
by RiHa
axel2906 wrote:
RiHa wrote: Sunday 11 March 2018 20:20 Hey guys,
I still have the problem that the calendar block in dashticz keeps saying 'loading' and doesn't give my calendar appointments. But when I paste the private Ical url in my browser, the browser starts downloading the Ical information. Can anyone explain how I can add axel2906's workaround to the CONFIG.js?
Hey,

the changes must be made in CALENDAR.js not in config.js. Find this line in calendar.js (dashticz_v2/js folder) line 56

Code: Select all

var cache = new Date().getTime();
		curUrl = http://dashticz.nl/ical/?time=' + cache + '&url=' + curUrl;
		moment.locale(settings['calendarlanguage']);
		$.getJSON(curUrl,function(data,textstatus,jqXHR){
and add

Code: Select all

'https://cors-anywhere.herokuapp.com/
before http://dashticz.nl
Oh thanks for the quick response.

My calendar.js file looked a bit different, especially the URL I had to change. But by pasting your URL in my calendar.js I got it working again.

Thank!

Sent from my Pixel XL using Tapatalk


Re: Dashticz - Module - Calendar

Posted: Monday 12 March 2018 22:54
by Amsterdam020
If you use the code then herokuapp.com gets your full agenda. For private agendas i would be very reluctant to use this solution. Dont you value your privacy?

Is there a solution that does not require a third party?

Re: Dashticz - Module - Calendar

Posted: Tuesday 13 March 2018 8:52
by DewGew
Amsterdam020 wrote: Monday 12 March 2018 22:54 If you use the code then herokuapp.com gets your full agenda. For private agendas i would be very reluctant to use this solution. Dont you value your privacy?

Is there a solution that does not require a third party?
One solution is to run your own crossorgin server. see wiki https://www.domoticz.com/wiki/Dashticz_ ... sers.21.29

Re: Dashticz - Module - Calendar

Posted: Friday 25 May 2018 17:21
by Derik
mm does anyone have a working ical for the F1..
I do have :

Code: Select all

calendars.F1			= {maxitems: 1, icalurl: 'https://calendar.google.com/calendar/ical/8apmubhi25j8vfcqqbfralm54oj8ddb1%40import.calendar.google.com/public/basic.ics' }



Only this is not working any more i see:-(

Re: Dashticz - Module - Calendar

Posted: Thursday 21 June 2018 9:57
by EdwinH
Derik wrote: Friday 25 May 2018 17:21 mm does anyone have a working ical for the F1..
I do have :

Code: Select all

calendars.F1			= {maxitems: 1, icalurl: 'https://calendar.google.com/calendar/ical/8apmubhi25j8vfcqqbfralm54oj8ddb1%40import.calendar.google.com/public/basic.ics' }



Only this is not working any more i see:-(
Zoiets ? :

Code: Select all

calendars.formule1 = { maxitems: 15, icalurl: 'https://www.formula1.com/sp/static/f1/2018/calendar/ical.ics' }
Werkt als een tierelier

Re: Dashticz - Module - Calendar

Posted: Sunday 22 July 2018 16:02
by mvveelen
I can't seem to find a solution for this: I have 2 combined calendars. For both, I set an icon, but I don't get to see any icon when using the combined calendar. The code I use:

Code: Select all

var _ICALENDAR_DATEFORMAT     = 'dddd DD MMMM YYYY HH:mm';
var _ICALENDAR_LOCALE		= 'nl'; //en,hu, etc. 
var calendars = {}
calendars.een = { maxitems: 3, title:'Agenda een', icon:'fa-calendar', icalurl: 'https://p49-calendars.icloud.com/published/2/vjbladiebladieI' }
calendars.twee = { maxitems: 3, title:'Agenda twee', icon:'fa-calendar', icalurl: 'https://p49-calendars.icloud.com/published/2/hkmjadajada' }

calendars.combined = {}
calendars.combined.maxitems = 5;
calendars.combined.calendars = [
   { color:'white',calendar:calendars.een }, 
   { color:'pink',calendar:calendars.twee }
]
calendars.combined.url = 'https://calendar.google.com/calendar';
and:

Code: Select all

columns[2] = {}
columns[2]['width'] = 5;
columns[2]['blocks'] = ['garbage',calendars.combined,tvguide.dutch]

Re: Dashticz - Module - Calendar

Posted: Friday 27 July 2018 16:54
by mvveelen
Nobody?

at least I assume that it would be possible to get the calendar-icon when you're using the combined calendars, right?

Getting both calendars separate will take too much space and I want the dates to be displayed in a chronological order.

I hope someone can get the the solution for this.

Re: Dashticz - Module - Calendar

Posted: Monday 30 July 2018 16:29
by Dlanor
first of all nice work!

I am trying to add the trash calendar. There are two but only one is shown. Any idea? :roll:

Code: Select all

var calendars = {}
calendars.trash = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ical/8r0tm9d1kkm34bfdemq1dg53h53h1tco%40import.calendar.google.com/public/basic.ics'}
Knipsel.PNG
Knipsel.PNG (11.87 KiB) Viewed 2532 times
Knipsel2.PNG
Knipsel2.PNG (3.57 KiB) Viewed 2532 times

Re: Dashticz - Module - Calendar

Posted: Monday 13 August 2018 13:08
by Derik
EdwinH wrote: Thursday 21 June 2018 9:57
Derik wrote: Friday 25 May 2018 17:21 mm does anyone have a working ical for the F1..
I do have :

Code: Select all

calendars.F1			= {maxitems: 1, icalurl: 'https://calendar.google.com/calendar/ical/8apmubhi25j8vfcqqbfralm54oj8ddb1%40import.calendar.google.com/public/basic.ics' }



Only this is not working any more i see:-(
Zoiets ? :

Code: Select all

calendars.formule1 = { maxitems: 15, icalurl: 'https://www.formula1.com/sp/static/f1/2018/calendar/ical.ics' }
Werkt als een tierelier

Thanks!!!
See now your message...[ en heb nu ff tijd om aan te passen..]
Do you have more dutch working calenders? [ holidays of christmas and other importend days? ]


And do you have in the normal google calendars multiple events working??

Re: Dashticz - Module - Calendar

Posted: Saturday 25 August 2018 20:35
by Derik
Dear all

Please does everyone have the multiple events visible in daschticz?
All the repeating items are not showing up?
I try different calendars and all the same problem.
No event that have more then 1 day
En event repeating for every Monday or something are not showing up..
In the earlier editions was there no problem with it..

Hope there is a solution..

Re: Dashticz - Module - Calendar

Posted: Sunday 16 September 2018 13:39
by mvveelen
mvveelen wrote: Sunday 22 July 2018 16:02 I can't seem to find a solution for this: I have 2 combined calendars. For both, I set an icon, but I don't get to see any icon when using the combined calendar. The code I use:

Code: Select all

var _ICALENDAR_DATEFORMAT     = 'dddd DD MMMM YYYY HH:mm';
var _ICALENDAR_LOCALE		= 'nl'; //en,hu, etc. 
var calendars = {}
calendars.een = { maxitems: 3, title:'Agenda een', icon:'fa-calendar', icalurl: 'https://p49-calendars.icloud.com/published/2/vjbladiebladieI' }
calendars.twee = { maxitems: 3, title:'Agenda twee', icon:'fa-calendar', icalurl: 'https://p49-calendars.icloud.com/published/2/hkmjadajada' }

calendars.combined = {}
calendars.combined.maxitems = 5;
calendars.combined.calendars = [
   { color:'white',calendar:calendars.een }, 
   { color:'pink',calendar:calendars.twee }
]
calendars.combined.url = 'https://calendar.google.com/calendar';
and:

Code: Select all

columns[2] = {}
columns[2]['width'] = 5;
columns[2]['blocks'] = ['garbage',calendars.combined,tvguide.dutch]
Nobody knows a solution for this ?

Re: Dashticz - Module - Calendar

Posted: Thursday 11 October 2018 16:57
by Derik
Derik wrote: Saturday 25 August 2018 20:35 Dear all

Please does everyone have the multiple events visible in daschticz?
All the repeating items are not showing up?
I try different calendars and all the same problem.
No event that have more then 1 day
En event repeating for every Monday or something are not showing up..
In the earlier editions was there no problem with it..

Hope there is a solution..
Kick no one have this problem??
Please

Re: Dashticz - Module - Calendar

Posted: Thursday 11 October 2018 17:10
by EdwinK
No problems here with repeating events.

Re: Dashticz - Module - Calendar

Posted: Friday 19 October 2018 11:23
by Derik
dear...
Now i see no thing @ all in the calendar.. from my Gmail..
Only changed my pass in the gmail acocunt..
Cannot see anything, ical doesnot change..
Reboot my system
So is there perhaps something else wrong

Did upload the past beta...
Make no differnets..

Re: Dashticz - Module - Calendar

Posted: Friday 19 October 2018 11:32
by gielie
Derik wrote: Friday 19 October 2018 11:23 dear...
Now i see no thing @ all in the calendar.. from my Gmail..
Only changed my pass in the gmail acocunt..
Cannot see anything, ical doesnot change..
Reboot my system
So is there perhaps something else wrong
http://domoticz.com/forum/viewtopic.php ... 20#p194635
This is the reason

Re: Dashticz - Module - Calendar

Posted: Sunday 21 October 2018 13:18
by jake
I'm running the latest beta and did add the extra line to config.js (config['calendar_parse_localy']=true;) However, Dashticz doesn't show the calendar.
In the root of /var/www/html I have the file phpinfo.php. When I run that file from the browser, it returns me the information abot php. Therefore I assume PHP is running properly