My configuration is almost identical.
calendar:
- platform: caldav
username: username
password: !secret calendar_password
url: https://example.com/remote.php/dav/
I am using Nextcloud as a NAS solution with a CalDAV server. This worked out of the box and HA automatically discovers all the calendars which belong to the specified user.
Unfortunately, I am not an expert on CalDAV… But have you tried to add your CalDAV calendar to a different client e.g. Thunderbird, Outlook or DAVdroid?
rdehuyss
(Ronald Dehuysser)
August 18, 2018, 12:50pm
74
Hi Abeksis,
I don’t know that much of RTL support and I’m developing a new card. I’m open for suggestions on how to implement it and pull requests however. Do you know something about that?
rdehuyss
(Ronald Dehuysser)
August 18, 2018, 1:05pm
75
Hi all,
I updated the card and it now:
supports also caldav calendars (at least my synology calendar which should be caldav compliant)
fixed the icon color
I do not add the progressbar anymore when there are no events today
less resource hungry, no dependency on font-awesome anymore
Do note that installation instructions are now different!! Please check them on the github, I updated them.
Cheers,
R
1 Like
rdehuyss
(Ronald Dehuysser)
August 18, 2018, 1:06pm
77
Hi @arsaboo ,
this should be solved with the new version
Wow, thanks! Great work.
Just a brief comment:
I implemented the calendar on the same tab as the Custom animated weather card where @arsaboo contributed to. The apperance of both cards got messed up because they both use the class day
. So the CSS of one of the cards was applied to both of them. I fixed it by changing the class name and according CSS entry from day
to calendar_day
.
I can confirm that it also works with Nextcloud as a CalDAV server!
vermis
August 18, 2018, 4:17pm
80
Please I need help, I deleted <dist>
dir, uploaded calendar-card.js (raw download) to config/www and modified ui.lovelace.yaml
like this:
resources:
- url: https://unpkg.com/[email protected] /moment.js
type: js
- url: /local/calendar-card.js
type: module
- type: "custom:calendar-card"
name: ""
showprogressbar: false
entities:
- calendar.personal
- calendar.contacts
But I get an error saying no such custom card to be shown.
As I was writing this post I rememberedd appending ?v=0.0.3
to the resource call, like this:
- url: /local/calendar-card.js?v=0.0.3
type: module
And now it works and quite well, so thank you @rdehuyss for creating it.
Darbos
(Darbos)
August 22, 2018, 3:44am
81
How can I change the color of the meeting time?
rdehuyss
(Ronald Dehuysser)
August 22, 2018, 6:38am
82
Currently, you can’t . It follows the color of your theme. But, since it now is not compiled anymore, you can easily change it yourself.
chavi78
(Javier)
August 22, 2018, 10:42am
83
I just done all steps same as you (i think), but get same error:
File calendar-card.js raw downloaded to /config/www/ dir with 777 permission…
In fact, i have other custom cards succesfully loaded on ui.lovelace.yaml.
I have tried appending “?v=0.0.3” or changing “type: module” to “type: js”
What am i loosing?
Add this under fronted in “configration.yaml” file se below
frontend: javascript_version: latest
chavi78
(Javier)
August 22, 2018, 10:54am
86
thanks @Supersonical
But i had already added it.
vermis
August 22, 2018, 11:22am
87
Well, besides trying different version suffixes I’m stumped
rdehuyss
(Ronald Dehuysser)
August 22, 2018, 5:49pm
88
Check the developer console, I think you will have a 404 . So, probably, the URL to the calendar card is wrong.
chavi78
(Javier)
August 22, 2018, 6:08pm
89
That is right @rdehuyss
I got following error message:
URL seems OK, but i can’t find syntax error in my code:
type: custom:calendar-card
name: “”
showprogressbar: false
entities:
- calendar.XXXXXXXXXXXXXXX
- calendar.contacts
vermis
August 22, 2018, 10:21pm
90
Your calendar-card.js should be ~9KB in size, is that correct?
Darbos
(Darbos)
August 23, 2018, 12:36am
91
Im a little confused by this…at first you say I cant, but at the end it sounds like your saying I can.
If so, would you mind sharing how I can adjust that?
Thank you
rdehuyss
(Ronald Dehuysser)
August 23, 2018, 9:40am
92
If you know a little about html and css, you can open the contents of the card and change the styling in the style tag
rdehuyss
(Ronald Dehuysser)
August 23, 2018, 9:42am
93
Have you tried the simplest install possible?
type: custom:calendar-card
entities:
calendar.XXXXXXXXXXXXXXX
calendar.contacts
The casing of showProgressBar is wrong and I didn’t try with an empty name. Also, like @vermis said, check in the network tab that your card size is 8.4 KB