philips_hue_tutorial
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
philips_hue_tutorial [2017/01/04 02:33] – dwallace | philips_hue_tutorial [2017/01/04 09:58] (current) – dwallace | ||
---|---|---|---|
Line 7: | Line 7: | ||
**Keywords: | **Keywords: | ||
\\ | \\ | ||
+ | \\ \\ | ||
+ | {{ youtube> | ||
+ | \\ \\ | ||
+ | This tutorial is the second part of a series of tutorials on Smart Home development. If you have not yet performed the [[nest_tutorial|Nest Control Tutorial]], please do this first, as this tutorial builds on the knowledge of the previous tutorial. This tutorial serves as a starting point for Philips Hue development using Android. Hue development can also be done with iOS, and many third-party SDKs, but we will not cover these in this tutorial. For more info on those, see the [[https:// | ||
+ | ===== Overview ===== | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | In order to control Hue lights, we simply need to utilize the Hue Android SDK to control our Hue bridge, no other clients or authentication needed. This makes developing for the Hue much easier than a platform such as the Nest or api.ai. | ||
+ | |||
+ | ===== Downloads ===== | ||
+ | |||
+ | First, make sure that you have installed and configured Android Studio as described in the [[nest_tutorial# | ||
+ | |||
+ | The other download that we will need is the [[https:// | ||
+ | |||
+ | ===== Setting up the SDK in Android Studio ===== | ||
+ | |||
+ | Now, we need to import the SDK project into Android Studio. Please follow the same steps as the [[nest_tutorial# | ||
+ | |||
+ | Once you have imported the project, do a clean build to ensure that no errors occur. If so, you should be ready to deploy your app. | ||
+ | |||
+ | ===== Deployment ====== | ||
+ | |||
+ | Now, we will deploy our app with the same method used in the [[nest_tutorial# | ||
+ | |||
+ | ===== Testing ===== | ||
+ | |||
+ | Once you have deployed your app, you are ready to start testing with your Hue bridge and Hue lights. To do this, simply connect to the same WiFi network as the Hue bridge, and start the app. The app will then walk you through the process of pairing the Hue bridge to the app. After this process is done, your app will be paired with that Hue bridge as long as you are connected to the network. | ||
+ | |||
+ | Now, simply use the Random Lights button to change the color of the Hue lights at random. This is ajust a simple sample app that demonstrates the basic functionality of the Hue API. From here, we can then develop our own app to suit our needs. To do this, follow the steps outlined on the [[https:// | ||
+ | |||
+ | |||
+ | For questions, clarifications, |
philips_hue_tutorial.1483526039.txt.gz · Last modified: 2017/01/04 02:33 by dwallace