]> git.basschouten.com Git - openhab-addons.git/commitdiff
[icalendar] Provide example for Nextcloud usage (#9432)
authort2000 <t2000@users.noreply.github.com>
Sat, 19 Dec 2020 22:49:59 +0000 (23:49 +0100)
committerGitHub <noreply@github.com>
Sat, 19 Dec 2020 22:49:59 +0000 (23:49 +0100)
* [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>
bundles/org.openhab.binding.icalendar/README.md

index 0636c57137342a6ac50a91abfe93bbe076a2b0db..217743531b480b08298cd892f0344eee2e0571b6 100644 (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).