Man, I’ve tried for a few days and a few different things but cannot get the caldav component working properly. I keep getting errors and the latest one is …
Has anybody been able to get this working with a Synology calendar?
2018-06-25 14:10:11 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up platform caldav
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/calendar/caldav.py", line 62, in setup_platform
calendars = client.principal().calendars()
File "/usr/local/lib/python3.6/site-packages/caldav/davclient.py", line 113, in principal
return Principal(self)
File "/usr/local/lib/python3.6/site-packages/caldav/objects.py", line 316, in __init__
cup = self.get_properties([dav.CurrentUserPrincipal()])
File "/usr/local/lib/python3.6/site-packages/caldav/objects.py", line 183, in get_properties
properties = self._handle_prop_response(response, props)
File "/usr/local/lib/python3.6/site-packages/caldav/objects.py", line 145, in _handle_prop_response
for r in response.tree.findall('.//' + dav.Response.tag):
AttributeError: 'NoneType' object has no attribute 'findall'
My config is:
- platform: caldav
url: https://xxxxxxx:port
username: !secret calendar_username
password: !secret calendar_password
cert_path: false
calendars:
- Family
I had two revery to using Google Calendar for the integration I wanted but would prefer to use Synology Calendar to keep everyone off the cloud. Please update this thread if you ever find a solutions.
I can’t get the full day events to work either. I’m still playing around with it and have a few full day events setup for tomorrow to see what it looks like.
I see, so it’s really just a way to trigger automations based on the entries in the calendar. I actually wanted to display the content of the calendar or specific entires, for example when the next waste collection is. I think I mis understood the meaning the the component
If you want to visualize stuff (waste collection, …), take a look at the Lovelace Google Calendar component.That will allow you to do exactly want you want.
Disclaimer: I’m the original developer of that card
Thanks looks good. Because I couldn’t get CalDav working previously I went for an Google Calendar and integrated it into my setup. I was hoping to could use CalDav to keep everything in house. Your lovelace card looks good and it DOES mention CalDav integration from HA, how it that working if the HA CalDav solution only shows sensors?
There is the sensor (which is only true when there is an event right now) but home-assistant also has a rest api which gives you the 5 next events from now. That’s what I use there.