Dashticz - Module - Calendar

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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 »

Ok, more then 1 mistakes ;)

1.) calender.hd must be calender.hobbydeed
2.) you didnt declare columns[40] with columns[40] = {}
3.) you didnt specify a width of the column

Try this:

Code: Select all

var columns = {}

	// First Column
	columns[10] = {}
	columns[10]['blocks'] = ['clock','weather']
	columns[10]['width'] = 4;
	// Second Column
	columns[20] = {}
	columns[20]['blocks'] = ['weather']
	columns[20]['width'] = 4;
	// Fourth Column
	columns[30] = {}
	columns[30]['blocks'] = ['clock','sunrise','horizon','streamplayer',buttons.radio,buttons.nunl]
	columns[30]['width'] = 2;
	// Third Column
	columns[25] = {}
	columns[25]['blocks'] = [buttons.moon]
	columns[25]['width'] = 1;

	columns[40] = {}
	columns[40]['blocks'] = [calendars.hobbydeed]
	columns[40]['width'] = 1;

I changed the width of the column with the moon it to 1, otherwise the total width exceeds 12...
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Dashticz - Module - Calendar

Post by tontze »

robgeerts wrote:Ok, more then 1 mistakes ;)

1.) calender.hd must be calender.hobbydeed
2.) you didnt declare columns[40] with columns[40] = {}
3.) you didnt specify a width of the column

Try this:

Code: Select all

var columns = {}

	// First Column
	columns[10] = {}
	columns[10]['blocks'] = ['clock','weather']
	columns[10]['width'] = 4;
	// Second Column
	columns[20] = {}
	columns[20]['blocks'] = ['weather']
	columns[20]['width'] = 4;
	// Fourth Column
	columns[30] = {}
	columns[30]['blocks'] = ['clock','sunrise','horizon','streamplayer',buttons.radio,buttons.nunl]
	columns[30]['width'] = 2;
	// Third Column
	columns[25] = {}
	columns[25]['blocks'] = [buttons.moon]
	columns[25]['width'] = 1;

	columns[40] = {}
	columns[40]['blocks'] = [calendars.hobbydeed]
	columns[40]['width'] = 1;

I changed the width of the column with the moon it to 1, otherwise the total width exceeds 12...
I did change hobbydeed to hd before sending, thought i wouldnt want to share it, but forgot to change both :) declaring and width was indeed missing, since it wasnt in the instructions on the first page either .. :) Now i know they allways needs to be :)

Learning, learning :)
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
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 »

tontze wrote:.... since it wasnt in the instructions on the first page either ..
Added to first post ;)
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 »

In latest version, the latest calendar-module is available BUT BUT BUT
Combined doesn't work yet and probably only calendar at the time. This renewed version is FAR FROM FINISHED.
So beware ;)
lukev
Posts: 66
Joined: Friday 21 October 2016 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: blacksn0w

Post by lukev »

blacksn0w wrote: To be honest, following your argumentation the switches and all other Domoticz things aren't visible. But who will stop people from looking into your CONFIG.js, find the info about your Domoticz installation and go to the Domoticz backend? Leaving this unprotected in the net is more then careless.
See my PM
User avatar
mvveelen
Posts: 687
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:In latest version, the latest calendar-module is available BUT BUT BUT
Combined doesn't work yet and probably only calendar at the time. This renewed version is FAR FROM FINISHED.
So beware ;)
?

I thought you fixed it? Is it broken in the current beta? In my dashboard it keeps loading now....
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

Finally found out what I was doing wrong with my calendar, I used two different agenda's from different gmail-accounts. Got it working for one of them. Now I got to get rid of the old appointments.
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 »

mvveelen wrote:
robgeerts wrote:In latest version, the latest calendar-module is available BUT BUT BUT
Combined doesn't work yet and probably only calendar at the time. This renewed version is FAR FROM FINISHED.
So beware ;)
?

I thought you fixed it? Is it broken in the current beta? In my dashboard it keeps loading now....
Try removing https://cors-anywhere.herokuapp.com/ in config.js
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by HansieNL »

robgeerts wrote:Try removing https://cors-anywhere.herokuapp.com/ in config.js
I got the same problem, but not using cors. I make use of a local file.

Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Blah blah blah
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 »

Calendar still loading. also using a local ics file
I also switch from webserver......... but ics is available via url.
blacksn0w
Posts: 99
Joined: Friday 10 March 2017 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: Dashticz - Module - Calendar

Post by blacksn0w »

HansieNL wrote:
robgeerts wrote:Try removing https://cors-anywhere.herokuapp.com/ in config.js
I got the same problem, but not using cors. I make use of a local file.

Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Same here, since The New calendar module is trying to convert the ics to json via an online Service it is neccesary that the used calendar is adressed by a online url and not a local file.
Migration done, hello Home Assistant.
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 »

aha,
that explains a lot.
maybe it is possible for the "intern ics" users, to also have the convertion done locally.

step by step, but for the near future .....
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by HansieNL »

blacksn0w wrote:
HansieNL wrote:
robgeerts wrote:Try removing https://cors-anywhere.herokuapp.com/ in config.js
I got the same problem, but not using cors. I make use of a local file.

Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Same here, since The New calendar module is trying to convert the ics to json via an online Service it is neccesary that the used calendar is adressed by a online url and not a local file.
Mmm... uploaded the calendar.ics file to my web provider and used that url (and checked, because I can dowload the file), but still no luck.
Any suggestion?
Blah blah blah
blacksn0w
Posts: 99
Joined: Friday 10 March 2017 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: Dashticz - Module - Calendar

Post by blacksn0w »

HansieNL wrote:
blacksn0w wrote:
HansieNL wrote: I got the same problem, but not using cors. I make use of a local file.

Calendar still keeps loading... I'll check on regular bases if new beta solves the problem.
Same here, since The New calendar module is trying to convert the ics to json via an online Service it is neccesary that the used calendar is adressed by a online url and not a local file.
Mmm... uploaded the calendar.ics file to my web provider and used that url (and checked, because I can dowload the file), but still no luck.
Any suggestion?
Had The same Problem, try it here with your url and See if there is an error: http://ical-to-json.herokuapp.com
This is the Service used by the calendar Module.
Migration done, hello Home Assistant.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by HansieNL »

blacksn0w wrote: Had The same Problem, try it here with your url and See if there is an error: http://ical-to-json.herokuapp.com
This is the Service used by the calendar Module.
Got this message:
Error parsing feed: Encoding::UndefinedConversionError
"\xC3" from ASCII-8BIT to UTF-8

I'll leave it for now and hope it will be possible to use the local file some day.
Blah blah blah
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: Dashticz - Module - Calendar

Post by SwordFish »

I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
Attachments
Knipsel.JPG
Knipsel.JPG (20.87 KiB) Viewed 2318 times
Last edited by SwordFish on Wednesday 10 May 2017 16:11, edited 1 time in total.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by HansieNL »

SwordFish wrote:I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
I don't care what you do, but for your own privacy it's maybe better that you blur your descriptions ;)
Blah blah blah
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 »

SwordFish wrote:I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
I know, sorry, I'm not ready yet with rebuilding the calendar...
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: Dashticz - Module - Calendar

Post by SwordFish »

HansieNL wrote:
SwordFish wrote:I downloaded the latest beta and noticed that the calendar isn't sorting on date, its putting everything randomly.
I use google calendar.
I don't care what you do, but for your own privacy it's maybe better that you blur your descriptions ;)
Thanks, didn't thought about it :oops:
alveman
Posts: 21
Joined: Wednesday 29 January 2014 22:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Calendar

Post by alveman »

Had this conf working before I updated to the latest beta:

Code: Select all

var _ICALENDAR_URL			= 'https://crossorigin.me/https://p02-calendarws.icloud.com/ca/subscribe/1/XXX'; 
var _ICALENDAR_DATEFORMAT	= 'YYYY.MM.DD HH:mm'; 
var _ICALENDAR_LOCALE		= 'en'; 
Now the calendar just saying "Loding..." any suggestions? I'm using iCloud calendar.

Martin
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest