Google Search

Custom Search

Powered by...

Find us on Facebook

Monday, 24 January 2011

Control your Z-WAVE modules in Media Center - Power Controller MCE

I’ve been testing out some Z-Wave kit recently, for those that don’t know Z-Wave is a home automation protocol / standard, think X10 but its much newer and works on RF signals. For more information about Z-Wave see here.

Initially I was thinking about using Martin Millmore’s Power Controller MCE add-in with Byebye standby equipment which is available in the UK. But I really wanted to try Z-Wave rather than Byebye standby. So I contacted Martin and after this a plan formed and thanks to a generous donation from my friend in Hong Kong (Thanks Tom), I was able to purchase enough Z-Wave equipment for myself and for Martin to test and develop with.

We each had an Aeon Labs Z-Stick with is a USB dongle “When attached to a host processor, it becomes a Z-Wave communication device, which exposes the Zensys API (SerialAPI) through integrated USB.” This basically allows the PC to be able to send commands and receive status updates from the Z-wave devices around your home.

If I was to choose again however I would have purchased a Euro version of the ControlThink ThinkStick USB dongle instead, as this is meant to work much better with software such as mControl and the Melloware Z-Wave Commander iPhone / Android apps. As these use the ControlThink SDK.

One important thing to keep in mind is that US Z-Wave and European Z-Wave products work on different RF frequencies so ensure you are buying the right equipment for your locale.

I also purchased a mixture of Z-Wave Lamp dimmer modules and appliance modules and also an in wall dimmer switch. These were purchased from Z-wave-Products a UK website.

Once Martin had received his test equipment he was able to use an Open-Source Z-Wave SDK rather than the ControlThink one and greatly expand and develop the functionality of Power Controller MCE to include control over Z-Wave devices. I did quite allot of testing on the various software versions that he sent to me and came up with a few ideas as well.


Development is still on-going and Martin is working on updating his Android phone application, but you can find a released version and more information of Power Controller MCE with Z-Wave support on the Millisoft website here.

You can turn devices on and off, dim lights and lamps if they are connected to dimmer modules, you can create Zones like Living Room, Master Bedroom and then group the devices in to the correct rooms. You can create scenes for example All Lights On / Off or dim lights for a Movie scene. Set scheduled events.

One of the best things that you can do which was my idea! Is you can assign keyboard key combinations to Z-Wave devices. So for example I can assign Ctrl+Alt+A to my lamp and it will turn off Ctrl+Alt+B to turn it on Ctrl+Alt+C to dim down and Ctrl+Alt+D to brighten etc.

I can then teach my Logitech Harmony IR remote control these key combinations using a standard MCE 2005 IR keyboard. I added a dummy Lighting Controller device in the Harmony software and assigned my newly taught key combinations to this device. I can then control the lamp with the Infra-Red Harmony remote control! Event better I can insert these key combinations in to activities. For example on my Harmony remote I have a My Movies activity, I added in an IR command to dim the lights 50% so now whenever I enter the My Movies activity the lamps in the lounge auto dim down and if I exit the activity and enter another activity they go to full brightness again.

There is also a WHS add-in for Power Controller MCE, this allows you to install the Z-Wave USB dongle into the home server and then on each Windows 7 Media Center PC you can install the MCE add-in and each one of these PC’s will then be able to control your Z-Wave devices via the USB dongle on the WHS box, Sweet!

If your a Media Center user and taking your first steps in to Home Automation with Z-wave or Byebye standby? Power Controller MCE might be a good place to start. I think over time you would probably want to move on to something more sophisticated like mControl or HomeSeer but it you want simple control over a few Z-wave lighting and appliance modules and to be able to link it in with Media Center and your existing universal remote control then I’d definitely recommend taking a look at Power Controller MCE.

I’d like to thank Martin for his hard work so far coding and also to Tom for his generous donation which has made this possible.


BrianAZ said...

Thanks for the post. I recently started automating my home with Z-Wave using the Vera 2 from MiCasaVerde as my controller. Ideally I'd like something that would interface directly with my controller via IP, but I think this will work for me just the same. Pretty sure I'll be able to continue using the Vera as a controller for scenes but let one of these other apps (Power Controller, mControl,etc) allow changes via the TV/WMC.

Stuart Harrison said...

Hi, yeah I was thinking about maybe purchasing a Vera 2 controller. Is it any good? I think it should be possible to keep Vera as the Primary Controller and have another USB dongle as a secondary and to have it work with something like PowerController MCE.

HomeControl said...

i bought an vera light.. it rulez.
allthough i cannot get the plugin to work as it crashes in wmc and the files for the vera seem to have a error in i_powercontroller.xml the port should be 53107 instead of 53007 and windows 7 useraccountcontrol needs fixed to be able to run the prog on mediacenter