Dashticz - Module - Calendar

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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

Post by gielie »

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
- 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
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

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: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - Module - Calendar

Post by gielie »

confirmed, tanks for the fast solution.

Image
- 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
rickvanakkeren
Posts: 26
Joined: Thursday 03 December 2015 13:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by rickvanakkeren »

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: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by mvveelen »

robgeerts wrote:
mvveelen wrote:I mean lines....see this screenshot: https://www.domoticz.com/forum/viewtopi ... 84#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 !
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
mikeoo
Posts: 110
Joined: Sunday 22 March 2015 7:35
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: Dashticz - Module - Calendar

Post by mikeoo »

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: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Calendar

Post by capman »

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: 110
Joined: Sunday 22 March 2015 7:35
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

Re: Dashticz - Module - Calendar

Post by mikeoo »

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: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

Nice :)
Remove https://cors-anywhere.herokuapp.com/ from the url.
This is done within Dashticz itself...
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 »

For a second, I thought I had the combined calendars working. But ... nope. :(
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
rickvanakkeren
Posts: 26
Joined: Thursday 03 December 2015 13:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by rickvanakkeren »

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: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by qwerk »

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: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - Module - Calendar

Post by Trigun »

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: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - Module - Calendar

Post by htilburgs »

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_V ... a_calendar
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
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 »

I believe the 'cors-anywhere...' part wasn't needed anymore, the script seems to handle it
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

Removed that part from the wiki ;)
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Dashticz - Module - Calendar

Post by poudenes »

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...
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Derik
Posts: 1602
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 all.Can i use the calendar module from the wiki? or do i need this code? Or????

Thanks For the great work
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
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Module - Calendar

Post by robgeerts »

Take a look at the first post in this topic.
Derik
Posts: 1602
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 »

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 ;)
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: No registered users and 1 guest