Dashticz - Module - Calendar
Moderators: leecollings, htilburgs, 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
It should work with latest beta found here: https://github.com/robgeerts/dashticz_v2/tree/beta
If not, send me your config with the code you've tried.
If not, send me your config with the code you've tried.
- 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
Still having problems with the combined and private calendar. Business is working.
Something I just thought of, In Textwrangler (some sort of programm to write code in), the 'private' part is in blue-ish colour, while .combined isn't.
Something I just thought of, In Textwrangler (some sort of programm to write code in), the 'private' part is in blue-ish colour, while .combined isn't.
columns[1] = {}
columns[1]['blocks'] =
['blocktitle_1','s1',91,51,99,125,52,53,54,55,56,'blocktitle_11',calendars.private]//idx 57 - 62 reserve KaKU
columns[1]['width'] = 5;
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 390
- Joined: Wednesday 30 November 2016 11:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Contact:
Re: Dashticz - Module - Calendar
to be honest, I didn't know it was written in the Wiki but i read ithtilburgs wrote:Have you already take a look at the wiki?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!
http://www.domoticz.com/wiki/Dashticz_V ... a_calendar

as for now I get a nice calendar whenever I click on the block.
but so far I am not seeiing all the event is on block.
this is my code(where the private info is "x"
Code: Select all
// iCalendar Plugin, supports all .ics calendar types like Google Calendar, Apple Calendar
var _ICALENDAR_URL = 'https://calendar.google.com/calendar/ical/x/public/basic.ics'; //supports .ics type calendars (Google Calendar, Apple Calendar etc.)
var _ICALENDAR_DATEFORMAT = 'friendly'; //'friendly', 'MM.DD.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'YYYY.MM.DD HH:mm'
var _ICALENDAR_LOCALE = 'en'; //en,hu, etc.
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/embed?src=x&ctz=Europe/Amsterdam', icalurl: 'https://calendar.google.com/calendar/ical/x/public/basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ical/x/private-x/basic.ics' }
Thnx in advance guys!
- 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
My combined calendar is working. However, I see several appointments from 2018 scattered through the list. At least I know what to do in about 12 months
I hope this will be fixed in a new update.
This is what I'm using in CONFIG.js:
and
@Trigun:
you use:
But your URL's don't match, Is there a reason for that? One is: "url" and the other is "icalurl".....

This is what I'm using in CONFIG.js:
Code: Select all
var calendars = {}
calendars.samen = { icalurl: 'https://p49-calendars.icloud.com/published/2/bla' }
calendars.shayna = { icalurl: 'https://p49-calendars.icloud.com/published/2/ookbla' }
calendars.combined = {}
calendars.combined.calendars = [
{ color:'white',calendar:calendars.samen },
{ color:'pink',calendar:calendars.shayna }
]
Code: Select all
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['s1',508,778,'s2',509,779,3453,3454,3455,3452,3533,3534,calendars.combined]
columns[1]['width'] = 5;
@Trigun:
you use:
Code: Select all
// iCalendar Plugin, supports all .ics calendar types like Google Calendar, Apple Calendar
var _ICALENDAR_URL = 'https://calendar.google.com/calendar/ical/x/public/basic.ics'; //supports .ics type calendars (Google Calendar, Apple Calendar etc.)
var _ICALENDAR_DATEFORMAT = 'friendly'; //'friendly', 'MM.DD.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'YYYY.MM.DD HH:mm'
var _ICALENDAR_LOCALE = 'en'; //en,hu, etc.
var calendars = {}
calendars.business = { maxitems: 5, url: 'https://calendar.google.com/calendar/embed?src=x&ctz=Europe/Amsterdam', icalurl: 'https://calendar.google.com/calendar/ical/x/public/basic.ics' }
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ical/x/private-x/basic.ics' }
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- 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
This is why.mvveelen wrote:
But your URL's don't match, Is there a reason for that? One is: "url" and the other is "icalurl".....
Where 'url' is the webaddress of the page to be shown when clicking the block.
'icalurl' is the webaddress to the ical-version of your calendar.
Wasn't this part obsolute now?Code: Select all
/ iCalendar Plugin, supports all .ics calendar types like Google Calendar, Apple Calendar var _ICALENDAR_URL = 'https://calendar.google.com/calendar/ical/x/public/basic.ics'; //supports .ics type calendars (Google Calendar, Apple Calendar etc.) var _ICALENDAR_DATEFORMAT = 'friendly'; //'friendly', 'MM.DD.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'YYYY.MM.DD HH:mm' var _ICALENDAR_LOCALE = 'en'; //en,hu, etc.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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
I use 'private' too so that shouldnt be a problem.
Did private work when you use only that calendar (and not combined?)
If not, are the settings in google correct (share settings) ?
Did private work when you use only that calendar (and not combined?)
If not, are the settings in google correct (share settings) ?
- 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
I think all my settings are okay, but never could use the private calendar.
- Spoiler: show
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Dashticz - Module - Calendar
I see with last update (did update today) that there is a improvement of the calendar.robgeerts wrote:It should work with latest beta found here: https://github.com/robgeerts/dashticz_v2/tree/beta
If not, send me your config with the code you've tried.
Still see also itms from 2018 already. If you want i can send you a link to do some tests on it?
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
- 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
When I now look with the Inspector, I see this.
Fixed the typo.
Code: Select all
Request URL:https://cors-anywhere.herokuapp.com/http://ical-to-json.herokuapp.com/convert.json?url=https://calendar.google.com/calendar/ical/PRIVATE KEY/basic.ics/
Request Method:GET
Status Code:400 Bad Request
Remote Address:23.23.100.24:443
Referrer Policy:no-referrer-when-downgrade
Fixed the typo.
Last edited by EdwinK on Wednesday 17 May 2017 12:16, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- 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
Business is still working
Private keeps loading but doesn't seem to finish.
combined gives an error
Private keeps loading but doesn't seem to finish.
combined gives an error
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- 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
Maybe its because of the [[ in the url of the calendar... wich i have to escape..
- 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
No, that was a copy/paste error for the posting here. Forgot to adjust it. Changed it in my previous post.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- 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
Any progress EdKo66 ? Your private calendar IS shared, right?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- 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
Yeah, it is. Didn't had any time to test it more this week though.
Calendar is :- Attachments
-
- Screen Shot 2017-05-18 at 19.16.42.png (79.87 KiB) Viewed 2530 times
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- 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
What exact code do you use (without the private URL)?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- 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
Code: Select all
calendars.private = { maxitems: 5, icalurl: 'https://calendar.google.com/calendar/ical/PRIVATE PART/basic.ics/' }
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- 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
Can you try it without the 'maxitems: 5,' ?
On my dashboard it doesn't matter what amount I use: it doesn't work.
On my dashboard it doesn't matter what amount I use: it doesn't work.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- 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
Still give '400 - bad request' -error
Code: Select all
Request URL:https://cors-anywhere.herokuapp.com/http://ical-to-json.herokuapp.com/convert.json?url=https://calendar.google.com/calendar/ical/PRIVATE/basic.ics/
Request Method:GET
Status Code:400 Bad Request
Remote Address:54.225.216.119:443
Referrer Policy:no-referrer-when-downgrade
Response Headers
view source
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- 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
I suspect it is the cors-anywhere part that is doing this. At least I didn't put it in.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 13
- Joined: Wednesday 01 June 2016 20:20
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Calendar
Can you download the ICS file is you put the google link directly in a browsers address bar?
Who is online
Users browsing this forum: No registered users and 1 guest