This project is read-only.
Project Description

This is a sample project demonstrating MVVM and "Build for Both" practices using the Philips hue lighting system.

This project served as the demo for the "Build for Both: Writing and Designing for Windows 8 and Windows Phone" presentation at TechEd 2013.

This demo was also used at the Build 2013 session "This App Is Brought to You by MVVM– Hulu Case Study Build"

!!How to use this project
This is a demo project originally presented at TechEd 2013 as a “Build for Both: Windows 8 and Windows Phone” presentation and then at Build 2013 for an MVVM presentation. The goal of this project is to give a concrete example of how one might build an application targeting both Windows 8 (or 8.1) and Windows Phone 8.

This project is not intended to be a how-to on programming the Philips Hue lights. For a wealth of information on the Hue apis, go here While you can piece together how that is done and duplicate it using this project, some things in this project are hard-coded in order to take some of the uncertainty out of the intended demo. This can make this project a little harder to get started, but it also makes it a less fragile solution in front of a live studio audience.

!!Setting up your Hue Lights

Get your Hue lights out and powered up. Then power up your Hue Bridge and connect the bridge to your router. Open up the HueControlViewModel.cs file in the HueDemoPCL project and go to the BridgeIP property (line 50) . If you’re online, this IP address can be found by going to in which I walk through some of the highlights of this demo and you can see it in action.

Last edited Jun 28, 2013 at 5:51 PM by matthiasshapiro, version 3