-
-
Notifications
You must be signed in to change notification settings - Fork 102
Use the IFTTT Script w Philips Hue
Erik Bigler edited this page Mar 19, 2018
·
1 revision
This page details how to use the IFTTT script (found here) with Philips Hue.
- Follow the steps on the IFTTT script page to make sure the script is added to your button/command of choice.
- Head over to https://ifttt.com
- Create an account and login, if you haven't already.
- Go to My Applets > New Applet
- Click the blue ✚this button.
- In the searchbox, search for "Webhooks" and select the result that appears.
- Click the Receive a web request trigger (the only option).
- You will see an Event Name text field. Input whatever you want but we recommend using underscores_ instead of spaces. (IE "button_pressed", "change_color", "dim_lights", etc). Remember what you input because you will need it later in Firebot
- Click Create Trigger once you inputted your event name.
- Click the now blue ✚that button.
- In the searchbox, search for "Philips Hue" and select the result.
- If you haven't connected your Philips Hue account to your IFTTT account, you will see a Connect button. Click that. Otherwise, skip to step #14
- Follow the steps in the popup to connect your Philips Hue account to IFTTT.
- Once Hue account is connected, back in IFTTT you can select the Action you want this applet to preform. Select whatever one you want (ie Change Color, Toggle Lights, etc).
- After selecting an Action, select what light and customize the other parameters for the Action (ie light dim level, light color, etc).
- Click Create Action
- Click Finish
- We now need to get your Webhook Key. To do this, go back to My Applets > Services tab.
- Search for "Webhooks" again and select it.
- Click on Settings in the top right corner.
- Under the Account Info section for Webhooks, you will see a URL field. Copy that url into a new tab.
- When the new tab loads, at the top you'll see a big Your key field. We will need that key in Firebot. (If you wanted, you can also test your new applet by typing in the event name you created on step 8 in the {event} box and clicking Test at the bottom.)
- Open up Firebot and go to IFTTT script settings for whatever button or command you put it on.
- For the first setting Insert Event Name here, please input the Event Name that you defined on step #8.
- For the second setting Insert IFTTT Key here, please input the Webhook key in the new tab from step #22.
- Fill out the remaining settings to your liking and save.
- Done! Repeat the steps to make various different actions for different buttons/commands!
Still need help? Come chat with us in the #help channel of our Discord server.