Read the statement by Michael Teeuw here.
OwnCloud integration
-
@paviro said in OwnCloud integration:
Why not do
username:password@yourdomain.com
in the config?because it doesn’t work. :) I got this Error in the console:
logger.js:23 Calendar Error. Could not fetch calendar: user:password@myowncloud.de/remote.php/caldav/calendars/user/calendar?export -
Can you try executing
curl -L http://user:password@myowncloud.de/remote.php/caldav/calendars/user/calendar?export
in a shell? -
hmmm… that works…
-
ok, now it works completly. Perhaps I had a mistake inside my code. Thank you for your help!
-
@Shampooman do you have this publicly anywhere? I have a bash script that does something I want an MMM to do but have no idea how to get it working and it looks to me thats what you are doing.
Thanks -
I can make the curl call work, adding a -k to it, to get around the certificate.
Can I do something similar in the module ?
Thanks. -
I`m using NextCloud and i figured it out using the following config
{ module: "calendar", header: "username", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "https://username:app_password@nexctcloud.domain.nl/remote.php/dav/calendars/username/8a757113-03ae-4d7a-a6a1-8db4350eee54_shared_by_username?export" } ] } },
I got the calander name from the webinterface by clicking on the dots right behind the specific calender.
Note: I am using a dedicated user to login to nextcloud. This user is recieving the “shared” calanders from the actual users. In this way i don`t need to login with my own nextcloud credentials