Kalender

Lesen Sie Ihren Google-, Caldav- und iCal-Kalender.

Aktueller Release
1.2.0
Entwickler
WLAN-Kabel
Lizenz
MIT

Kalenderadapter für ioBroker

Lesen Sie Ihre Google-, Caldav- oder Kalenderereignisse.

Machen

  • Outlook-Kalender hinzufügen
  • Funktion zum Hinzufügen von Ereignissen zum Kalender hinzufügen
  • Vis Widget erweitern

Google Kalender

Google API-Schlüssel

Sie benötigen einen API-Schlüssel. Besuchen Sie https://console.cloud.google.com/apis/dashboard und melden Sie sich mit Ihrem Google-Konto an.

Öffnen Sie die Liste in der Kopfzeile und erstellen Sie ein neues Projekt. Geben Sie einen Projektnamen wie "ioBroker Calendar" ein und klicken Sie auf "Erstellen".

Stellen Sie sicher, dass Sie das richtige Projekt aus der Liste ausgewählt haben. Öffnen Sie die Registerkarte Bibliothek. Suchen Sie nach "Kalender" und klicken Sie auf "Google Kalender-API".

Klicken Sie auf "Aktivieren" und dann auf "APIs & Services". Öffnen Sie die Registerkarte "OAuth-Zustimmungsbildschirm" und geben Sie einen Anwendungsnamen wie "ioBroker-Kalender" ein. Sie können auch ein Logo hochladen, dies ist jedoch nicht erforderlich.

Öffnen Sie die Registerkarte "Anmeldeinformationen", klicken Sie auf die Dropdown-Liste "Anmeldeinformationen erstellen" und wählen Sie "OAuth-Client-ID". Wählen Sie im nächsten Schritt "Andere". Geben Sie einen Namen wie "ioBroker" oder "Client" ein.

Erstellen Sie die Client-ID und kopieren Sie die angezeigte Client-ID und das Client-Geheimnis.

Gehen Sie zur Adapterkonfiguration und fügen Sie die Client-ID und das Client-Geheimnis hinzu.

Füge ein Konto hinzu

Wenn Sie ein Konto hinzufügen möchten, klicken Sie auf die Schaltfläche.

Über die Schaltfläche gelangen Sie zu einer Autorisierungsseite, auf der Sie eine Berechtigung erteilen müssen.

Wenn Sie Ihr Konto ausgewählt und den Kunden autorisiert haben, wird ein Code angezeigt.

Kopieren Sie den Code und fügen Sie in den Adaptereinstellungen einen Kalender mit dem Symbol + hinzu.

Fügen Sie den Code in die Spalte "Code" ein und speichern Sie alle Einstellungen.

Nach dem Neustart liest der Adapter alle verfügbaren Kalender aus und speichert sie. Die Kalender können dann in den Einstellungen aktiviert werden.

Caldav Kalender (Getestet mit Nextcloud, Web.de und Mail.de)

Sie können Ihren Caldav-Kalender in der Adapterkonfiguration hinzufügen.

Geben Sie Ihre Zugangsdaten und den Hostnamen in die Konfiguration ein.

Baseurl-Liste

NameURL
GMXhttps://caldav.gmx.net
mail & period; dehttps://kalender.mail.de
Nextcloud[https:// <Hostname> /remote.php/dav lightboxes(https://example.com/remote.php/dav) oder
https: // <Hostname> /remote.php/dav/principals
Posteohttps://posteo.de:8443
Web & period; dehttps://caldav.web.de

Wenn Sie mehr wissen, lassen Sie es mich bitte wissen, damit ich sie aufnehmen kann.

ICal-Dateikalender

Sie können Ihren iCal-Kalender in der Adapterkonfiguration hinzufügen.

Geben Sie den Dateipfad auf der Registerkarte CalDav in das Feld Hostname ein.

Changelog

1.2.0 (2020-04-11)

  • (WLAN-Kabel) #24 - New iCal library to better read calendars and support future event writing functionality
  • (WLAN-Kabel) Google authorization changed
  • (WLAN-Kabel) #27 - ical events with recurrence are now handled
  • (WLAN-Kabel) #25 - Regular request for new calendars added
  • (WLAN-Kabel) #29 - Fixed a bug that caused a "TypeError" message on iCal calendars

1.1.3 (2020-03-22)

  • (WLAN-Kabel) #18 - Added possibility to load ics files from web servers
  • (WLAN-Kabel) #21 - Added option to ignore certificate errors
  • (WLAN-Kabel) #15 - Caldav time range is used to reduce traffic
  • (WLAN-Kabel) Caldav library revised
  • (WLAN-Kabel) Google functions outsourced in own lib
  • (WLAN-Kabel) #15 - Fixed caldav bug that occurred when end times were missing
  • (WLAN-Kabel) #15 - Added more debug messages

1.1.2 (2020-03-03)

  • (WLAN-Kabel) #15 - Fixed a serious bug that caused incorrect credentials for CalDav accounts
  • (WLAN-Kabel) #15 - Fixed a bug that caused a 'TypeError' message

1.1.1 (2020-02-26)

  • (WLAN-Kabel) Password encryption added
  • (WLAN-Kabel) Error messages for caldav lib extended
  • (WLAN-Kabel) Fixed an issue that caused errors when reading null events

1.1.0 (2020-02-05)

  • (WLAN-Kabel) Caldav support expanded
  • (WLAN-Kabel) iCal file support added

1.0.1 (2020-01-11)

  • (WLAN-Kabel) Missing dependency added

1.0.0 (2020-01-11)

  • (WLAN-Kabel) Added caldav support
  • (WLAN-Kabel) Multiple calendars can be displayed in one widget
  • (WLAN-Kabel) Added more widget settings
  • (WLAN-Kabel) State structure changed
  • (WLAN-Kabel) Appointments are now shown in the popup
  • (WLAN-Kabel) Some internal functions revised
  • (WLAN-Kabel) Fixed an error when saving the authentication data

0.2.0 (2020-01-08)

  • (WLAN-Kabel) Multiple calendar support for one account
  • (WLAN-Kabel) Calendar color is now supported
  • (WLAN-Kabel) Calender states color, name, account added
  • (WLAN-Kabel) Calendar name is set as the state name
  • (WLAN-Kabel) Fixed an issue where the credentials were not properly controlled
  • (WLAN-Kabel) The google calendar name and color will be adopted

0.1.0 (2020-01-07)

  • (WLAN-Kabel) Added calendar widget
  • (WLAN-Kabel) Cron job and server will stopped on unload
  • (WLAN-Kabel) Fixed an issue where not all states were deleted
  • (WLAN-Kabel) Added some debug messages
  • (WLAN-Kabel) Removed adapter from state settings
  • (WLAN-Kabel) Fixed problem where series appointments were not loaded

0.0.1

  • (WLAN-Kabel) Initial release

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.