LinuxMCE Forums

General => Users => Topic started by: mythtified on October 11, 2009, 05:38:56 am

Title: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 11, 2009, 05:38:56 am
Can this be done?  I have triggered on a Zwave light with an X10 motion or X10 remote by setting up an event.  I try to set up a similar event by using a Zwave light as the trigger when it is manually turned on at the switch but it does not work.  The software indicates that the Zwave light is on but no event is triggered when the light is turned on.  I have tried this in 0810 and with 0710 with the newer Zwave driver.  I am currently using 0710. 
Title: Re: Turning on a Zwave light with another Zwave light
Post by: totallymaxed on October 11, 2009, 09:45:05 am
Can this be done?  I have triggered on a Zwave light with an X10 motion or X10 remote by setting up an event.  I try to set up a similar event by using a Zwave light as the trigger when it is manually turned on at the switch but it does not work.  The software indicates that the Zwave light is on but no event is triggered when the light is turned on.  I have tried this in 0810 and with 0710 with the newer Zwave driver.  I am currently using 0710. 

You need to associate the light switch with the load controller for that to work. Use the instructions that came with your modules to achieve this.

All the best

Andrew
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 11, 2009, 05:25:36 pm
Thx for the reply.  By load controller you mean the device that allows linuxmce to talk to zwave devices?  In my case it is a micasaverde dongle only connected to a usb port.  Instructions were non-existent with that.  From what I can tell I can only enroll the zwave devices with that.  Can this dongle be used in the manner you suggest?
Title: Re: Turning on a Zwave light with another Zwave light
Post by: totallymaxed on October 11, 2009, 06:01:27 pm
Thx for the reply.  By load controller you mean the device that allows linuxmce to talk to zwave devices?  In my case it is a micasaverde dongle only connected to a usb port.  Instructions were non-existent with that.  From what I can tell I can only enroll the zwave devices with that.  Can this dongle be used in the manner you suggest?


Load controller is the device that actually controls the load ie turns the light on/off ot fades it up/down. The Micasaverde stick is a secondary controller it does not actually control any electrical loads directly at all.

Andrew
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 11, 2009, 08:58:29 pm
After I posted again it dawned on me that was probably what it was.  Now a last question: (I hope) I gather that the commands are sent from linuxmce to the load controller to accomplish what I want to do.  Could you point me to the part of the wiki that explains this procedure or at least a search term that would yield good results?  In any case I appreciate the answers you have given me.

I guess playing with send command to device link of the Zwave interface can be a bad thing.  I managed to reset the device and blew away my lights.   :'(  Fortunately I only have 5 Zwave lights and they were easily re-inserted.   ;D 
Title: Re: Turning on a Zwave light with another Zwave light
Post by: totallymaxed on October 12, 2009, 10:23:48 am
After I posted again it dawned on me that was probably what it was.  Now a last question: (I hope) I gather that the commands are sent from linuxmce to the load controller to accomplish what I want to do.  Could you point me to the part of the wiki that explains this procedure or at least a search term that would yield good results?  In any case I appreciate the answers you have given me.

I guess playing with send command to device link of the Zwave interface can be a bad thing.  I managed to reset the device and blew away my lights.   :'(  Fortunately I only have 5 Zwave lights and they were easily re-inserted.   ;D 

Try here; http://wiki.linuxmce.com/index.php/Z-Wave (http://wiki.linuxmce.com/index.php/Z-Wave)

Andrew
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 12, 2009, 12:26:37 pm
That was one of the first pages I found in the wiki.  It does not really address what I want to do.  That page gives a general overview of zwave, shows compatible controllers, and then goes on to talk about using an external zwave controller to include/exclude devices in linuxmce.  With that controller you could associate zwave devices in the manner that I would want.  Also you could conceivably turn off the linuxmce box at that time and use the controller independently to control the zwave lights.  The problem is I don't have that kind of controller.  As I said before I have the micasaverde dongle plugged into my linuxmce computer.  This is how I include/exclude/control my zwave lights.  I consider linuxmce as my controller.  In the zwave interface advanced screen there is a link to send command to a device.  When that is clicked a new window opens with a drop down box that has several options of commands that can be sent to the interface.  So far I have been unable to find information on how to use that.  A couple of commands in the drop down that look promising are, "Set an Association" and "Send Command to Child Device."  Unfortunately, doing a search on either of those commands does not yield the results I am looking for.  The search function of the wiki seems to break up my search term into individual words and display results for those. 

Do you know if the Send Command to a Device would work?  Any direction as to find instruction for this advanced function?

Again thx for taking the time

Larry
Title: Re: Turning on a Zwave light with another Zwave light
Post by: totallymaxed on October 12, 2009, 02:25:46 pm
That was one of the first pages I found in the wiki.  It does not really address what I want to do.  That page gives a general overview of zwave, shows compatible controllers, and then goes on to talk about using an external zwave controller to include/exclude devices in linuxmce.  With that controller you could associate zwave devices in the manner that I would want.  Also you could conceivably turn off the linuxmce box at that time and use the controller independently to control the zwave lights.  The problem is I don't have that kind of controller.  As I said before I have the micasaverde dongle plugged into my linuxmce computer.  This is how I include/exclude/control my zwave lights.  I consider linuxmce as my controller.  In the zwave interface advanced screen there is a link to send command to a device.  When that is clicked a new window opens with a drop down box that has several options of commands that can be sent to the interface.  So far I have been unable to find information on how to use that.  A couple of commands in the drop down that look promising are, "Set an Association" and "Send Command to Child Device."  Unfortunately, doing a search on either of those commands does not yield the results I am looking for.  The search function of the wiki seems to break up my search term into individual words and display results for those. 

Do you know if the Send Command to a Device would work?  Any direction as to find instruction for this advanced function?

Again thx for taking the time

Larry


Well as far as I know you would use the Micasaverde stick to include all of your devices (as you would with any other inclusion controller) and then plug it into a usb port on the Core (or any of your MD's) and then LinuxMCE should detect it and the Lighting Wizard should automatically start. You then just follow the prompts for the Lighting Wizard to add the included lights to your LinuxMCE system....then when the Wizard if complete do a reload router...place you lights on your lighting floorplan in Web Admin...and do a Regen All...and your all set.

All the best

Andrew
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 12, 2009, 05:01:46 pm

You need to associate the light switch with the load controller for that to work. Use the instructions that came with your modules to achieve this.

All the best

Andrew

 ;D  Which brings me back to my original post.  I understand the basics.  I have included my zwave lights with the dongle and linuxmce picks them up wonderfully.  In order to associate two zwave lights together so that when one comes on the other comes on too, I would need a controller, according to the directions that come with my switches(load controller) similar to the one described in the link you provided me.  The micasaverde dongle does not have the ability to associate devices since it only includes/excludes zwave devices for linuxmce.  So my question is, can linuxmce be considered the controller in this case?  Can linuxmce provide the mechanism to associate lighting devices?

Larry
Title: Re: Turning on a Zwave light with another Zwave light
Post by: totallymaxed on October 12, 2009, 05:53:46 pm

You need to associate the light switch with the load controller for that to work. Use the instructions that came with your modules to achieve this.

All the best

Andrew

 ;D  Which brings me back to my original post.  I understand the basics.  I have included my zwave lights with the dongle and linuxmce picks them up wonderfully.  In order to associate two zwave lights together so that when one comes on the other comes on too, I would need a controller, according to the directions that come with my switches(load controller) similar to the one described in the link you provided me.  The micasaverde dongle does not have the ability to associate devices since it only includes/excludes zwave devices for linuxmce.  So my question is, can linuxmce be considered the controller in this case?  Can linuxmce provide the mechanism to associate lighting devices?

Larry

The association is between the 'wall switch' and the load controller (ie the ZWave device actually controlling the power in the circuit). You can setup those associations by following the instructions provided with those devices. Merten & ACT wall switches and load controllers, for example, have instructions for setting up associations in their instruction booklets.

All the best

Andrew
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 12, 2009, 06:21:41 pm
I hope I am not trying your patience yet.   ;D Sometimes it takes me a while but I eventually get there.  By reading what you wrote, you are implying that the switch is seperate item from a load controller.  Could you define what you mean by switch for me?  I associate a switch and a load controller as one unit.  Like the ACTZRW103.  The directions for that say that if you are using a ZTH100 controller refer to the Setup Menu, Association section which implies to me that it requires a controller of some sort to set up the association for the zwave device.  Thx for the help.  I will see if I can download the manual for the ZTH100 to get some insight as to how this may be accomplished
Title: Re: Turning on a Zwave light with another Zwave light
Post by: totallymaxed on October 12, 2009, 06:43:50 pm
I hope I am not trying your patience yet.   ;D Sometimes it takes me a while but I eventually get there.  By reading what you wrote, you are implying that the switch is seperate item from a load controller.  Could you define what you mean by switch for me?  I associate a switch and a load controller as one unit.  Like the ACTZRW103.  The directions for that say that if you are using a ZTH100 controller refer to the Setup Menu, Association section which implies to me that it requires a controller of some sort to set up the association for the zwave device.  Thx for the help.  I will see if I can download the manual for the ZTH100 to get some insight as to how this may be accomplished

:-)...

Well if you are using an ACT ZRW103 then you have a combined wall switch & load controller. If you include the ZRW103 to your Micasaverde dongle then your all done - just plug the stick into your Core or an MD and it will be detected etc. However the ZRW103 can also be used to remotely control two other load controllers (ie another two ZRW103's or other ZWave load controllers). If you want to remotely control these other load controllers with your ZRW103 (by double tapping the paddle for example) then you need to associate it with the load controller in question by following the association instructions provided by ACT. After making all the associations...you then include all the load controllers to your Micasaverse stick...and then plug it into your Core or an MD.

All the best

Andrew

Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 14, 2009, 06:59:47 pm
Ok I did it through LMCE.  Log on to the lmce admin web page.  On the left side of the page under Wizard, click interfaces.  In the main part of the page, select Advanced for the Zwave interface.  When that page displays, click Send command to a device link.   A new window opens.  Click on the drop down box and select Set Association.  Enter the necessary indicated information and click send message.  As long as the switch/load controller you choose to set associations with has the capability to do associations you will be able to control up to X number of Zwave lights.  The ZRW103 can associate up to 5 devices into two association groups that can be used, group 2 and group 3.  It works well.  I really wanted the light switch in the garage to do this but it does not have that capability.  I guess I will buy a switch/load controller that does.

Thx for your responses.  They were a great help.
Title: Re: Turning on a Zwave light with another Zwave light
Post by: tschak909 on October 14, 2009, 07:41:46 pm
looks like we need to extend the lights wizard page to deal with associations. Any takers?


-Thom

Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 14, 2009, 11:10:59 pm
What can I do to help?  I am not a programmer.  Does the wizard page really need to be updated?  This I would consider to be advanced functionality which places this right where it needs to be.  If you don't mind my opinion, what is lacking in some cases is documentation, mainly in the advanced pages.  I figured this out by playing with it ( which included removing my zwave lights from the dongle by not understanding what a reset could do to me) and speaking to totallymaxed.  He pointed me in the direction of exploring associations. 

Because I do not fully understand all of the different fields in the different advanced sections and not being able to find that information in the wiki, I am not able to fully utilize the system.  I have, on several occasions, found it easier to reload/reinstall the system after making a change somewhere that broke something somewhere else. 

I would love to be able to set up an advance event that would turn on a zwave light based on whether another zwave light is on or not.  I know from posts I have read that it isn't implemented, but I look at the logs and can see the nodes that are on.  I keep thinking if I can see it in the log and the orbiter shows that it is on by changing color and displaying the word ON I should be able to set a condition that takes advantage of that. 

What I can do is try to write something up in the wiki, unless it is already there and I missed it, that describes what needs to be done to make a zwave association.  I guess that adding material to the wiki is described somewhere?
Title: Re: Turning on a Zwave light with another Zwave light
Post by: tschak909 on October 15, 2009, 12:01:15 am
for that, it's all about creating criteria. Keep in mind for scenarios and events made in the advanced section, you can create a scenario or event, and add any number of criteria to base executing the event on.

The UI for it is not ideal, but with a little experimentation and looking at what's already there, you can get an idea of what you can do. it's very flexible.

-Thom
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 15, 2009, 02:02:54 am
I can see the possibilities.  I just haven't managed to get one to work yet.  I can see it is an if/then statement with the if implied.  When creating an avanced event is the template column just used for show or does it mean something?  Also, if I create a respond to event in the wizard I can see it in the advanced events but if I create an advanced event I cannot see it in the wizard.  Why is that?

I have tried editing the criteria but the criteria values are not always what I think they should be.  State is a general time of day.  PK_EventParameter I think is a booleon value which seems to work real well with X10 RF remotes and X10 motion detectors.  I guess it would be nice to know what a particular criteria is looking for when it presents a text box.  I have been playing with LinuxMCE for a few months now.  I have found that setting things up with the help of the wizard is pretty straight forward but some advanced setup (events, editing templates, etc ) are a mystery wrapped in an enigma, pushed into the middle of a conundrum.   ;D

I am mainly interested in the home autmation aspect of lmce (since I already have a working mythtv server running) although I would like to integrate some ip cameras and interface my ademco based alarm system to it.  I am not sure if the latter is possible.  I have not looked at that yet since I am still being thwarted by advanced events.  It is becoming an obsession :o

Larry
Title: Re: Turning on a Zwave light with another Zwave light
Post by: tschak909 on October 15, 2009, 04:38:54 am
yeah, as I said, the UI needs a lot of rework, we didn't write it, but it will get significantly redone at some point.

The reason for the disparity between wizard vs advanced scenarios/events has to do with the fact that the wizard events/scenarios use additional tables.

For now, the key to understanding the various criterial parameters, is to study the database tables and structure directly, and to use the DCERouter log to monitor events and things as they happen.

-Thom
Title: Re: Turning on a Zwave light with another Zwave light
Post by: mythtified on October 15, 2009, 11:05:42 pm
I hope I did not come off as complaining too much.  It is times like this I wish I were a programmer so that I could lend a hand.  I am impressed with all the possibilities of LMCE.  I like the fact that so many things just work right out of the box.  I have been slowly digging into the documentation but the links can take me in so many different directions I can get lost. 

I just found something else to try and conquer, now that I can make associations I want to be able to remove associations.  I know I know.  I am never happy.  It is always me, me, me.   ;D

Larry