Dashticz - Module - Calendar

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: htilburgs, robgeerts

User avatar
HansieNL
Posts: 326
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi
Domoticz version: Stable
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by HansieNL » Wednesday 10 May 2017 20:06

alveman wrote:Now the calendar just saying "Loding..." any suggestions? I'm using iCloud calendar.

Martin
Have you tried without https://crossorigin.me/
Blah blah blah

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Wednesday 10 May 2017 20:12

HansieNL wrote:
alveman wrote:Now the calendar just saying "Loding..." any suggestions? I'm using iCloud calendar.

Martin
Have you tried without https://crossorigin.me/
This is handled automatically nowadays with the calendars ;)

Try:

Code: Select all

var calendars = {}
calendars.private = { maxitems: 5, icalurl: 'https://p02-calendarws.icloud.com/ca/subscribe/1/XXX' }

and then in your columns:

Code: Select all

columns[1]['blocks'] = [calendars.private]
But, I'm still working on the calendar-module.
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

alveman
Posts: 32
Joined: Wednesday 29 January 2014 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by alveman » Wednesday 10 May 2017 21:27

robgeerts wrote:
HansieNL wrote:
alveman wrote:Now the calendar just saying "Loding..." any suggestions? I'm using iCloud calendar.

Martin
Have you tried without https://crossorigin.me/
This is handled automatically nowadays with the calendars ;)

Try:

Code: Select all

var calendars = {}
calendars.private = { maxitems: 5, icalurl: 'https://p02-calendarws.icloud.com/ca/subscribe/1/XXX' }

and then in your columns:

Code: Select all

columns[1]['blocks'] = [calendars.private]
But, I'm still working on the calendar-module.
Now I have tested this but no luck

Code: Select all

//var _ICALENDAR_URL			= 'https://p02-calendarws.icloud.com/ca/subscribe/1/XXX'; 
//var _ICALENDAR_DATEFORMAT	= 'YYYY.MM.DD HH:mm'; 
//var _ICALENDAR_LOCALE		= 'en'; //en,hu, etc.
var calendars = {}
calendars.private = { maxitems: 5, icalurl: 'webcal://p02-calendarws.icloud.com/ca/subscribe/1/XXX' }
And changed the output block from 'icalendar' to calendars.private

Also tested both webcal:// and https:// but no difference same result. It's says "Loding..." for like 3 sec then emty. I can wait for the calendar-module ;) , keep up the good work!!

Martin

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Wednesday 10 May 2017 22:26

Could you share your calendar link (only for me, via pm) so I can test it?
(I dont care about your appointments so dont bother about that ;)
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

alveman
Posts: 32
Joined: Wednesday 29 January 2014 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by alveman » Wednesday 10 May 2017 22:44

robgeerts wrote:Could you share your calendar link (only for me, via pm) so I can test it?
(I dont care about your appointments so dont bother about that ;)
It seems to be a Internet Explorer "bug", just walked by my wallmounted iPad and there was the calendar :D and it seems to work in Chrome as well. (worked in IE before the update)

But the output looks lite random calendar objects from 2014 until now.

Martin
Attachments
Skärmklipp1.JPG
Skärmklipp1.JPG (34.76 KiB) Viewed 674 times

poudenes
Posts: 267
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - Module - Calendar

Post by poudenes » Thursday 11 May 2017 6:05

After latest update (beta) is see the items sorted correct. Only the repeated items are gone again.
I can share mine as well if you want to test it?
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Thursday 11 May 2017 8:53

Recurring will be fixed, meanwhile I fixed something in latest beta when multiple events are at the same day/time
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Thursday 11 May 2017 11:06

New version of the calendar module is available in BETA.
Please test, its not completely finished... 1 step at a time ;)

BACKUP YOUR CUSTOM.JS
BACKUP YOUR CUSTOM.JS
BACKUP YOUR CUSTOM.JS
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
EdwinK
Posts: 883
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Calendar

Post by EdwinK » Thursday 11 May 2017 11:18

Going to check it out :)
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Thursday 11 May 2017 12:38

poudenes wrote:After latest update (beta) is see the items sorted correct. Only the repeated items are gone again.
I can share mine as well if you want to test it?
Could you test recurring events in latest beta??
If not working, please pm me your calendar-url and date where recurring events should be..
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
mvveelen
Posts: 633
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by mvveelen » Thursday 11 May 2017 14:10

Hi,

I tried the

Code: Select all

maxitems: 5, ......
but that doesn't work (yet ?).

Also, I see some strange behaviour (see attachment): recurring events are shown multiple times, the date is displayed wrong, the times are...wrong.

Work in progress, right :) ?
Schermafbeelding 2017-05-11 om 14.09.55.png
Schermafbeelding 2017-05-11 om 14.09.55.png (282.37 KiB) Viewed 569 times
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

poudenes
Posts: 267
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - Module - Calendar

Post by poudenes » Thursday 11 May 2017 14:24

robgeerts wrote:New version of the calendar module is available in BETA.
Please test, its not completely finished... 1 step at a time ;)

BACKUP YOUR CUSTOM.JS
BACKUP YOUR CUSTOM.JS
BACKUP YOUR CUSTOM.JS
After latest update, It shows all repeated items somewhere in 2018. And the time is 1 hour later then actual in ical calendar.
And it shows 1 time item for next day (this one is for 12th may 2017)
RPi3 with OSMC - RPi3 with Domoticz - Dashticz - MiLight - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

User avatar
gielie
Posts: 180
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - Module - Calendar

Post by gielie » Thursday 11 May 2017 23:00

I have the calendar working fine only the days and months are in English, is it possible to show this in Dutch?
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Thursday 11 May 2017 23:12

"Da kenne we wel regelen"
I'm not at a pc right now but i thought there was a variable called '_CALENDAR_LOCALE' you can set to nl_NL in config.js
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
mvveelen
Posts: 633
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by mvveelen » Thursday 11 May 2017 23:35

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) ?
Last edited by mvveelen on Thursday 11 May 2017 23:41, edited 1 time in total.
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Thursday 11 May 2017 23:37

Wich line?
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
mvveelen
Posts: 633
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by mvveelen » Thursday 11 May 2017 23:39

I mean lines....see this screenshot: https://www.domoticz.com/forum/viewtopi ... 84#p134107
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

User avatar
EdwinK
Posts: 883
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Calendar

Post by EdwinK » Friday 12 May 2017 9:59

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) ?
Can we have combined calendar's again?
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
robgeerts
Posts: 1112
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts » Friday 12 May 2017 10:34

mvveelen wrote:I mean lines....see this screenshot: https://www.domoticz.com/forum/viewtopi ... 84#p134107
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.
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
EdwinK
Posts: 883
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Calendar

Post by EdwinK » Friday 12 May 2017 11:01

Okay. Going to try them :)

When I use calendars.combined I get this error message:

Screen Shot 2017-05-12 at 11.03.48.png
Error combined calendars
Screen Shot 2017-05-12 at 11.03.48.png (34.22 KiB) Viewed 438 times
Looks like this happens with the private calendar. So, when I got back from work, I will see if I can find out WHY.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests