Skip to content

Instantly share code, notes, and snippets.

@robotsandcake
Created August 15, 2017 09:51
Show Gist options
  • Save robotsandcake/1221af7369349ae505d06f696e9c4429 to your computer and use it in GitHub Desktop.
Save robotsandcake/1221af7369349ae505d06f696e9c4429 to your computer and use it in GitHub Desktop.
When run, this small piece of AppleScript will flash every LIFX lightbulb in the house red as part of an IF recipe.
-- This sends an event to the Maker IFTTT channel, replace red_flash with
-- whatever you like but make sure that URL is saying wherever you use it.
set theURL to "https://maker.ifttt.com/trigger/red_flash_all/with/key/YOUR_SECRET_KEY"
do shell script "curl " & quoted form of theURL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment