maxblome / ioBroker.calendar

Adapter for reading your Google, CalDAV and iCal calendar.
MIT License
7 stars 6 forks source link
calendar house-automation houseautomation iobroker iobroker-adapter smart-home smarthome

Logo

ioBroker.calendar

NPM version Downloads Installations Stable Dependency Status Known Vulnerabilities

NPM

Tests: Travis-CI AppVeyor

Calendar adapter for ioBroker

Read your google, caldav or ical calendar events.

Todo

Google Calendar

Google API Key

You need an api key. Visit https://console.cloud.google.com/apis/dashboard and login with your google account.

Open the list in the header and create a new project. Enter a project name like "ioBroker Calendar" and click create.

Make sure you have selected the right project from the list. Open the library tab. Search for "Calendar" and click on "Google Calendar API".

Click "activate" and then click on "APIs & Services". Open the tab "OAuth consent screen" and type a application name like "ioBroker Calendar". You can also upload a logo, but this is not necessary.

Open the "Credentials" tab, click the "Create credentials" dropdown and select "OAuth client ID". In the next step choose "Other". Type a name like "ioBroker" or "Client".

Create the client id and copy the displayed client ID and the client secret.

Go to the adapter config and add the client ID and the client secret.

Add an account

If you want to add an account, click on the button.

The button will take you to an authorization page where you have to give permission.

When you have selected your account and authorized the client, a code will be displayed.

Copy the code and add a calendar in the adapter settings using the + symbol.

Paste the code in the "Code" column and save all settings.

After the restart, the adapter will read out and save all available calendars. The calendars can then be activated in the settings.

Caldav Calendar (Tested with Nextcloud, Web.de and Mail.de)

You can add your caldav calendar in the adapter config.

Enter your access data and the host name in the config.

Baseurl list

Name URL
GMX https://caldav.gmx.net
mail.de https://kalender.mail.de
Nextcloud https://<Hostname>/remote.php/dav or
https://<Hostname>/remote.php/dav/principals
Posteo https://posteo.de:8443
Web.de https://caldav.web.de

If you know more, please let me know so that I can include them.

iCal File Calendar

You can add your iCal calendar in the adapter config.

Enter the file path on the CalDav tab in the hostname field.

Changelog

1.2.0 (2020-04-11)

1.1.3 (2020-03-22)

1.1.2 (2020-03-03)

1.1.1 (2020-02-26)

1.1.0 (2020-02-05)

1.0.1 (2020-01-11)

1.0.0 (2020-01-11)

0.2.0 (2020-01-08)

0.1.0 (2020-01-07)

0.0.1

License

MIT License

Copyright (c) 2019-2020 WLAN-Kabel wlan-kabel@outlook.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.