Author Topic: Z-Wave vs X10?  (Read 14723 times)

bp5

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Z-Wave vs X10?
« on: August 16, 2010, 01:37:28 pm »
OK, I've spent a week getting my head around as much of LMCE as I can, I've set up a couple of MDs (using lightweight orbiter UI, but I've ordered a graphics card that will hopefully let me use UI2), got a USB remote working and media playing in different rooms. I'm now ready to dip my toe in the Home Automation water. I've read the wiki and the forum entries and browsed a couple of UK home automation etailers (http://www.letsautomate.com and http://www.uk-automation.co.uk) and still can't figure out which way to go. Here is what I do know:

X10 devices are cheaper, but for security sensors you need wireless as well as mains electrical. This means you need a standard CM10/11 serial interface for the computer to control the X10 stuff plus something to grab the wireless signals and translate them to the electrical wires to get to the computer like TM571. The combined CM15 device does both but seems to not be stable according to what I have read on the forums.  It also looks like X10 is harder to setup and signals can be lost when sending across mains electrical. Is X10 that hard to setup?

Z-Wave devices seem to be more expensive but easier to setup, but I can't figure out what the minimal starting point is. The UK home automation sites suggest that just having a PC serial to Z-wave interface like ZWave ZCU201 (like this http://www.letsautomate.com/12434.cfm?) will also need a Z-wave remote control (like thishttp://www.letsautomate.com/11109.cfm?) in order to setup all the devices like a motion or door sensor.  But reading the wiki it sounds like I can get by with just a Z-Wave USB stick like this http://www.letsautomate.com/12799.cfm? to setup all the z-wave devices and have the LMCE PC control them, is that right?

If someone can enlighten me I'll gladly try it out then write a wiki entry on easy entry to LMCE home automation.

cheers,
Blaine

pw_ktp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Z-Wave vs X10?
« Reply #1 on: August 16, 2010, 03:20:30 pm »
OK, I've spent a week getting my head around as much of LinuxMCE as I can, I've set up a couple of MDs (using lightweight orbiter UI, but I've ordered a graphics card that will hopefully let me use UI2), got a USB remote working and media playing in different rooms. I'm now ready to dip my toe in the Home Automation water. I've read the wiki and the forum entries and browsed a couple of UK home automation etailers (http://www.letsautomate.com and http://www.uk-automation.co.uk) and still can't figure out which way to go. Here is what I do know:

X10 devices are cheaper, but for security sensors you need wireless as well as mains electrical. This means you need a standard CM10/11 serial interface for the computer to control the X10 stuff plus something to grab the wireless signals and translate them to the electrical wires to get to the computer like TM571. The combined CM15 device does both but seems to not be stable according to what I have read on the forums.  It also looks like X10 is harder to setup and signals can be lost when sending across mains electrical. Is X10 that hard to setup?

Z-Wave devices seem to be more expensive but easier to setup, but I can't figure out what the minimal starting point is. The UK home automation sites suggest that just having a PC serial to Z-wave interface like ZWave ZCU201 (like this http://www.letsautomate.com/12434.cfm?) will also need a Z-wave remote control (like thishttp://www.letsautomate.com/11109.cfm?) in order to setup all the devices like a motion or door sensor.  But reading the wiki it sounds like I can get by with just a Z-Wave USB stick like this http://www.letsautomate.com/12799.cfm? to setup all the z-wave devices and have the LinuxMCE PC control them, is that right?

If someone can enlighten me I'll gladly try it out then write a wiki entry on easy entry to LinuxMCE home automation.

cheers,
Blaine

I i'd thought i'd sure share some noobie thoughts as I have bought kit from those sites you mentioned. I have picked Z-Wave for similar reasons and have installed 6 Z-Wave light switches (ZDW232) and am using the Aeon Labs Z-Wave Stick.

Its easy with the stick - you just press the button on the stick wait for a flashing blue light and press the light switch to include it.  Then when plugged into your LinuxMCE it will detect all lights included, and go through a lighting wizard to name and locate them.

Once you have done that you can turn them on and off ! no need for a separate controller.

I'm actually trying to figure out how to control using Perl, or the command line. I've found a Ruby gem (derailed-rhouse) but cant seem to get it working . Am looking into the RPC-plugin too for control over HTTP. As this is all new, and my programming skills (mainly Java, Perl) are a bit rusty, all this is abit steep.!

Im actually tempted to try out X10 with MisterHouse as it is based around Perl, I need to be control a heater for a project i am working on.

They way I see it , as that nowadays LinuxMCE is more associated with Z-Wave as it has the driver already built in - and for free!

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1402
  • If it ain't broke, tweak it
    • View Profile
Re: Z-Wave vs X10?
« Reply #2 on: August 16, 2010, 03:42:29 pm »
OK, I've spent a week getting my head around as much of LinuxMCE as I can, I've set up a couple of MDs (using lightweight orbiter UI, but I've ordered a graphics card that will hopefully let me use UI2), got a USB remote working and media playing in different rooms. I'm now ready to dip my toe in the Home Automation water. I've read the wiki and the forum entries and browsed a couple of UK home automation etailers (http://www.letsautomate.com and http://www.uk-automation.co.uk) and still can't figure out which way to go. Here is what I do know:

X10 devices are cheaper, but for security sensors you need wireless as well as mains electrical. This means you need a standard CM10/11 serial interface for the computer to control the X10 stuff plus something to grab the wireless signals and translate them to the electrical wires to get to the computer like TM571. The combined CM15 device does both but seems to not be stable according to what I have read on the forums.  It also looks like X10 is harder to setup and signals can be lost when sending across mains electrical. Is X10 that hard to setup?

Z-Wave devices seem to be more expensive but easier to setup, but I can't figure out what the minimal starting point is. The UK home automation sites suggest that just having a PC serial to Z-wave interface like ZWave ZCU201 (like this http://www.letsautomate.com/12434.cfm?) will also need a Z-wave remote control (like thishttp://www.letsautomate.com/11109.cfm?) in order to setup all the devices like a motion or door sensor.  But reading the wiki it sounds like I can get by with just a Z-Wave USB stick like this http://www.letsautomate.com/12799.cfm? to setup all the z-wave devices and have the LinuxMCE PC control them, is that right?

If someone can enlighten me I'll gladly try it out then write a wiki entry on easy entry to LinuxMCE home automation.

cheers,
Blaine

It is true that the two methods have their pros and cons.... so why not use both? I would say that z-wave is a good place to start though, for the reasons you mention. If you find something later that you really want that only works on X10, then look at adding X10 capability. Everything is beautifully intertwined - your security system can be spread across both z-wave and X10 networks for example, and the various elements will still be able to interact with eachother.

FYI I have the Aeon labs/MCV stick myself, and it works very well in my experience.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave vs X10?
« Reply #3 on: August 16, 2010, 03:58:29 pm »
when you use the aeon labs stick instead of a "regular" stick/remote combo, you need to manually do the associations for sensors. Otherwise you will not get wake up/sensor tripped events and such
rock your home - http://www.agocontrol.com home automation

pw_ktp

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Z-Wave vs X10?
« Reply #4 on: August 16, 2010, 04:05:50 pm »
when you use the aeon labs stick instead of a "regular" stick/remote combo, you need to manually do the associations for sensors. Otherwise you will not get wake up/sensor tripped events and such

Hi hari - could you elaborate further as your comment is ringing bells with me now - I never got my HSM-100 to work i.e. trip with motion events to turn on lights - how i can i manually do the associations??

thanks,

purps

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1402
  • If it ain't broke, tweak it
    • View Profile
Re: Z-Wave vs X10?
« Reply #5 on: August 16, 2010, 04:11:25 pm »
when you use the aeon labs stick instead of a "regular" stick/remote combo, you need to manually do the associations for sensors. Otherwise you will not get wake up/sensor tripped events and such

Hi hari - could you elaborate further as your comment is ringing bells with me now - I never got my HSM-100 to work i.e. trip with motion events to turn on lights - how i can i manually do the associations??

thanks,

Bells are also ringing here - is this why the lights don't automatically dim when I insert a DVD, and had to add the event myself? Is it specifically "events" that you are talking about hari?
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Z-Wave vs X10?
« Reply #6 on: August 16, 2010, 05:20:28 pm »
when you use the aeon labs stick instead of a "regular" stick/remote combo, you need to manually do the associations for sensors. Otherwise you will not get wake up/sensor tripped events and such

Hi hari - could you elaborate further as your comment is ringing bells with me now - I never got my HSM-100 to work i.e. trip with motion events to turn on lights - how i can i manually do the associations??

thanks,

Look at this Wiki page; http://wiki.linuxmce.org/index.php/ZWave for details of the recommended SUC/SIS mode and the use of regular stick/remote combos.

All the best


Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

bp5

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Re: Z-Wave vs X10?
« Reply #7 on: August 19, 2010, 11:46:49 am »
OK, I bought an Aeon USB Z-Wave Stick and a ZIR010 Z-Wave PIR.  Following the instructions in the wiki, I put the batteries in the PIR, pressed the button on the stick, blue light started blinking, pressed the bind button on the PIR, blue light went solid for a while, then back to blinking. So I assume the PIR is now bound to the stick. I took the stick to the core and plugged it in, it was recognized and the wizard did all kinds of magic and asked me to name the sensor but it also put up a message about an error.

The device tree entry for what I think is the sensor looks like this:


I can see Registered says No and State is OFF/0.

The Device data says
Port/Channel Number 2
InputOrOutput 2
DefaultState 0
EK_AlertType 1

In the Security Wizard, the only active sensors that show up are the IP cameras.

Can anyone tell me how I tell if the sensor is really added and working and how I can get it to appear as a sensor in the security wizard so I can set a security breach condition when the sensor trips while the security setting is armed?

thanks,
Blaine


hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave vs X10?
« Reply #8 on: August 19, 2010, 11:51:06 am »
wow, something went really wrong here.. the device template says "Datagrid Plugin"...

it is also not a child device of the z-wave interface.. did you tweak anything manually or is this all the work of the wizard?
rock your home - http://www.agocontrol.com home automation

bp5

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Re: Z-Wave vs X10?
« Reply #9 on: August 19, 2010, 12:27:03 pm »
wow, something went really wrong here.. the device template says "Datagrid Plugin"...

it is also not a child device of the z-wave interface.. did you tweak anything manually or is this all the work of the wizard?


The wizard did leave it as a Datagrid pluging, but I when I saw the "Device Controlled by" was not set to anything I did change it thinking the wizard had not set it (it was a child of the Z-wave controller before that).

Should I delete this sensor, the Z-Wave device and its 3 children and try plugging in the stick again?

Blaine

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Z-Wave vs X10?
« Reply #10 on: August 19, 2010, 12:29:24 pm »
yeah
rock your home - http://www.agocontrol.com home automation

bp5

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Re: Z-Wave vs X10?
« Reply #11 on: August 19, 2010, 03:54:14 pm »
So I deleted the orphan generic sensor, then all the children of Z-Wave, then Z-Wave itself, look at the device tree to make sure they were all gone, rebooted, plugged in the stick again and the wizard seemed to just do its thing without complaining (although it seemed to add the PIR as a lighting controller, possibly becuase that is the default mode for this PIR). Everything looks mostly sensible and I can see a Generic Sensor in the right place, but now there are two:



and two Z-Wave controllers. One sensor has the same device number as the one I deleted, so perhaps it didn't really delete (and a controller as well)? Should I perhaps delete the lower (original) numbered generic sensor?

Assuming this is now as it is supposed to look and I can figure out which of the sensors is really my PIR, how do I configure it as a security PIR, that is, to trigger a security alert when the security status is armed?  I can see the matrix in the Wizard->Security->Active Sensors page and I can see I can set a Sensor to "Security", which I assume means that in the given mode when the sensor triggers it generates a "Security" event, but how do I specify what to do when that event happens?

Blaine

bp5

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Help with Z-Wave PIR (was Re: Z-Wave vs X10?)
« Reply #12 on: August 22, 2010, 11:19:44 pm »
Can anyone out there give me a clue as to how to test if my Z-Wave PIR is working? Just a simple test to see if I can trigger an event with the PIR detects movement would be great...

thanks,
Blaine

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Help with Z-Wave PIR (was Re: Z-Wave vs X10?)
« Reply #13 on: August 23, 2010, 12:06:41 pm »
Can anyone out there give me a clue as to how to test if my Z-Wave PIR is working? Just a simple test to see if I can trigger an event with the PIR detects movement would be great...

thanks,
Blaine

Create an association between a light (or group of lights) and your PIR using an inclusion controller. Wait for the PIR to come our of configuration mode and then test to see if it triggers the associated light to 'On' when it detects motion and also whether it sends an 'Off' to the associated light(s) when it reverts back to its 'un-triggered' state.

If the above works you can then use the Respond to Events Wizard (Click 'Respond to Events' in the Wizard menu in the lefh hand margin of the Web Admin) to setup a custom Event handler - eg no motion in Room after say 5 minutes power off all MD's, TV's, Amplifiers etc etc & Lights.

All the best


Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

bp5

  • Regular Poster
  • **
  • Posts: 45
    • View Profile
Re: Z-Wave vs X10?
« Reply #14 on: August 23, 2010, 05:45:15 pm »
Thanks for the reply Andrew. Sadly, I don't have any lighting controllers yet as I wanted to make sure I could get on with Z-Wave before investing in lots of kit. I have the Zeon stick with built-in inclusion conroller and I'm pretty sure it has sucessfully associated with the PIR (a HomePro ZIR 010). I'm just not sure that LMCE getting anything from the PIR. I looked at the wiki page for this PIR http://wiki.linuxmce.org/index.php/ACT_Homepro_ZIR010 and it talks about setting the device configuration with parameter #17 but I can't tell how to set the parameter, nor do I know what groups it is talking about when it says the PIR sends ON/OFF, UPDATE, or alarm to group 1, 2, or 3.  Can you enlighten me?  I've looked in /var/log/pluto/170_ZWave.log and I see this:
Code: [Select]
== ATTEMPT FRESH START ==
1       08/23/10 13:35:17       /usr/pluto/bin/Spawn_Device.sh 170 (spawning-dev
ice)    27780 Dev: 170; Already Running list: 15,16,18,19,28,126,
== FRESH START ==
1       08/23/10 13:35:17       /usr/pluto/bin/Spawn_Device.sh 170 (spawning-dev
ice)    device: 170 ip: localhost cmd_line: ZWave
0       08/23/10 13:35:17       170 (spawning-device)   Entering 170
========== NEW LOG SECTION ==========
1       08/23/10 13:35:17       170 (spawning-device)   Starting... 1

1       08/23/10 13:35:17       170 (spawning-device)   Found /usr/pluto/b
in/ZWave
05      08/23/10 13:35:18.213           Creating child 171 <0xb716e6c0>
05      08/23/10 13:35:18.213           Note: Device manager has attached
a device of type 1820 that this has no custom event handler for.  It will not fi
re events. <0xb716e6c0>
05      08/23/10 13:35:18.213           Note: Device manager has attached
a device of type 1820 that this has no custom handler for.  This is normal for I
R. <0xb716e6c0>
05      08/23/10 13:35:18.213           Creating child 172 <0xb716e6c0>
05      08/23/10 13:35:18.213           Note: Device manager has attached
a device of type 1922 that this has no custom event handler for.  It will not fi
re events. <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1922 that this has no custom handler for.  This is normal for I
R. <0xb716e6c0>
05      08/23/10 13:35:18.214           Creating child 174 <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1813 that this has no custom event handler for.  It will not fi
re events. <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1813 that this has no custom handler for.  This is normal for I
R. <0xb716e6c0>
05      08/23/10 13:35:18.214           Creating child 176 <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1813 that this has no custom event handler for.  It will not fi
re events. <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1813 that this has no custom handler for.  This is normal for I
R. <0xb716e6c0>
05      08/23/10 13:35:18.214           Creating child 173 <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1945 that this has no custom event handler for.  It will not fi
re events. <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1945 that this has no custom handler for.  This is normal for I
R. <0xb716e6c0>
05      08/23/10 13:35:18.214           Creating child 175 <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1945 that this has no custom event handler for.  It will not fi
re events. <0xb716e6c0>
05      08/23/10 13:35:18.214           Note: Device manager has attached
a device of type 1945 that this has no custom handler for.  This is normal for I
R. <0xb716e6c0>
05      08/23/10 13:35:21.310           No callback received: await_callba
ck: 158050660 timer: 31 <0xb716db90>
05      08/23/10 13:35:21.519           Got reply to ZW_MEMORY_GET_ID, Hom
e id: 0x000162e3, our node id: 1 <0xb716db90>
05      08/23/10 13:35:21.735           Got reply to GET_SUC_NODE_ID, node
: 1 <0xb716db90>
05      08/23/10 13:35:22.096           Finished building node list: <0
xb716db90>
05      08/23/10 13:35:22.096           Node: 1 basic: 0x2 generic: 0x2 sp
ecific: 0x1 pluto: 1945 <0xb716db90>
05      08/23/10 13:35:22.096           Node: 2 basic: 0x4 generic: 0x20 s
pecific: 0x1 pluto: 1813 <0xb716db90>

The two generic sensors that show up under the ZWave security interface are devices 174 and 176 with device template 1813 which appear in the list above but the log message suggests that with no custom event handler it will not fire events.  This, combined with the fact that this PIR comes up as two Generic Sensors, suggests that something is not right. Any clues as to where I can look next?

Blaine