Integrating Homebridge and Siri with IFTTT

After the iOS 10 release, it’s finally possibile to play with Siri and HomeKit!

I installed Homebridge on my Raspberry PI and create some rules to play: control some LED bulbs, check temperature and so on…

But I wanted more! I need to extend to the full features IFTTT!
The good news is that Homebridge support IFTTT with a plugin.

IF you need to install it, go to https://github.com/ilcato/homebridge-ifttt/ and install it:

npm install -g homebridge-ifttt

After then we need to create the configuration, but first we need some preparation.

For make it work properly let’s create a rule on IFTTT.

  1. Enable the Maker Channel
  2. Create a rule:
    • Choose an event name: for example “Speedy
    • Choose an action: for example send email
    • the result should be something like this:
      • If Maker Event “Speedy”, then send an email from user@domain

Now let’s go back to the config.json for the Homebridge and connect IFTTT adding the following code:

{
    "platform": "IFTTT",
    "name": "IFTTT",
    "makerkey": "INSERT YOUR MAKER KEY",
    "accessories": [
         {
          "name": "Speedy Mail",
          "buttons": [
              {
               "caption": "Speedy Mail",
               "trigger": "Speedy"
              }
            ]
          }
       ]
 }

restart Homebridge and you can send email from HomeKit.

 

Author: Mauro

A tech blog

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s