I am a happy user of HA but on rather amateur level, so please bear with me on this topic.
I am looking for a way to visualize all Nextcloud CalDAV calendars shared with one user, and have the whole week visible, including s a colored display of all events in that week - basically that what NC calendar looks like, just in HA, look at the middle section in this pic:
A detailed listing of each calendar entry, as shown to the right, could be a valuable add-on but is not mandatory - the block graphics shown is primarily what i am after. And - i’d like to step forward or backward, in weeks. No need to enter data, just view / read-only and display.
While i got the configuration.yaml calendar set up, i struggle on getting that visualization into place. I’m happy to generate a full dashboard view via lovelace cards etc.
Is there some easy, simple plugin available which makes that happen?
I am fighting with this also. It looks like it should be pretty easy, but being a NOOB with HA and Yaml something is not clicking here. I do that the Nextcloud integration in place and configured. Thinking this might be an issue I added it. That did not change anything tho.
Does anyone here have Calendar displays working? From any backend calendar would be fine. Would like to see what your yaml code looks like.
Have you checked the documentation? There is an example, especially for Nextcloud calendars.
# Example configuration.yaml entry for nextcloud, calendars will be found automatically
calendar:
- platform: caldav
username: john.doe
password: !secret caldav
url: https://nextcloud.example.com/remote.php/dav
I’m litterally using this code snippet, with changed credentials, but the url is exactly like mentioned in the snippet.
I am new to the syntax of HA. I tried changing the line: “password: !secret caldav” to “password: my-password”. Is that correct? or should it be “password: my-password caldav”?
So I have the following yaml code in my configuration.yaml file:
# Example configuration.yaml entry for nextcloud, calendars will be found automatically
calendar:
- platform: caldav
username: gregw
password: my-highly-secret-password
url: https://nextcloud.my-domain.com/remote.php/dav
custom_calendars:
- name: "Greg Personal"
calendar: "Personal"
search: ".*"
I have used the custom calendars because in the end there will be 4 calendars being loaded.
Now once I have a calendar loaded, I am totally confused as to how to get it on a dashboard. I am using the “type: custom:atomic-calendar-revive” This is where I get totally confused. How do I relate the caldav enteries to the atomic-calendar-revive entries?
To get to the calendar in HA, you need to enable it in the sidebar of HA. Go to your user profile and edit the sidebar, there should be an entry available.
For the data of the calendar, go to Developer Tools > States and type “calendar.” under “filter entities”. You’ll now see the sensors and calendars, that are available.
For the card in the frontend you need to setup these sensors in the configuration of the card.