Dashticz Calendar - Features, Fixes & Updates

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 Calendar - Features, Fixes & Updates

Post by HansieNL »

I've created a calender of public holidays in the Netherlands (from today till the end of 2025).
You can download it here: http://images.hansie.net/feestdagen.ics
Last edited by HansieNL on Monday 25 May 2020 20:52, edited 1 time in total.
Blah blah blah
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 Calendar - Features, Fixes & Updates

Post by EdwinK »

end of 2015? Wasn't that some time ago.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by HansieNL »

EdwinK wrote: Monday 25 May 2020 17:00 end of 2015? Wasn't that some time ago.
Oops :oops: :lol: Should be 2025.
Blah blah blah
Domotibart
Posts: 38
Joined: Tuesday 06 December 2016 18:53
Target OS: NAS (Synology & others)
Domoticz version: V3.8153
Location: holland
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Domotibart »

Hi there, i hope this is in the right topic, not my intention to offend anyone.
I just did the beta auto installation on a raspberry. Everything works as it should be. The only thing that i do not get going is the calendar feature. I am using the i.cloud calandar but it keeps giving me an error code. This is what it reports;
js/components/calendar.js:144 Error in response from calendar with icalurl ./vendor/dashticz/ical/?time=1596628985500&maxitems=10&history=0&url=https://p57-caldav.icloud.com/published/2/xxvery long number xx
I tested with a google calendar and that is workin fine. I can also share my i.cloud calendar with google and that works fine also. If i put the icalurl's in a browser the file is downloaded. Any suggestions to what i can do next (besides using the google calendar)?
Synology DS214play - esp8266 Opentherm Gateway - esp8266 somfyremote - esp8266 poolcontrol - esp8266 energyreader - zwave - Philips hue
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

Can you open DevTools in Chrome (F12), and refresh Dashticz.

Then on tab DevTools->Network filter on 'ical'

Click on the network request for your iCLoud agenda.

What is the Status Code (you find it on the Headers tab.)?
Can you also post the response data? (You can also send it to me by PM)
Domotibart
Posts: 38
Joined: Tuesday 06 December 2016 18:53
Target OS: NAS (Synology & others)
Domoticz version: V3.8153
Location: holland
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Domotibart »

Hi Lokonli,

This is the status code from the headers tab;

Request URL: http://192.168.1.150:8082/vendor/dashti ... m9ISY_"and the rest from the url"
Request Method: GET
Status Code: 200 OK
Remote Address: 192.168.1.150:8082
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Origin: *
Connection: Keep-Alive
Content-Length: 1094
Content-Type: application/json
Date: Wed, 05 Aug 2020 18:56:23 GMT
Keep-Alive: timeout=5, max=94
Server: Apache/2.4.38 (Debian)
X-Powered-By: PHP/7.4.8
Accept: application/json, text/javascript, */*; q=0.01
Accept-Encoding: gzip, deflate
Accept-Language: nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7
Connection: keep-alive
Host: 192.168.1.150:8082
Referer: http://192.168.1.150:8082/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
X-Requested-With: XMLHttpRequest
time: 1596653783730
maxitems: 10
history: 0
url: https://p57-caldav.icloud.com/published ... m9ISY_"and again the rest from the url"
Synology DS214play - esp8266 Opentherm Gateway - esp8266 somfyremote - esp8266 poolcontrol - esp8266 energyreader - zwave - Philips hue
evildonkey
Posts: 17
Joined: Sunday 26 November 2017 7:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3
Location: Leiden - NL
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by evildonkey »

Is there any way of adding a google family calender?
Domoticz v3 - Beta Channel @ Pi3 | Harmoney Hub | MiLight Ibox2 | Google Home (1) | Google Home Mini (3)
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by clinkadink »

evildonkey wrote: Friday 07 August 2020 11:31 Is there any way of adding a google family calender?
Unless Google have changed things in the past year, I don't believe Google will allow you to share your Google family calendar, only your private personal calendar. I could be wrong - worth checking.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
evildonkey
Posts: 17
Joined: Sunday 26 November 2017 7:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3
Location: Leiden - NL
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by evildonkey »

No they didn't. So i just did the iframe option, not that nice but it will have to do until they let me (us).
Domoticz v3 - Beta Channel @ Pi3 | Harmoney Hub | MiLight Ibox2 | Google Home (1) | Google Home Mini (3)
StefanDomoticz
Posts: 6
Joined: Wednesday 13 June 2018 21:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz Calendar

Post by StefanDomoticz »

Beste allemaal,

wat werkt dashticz fantastisch.
Geen hulp nodig gehad maar gewoon proberen en beetje hier op forum van alles volgen en je begrijpt al snel hoe een en ander werkt.
Top ga zo door.

maar nu loop ik toch tegen een probleem aan;

Het integreren van agenda vanuit gmail is een eitje:
Google agenda werkt met openbare Ical indeling.
Deze persoonlijke agenda's worden dan ook gewoon weergegeven in dashticz.

Maar nu hebben we ook een gezamelijk agenda aangemaakt voor ons gezin onder onze eigen agenda's in gmail.
Super handig en wordt ook gewoon overa weergegeven maar dat wil ik nu ook in dashticz.
Maar deze agenda werkt niet met openbare ical indeling maar met openbare url of met iframe...
Hoe kan ik nu toch deze agenda instellen en dus weergeven in dashticz, wat zie ik over het hoofd?
heb ook al geprobeerd aan te roepen met url:'https://calendar.google.com/calendar/em ... xxxxxxxxxx'}

hartelijk dank op voorhand voor het antwoord ook als antwoord is dat dit niet werkt....
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by HansieNL »

How to add an iframe to Dashticz can be found here: https://dashticz.readthedocs.io/en/mast ... rames.html
Blah blah blah
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by sailmich »

I use google calendar and notice that individual repetition does not shown in the calendar block in the right way! I put inside my google calendar every two weeks at Wednesday a date, but in calendar block is shown weekly at Wednesday. I'm a bit confused! Is that just me? Problem at google calendar or calendar block?
Any help appreciated.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

sailmich wrote: Wednesday 11 November 2020 15:55 I use google calendar and notice that individual repetition does not shown in the calendar block in the right way! I put inside my google calendar every two weeks at Wednesday a date, but in calendar block is shown weekly at Wednesday. I'm a bit confused! Is that just me? Problem at google calendar or calendar block?
Any help appreciated.
What is your Dashticz version?
And you PHP version as reported in Dashticz->Settings->Info tab?

On some systems the old calendar module has issues with recurring events
I've added a new calendar module, but that requires PHP 7.1 or higher
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by sailmich »

sailmich wrote: Wednesday 11 November 2020 15:55 I use google calendar and notice that individual repetition does not shown in the calendar block in the right way! I put inside my google calendar every two weeks at Wednesday a date, but in calendar block is shown weekly at Wednesday. I'm a bit confused! Is that just me? Problem at google calendar or calendar block?
Any help appreciated.
What is your Dashticz version?
And you PHP version as reported in Dashticz->Settings->Info tab?

On some systems the old calendar module has issues with recurring events
I've added a new calendar module, but that requires PHP 7.1 or higher
My calendar block.
Spoiler: show

Code: Select all

blocks['my_calendar'] = {
        type: 'calendar',
        maxitems: 6,
        layout: 0,
        //url: 'https://calendar.google.com/calendar/',
        icalurl: 'https://calendar.google.com/calendar/ical/xxxxxxxx%40gmail.com/private-86e89bbf9aaxxxxx05bxxxxxxxxxd/basic.ics',
        //holidayurl: 'https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics',
        weeks: 5,
        lastweek: false,
        isoweek: true,
        width: 6
}
The settings
Bildschirmfoto vom 2020-11-11 18-01-54.png
Bildschirmfoto vom 2020-11-11 18-01-54.png (17.92 KiB) Viewed 1710 times
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

sailmich wrote: Wednesday 11 November 2020 18:17
sailmich wrote: Wednesday 11 November 2020 15:55 I use google calendar and notice that individual repetition does not shown in the calendar block in the right way! I put inside my google calendar every two weeks at Wednesday a date, but in calendar block is shown weekly at Wednesday. I'm a bit confused! Is that just me? Problem at google calendar or calendar block?
Any help appreciated.
What is your Dashticz version?
And you PHP version as reported in Dashticz->Settings->Info tab?

On some systems the old calendar module has issues with recurring events
I've added a new calendar module, but that requires PHP 7.1 or higher
My calendar block.
Spoiler: show

Code: Select all

blocks['my_calendar'] = {
        type: 'calendar',
        maxitems: 6,
        layout: 0,
        //url: 'https://calendar.google.com/calendar/',
        icalurl: 'https://calendar.google.com/calendar/ical/xxxxxxxx%40gmail.com/private-86e89bbf9aaxxxxx05bxxxxxxxxxd/basic.ics',
        //holidayurl: 'https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics',
        weeks: 5,
        lastweek: false,
        isoweek: true,
        width: 6
}
The settings
Bildschirmfoto vom 2020-11-11 18-01-54.png
Thanks, I'll do some tests.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

sailmich wrote: Wednesday 11 November 2020 15:55 I use google calendar and notice that individual repetition does not shown in the calendar block in the right way! I put inside my google calendar every two weeks at Wednesday a date, but in calendar block is shown weekly at Wednesday. I'm a bit confused! Is that just me? Problem at google calendar or calendar block?
Any help appreciated.
What is your Dashticz version?
And you PHP version as reported in Dashticz->Settings->Info tab?

On some systems the old calendar module has issues with recurring events
I've added a new calendar module, but that requires PHP 7.1 or higher
My calendar block.
Spoiler: show

Code: Select all

blocks['my_calendar'] = {
        type: 'calendar',
        maxitems: 6,
        layout: 0,
        //url: 'https://calendar.google.com/calendar/',
        icalurl: 'https://calendar.google.com/calendar/ical/xxxxxxxx%40gmail.com/private-86e89bbf9aaxxxxx05bxxxxxxxxxd/basic.ics',
        //holidayurl: 'https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics',
        weeks: 5,
        lastweek: false,
        isoweek: true,
        width: 6
}
The settings
Bildschirmfoto vom 2020-11-11 18-01-54.png
It seems to be a bug in the 'new' ical library that is used by Dashticz.

The 'old' ical library seems to not have this issue.

The old ical library had issues in the past as well, but most of them have been fixed in the mean time.

So it seems that switching to the old ical library might be a solution.

In the latest beta I've added the block parameter 'method' to the calendar block. By adding 'method:0' to the calendar block definition the 'old' ical library will be used. Could you test?

I've implemented this in the new calendar block only. So you must add type: 'calendar' to the block definition as well.

See:
https://dashticz.readthedocs.io/en/beta ... w-calendar
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by sailmich »

Thx a lot, it works now!
Chris12
Posts: 238
Joined: Tuesday 18 August 2020 8:41
Target OS: NAS (Synology & others)
Domoticz version: 2021.1
Location: NL
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Chris12 »

Hi,

For as far I can see is it only possible to integrate the google famliy calender by using an iframe.
This works fine, the calendar is shown. But it is shown in the basic google calender colors white/blue.

As my dashboard has a black theme, the family calendar looks not nice with the white colors.
Anybody had some luck with changing the css like done here:
http://www.webdesignerdepot.com/2012/04 ... r-website/

Or does that not apply for dashticz? The css code part is still a lot of abracadabra for me :|
Domoticz beta | Dashticz beta | Synology DS415+ | Wall tablet Teclast 11.6inch (Android) | TADO v3 controlled heating
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by sailmich »

Layout 0 and 1 follow the design of the dashboard. Layout 2 is different.
Bildschirmfoto vom 2020-11-14 07-08-51.png
Bildschirmfoto vom 2020-11-14 07-08-51.png (287.97 KiB) Viewed 1645 times
I wondering if it's possible to make the background of the calendar invisible. So that just lines, dates and appointments are visible? Second the frame doesn't fit to the calendar when using less then 5 weeks, is there a way to fix that?
Thx a lot!
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by HansieNL »

@Lokonli Due to Covid-19 my calendars are now empty. Is it possible to have a custom message of in the calendar block when it’s empty?
If not, can that option be added?
Thanks again.
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest