linersupermarket.blogg.se

Gcal for google calendar
Gcal for google calendar






gcal for google calendar
  1. #GCAL FOR GOOGLE CALENDAR UPDATE#
  2. #GCAL FOR GOOGLE CALENDAR SIMULATOR#
  3. #GCAL FOR GOOGLE CALENDAR DOWNLOAD#

To make use of Presence Simulation you have to walk through these configuration steps: Each calendar entry looks like the following: By default each entry is posted with an offset of 14 days (If you'd like to change the offset please change the parameter offset in your services/gcal-persistence.cfg file). Every single change of an item that belongs to a certain group is posted as new calendar entry in the future.

#GCAL FOR GOOGLE CALENDAR SIMULATOR#

The Google Calendar Presence Simulator is an openHAB Persistence service can be used to realize a simple but effective presence simulation feature (thanks Ralf for providing the concept).

gcal for google calendar

Alternatively, careful use of the filter configuration parameter can be used to select only a subset of matching events on the calendar. It is recommended that you create a Google Calendar that is dedicated to the use of the Google Calendar Scheduler service. ⚠️ The calendar must not contain any events that do not conform to the above description, including public holidays, birthdays, any all-day events at all, personal calendar entries, etc. If the event description is entirely blank, then the event's start and end times are used to exclude that time period from processing. When creating or modifying an event on the calendar, its title can be anything, and its event description must contain the instructions in the following format: On openHAB 2.0.0 installed via apt-get, this file is located in the directory /var/lib/openhab2/gcal. This is because the Google Calendar Scheduler does not detect that the OAuth token is no longer valid. If you later change your client_id and client_secret in the configuration, you will have to locate and delete the file gcal_oauth2_token, and stop and restart the service. # NOTE : You will only have 1800 mins before openHAB gives up waiting for the access ! ! ! -# openHAB will automatically detect the permissions and complete the authentication process Grant openHAB access to your Google calendar # Google -Integration : U S E R I N T E R A C T I O N R E Q U I R E D ! ! - # 1. At the openhab> prompt, enter log:tail, or at the shell prompt enter tail -f /path/to/your/openhab.log. Follow the instructions that appear in the openHAB log. If you change this value, you must restart the service.Īfter the first start, you need to authorize openHAB to allow use your calendar. The frequency (in milliseconds) with which the Google calendar will be checked for calendar events (900000 milliseconds is 15 minutes). All calendar event fields are searched, except for extended properties. The Google Calendar API will do a text search to find calendar events that match the supplied terms. The filter criteria by which calendar events are searched.

#GCAL FOR GOOGLE CALENDAR DOWNLOAD#

The service will download calendar events from this calendar. This is the name you gave to your Google Calendar, or the word 'primary' if you want to use your default Google calendar (not recommended). PropertyĬopied from the "Client ID" field on the Credentials page as described above in Obtaining CredentialsĬopied from the "Client secret" field on the Credentials page as described above in Obtaining Credentials This service can be configured in the file services/gcal.cfg. In the Credentials tab, select the Create credentials drop-down list, and choose OAuth client ID.

gcal for google calendar

  • Choose an Email Address, specify a Product Name, and press Save.
  • In the sidebar under "API Manager", select Credentials, then select the OAuth consent screen tab.
  • From the project drop-down, select an existing project or create a new one by selecting Create project.
  • Login to your Google API Manager (opens new window).
  • Solving Google Calendar Presence Simulation errorsīefore you can integrate this service with your Google Calendar, you must have a Google API Console project.
  • #GCAL FOR GOOGLE CALENDAR UPDATE#

    It will send commands to items or update the state of items when defined on one of your Google Calendars.Īn additional persistence service, the Google Calendar Presence Simulator, writes item state changes as events on the calendar that will occur again some number of days in the future, to simulate your activity at home (such as turning lights on and off) when on vacation.

    gcal for google calendar

    The Google Calendar Scheduler allows you to control items in openHAB at scheduled times in the future.








    Gcal for google calendar