Dashticz - Module - Calendar

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

peerkersezuuker
Posts: 70
Joined: Monday 14 December 2015 22:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Mierlo
Contact:

Re: Dashticz - Module - Calendar

Post by peerkersezuuker »

I have the same problem.
I also have afval kalender enabled and that is working perfect with the local php.
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Module - Calendar

Post 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.
peerkersezuuker
Posts: 70
Joined: Monday 14 December 2015 22:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Mierlo
Contact:

Re: Dashticz - Module - Calendar

Post 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
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Module - Calendar

Post 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.
User avatar
Siewert308SW
Posts: 288
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post 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';
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
tileiran
Posts: 5
Joined: Thursday 20 December 2018 6:55
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post 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.
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 - Module - Calendar

Post by Derik »

Dear...

Update to last beta :oops: :oops:

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 :roll:
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
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 »

dashticz.nl isn't being used for some time now.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 - Module - Calendar

Post 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/
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post 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)
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 - Module - Calendar

Post by Derik »

please a simple how to use the/this calendar option..
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post 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 :)
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 - Module - Calendar

Post 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?
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post 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.
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 - Module - Calendar

Post 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
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by Lokonli »

Derik wrote: Saturday 19 January 2019 20:08
Lokonli wrote: Saturday 19 January 2019 20:05
Derik wrote: Saturday 19 January 2019 19:38

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
If you want to use calendar you have to install apache, PHP and a recent beta version of Dashticz.
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 - Module - Calendar

Post by Derik »

Lokonli wrote: Saturday 19 January 2019 20:14
Derik wrote: Saturday 19 January 2019 20:08
Lokonli wrote: Saturday 19 January 2019 20:05
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
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
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
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post 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?
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 - Module - Calendar

Post 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 ]
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
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 - Module - Calendar

Post 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..
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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest