Vera - Smarter Home Control Forum

General => Vacation & Rental => Topic started by: aecchalet on November 29, 2012, 05:05:01 pm

Title: Use GCal to change between occupied/unoccupied mode
Post by: aecchalet on November 29, 2012, 05:05:01 pm
I keep my main vacation home schedule on myvrzone.com.  It synchronizes with an "other" type of google calendar that I created from a special URL from the myvrzone.com site.  It places an event called "booked" starting at date/time of check in and ending at date/time of check out.  It would be great great if the GCal plugin could read "other" and not just "private" types of google calendars.
I would then write a script to check for a booked event each hour.  When such an event was 1st detected, it would trigger my "Occupied" scene.  When such an event was first not present, it would trigger the "Unoccupied" scene.
Anyone familiar with Lua enough to modify the current GCal plugin to allow "other" and not just "private" google calendars? OR
Know how to automatically transfer events from an "other" to a "private" google calendar?
Thanks