An example of creating a webhook trigger that toggles anything that can be plugged into an AC outlet
on and off
In this example, we created a webhook trigger to toggle a TP-Link Smart Wi-Fi Plug on and off.
(This example used Model HS100(US), Version 2.0.)
NOTE: You will need a PC/Laptop & the AAC device will need to be connected to a Wi-Fi signal
Creating a toggle trigger with the Manufacturer (TP-Link)
- Go to the website www.IFTTT.com. (This is the Webhook Service Provider that the manufacturer TP-Link uses)
- Click on Sign up (If you already have an account, proceed to step #
- You can sign in using either your Facebook, Google accounts or just click Sign up
- Enter in an email address, password & if you wish to get updates and click Sign up
- You will now see a section where you can choose at least 3 of the more frequently used apps or you can click on the X at the top right to not choose.
- Click on your name/picture at the top right
- Choose Create
- Now, click on the +This
- In the box “Search service” type in Webhooks
- Click on Webhooks
- Choose Connect
- Now, click on Receive a web request
- Enter in a name of the event
- This can be anything you wish to title the Webhook
- Click Create trigger
- Click on +That
- This is a list of apps that can be used with Webhooks.
- In the search services, type in TP-Link Kasa
- Click on TP-Link Kasa
- Click on Connect
- Log in to the TP-Link account to authorize IFTTT to control the device via webhooks
- From this screen, you can choose what you would like to do with TP-Link Kasa.
- Choose Toggle
- On the Complete Action fields screen, do the following:
- Select a device from your account to toggle.
- Click on Create action
- Review what you have created and click on Finish
- Click on My Applets at the top left of the screen
- Tap on Services, then do a search for Webhooks
- Click on Webhooks
- Click on Documentation on the right side
- On this page, you will see some gray areas with boxes
- In the first gray area, in the box with the word {event} in it, type in the name of the event you created. In this example, we used smart_plug, Note: Make sure it is spelled correctly.
- You can then click on Test it, it should say an event has been triggered.
- In the third gray area, you will see a URL.
- Copy everything after POST. Example : https://maker.ifttt.com/trigger/smart_plug/with/key/YUwxhGDRN4L6e6hyzG0ND
- Open a word document and paste it there for safe keeping.
Congratulations, you created a Webhook Trigger, now add it to a button on your AAC device.
Adding the toggle trigger to a button on the AAC device
The easiest way to add the trigger, is to do it on the Chat Editor. You can do it on the AAC device, but keep in mind that the URL has to be entered in exactly. The webhook trigger will only be sent from the device (not the editor).
- Open the Chat editor to the appropriate configuration.
- Open the device user’s custom vocab file to add the webhook trigger to.
- Enter Edit mode and create, or edit, the button you wish to use for the trigger
- Go to actions
- Choose Webhooks from the actions drop down menu & tap Add
- In the URL area, copy and paste the URL you put on the word document from the website
- Click save
- If copied correctly, it will save. If something is not typed correctly in the URL line, the device (or editor) will tell you so you can correct it.
- Once done, click Ok and take the editor out of edit mode.
- Now, the webhook is programmed to a button
- Transfer the custom vocabulary file to a device that is connected to a WiFi signal
- Tap on the webhook trigger button that you created
- The smart outlet will now turn on. Tap on the button again to turn it off.