Lets make a button for “sunset” for Yeelight RGB
-
Sign to IFTTT https://ifttt.com/ and set up your Yeelights to work with it.
-
Search for Maker webhooks or go to https://ifttt.com/maker and connect the service
-
Go to https://internal-api.ifttt.com/myrecipes/personal and create recipe. For THIS trigger choose Maker webhooks and choose trigger “Receive a web request”
-
Choose TRIGGER. Here we use trigger sunset
-
For THAT search Yeelight and select color and set it to sunset
and create a recipe. -
Go to https://internal-api.ifttt.com/maker_webhooks There you can see your KEY. Go to “How to trigger events”
-
There put the trigger word to correct field, we used sunset
Copy the URL with your trigger and key. You can also test if the recipe works. -
Go to desktop and create shortcut.
To shortcut field put code:
powershell -Command “(new-object net.webclient).DownloadString(‘http://example.com’)”
and replace example.com address with your url from step 7.
Give a name and it is ready. Right click to icon and select it to run minimized and select better icon. You can create own icon in http://icoconvert.com/ for example.
here is some samples