So I spend all weekend trying to get Dashticz configured the way I like. All works just fine except for the calendar function. I really tried everything, used the search button on this forum and could not find anything that works. Really hope someone can help, I'm stuck! Code snips of my Config.js:
In the dashboard I see a calendar block, it says 'laden' / 'loading' but nothing shows! Clicking the block will open the calendar straight away. What am I doing wrong?
Running
Dashticz V3.7.2 beta
Domoticz version 2020.2
dzVents version 3.0.2
PHP version 8.0.0
VM2655:116 Error in response from calendar with icalurl ./vendor/dashticz/ical/index.php?time=1610444906588&maxitems=5&url=https://calendar.google.com/calendar/ical/5gipqhlg6spdvabprtkk%40group.calendar.google.com/private-0dbd20…/basic.ics
Figured it had something to do with the timezones / language settings of the calendar so I took a look at the ics file:
<br />
<b>Warning</b>: Undefined array key "history" in <b>/var/www/html/vendor/dashticz/ical/index.php</b> on line <b>37</b><br />
<br />
<b>Warning</b>: Undefined array key "method" in <b>/var/www/html/vendor/dashticz/ical/index.php</b> on line <b>39</b><br />
<br />
<b>Fatal error</b>: Array and string offset access syntax with curly braces is no longer supported in <b>/var/www/html/vendor/dashticz/ical/ical5/helpers/SG_iCal_Duration.php</b> on line <b>44</b><br />
<br />
<b>Warning</b>: Undefined array key "history" in <b>/var/www/html/vendor/dashticz/ical/index.php</b> on line <b>37</b><br />
<br />
<b>Fatal error</b>: Array and string offset access syntax with curly braces is no longer supported in <b>/var/www/html/vendor/dashticz/ical/ical5/helpers/SG_iCal_Duration.php</b> on line <b>44</b><br />
<br />
<b>Deprecated</b>: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in <b>/var/www/html/vendor/dashticz/ical/vendor/om/icalparser/src/IcalParser.php</b> on line <b>383</b><br />
{"1610406000":{"id":1,"title":"Vergadering OR","desc":"","location":"","start":1610406000,"end":1610492400,"allDay":true},"1610546400":{"id":2,"title":"est","desc":"","location":"","start":1610546400,"end":1610550900,"allDay":false},"1610617500":{"id":3,"title":"dadfas","desc":"","location":"","start":1610617500,"end":1610621100,"allDay":false},"1611097200":{"id":4,"title":"Begin nationale voorleesdagen (t\/m 30 januari)","desc":"","location":"","start":1611097200,"end":1611183600,"allDay":true}}
Can you test latest beta? I've integrated the updated ical library.
I don't have a PHP8 system, so I did not test myself on PHP8.
PHP7 seems to work fine.