[icalendar] Provide example for Nextcloud usage (#9432)

* [icalendar] Provide example for Netcloud usage

Users of the icalender OH 1 binding might wonder how to get the url for the
ical file for their calenders. It took me a couple of hours to find this, so
I think it might be useful to have it as an example in the documentation.

Signed-off-by: Stefan Triller <github@stefantriller.de>
pull/9354/head
t2000 2020-12-19 23:49:59 +01:00 committed by GitHub
parent b541de6b22
commit 00c73deabd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -166,6 +166,11 @@ BEGIN:Calendar_Test_Switch:ON
END:Calendar_Test_Switch:OFF
```
### Notes for Nextcloud
The `url` should be: `https://<URL_TO_SERVER>/remote.php/dav/calendars/<username>/<calendar_name>?export`, so the `?export` is important to get an `ical` file from the calendar.
Username and password for the nextcloud account have to be set as well.
## Breaking changes
In OH3 `calendar` was changed from Thing to Bridge. You need to recreate calendars (or replace `Thing` by `Bridge` in your `.things` file).