14 Is Your Robot Looking At My Hinie?
Mark and Clark talk about doing home automation using Z-Wave and MS Robotics Studio. Clark wants to turn his house into a robot and they talk about how to get started with home automation. Tips and tricks include quickly changing editor font size in Visual Studio 08 - great support for code demos. Woopra web site analytics are also discussed.
Episode 14 - Home Automation
Clark has been researching home automation and wireless control. The 3 technologies we talk about are:
- Most Expensive
- Newest of the 3
- Uses a control stick to transmit to the peer to peer Z-Wave network
- Managed Z-wave .NET SDK available through ControlThink
Mark has had some experience with Microsoft Robotics Studio so we talked about the possibility of using it to turn your house into a robot (home automation).
There are two main components that everything else is built upon. The CCR (Concurrency and Control Runtime) and the DSS (Decentralized Software Services). The CCR provides the base multi-threaded messaging system and the DSS manages the creation and communication of the services.
Example Robots/Controllers that I've played around with that can use the Robotics Studio:
- CocoonTech.com - Active Z-Wave Forum
- ControlThink.com - Managed Library for creating .NET Z-Wave applications, USB Dongles,
- ThinkEssentials (Z-Wave device control client - if you don't want to write your own software)
- Leviton - Owns ControlThink, lighting controls, Forum
- SmartHome.com - wide array of smarthome products
- ASIHome.com - Z-Wave Products
Tips and Tricks
Use simple key combinations to increase or decrease the font size in the Visual Studio 2008 editor.
This is useful when giving demonstrations where you need to get down and dirty in the code. When you display your code, and need to quickly increase the font size for easier viewing then do these steps to set things up ahead of time:
In the menu, go to "Tools/Options.", then "Environment/Keyboard". In the "Show Commands Containing" textbox type in "FontSize" and you should see three entries in a selection box.
"DecreaseTextEditorFontSize" and "IncreaseTextEditorFontSize" are pretty obvious what they will do whereas "UpdateTextEditorFontSizeToMatchDisplayProperties" is a little obscure but it will reset the font size to its normal setting.
Click in the "Press shortcut keys:" textbox - you can then enter key combinations and assign them to the selected commands. For example, select/click on "IncreaseTextEditorFontSize", then click in the "Press shortcut keys:" textbox and type the Ctrl+Shift+UpArrow keys. Then when you click the "Assign" button it will save that combo. Do the same with "Decrease" and Ctrl+Shift+DownArrow. And then do the same with "Update.ToMatch" and Ctrl+Shift+RightArrow - or any combination you decide makes sense.
You will then be able to talk and quickly and easily increase/decrease the font size.
Hey, let us know what you're thinking. Ideas, experiences, examples, questions, whatever! ping us at: firstname.lastname@example.org