Dashticz - Module - Calendar

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

User avatar
gielie
Posts: 100
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest B
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby gielie » Friday 12 May 2017 12:37

mvveelen wrote:Eh....why does my calendar show these strange line then ? Using the latest beta (about 1 hour ago). Locale is set to NL, is this a bug or something with my setup (2 iCalendar's combined) ?


This is my setting, with the locale set to nl but still no luck.

Code: Select all

var calendars = {}
calendars.private = { maxitems: 3, icalurl: 'webcal://p40-
var _ICALENDAR_DATEFORMAT     = 'dddd DD MMMM YYYY';
var _ICALENDAR_LOCALE         = 'nl_NL'; //en,hu, etc.

Resulting in this
Image
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

robgeerts
Posts: 724
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.6796
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby robgeerts » Friday 12 May 2017 12:49

gielie wrote:
mvveelen wrote:Eh....why does my calendar show these strange line then ? Using the latest beta (about 1 hour ago). Locale is set to NL, is this a bug or something with my setup (2 iCalendar's combined) ?


This is my setting, with the locale set to nl but still no luck.

Code: Select all

var calendars = {}
calendars.private = { maxitems: 3, icalurl: 'webcal://p40-
var _ICALENDAR_DATEFORMAT     = 'dddd DD MMMM YYYY';
var _ICALENDAR_LOCALE         = 'nl_NL'; //en,hu, etc.

Resulting in this
Image


Should work in latest beta. Please get it again..
BUT, you have to add the time:

Code: Select all

var _ICALENDAR_DATEFORMAT     = 'dddd DD MMMM YYYY HH:mm';
var _ICALENDAR_LOCALE         = 'nl_NL'; //en,hu, etc.

User avatar
gielie
Posts: 100
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest B
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby gielie » Friday 12 May 2017 12:56

confirmed, tanks for the fast solution.

Image
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

rickvanakkeren
Posts: 26
Joined: Thursday 03 December 2015 14:58
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Postby rickvanakkeren » Saturday 13 May 2017 9:53

Thanks for the good work! I got my calendars working (combined). It works pretty fine. But is it possible to display the month in text (like jan, feb, mar, apr) instead of a number?

And for recurring items, I see the date of the last appointment instead of the upcoming, and the time is displayed wrong (one hour late).

User avatar
mvveelen
Posts: 586
Joined: Friday 31 October 2014 11:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby mvveelen » Saturday 13 May 2017 10:57

robgeerts wrote:
mvveelen wrote:I mean lines....see this screenshot: viewtopic.php?f=67&t=17425&p=134184#p134107

Your calendar shows right at my dashboard, I have this var set in config.js:

Code: Select all

var _ICALENDAR_DATEFORMAT   = 'DD.MM HH:mm';


What do you have set in this variable?
Combined calendars should work again.


I still used the "friendly" setting. With this it displays right, thanks !
Synology DS414 DSM6.1 + RFXCOM rfxtrx433E + Aeon Labs Z-Stick v2 + Xiaomi Gateway + Philips HUE Lights + Nefit Easy + Dashticz v2 + Domoticz latest Beta

mikeoo
Posts: 108
Joined: Sunday 22 March 2015 8:35
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Holland
Contact:

Re: Dashticz - Module - Calendar

Postby mikeoo » Sunday 14 May 2017 9:26

Trying to add my Google Calandar my can't get it working.

Added the code to CONFIG.js

This is only the part what i use in CONFIG.js. Of course there is more in CONFIG.js

Code: Select all

var calendars = {}
calendars.private = { maxitems: 5, icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/' }

var columns = {}
columns[3] = {}
columns[3]['blocks'] = ['clock',buttons.buienradar,'streamplayer',calendars.private]
columns[3]['width'] = 2;


But i only get LOADING in Dashticz
Image

When i past https://calendar.google.com/calendar/ in a browser i get my Calandar.
Do i need to change something in Gmail Calander setting also for this function to work.

User avatar
capman
Posts: 136
Joined: Friday 12 July 2013 20:48
Target OS: NAS (Synology & others)
Domoticz version: v.3.7295
Location: Belgium
Contact:

Re: Dashticz - Module - Calendar

Postby capman » Sunday 14 May 2017 9:57

mikeoo wrote:Trying to add my Google Calandar my can't get it working.
....cut....
When i past https://calendar.google.com/calendar/ in a browser i get my Calandar.
Do i need to change something in Gmail Calander setting also for this function to work.


You need to log in to your google calendar and go to "instellingen" or "setup" a think in english. It's the gear icon on the top right of your screen.
Then you click on agenda's left to labs (it's on the left top). On the next screen click on your agenda you want to use. Click on the green icon next to 'private adres' , its the icon that said 'ICAL'. Now opens a window with your link you have to paste in to your custom config.js.

Code: Select all

var calendars = {}
calendars.business = { maxitems: 5, url: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/', icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxx/basic.ics' }


Hope it helps you out.

mikeoo
Posts: 108
Joined: Sunday 22 March 2015 8:35
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Holland
Contact:

Re: Dashticz - Module - Calendar

Postby mikeoo » Sunday 14 May 2017 10:04

capman wrote:
mikeoo wrote:Trying to add my Google Calandar my can't get it working.
....cut....
When i past https://calendar.google.com/calendar/ in a browser i get my Calandar.
Do i need to change something in Gmail Calander setting also for this function to work.


You need to log in to your google calendar and go to "instellingen" or "setup" a think in english. It's the gear icon on the top right of your screen.
Then you click on agenda's left to labs (it's on the left top). On the next screen click on your agenda you want to use. Click on the green icon next to 'private adres' , its the icon that said 'ICAL'. Now opens a window with your link you have to paste in to your custom config.js.

Code: Select all

var calendars = {}
calendars.business = { maxitems: 5, url: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/', icalurl: 'https://cors-anywhere.herokuapp.com/https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxx/basic.ics' }


Hope it helps you out.


Thank you. I found that ICAL part but because it was not mention on the first page that you need that url i was think the you only need the url for Googl Calandar. :lol:

now working fine.

robgeerts
Posts: 724
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.6796
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby robgeerts » Sunday 14 May 2017 20:54

Nice :)
Remove https://cors-anywhere.herokuapp.com/ from the url.
This is done within Dashticz itself...

User avatar
EdKo66
Posts: 481
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Rhoon - Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby EdKo66 » Sunday 14 May 2017 22:09

For a second, I thought I had the combined calendars working. But ... nope. :(
Running latest BETA on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

rickvanakkeren
Posts: 26
Joined: Thursday 03 December 2015 14:58
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Postby rickvanakkeren » Monday 15 May 2017 17:19

rickvanakkeren wrote:Thanks for the good work! I got my calendars working (combined). It works pretty fine. But is it possible to display the month in text (like jan, feb, mar, apr) instead of a number?

And for recurring items, I see the date of the last appointment instead of the upcoming, and the time is displayed wrong (one hour late).


In addition: is it possible to also show the day of the week in text?
(like ma 15 mei - 16:00 - 17:00 - event)

qwerk
Posts: 213
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Dashticz - Module - Calendar

Postby qwerk » Monday 15 May 2017 19:14

it already is,
in the CONFIG.js change de icalendar dateformat

ddd DD-MM-...... etc

the ddd is the day in letters mo. tu. we.
dddd is the full day name

Trigun
Posts: 117
Joined: Wednesday 30 November 2016 12:58
Target OS: Raspberry Pi
Domoticz version: 3.5877
Contact:

Re: Dashticz - Module - Calendar

Postby Trigun » Monday 15 May 2017 21:43

Hi Guys, trying to setup the calender but am quite lost with all the info within this topic.
I am trying to setup a google calendar but don't know which info is right and which is not.
I assume I need 2 things:
1: the Icalender URL = which is ?
2: the ical url = which I have.
but whats next.

Thnx in advance guys!

User avatar
htilburgs
Posts: 246
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: v3.7404
Location: Netherland
Contact:

Re: Dashticz - Module - Calendar

Postby htilburgs » Monday 15 May 2017 21:50

Trigun wrote:Hi Guys, trying to setup the calender but am quite lost with all the info within this topic.
I am trying to setup a google calendar but don't know which info is right and which is not.
I assume I need 2 things:
1: the Icalender URL = which is ?
2: the ical url = which I have.
but whats next.

Thnx in advance guys!


Have you already take a look at the wiki?
http://www.domoticz.com/wiki/Dashticz_V2_-_Tips,_Tricks_%26_Customization#Showing_a_calendar
Hardware:
Raspberry Pi 2B - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Yeelight RGBW Led

User avatar
EdKo66
Posts: 481
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Rhoon - Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby EdKo66 » Monday 15 May 2017 22:00

I believe the 'cors-anywhere...' part wasn't needed anymore, the script seems to handle it
Running latest BETA on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

robgeerts
Posts: 724
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.6796
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby robgeerts » Monday 15 May 2017 22:37

Removed that part from the wiki ;)

poudenes
Posts: 136
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - Module - Calendar

Postby poudenes » Tuesday 16 May 2017 6:28

Is it correct that the calendar is still in progress? Updated this morning to latest beta and see the items and repeated items as well. Only items from 2018 and 2017 are listed...
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

User avatar
Derik
Posts: 1628
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Module - Calendar

Postby Derik » Tuesday 16 May 2017 16:35

dear all.Can i use the calendar module from the wiki? or do i need this code? Or????

Thanks For the great work
CB 2: 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

robgeerts
Posts: 724
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.6796
Location: The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Postby robgeerts » Tuesday 16 May 2017 16:56

Take a look at the first post in this topic.

User avatar
Derik
Posts: 1628
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Module - Calendar

Postby Derik » Tuesday 16 May 2017 16:58

robgeerts wrote:Take a look at the first post in this topic.


I read the topic..
I see beta and not finished yet et..
Only when i use the first code this the ast version? :D :D ;)
CB 2: 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


Return to “Dashticz”

Who is online

Users browsing this forum: No registered users and 2 guests