House.Robot is an experimental project using Microsoft Robotics Studio for home automation. Check out the accompanying article at http://blogs.msdn.com/coding4fun/.
Microsoft Robotics Developer Studio models robots as entities that are composed of sensors and actuators. By viewing an automated house as an entity that is composed of sensors (motion detectors, contact switches, temperature sensors, etc.) and actuators (lights, door locks, HVAC, etc.) we can apply the Microsoft Robotics model to the domain of home automation. To learn more about Microsoft Robotics Developer Studio and the Decentralized Software Services Model visit: http://msdn.microsoft.com/en-us/robotics/default.aspx.
This project contains DSS services to monitor and control an Elk M1G security and automation controller as well as Z-Wave lights using the ControlThink Z-Wave SDK. You can also program using the SimulatedDimmer service if you don’t have Z-Wave lights, and you can run the Elk service in a simulated mode. There is also a simple EmailSender service so that the automated house can send emails or SMS messages.
In order to compile the code in this project, you will need to do the following:
- Install Microsoft Robotics Developer Studio 2008 CTP April.
- Run the DssProjectMigration command line utility to convert the project paths to match your installation.
- For the Z-Wave service, you will need a copy of the ControlThink Z-Wave PC SDK.
- The Elk M1G services can be run in a simulated mode with a slight modification to the code. Look for the comment //ELK: Comment out the line below to run in simulated mode in the Elk.cs file.