You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -158,13 +159,13 @@ If specificed, requires at least one of the available options. This will control
158
159
#### `AVAILABLE_STATUS`
159
160
160
161
- Default value: `active`
161
-
- By default, denotes that there is no ongoing collaboration call or meeting, and no calendar meetings scheduled within the next `5` minutes.
162
+
- By default, denotes that there is no ongoing collaboration call or meeting, and no calendar meetings scheduled within the configured [`CALENDAR_LOOKAHEAD`](#calendar_lookahead) interval.
162
163
- This is the default *not busy* state. See [`OFF_STATUS`](#off_status) for an explanation of why the calendar `free` status is not included in this list by default, and why you may want to change that.
163
164
164
165
#### `SCHEDULED_STATUS`
165
166
166
167
- Default value: `busy,tentative`
167
-
- By default, denotes that there is no ongoing collaboration call or meeting, but a calendar meeting, that was either accepted or tentatively accepted, is scheduled within the next `5` minutes.
168
+
- By default, denotes that there is no ongoing collaboration call or meeting, but a calendar meeting, that was either accepted or tentatively accepted, is scheduled within the configured [`CALENDAR_LOOKAHEAD`](#calendar_lookahead) interval.
168
169
- This is the default *about to be busy* state.
169
170
170
171
#### `BUSY_STATUS`
@@ -183,7 +184,8 @@ If specificed, requires at least one of the available options. This will control
183
184
- In the case of `outofoffice` and `workingelsewhere`, this is a personal preference. I don't need Status-Light to tell my family that I'm somewhere else; they can see that.
184
185
- In the case of `free`, there are a few reasons why it's in `OFF_STATUS` by default.
185
186
- Typically, if the user is asking for both collaboration and calendar statuses, the user will be `active` (from collaboration) and `free` (from calendar) simultaneously, so `active` will always win.
186
-
- Status-Light makes a determination of `free`/`busy`/`tentative` by checking the user's availability within the next `5` minutes. There is typically no 'off-hours' status in calendaring applications, which means, at the end of the working day, the user is technically `free`. In that instance, the light would be on during off hours, showing the selected [`AVAIALBLE_COLOR`](#available_color). Again, this is a personal preference; I don't want the light on while I'm not at work, and I am using Webex to handle [`AVAILABLE_STATUS`](#available_status).
187
+
- Status-Light makes a determination of `free`/`busy`/`tentative` by checking the user's calendar availability within the configured [`CALENDAR_LOOKAHEAD`](#calendar_lookahead) interval. There is typically no 'off-hours' status in calendaring applications, which means, at the end of the working day, the user is technically `free`. In that instance, the light would be on during off hours, showing the selected [`AVAIALBLE_COLOR`](#available_color). Again, this is a personal preference; I don't want the light on while I'm not at work, and I am using Webex to handle [`AVAILABLE_STATUS`](#available_status).
188
+
- This behavior can be further refined with the [`ACTIVE_*`](#active-times) variables.
187
189
- In the case that no collaboration sources are present in [`SOURCES`](#sources), it is recommended to move `free` to [`AVAILABLE_STATUS`](#available_status), but the caveat above will apply in that scenario: the light may stay on all the time.
188
190
189
191
**Note 1:** Status-Light makes no attempt to handle invalid values in a list. In the case of an error, Status-Light will simply revert to the default value for that list.
@@ -390,6 +392,8 @@ To retrieve your `SLACK_BOT_TOKEN`, see below:
390
392
391
393
### **Office 365**
392
394
395
+
**Note:** See [`CALENDAR_LOOKAHEAD`](#calendar_lookahead) to configure lookahead timing for Calendar sources.
396
+
393
397
#### `O365_APPID`
394
398
395
399
#### `O365_APPSECRET`
@@ -416,6 +420,8 @@ Defines a writable location on disk where the Office 365 tokens are stored. This
416
420
417
421
### **Google**
418
422
423
+
**Note:** See [`CALENDAR_LOOKAHEAD`](#calendar_lookahead) to configure lookahead timing for Calendar sources.
424
+
419
425
#### `GOOGLE_CREDENTIALSTORE`
420
426
421
427
-*Optional, only valid if `google` is present in [`SOURCES`](#sources)*
@@ -480,6 +486,16 @@ A time, in 24-hour format, signifying the start and end of the active hours on a
480
486
481
487
---
482
488
489
+
### `CALENDAR_LOOKAHEAD`
490
+
491
+
-*Optional*
492
+
- Acceptable range: `5`-`60`
493
+
- Default value: `5`
494
+
495
+
Set the number of minutes that Calendar [`SOURCES`](#sources) lookahead to determine free/busy.
0 commit comments