Philips Hue Applescript Controller
By Nick Hallowell
Step 1: Download App here: http://www.mediafire.com/?q9qav4str3r441l
Step 2:
- Pick a username that you'll use to connect to your Hue device, and make a MD5 hash of it. You can either google it or type
md5 -s *your username*
in a terminal. Save this hash for the next steps. - Install resty or a similar tool to make HTTP requests. I'll let you go check out the instructions on that page, but it amounts to downloading resty with
curl
and then sourcing it withsource resty
so that you can use it. - Press the link button on your Hue bridge.
- Make a POST HTTP request to http://*YourHueHubIP*/api with the data:
{"username": "YourMD5Hash", "devicetype": "SiriProxyHue"}
. Using resty I first set the base URL to this address withresty http://10.0.1.16/api
andPOST '{"username": "YourMD5Hash", "devicetype": "SiriProxyHue"}'
to send the request. You should get a response like{"success":{"username":"YourMD5HashFromBefore"}}
- Store this MD5 hash and Ip Address somewhere you can access it easily.
Step 3: Open the app you downloaded and hit configure.
Step 4: First type in your Ip Address then the MD5 Hash you generated.
Step 5: Enjoy
Please Comment and let me know how it works, or if you have any problems or suggestions.
No comments:
Post a Comment