For Raleigh Code Camp this year I thought I’d stay in the realm of IoT, but also bring together some latest and greatest sweetness. So my talk is titled “Hey Cortana, turn on the lights” and is a fun walkthrough of using Cortana, Universal Windows apps on Windows 10, the Azure Service Bus, and the Hue API to control your lighting with your voice.
Here are all the reference articles I used in preparing the talk, and the slides, code, and video will be posted after the event.
http://www.instructables.com/id/Use-RPi-Azure-and-Cortana-to-Automate-your-Home/?ALLSTEPS – this article was my inspiration and provides a good overview of the various elements of this solution. I updated for Windows 10, and did not use a Raspberry Pi (though now with the RPi 2 and Windows 10 IoT Core it would not be that difficult.)
http://talkitbr.com/2015/07/13/integrando-a-cortana-em-seu-aplicativo-windows-10/ – this one is in Portuguese, but still shows how to structure the Voice Command Definition file.
https://dev.windows.com/en-us/speech – the official page for the Speech SDK from Microsoft
https://msdn.microsoft.com/library/windows/apps/xaml/mt185598.aspx – Cortana Interactions – good overview with example for adding VCD to your Windows 10 app
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CortanaVoiceCommand/cs/AdventureWorks/Common – this is a sample project provided by Microsoft. It seemed slightly out of date, but was a good reference.
https://www.visualstudio.com/products/visual-studio-community-vs – Download page for Visual Studio 2015 Community edition. You need VS2015 to do universal app development
http://www.developers.meethue.com/ – the Phillips Hue developer site. To get access to the full API docs you’ll need to register, but they have a getting started page here as well.
https://github.com/Q42/Q42.HueApi– a .NET wrapper for the Hue API. I didn’t use this directly, but modeled my own wrapper after it, and found it helpful for some of the JSON handling.
https://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-topics-subscriptions/ – article with code samples for interacting with the Azure Service Bus as a publish and subscriber
http://blogs.recneps.org/post/Raspberry-Pi2-Iot-Core-and-Azure-Service-Bus – example of using the Service Bus REST api since the full SDK is not yet available for Windows 10
https://msdn.microsoft.com/en-us/library/azure/hh690922.aspx – how to send messages using REST to the Service bus queue
https://azure.microsoft.com/en-us/documentation/articles/service-bus-queues-topics-subscriptions/ – another overview of the Service Bus with code samples