Changes between Version 4 and Version 5 of WikiStart


Ignore:
Timestamp:
2012-11-28 12:50:15 (12 years ago)
Author:
psykokwak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v4 v5  
    77 
    88== How it works == 
    9 The plugin periodically (period defined in I_GCAl.xml in UPDATE_FREQ in seconds. Default:21600 (6 hours))  contacts a google calendar and requests all calendar events in a window of UPDATE_FREQ seconds. Google Calendar returns all active events in this period as a JSON output. In that output it looks for the next event eventually that has "keyword" as name defined in the control tab of the plugin. If there is a such event, the plugin waits until the event starts and triggers to 1. When the event finishes, trigger returns to 0. 
     9The plugin periodically contacts a google calendar and requests all calendar events in a window of "gcalinterval" seconds. Google Calendar returns all active events in this period as a JSON output. In that output it looks for the next event eventually that has "keyword" as name defined in the control tab of the plugin. If there is a such event, the plugin waits until the event starts and triggers to 1. When the event finishes, trigger returns to 0. 
    1010 
    1111== Install == 
     
    2020* Click on the device you created. In the control tab there will be 2 boxes. In the first one you have to insert the link to the calendar (The box is a bit small but it works). Then press set. In the second box you enter the event name you want to use (e.g. HEATING_ON). Then press set. You can leave this box empty to catch all events whatever the name. 
    2121 
    22 * You can use the button "check" to see if events in the calendar are picked up. Otherwise the plugin will check every UPDATE_FREQ seconds (this value can be configured). 
     22* You can use the button "check" to see if events in the calendar are picked up. Otherwise the plugin will check every "gcalinterval" seconds (this value can be configured). 
    2323 
    2424More detailed installation steps and exemples can be found here: http://forum.micasaverde.com/index.php/topic,7558.msg74154.html#msg74154