Difference between revisions of "Google Calendar"
Jump to navigation
Jump to search
(→Setup) |
|||
Line 42: | Line 42: | ||
== Setup == | == Setup == | ||
− | + | === Enable the Google Calendar API === | |
− | ''' | + | * Use [https://console.developers.google.com/start/api?id=calendar this wizard] to create or select a project in the Google Developers Console and automatically enable the API. Click the '''Go to credentials''' button to continue. |
+ | * At the top of the page, select the '''OAuth consent screen''' tab. Select an '''Email address''', enter a '''Product name''' if not already set, and click the '''Save''' button. | ||
+ | * Back on the '''Credentials''' tab, click the '''Add credentials''' button and select '''OAuth 2.0 client ID'''. | ||
+ | * Select the application type '''Other''' and click the '''Create''' button. | ||
+ | * Click '''OK''' to dismiss the resulting dialog. | ||
+ | * Click the '''Download JSON''' button to the right of the client ID. | ||
+ | * Move the downloaded file to HSYCO server, place it into a folder called "google-calendar" in the root and rename it "client_secret.json". | ||
+ | |||
+ | === Authorize access === | ||
+ | |||
+ | The first time the driver is started it is required to grant it access to the calendar information of the ... | ||
== Datapoints == | == Datapoints == |
Revision as of 17:13, 31 August 2015
This driver allows for the use of Google Calendar as a scheduler.
Contents
HSYCO Configuration
Add a GOOGLECAL I/O Server in the I/O Servers section of the Settings and set its parameters:
High Availability
- Shutdown when inactive: defaults to false.
Options
ID | Default | Values | Description |
---|---|---|---|
pollinterval | 10 | n > 0 | the data acquisition interval, in seconds |
calendars | <id_list> | list of calendars IDs separated by ';' (see Setup for details). Omit this option to use the primary calendar | |
code | <code> | authorization code (see Setup for details) |
Setup
Enable the Google Calendar API
- Use this wizard to create or select a project in the Google Developers Console and automatically enable the API. Click the Go to credentials button to continue.
- At the top of the page, select the OAuth consent screen tab. Select an Email address, enter a Product name if not already set, and click the Save button.
- Back on the Credentials tab, click the Add credentials button and select OAuth 2.0 client ID.
- Select the application type Other and click the Create button.
- Click OK to dismiss the resulting dialog.
- Click the Download JSON button to the right of the client ID.
- Move the downloaded file to HSYCO server, place it into a folder called "google-calendar" in the root and rename it "client_secret.json".
Authorize access
The first time the driver is started it is required to grant it access to the calendar information of the ...
Datapoints
ID | Value | R/W | Description |
---|---|---|---|
connection | online | R | connection established |
offline | R | HSYCO can't connect to the device | |
<cal_name> | <events_list> | R | ....... |
Release Notes
3.5.0
- initial release
Google is a registered trademarks of Google Inc.