Dashticz - Module - Calendar

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by HansieNL »

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
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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.
alveman
Posts: 21
Joined: Wednesday 29 January 2014 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by alveman »

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
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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 ;)
alveman
Posts: 21
Joined: Wednesday 29 January 2014 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by alveman »

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 2277 times
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - Module - Calendar

Post by poudenes »

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 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

Recurring will be fixed, meanwhile I fixed something in latest beta when multiple events are at the same day/time
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Calendar

Post by EdwinK »

Going to check it out :)
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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..
User avatar
mvveelen
Posts: 696
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by mvveelen »

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 2172 times
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - Module - Calendar

Post by poudenes »

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 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - Module - Calendar

Post by gielie »

I have the calendar working fine only the days and months are in English, is it possible to show this in Dutch?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

"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
User avatar
mvveelen
Posts: 696
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by mvveelen »

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.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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

Re: Dashticz - Module - Calendar

Post by mvveelen »

I mean lines....see this screenshot: https://www.domoticz.com/forum/viewtopi ... 84#p134107
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Calendar

Post by EdwinK »

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 (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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.
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Calendar

Post by EdwinK »

Okay. Going to try them :)

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

Error combined calendars
Error combined calendars
Screen Shot 2017-05-12 at 11.03.48.png (34.22 KiB) Viewed 2041 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 (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest