We have moved at community.getvera.com

Author Topic: Multiple Calendars?  (Read 867 times)

Offline clippermiami

  • Hero Member
  • *****
  • Posts: 1394
  • Karma: +27/-6
Multiple Calendars?
« on: October 31, 2015, 12:23:39 pm »
Is it possible to use GCAL3 with multiple calendars? I have two calendars I want to follow, "Travel" and "Automation"

Would I do this by
1. Creating mulitple JSON files:
    GCAL_Travel.json
    GCAL_Automation.json
2. uploading these using in LUUP FILES section of Develop apps
3. create a second instance of GCAL3
    A) Instance 1 gc_credentialFile = GCAL_Travel.json
    B) Instance 2 gc_credentialFile = GCAL_Automation.json
Two Vera Plus UI7 Linked via HTTP, 90+ Devices. PlugIns: PLEG, DSC, Blue Iris, MySensors,  AutoVera, ImperiHome, VeraAlerts, EventWatcher

Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: Multiple Calendars?
« Reply #1 on: October 31, 2015, 12:30:32 pm »
Hi.  There are two ways. Both require two plugin instances (in your example), each with the appropriate CalendarID.

You can then do it the way you describe (using separate credential files) or if you set up the calendars to accept the same credentials then you only need one credential file. The choice is yours.

Offline clippermiami

  • Hero Member
  • *****
  • Posts: 1394
  • Karma: +27/-6
Re: Multiple Calendars?
« Reply #2 on: October 31, 2015, 12:36:01 pm »
Hi.  There are two ways. Both require two plugin instances (in your example), each with the appropriate CalendarID.

You can then do it the way you describe (using separate credential files) or if you set up the calendars to accept the same credentials then you only need one credential file. The choice is yours.

Now I understand. I can leave the JSON file as is and simply configure both calendars to accept requests from the xxx@developer.gserviceaccount.com value.

My plan is to READ ONLY the Travel Calendar and Read/Write the Automation Calendar. I travel internationally a lot so the Travel Calendar will be used to change my Vera Alerts notifications settings when I'm away so I don't get flooded with $$$ SMS messages.The automation one I want to use to trigger certain Vera actions and to record when certain things have been done.

Thanks
Two Vera Plus UI7 Linked via HTTP, 90+ Devices. PlugIns: PLEG, DSC, Blue Iris, MySensors,  AutoVera, ImperiHome, VeraAlerts, EventWatcher