"Internet of Things" Automation with IFTTT
The Hack Clock can integrate with the automation service IFTTT.com to turn your lights on when your alarm goes off, send out a tweet at the press of a button, or fire up your coffee maker at a given time.
To turn on IFTTT within your toolbox, you will need to use the
Maker service
within IFTTT and have it generate a new webhook key for you. Once you do,
add it to /etc/hack-clock.conf
as in:
"ifttt_maker_key": "sdfafd_aDAKDF_wadfs",
Once you have changed your config file, re-start the hack-clock service to read in the new file. After the restart, you should see the following new block in your toolbox:
This new block allows you to send an "event" message to an IFTTT applet, which in turn can work with an IFTTT integration to cause something to happen. As an example, here is how you can configure an IFTTT applet that switches on an LIFX light on once your alarm sounds: