Dashticz Calendar - Features, Fixes & Updates

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

HansieNL wrote: Saturday 19 December 2020 9:50 @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.
Implemented in latest beta.

You can set a custom text via the block parameter 'emptytext'

Only implemented in the new calendar block (type: 'calendar')
User avatar
HansieNL
Posts: 957
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 wrote: Sunday 20 December 2020 14:47
HansieNL wrote: Saturday 19 December 2020 9:50 @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.
Implemented in latest beta.

You can set a custom text via the block parameter 'emptytext'

Only implemented in the new calendar block (type: 'calendar')
Thanks. Didn't expect the addition that soon. I'm trying to add a text, but I still got an empty block (except the icon).
This is the code I'm using. Am I missing something?:

Code: Select all

calendars.concerts = {
	type: 'calendar',
	layout: 0,
	startonly: true,
	maxitems: 5,
	emptytext: 'No upcoming concerts or festivals',
	image: '../custom/img/rock.svg',
	icalurl: 'http://192.168.2.14:3000/kalenders/concerts.ics',
}
It’s working on my iPad. I think I have to clean my cache :oops:
Blah blah blah
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by HansieNL »

When using the url parameter to load a page I got a message in the popup frame that loading the page is not allowed. Is it possible to load in a new window like the parameter newwindow for a normal block?
Blah blah blah
Jaccovr
Posts: 4
Joined: Saturday 26 April 2014 21:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Jaccovr »

hi, im not a newbe but i just cant figer out wy my calander wil not show my apointments,

i have read all logs and look into (F12 and look for error) if i use outlook. i receive thiss error:
Exception: DateTimeZone::__construct(): Unknown or bad timezone (Customized Time Zone) in /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php:260
Stack trace:
#0 /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php(260): DateTimeZone->__construct('Customized Time...')
#1 /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php(131): om\IcalParser->parseRow('TZID:Customized...')
#2 /var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php(47): om\IcalParser->parseString('BEGIN:VCALENDAR...', NULL)
#3 /var/www/html/vendor/dashticz/ical/index.php(71): om\IcalParser->parseFile('https://outlook...')
#4 {main}
and if i use hotmail i receive thiss error:
{ }

if i look in the pi i cant find anny folders in :
/var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src//vendor/dashticz/ical/vendor/om/icalparser/src/

folder structure stops @
/var/www/html

my popup calander works good? (use v3.7.3 beta)

anny help wil be good!
Marcel
User avatar
HansieNL
Posts: 957
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 If you have an all day calender (for example a birthday calender) and you don't want the time table data cell you have to do that by add code to config.css:

Code: Select all

[data-id='calendar_id'] .agenda-time,
    display: none;
}
Another layout option without the time table data cell would be great.
Thanks in advance.
Blah blah blah
GuidoP18
Posts: 13
Joined: Monday 11 December 2017 20:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by GuidoP18 »

the block of an public iCloud calendar shows events from the past. Even when maxitems is set to 1.

does anyone knows how to fix this?
TroisSix
Posts: 91
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by TroisSix »

Hi HansieNL
Your calendar is working great on my side, and I have a few questions:
- is it possible to have only the titles in bold like the old calendar?
- on my side, the google calendar is displayed slowly only after a few sec, is there a reason?
- I wanted to use a popup and display a calendar layout=2 in full screen, but cause it is very long to load, I abandoned it

Here is my code:
Spoiler: show
blocks['calendrier_Google'] = { type: 'calendar', layout: 1, maxitems: 7, color: 'blue', emptytext: '-',
icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics',
holidayurl: 'https://.../scolar-calendar.ics',
icon: '', dateFormat: 'dd D.MM', startonly: true, lastweek: false, isoweek: true, width: 12 }
Thx for your help
VM Debian - Domoticz stable v2023.1, RFXtrx433, Aeotec Z-Stick Gen5, APC ES700
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, gps Pilot
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by HansieNL »

TroisSix wrote: Wednesday 10 March 2021 16:42 Hi HansieNL
Your calendar is working great on my side, and I have a few questions:
- is it possible to have only the titles in bold like the old calendar?
- on my side, the google calendar is displayed slowly only after a few sec, is there a reason?
- I wanted to use a popup and display a calendar layout=2 in full screen, but cause it is very long to load, I abandoned it

Here is my code:
Spoiler: show
blocks['calendrier_Google'] = { type: 'calendar', layout: 1, maxitems: 7, color: 'blue', emptytext: '-',
icalurl: 'https://calendar.google.com/calendar/ic ... /basic.ics',
holidayurl: 'https://.../scolar-calendar.ics',
icon: '', dateFormat: 'dd D.MM', startonly: true, lastweek: false, isoweek: true, width: 12 }
Thx for your help
For the only the titles in bold you can add the following code to your custom.css:

Code: Select all

.calendar .agenda-title {
	font-weight: bold !important; 
}
Can download your google calendar .ics and try to load it local?
Blah blah blah
TroisSix
Posts: 91
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by TroisSix »

Thanks HansieNL for the css part, it was so simple :D

For the loading in local I put the file in /home/pi/dashticz/ical/
Then in config.js I call it with

Code: Select all

icalurl: 'http://127.0.0.1/dashticz/ical/basic.ics'
And yes it is loaded twice faster, it takes 3-4 secs to be displayed in local instead of 7-8secs from the web
Is there a way to reduce the content of this file in order to get it faster? cause I only take the next 7 items, and I think it downloads the whole agenda?

edit: tested with 127.0.0.1 but is there a way to point on /home/pi/dashticz/ical.basic.ics ?
VM Debian - Domoticz stable v2023.1, RFXtrx433, Aeotec Z-Stick Gen5, APC ES700
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, gps Pilot
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 Calendar - Features, Fixes & Updates

Post by gielie »

Its been awhile but i started my dashticz hobby again and i have a problem with the new way of the calendar.
is use to have this code that worked fine.



Its working again, must have had a typo, tanks for this great project
- 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
TroisSix
Posts: 91
Joined: Monday 11 January 2016 9:29
Target OS: -
Domoticz version: 2022.2
Location: France
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by TroisSix »

Hi,
Could it be possible to personalize the name "entire day" by something specific?
Cause it certain language, it can be very long ;-)
Thanks
VM Debian - Domoticz stable v2023.1, RFXtrx433, Aeotec Z-Stick Gen5, APC ES700
- rts: dio, oregon, somfy
- zwave: fibaro fgs212, aeotec smart switch, vision ZG8101
- IO Homecontrol: Velux Connexoon
- logitech harmony hub, philips hue, gps Pilot
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by HansieNL »

GuidoP18 wrote: Tuesday 09 March 2021 21:06 the block of an public iCloud calendar shows events from the past. Even when maxitems is set to 1.

does anyone knows how to fix this?
I got the same problem with my calendars.
I added the parameter lastweek: false to my calendar block and the problem seems to be solved.
Blah blah blah
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Derik »

Hi guys

Thanks for the GREAT wokr V3...
Did have time and wil give dashicz a other try so...
See nice new stuf..

Perhaps for the calendar part.
When tab on the calandar.
Open a new windowand then a option to choose. num 1 or 2 or 3 etc. [ like some other blocks has ]
Adjustable for size and color etc.

Looks a great feature for the smal screens so you kan save spade onyour dash, and when you wil see the detais
tab on the calendar part.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
mwehrens
Posts: 3
Joined: Friday 08 October 2021 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by mwehrens »

I have a small issue with the calendar functionality. Everything works fine except my training scheme does not show the work-out of that day. I suspect that the time indication, or the lack of it (00:00 -00:00), is the reason as it is in the past as soon as the day starts.. Is there a work around that items without a time indication are shown until end of day instead of beginning of day?

Thanks in advance.
Spoiler: show
blocks['my_calendar_sport'] = {
title:'Sport',
type: 'calendar',
maxitems: 5,
layout: 0,
url: '*',
icalurl: '*',
holidayurl: '*',
weeks: 5,
lastweek: false,
isoweek: false,
width: 12
}
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

mwehrens wrote: Friday 08 October 2021 16:23 I have a small issue with the calendar functionality. Everything works fine except my training scheme does not show the work-out of that day. I suspect that the time indication, or the lack of it (00:00 -00:00), is the reason as it is in the past as soon as the day starts.. Is there a work around that items without a time indication are shown until end of day instead of beginning of day?

Thanks in advance.
Spoiler: show
blocks['my_calendar_sport'] = {
title:'Sport',
type: 'calendar',
maxitems: 5,
layout: 0,
url: '*',
icalurl: '*',
holidayurl: '*',
weeks: 5,
lastweek: false,
isoweek: false,
width: 12
}
Can you mark the work-out as a full day event? Then it will probably show.

In the mean I will check whether I can reproduce the problem.
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by Lokonli »

mwehrens wrote: Friday 08 October 2021 16:23 I have a small issue with the calendar functionality. Everything works fine except my training scheme does not show the work-out of that day. I suspect that the time indication, or the lack of it (00:00 -00:00), is the reason as it is in the past as soon as the day starts.. Is there a work around that items without a time indication are shown until end of day instead of beginning of day?

Thanks in advance.
Spoiler: show
blocks['my_calendar_sport'] = {
title:'Sport',
type: 'calendar',
maxitems: 5,
layout: 0,
url: '*',
icalurl: '*',
holidayurl: '*',
weeks: 5,
lastweek: false,
isoweek: false,
width: 12
}
I've created some test events in my google calendar from 0:00 - 0:00 (0 minutes). They display just fine.
Can you send me your ical file, or an url, then I'll check your file as well. You can do it by PM.

What is your Dashticz version? You could try latest beta.
mwehrens
Posts: 3
Joined: Friday 08 October 2021 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by mwehrens »

Thanks for the help.. I'm on V3.8.0.2 master branch. As newby I'm not allowed to PM you. (Feels weird to write that down...) Does the ICS file contain 'personal information'? I can not see anything specific but it contains a UID, so iḿ a bit hesitant to post it here.. I will try to create all day events and see what happens.

I clipped some information out of the ICS files:
Spoiler: show
** Original event as in garmin ICS file)

BEGIN:VEVENT
DTSTAMP:20211009T152457Z
SUMMARY:FTP TEST
DTSTART;VALUE=DATE:20211009
UID:******
END:VEVENT

** duplicated the original in google calendar
BEGIN:VEVENT
DTSTART;VALUE=DATE:20211009
DTEND;VALUE=DATE:20211010
DTSTAMP:20211009T155750Z
UID:***
CREATED:20211009T155606Z
DESCRIPTION:
LAST-MODIFIED:20211009T155606Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:FTP TEST
TRANSP:OPAQUE
END:VEVENT

** Created an event in google calendar.
BEGIN:VEVENT
DTSTART:20211008T220000Z
DTSTAMP:20211009T155750Z
UID:***
CREATED:20211009T155515Z
DESCRIPTION:
LAST-MODIFIED:20211009T155515Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:testje
TRANSP:OPAQUE
END:VEVENT
Look at the DTSTART of the last item. It shifted to GMT+0 zone. (I entered: 20211009T000000Z) and is also not shown in dashticz
mwehrens
Posts: 3
Joined: Friday 08 October 2021 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz Calendar - Features, Fixes & Updates

Post by mwehrens »

I solved this issue by pointing directly to the training peaks calendar. At first, Training Peaks updated my Garmin Calendar which I imported in Google. This google calendar was than accessed by dashticz. I cut out all the 'middleman', and everything goes smoothly..
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest