LinuxMCE Forums
May 23, 2013, 10:04:34 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 2 3 [4] 5 6 ... 11
  Print  
Author Topic: Supporting the ACT Solutions ZCU201 USB Z-wave Interface  (Read 39064 times)
Domodude
Guest
« Reply #45 on: January 18, 2008, 08:12:55 am »

Morning all,

Almost there. As Hari wrote, we got a lot closer to a working Z-wave setup. The only problem remaining, I hope, is the transfer of the config from the ZTH200 Homepro primary controller to LinuxMCE.

(I had some trouble getting the ZCS201 recognized by lmce, but I think that it eventually worked again after I got rid of all interfaces, rebooted the core, and then started over. That included attaching the ZCS201, turning on the system, adding the interface in the web setup, update, reload dcerouter. I think that was all it took. I will replay everything once the download problem is out of the way.)

Andrew, I understand you own a ZTH200? Could you tell me if something is wrong here?
  • Add units to the ZTH200. I have one plugin dimmer unit on group 1, 3 and 6 each.
  • From setup, select transfer partial configuration
  • The ZTH200 will tell me Transfer Successful (or something like it)
After this, lmce has only one light as a child device to the zcs201. If I select Transfer FULL Config, the transfer somehow fails, I think it mentions a Data Error.

Any ideas?

Thanks,
Mark
Logged
1audio
Addicted
*
Posts: 552


View Profile
« Reply #46 on: January 18, 2008, 08:34:10 am »

LMCE's ZWave supports the devices. It doesn't know scenes from the controller. In fact in ZWave controller scenes can only be transfered to identical controllers because they all do the UI very differently (and most are really awful).

If you have one device that is all you will see in LMCE. Once its there you can name it and build scenes and scenarios around it.

Did you add the device from the web interface or from the wizard?

I'm really encouraged that we can add a serial ZWave device since the Leviton is serial, and has the feedback from the Leviton switches.
Logged
Domodude
Guest
« Reply #47 on: January 18, 2008, 09:21:15 am »

LMCE's ZWave supports the devices. It doesn't know scenes from the controller. In fact in ZWave controller scenes can only be transfered to identical controllers because they all do the UI very differently (and most are really awful).
If you have one device that is all you will see in LMCE. Once its there you can name it and build scenes and scenarios around it.

At the time I tried it, I had two pluggable dimmers units, which where put in group 1 and group 2 of the controller, respectively. Are you saying I should just add all dimmers to the first group on the Homepro controller, and then do further setup in lmce after the upload of the config?

Quote
Did you add the device from the web interface or from the wizard?

I used the web interface; I selected "add device" under "Interfaces". I selected manufacturer Pluto, and just picked the ZWave option after updating the filter. Again, I still need to double-check this. However, the bottom line is that the interface can be recognized (running 0704 here).

Cheers
Mark
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #48 on: January 18, 2008, 02:57:17 pm »

works for me with the Seluxit viaSENS Homecontroller, a ZTH200 and a ZDP200 plug.
Download configuration works perfect (dongle flashes red). That created a child device that is now fully controllable!

Yippie, ZWave with Linux in Europe Wink

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
Domodude
Guest
« Reply #49 on: January 18, 2008, 03:16:49 pm »

Yippie, ZWave with Linux in Europe Wink

You beat me to it!  Wink

I will try all three dimmer plugs in the same group on the homepro controller, and then upload the config. How did you do your config transfer to lmce, Hari?

Mark
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #50 on: January 18, 2008, 03:52:08 pm »

Yippie, ZWave with Linux in Europe Wink

You beat me to it!  Wink

I will try all three dimmer plugs in the same group on the homepro controller, and then upload the config. How did you do your config transfer to lmce, Hari?

Mark


only transfered system configuration as suggested by 1audio. As i have only one plug i don't have multiple groups.

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
Domodude
Guest
« Reply #51 on: January 18, 2008, 09:59:46 pm »

I now get this in 62_ZWave.log:
...
1   01/18/08 21:44:12   62 (spawning-device)   Starting... 4
1   01/18/08 21:44:12   62 (spawning-device)   Found /usr/pluto/bin/ZWave
05   01/18/08 21:44:17.052      Creating child 63 <0xb78dd6d0>
05   01/18/08 21:44:17.052      Note: Device manager has attached a device of type 1820 that this has no custom event handler for.  It will not fire events. <0xb78dd6d0>
05   01/18/08 21:44:17.052      Note: Device manager has attached a device of type 1820 that this has no custom handler for.  This is normal for IR. <0xb78dd6d0>
05   01/18/08 21:44:17.053      Creating child 69 <0xb78dd6d0>
05   01/18/08 21:44:17.053      Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb78dd6d0>
05   01/18/08 21:44:17.053      Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb78dd6d0>
05   01/18/08 21:44:17.053      Creating child 70 <0xb78dd6d0>
05   01/18/08 21:44:17.053      Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb78dd6d0>
05   01/18/08 21:44:17.053      Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb78dd6d0>
...


Those two devices are supposed to be dimmers. I see them, but cannot properly send commands to them. Sending directly to the dimmers gets me an OK response, but nothing happens. The ZWave.log file prints:
05   01/18/08 21:54:35.035      ### Go to timeout queue <0xb68dab90>
05   01/18/08 21:54:35.035      ### skip the next job from timeout queue <0xb68dab90>
05   01/18/08 21:54:58.011      ### Go to timeout queue <0xb68dab90>
05   01/18/08 21:54:58.011      ### skip the next job from timeout queue <0xb68dab90>

 Huh

Any ideas? I think I'd like to thoroughly clean up all children of the ZCS201 and resend the config, would deleting these devices and reloading dcerouter be enough?

Cheers,
Mark
Logged
1audio
Addicted
*
Posts: 552


View Profile
« Reply #52 on: January 19, 2008, 07:39:56 am »

 I'm attaching my log for reference. I have a few devices including one PIR device. I'm not sure if it looks right or not, but its almost all working.


Code:
05 12/30/07 0:00:07.520 Connect() failed, Error Code 111 (Connection refused)) <0xb79166d0>
05 12/30/07 0:00:29.117 Creating child 35 <0xb79166d0>
05 12/30/07 0:00:29.117 Note: Device manager has attached a device of type 1820 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.117 Note: Device manager has attached a device of type 1820 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.117 Creating child 232 <0xb79166d0>
05 12/30/07 0:00:29.117 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.117 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.117 Creating child 233 <0xb79166d0>
05 12/30/07 0:00:29.117 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.117 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 234 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 235 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 236 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 237 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 238 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 239 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 240 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 241 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 242 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 243 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 1813 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 1813 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 244 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.118 Creating child 245 <0xb79166d0>
05 12/30/07 0:00:29.118 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.119 Creating child 246 <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.119 Creating child 247 <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.119 Creating child 248 <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
05 12/30/07 0:00:29.119 Creating child 252 <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb79166d0>
05 12/30/07 0:00:29.119 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb79166d0>
== ATTEMPT FRESH START ==
1 12/30/07 00:24:37 /usr/pluto/bin/Spawn_Device.sh 34 (spawning-device) 13855 Dev: 34; Already Running list: 15,16,17,18,27,
== FRESH START ==
1 12/30/07 00:24:37 /usr/pluto/bin/Spawn_Device.sh 34 (spawning-device) device: 34 ip: localhost cmd_line: ZWave
0 12/30/07 00:24:37 34 (spawning-device) Entering 34
Logged
ddamron
Alumni
wants to work for LinuxMCE
*
Posts: 962



View Profile WWW
« Reply #53 on: January 19, 2008, 10:02:35 am »

1audio,

I get those messages for ALL child devices in all my coding too.
From what I can tell, they can be safely ignored.
38 is Lightswitch Dimmable, 37 is Lightswitch ON/OFF, 1820 and 1813 I'm not sure about..

HTH,

Dan
Logged

The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #54 on: January 19, 2008, 02:31:37 pm »

Morning all,

Almost there. As Hari wrote, we got a lot closer to a working Z-wave setup. The only problem remaining, I hope, is the transfer of the config from the ZTH200 Homepro primary controller to LinuxMCE.

(I had some trouble getting the ZCS201 recognized by lmce, but I think that it eventually worked again after I got rid of all interfaces, rebooted the core, and then started over. That included attaching the ZCS201, turning on the system, adding the interface in the web setup, update, reload dcerouter. I think that was all it took. I will replay everything once the download problem is out of the way.)

Andrew, I understand you own a ZTH200? Could you tell me if something is wrong here?
  • Add units to the ZTH200. I have one plugin dimmer unit on group 1, 3 and 6 each.
  • From setup, select transfer partial configuration
  • The ZTH200 will tell me Transfer Successful (or something like it)
After this, lmce has only one light as a child device to the zcs201. If I select Transfer FULL Config, the transfer somehow fails, I think it mentions a Data Error.

Any ideas?

Thanks,
Mark


Yes we use the ZTH200 Master Controller/remote. We always use 'transfer full config' but we do see a transfer error sometimes. Just resend a few times until you get a good transfer. Are you using the Lighting Wizard to manage the transfer/addition of the lights?
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
1audio
Addicted
*
Posts: 552


View Profile
« Reply #55 on: January 19, 2008, 05:18:20 pm »

1813 and possibly 1820 are additional controllers on the network or the PIR. I have 3 additional ZWave controllers in the system which should explain that. Or they may be the PIR. I have one light with a device number after a large gap. It gets dumped buy the code and needs to be re-added with almost every router reload if I want to use it.
Logged
Domodude
Guest
« Reply #56 on: January 19, 2008, 06:37:01 pm »

Andrew, I understand you own a ZTH200? Could you tell me if something is wrong here?
Are you using the Lighting Wizard to manage the transfer/addition of the lights?

Thanks. I will try to use the full config transfer.

I am not using the lighting wizard, because the RS232 is not plug'n'play. It would be great to use the wizard, but so far I have had no luck. So, it's a matter of manually adding the interface, and then transfering the settings...

Mark
Logged
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #57 on: January 19, 2008, 06:48:14 pm »

Andrew, I understand you own a ZTH200? Could you tell me if something is wrong here?
Are you using the Lighting Wizard to manage the transfer/addition of the lights?

Thanks. I will try to use the full config transfer.

I am not using the lighting wizard, because the RS232 is not plug'n'play. It would be great to use the wizard, but so far I have had no luck. So, it's a matter of manually adding the interface, and then transfering the settings...

Mark

ok... well under the hood the same code is being called so doing the upload from Web Admin amounts to the same thing.
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
Domodude
Guest
« Reply #58 on: January 19, 2008, 06:51:29 pm »

Come to think of it....

I have not yet been able to get the floorplan function to work. I added my lights thorugh the "Download Config" route on the web admin site, and added the lights to my map. However, I see no lights on the map on orbiters!

Another thing: reaction to the web interface is sometimes quite slow, or the command does not get processed at all. To any of you experienced Z-wave users: Is that normal?

Thanks,
Mark
Logged
1audio
Addicted
*
Posts: 552


View Profile
« Reply #59 on: January 19, 2008, 08:20:02 pm »

The lights won't appear until you rebuild the Orbiter. Have you reset the router and rebuilt the Orbiters?
Logged
Pages: 1 2 3 [4] 5 6 ... 11
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!