Skip to content

Instantly share code, notes, and snippets.

@hardillb
Last active September 8, 2020 17:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hardillb/4754527 to your computer and use it in GitHub Desktop.
Save hardillb/4754527 to your computer and use it in GitHub Desktop.
Blink(1)/Digispark+RGB Meeting warning light. A script to find your next appointment in your Google Calendar and change the colour of a your device depending on how much time before it starts. Moving from green at 20min (or more) to red in the last 5 mins before a meeting. The light turns blue for the duration of the meeting.
Add the following your crontab to have the script check your calendar every 5 mins
*/5 * * * * /path/to/icsBlink.py <calendar URL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment