Page 16 of 23
Re: Dashticz - Module - Calendar
Posted: Sunday 21 October 2018 14:06
by peerkersezuuker
I have the same problem.
I also have afval kalender enabled and that is working perfect with the local php.
Re: Dashticz - Module - Calendar
Posted: Sunday 21 October 2018 14:20
by jake
peerkersezuuker wrote:I have the same problem.
I also have afval kalender enabled and that is working perfect with the local php.
How did you get the 'afval kalender' block working again? Mine doesn't work, but it possibly has to do with both ther server shutdown and HVC who changed access to their data some weeks ago. I don't know yet if anybody updated the code for HVC. Before it was stored on Rob's server, so nobody had access to it.
Re: Dashticz - Module - Calendar
Posted: Sunday 21 October 2018 14:31
by peerkersezuuker
@Jake, We have Cure as our local garbage disposal company.
I changed function getGeneralData in garbage.js, ther you se an url pointing to dashticz.nl.
Change it to you own.
- Spoiler: show
- function getGeneralData(service,address, date, random, subservice){
$.getJSON(getPrefixUrl() + 'http://xxxxx.xxxxx.xxx:880/php/afval/?s ... '&zipcode=' + address.zipcode + '&nr=' + address.housenumber + '&t=' + address.housenumberSuffix, function (data) {
data = data
Re: Dashticz - Module - Calendar
Posted: Sunday 21 October 2018 15:05
by jake
Thanks, allthough according git pull everything is up to date, I see that I have in /dashboard/vendor/dashticz only the folder ical, while the zip of Rob shows afval and tv as well. I added the additional folders to the dashticz folder and pointed towards that accordingly (192.168.x.x/dashticz/dashboard/vendor/dashticz/afval) but it still doesn't work. I assume this is because of the change in the HVC call that I don't fully understand.
Re: Dashticz - Module - Calendar
Posted: Tuesday 18 December 2018 21:28
by Siewert308SW
Is there a max amount of combined calendars in the beta version?
My code below works.
But if i add a third or fourth calendar then only the first two are shown.
Code: Select all
var calendars = {}
calendars.fcg = { width:6 ,maxitems: 10, icalurl: 'https://calendar.google.com/calendar/ical/xxxx%40import.calendar.google.com/public/basic.ics' }
calendars.prive = { width:6 ,maxitems: 10, icalurl: 'https://calendar.google.com/calendar/ical/xxxx/basic.ics' }
calendars.feestdagen = { width:6 ,maxitems: 10, icalurl:'https://calendar.google.com/calendar/ical/xxxx%40group.v.calendar.google.com/public/basic.ics' }
//calendars.vakanties = { width:6 ,maxitems: 10, icalurl:'https://calendar.google.com/calendar/ical/xxxx%40import.calendar.google.com/public/basic.ics' }
calendars.combined = {}
calendars.combined.maxitems = 6;
calendars.combined.width = 9
calendars.combined.icon = 'far fa-calendar-alt';
calendars.combined.calendars = [
{ color:'white',calendar:calendars.vakanties },
{ color:'green',calendar:calendars.fcg },
//{ color:'white',calendar:calendars.prive },
//{ color:'red',calendar:calendars.feestdagen }
]
calendars.combined.url = 'https://calendar.google.com/calendar';
Re: Dashticz - Module - Calendar
Posted: Thursday 20 December 2018 7:08
by tileiran
Is there any solution how to shown calendars that repeating? I have lots of calendar items that is repeating every 5 weeks. Somedays more then 2 on a day.
Re: Dashticz - Module - Calendar
Posted: Saturday 05 January 2019 22:43
by Derik
Dear...
Update to last beta
Is the way to use the new calendar:
Code: Select all
{maxitems: 35, icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/demxxxxxx
Because in the calendar.js i see the dashticz.nl not any more?
Only when i try this the calendar is not working yet

Re: Dashticz - Module - Calendar
Posted: Saturday 05 January 2019 22:54
by EdwinK
dashticz.nl isn't being used for some time now.
Re: Dashticz - Module - Calendar
Posted: Saturday 05 January 2019 22:57
by Derik
EdwinK wrote: ↑Saturday 05 January 2019 22:54
dashticz.nl isn't being used for some time now.
Yes i read that...
Only where do i need to make a change to use the calendar function again..
I did:
Code: Select all
config['default_cors_url'] ='https://cors-anywhere.herokuapp.com/';
I did:
Code: Select all
{maxitems: 35, icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/xxxxxxxxxx
where do i go wrong?
Or otherwise how do i get the calendar working/
Re: Dashticz - Module - Calendar
Posted: Thursday 17 January 2019 0:24
by Lokonli
Derik wrote: ↑Saturday 05 January 2019 22:57
EdwinK wrote: ↑Saturday 05 January 2019 22:54
dashticz.nl isn't being used for some time now.
Yes i read that...
Only where do i need to make a change to use the calendar function again..
I did:
Code: Select all
config['default_cors_url'] ='https://cors-anywhere.herokuapp.com/';
I did:
Code: Select all
{maxitems: 35, icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/xxxxxxxxxx
where do i go wrong?
Or otherwise how do i get the calendar working/
Do you have it working already?
With the latest beta you can remove config['default_cors_url']. You also can just use the normal calendar url (without the cors-anywhere part in front)
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 18:55
by Derik
please a simple how to use the/this calendar option..
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 19:29
by Lokonli
Derik wrote: ↑Saturday 19 January 2019 18:55
please a simple how to use the/this calendar option..
First install Dashticz, including Apache and PHP, according the info on the wiki:
Then add the following lines to your CONFIG.js:
Code: Select all
var calendars = {}
calendars.me = { maxitems: 10, url: 'https://calendar.google.com/calendar/embed?src=youremail%40gmail.com&ctz=Europe%2FAmsterdam', icalurl: 'https://calendar.google.com/calendar/ical/youremail%40gmail.com/private-yourprivatekey/basic.ics' }
Your calendar must be in ical format. When you click on the agenda the url is opened in a frame. The example above works for a google agenda. You can find the links on the settings page of your agenda on calendar.google.com.
Add the calendar to a column:
Code: Select all
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [
calendars.me
]
And then it should work

Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 19:38
by Derik
Lokonli wrote: ↑Saturday 19 January 2019 19:29
Derik wrote: ↑Saturday 19 January 2019 18:55
please a simple how to use the/this calendar option..
First install Dashticz, including Apache and PHP, according the info on the wiki:
Then add the following lines to your CONFIG.js:
Code: Select all
var calendars = {}
calendars.me = { maxitems: 10, url: 'https://calendar.google.com/calendar/embed?src=youremail%40gmail.com&ctz=Europe%2FAmsterdam', icalurl: 'https://calendar.google.com/calendar/ical/youremail%40gmail.com/private-yourprivatekey/basic.ics' }
Your calendar must be in ical format. When you click on the agenda the url is opened in a frame. The example above works for a google agenda. You can find the links on the settings page of your agenda on calendar.google.com.
Add the calendar to a column:
Code: Select all
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [
calendars.me
]
And then it should work
Apache en php?
In the wiki from?
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 20:05
by Lokonli
Derik wrote: ↑Saturday 19 January 2019 19:38
Lokonli wrote: ↑Saturday 19 January 2019 19:29
Derik wrote: ↑Saturday 19 January 2019 18:55
please a simple how to use the/this calendar option..
First install Dashticz, including Apache and PHP, according the info on the wiki:
Then add the following lines to your CONFIG.js:
Code: Select all
var calendars = {}
calendars.me = { maxitems: 10, url: 'https://calendar.google.com/calendar/embed?src=youremail%40gmail.com&ctz=Europe%2FAmsterdam', icalurl: 'https://calendar.google.com/calendar/ical/youremail%40gmail.com/private-yourprivatekey/basic.ics' }
Your calendar must be in ical format. When you click on the agenda the url is opened in a frame. The example above works for a google agenda. You can find the links on the settings page of your agenda on calendar.google.com.
Add the calendar to a column:
Code: Select all
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [
calendars.me
]
And then it should work
Apache en php?
In the wiki from?
https://www.domoticz.com/wiki/Dashticz_V2
First start with the installation part.
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 20:08
by Derik
Lokonli wrote: ↑Saturday 19 January 2019 20:05
Derik wrote: ↑Saturday 19 January 2019 19:38
Lokonli wrote: ↑Saturday 19 January 2019 19:29
First install Dashticz, including Apache and PHP, according the info on the wiki:
Then add the following lines to your CONFIG.js:
Code: Select all
var calendars = {}
calendars.me = { maxitems: 10, url: 'https://calendar.google.com/calendar/embed?src=youremail%40gmail.com&ctz=Europe%2FAmsterdam', icalurl: 'https://calendar.google.com/calendar/ical/youremail%40gmail.com/private-yourprivatekey/basic.ics' }
Your calendar must be in ical format. When you click on the agenda the url is opened in a frame. The example above works for a google agenda. You can find the links on the settings page of your agenda on calendar.google.com.
Add the calendar to a column:
Code: Select all
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [
calendars.me
]
And then it should work
Apache en php?
In the wiki from?
https://www.domoticz.com/wiki/Dashticz_V2
First start with the installation part.
Still running for long time only the calendar part is missing after the "big" change
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 20:14
by Lokonli
Derik wrote: ↑Saturday 19 January 2019 20:08
Still running for long time only the calendar part is missing after the "big" change
If you want to use calendar you have to install apache, PHP and a recent beta version of Dashticz.
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 20:25
by Derik
Lokonli wrote: ↑Saturday 19 January 2019 20:14
Derik wrote: ↑Saturday 19 January 2019 20:08
Still running for long time only the calendar part is missing after the "big" change
If you want to use calendar you have to install apache, PHP and a recent beta version of Dashticz.
Yes i read something...
Only that's my problem..
Can i this direct install on the same hardware where domoticz is on running...
And then where to start to get the calendar working fine
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 20:54
by Lokonli
Derik wrote: ↑Saturday 19 January 2019 20:25
Lokonli wrote: ↑Saturday 19 January 2019 20:14
Derik wrote: ↑Saturday 19 January 2019 20:08
Still running for long time only the calendar part is missing after the "big" change
If you want to use calendar you have to install apache, PHP and a recent beta version of Dashticz.
Yes i read something...
Only that's my problem..
Can i this direct install on the same hardware where domoticz is on running...
And then where to start to get the calendar working fine
Yes, you can install it on the same hardware. What kind of system are you using?
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 21:30
by Derik
Lokonli wrote: ↑Saturday 19 January 2019 20:54
Derik wrote: ↑Saturday 19 January 2019 20:25
Lokonli wrote: ↑Saturday 19 January 2019 20:14
If you want to use calendar you have to install apache, PHP and a recent beta version of Dashticz.
Yes i read something...
Only that's my problem..
Can i this direct install on the same hardware where domoticz is on running...
And then where to start to get the calendar working fine
Yes, you can install it on the same hardware. What kind of system are you using?
RPi 3 or Xu4 odroid [ testing ]
Re: Dashticz - Module - Calendar
Posted: Saturday 19 January 2019 21:31
by Derik
Derik wrote: ↑Saturday 19 January 2019 21:30
Lokonli wrote: ↑Saturday 19 January 2019 20:54
Derik wrote: ↑Saturday 19 January 2019 20:25
Yes i read something...
Only that's my problem..
Can i this direct install on the same hardware where domoticz is on running...
And then where to start to get the calendar working fine
Yes, you can install it on the same hardware. What kind of system are you using?
RPi 3 or Xu4 odroid [ testing ]
so what are the commands i need to use?
the wiki from domoticz is very great..