Author Topic: New Z-Wave driver  (Read 33499 times)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #15 on: November 06, 2008, 07:24:59 pm »
what kind of light switches are you using?
rock your home - http://www.agocontrol.com home automation

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: New Z-Wave driver
« Reply #16 on: November 06, 2008, 07:30:28 pm »
what kind of light switches are you using?

So far I connected, from Merten, 1 dimmer (ref. 577x with some office lamp) and 1 relay (ref. 576x, simply an ON/OFF switch with a halogen lamp). Everything works well, manually and remotely, except this "update" of nodes in the orbiter.
Thanks for your help, it's greatly appreciated!

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #17 on: November 06, 2008, 09:58:00 pm »
assign the dongle to group 1 of the merten stuff.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: New Z-Wave driver
« Reply #18 on: November 07, 2008, 01:02:20 pm »
assign the dongle to group 1 of the merten stuff.

best regards,
Hari

Thanks for your answer. I added, in the Seluxit software (WinXP), a group consisting of the dongle and the Merten devices, but it didn't help to solve my problem. Should I do it in LinuxMCE as well on the Admin Website (add a device group)?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #19 on: November 07, 2008, 02:27:44 pm »
never used the seluxit software.

Maybe you did it the wrong way round.  The dongle has to go into group1 of the switch, not the other way round.

You can use the SetAssociation DCE command, first parameter is the node id of the switch, second the group (1), third the node id of the dongle (can be seen as "our node id" in the logs.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: New Z-Wave driver
« Reply #20 on: November 07, 2008, 04:59:06 pm »
Just tried the Set Association command, and a few manipulations to see what happens. It didn't solve my issue still, but at least I progressed a bit in the assimilation of the system.
When I create the group association in LinuxMCE, and after I check it in the Seluxit software, it's well updated, but only the dongle appears in the group, the switch doesn't belong to any group. I tried also to set the group directly in the Seluxit software, both devices belong to the same group, but back to lmce, I don't have positive results so far.
I was just wondering, is it possible to associate lights directly in lmce without having to use the Seluxit software? I still couldn't find how to do it (after few trials, unfortunately the lack of documentation for the devices I'm handling is very problematic). If yes, I would try to configure everything from lmce.
Thanks for your support Hari, I hope it will get solved somehow  :)!

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #21 on: November 07, 2008, 05:56:18 pm »
yes. On the long run I'll try to make all devices plug and play. Let me verify some code, could be I've missed to check that in. For now it would help if you could enable log levels 36, 40 and 41 in /etc/pluto.conf and show me the output of the z-wave device log (/var/log/pluto) when pressing the switch.

I have a merten dimmer installed at the moment (thanks possy :-) ), I'm sure I can work that out this weekend.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

Domodude

  • Guest
Re: New Z-Wave driver
« Reply #22 on: November 08, 2008, 03:51:11 pm »
I have a merten dimmer installed at the moment (thanks possy :-) ), I'm sure I can work that out this weekend.

Hari, any progress on the Merten stick? (Hopefully I did not miss an announcement!)
If you still need one, I could lend you mine for a while.

Cheers
Mark

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #23 on: November 08, 2008, 06:02:21 pm »
have not yet received the stick..

should arrive these days..

br, Hari
rock your home - http://www.agocontrol.com home automation

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: New Z-Wave driver
« Reply #24 on: November 10, 2008, 06:12:46 pm »
yes. On the long run I'll try to make all devices plug and play. Let me verify some code, could be I've missed to check that in. For now it would help if you could enable log levels 36, 40 and 41 in /etc/pluto.conf and show me the output of the z-wave device log (/var/log/pluto) when pressing the switch.

I have a merten dimmer installed at the moment (thanks possy :-) ), I'm sure I can work that out this weekend.

best regards,
Hari

It will be great to have the device detected as plug and play  :D!
Here are the log files from the Z-Wave device, at first the relay switch when pushed on:

Code: [Select]
41 11/10/08 18:05:38.314 0x1 0x9 0x0 0x4 0x0 0x3 0x3 0x20 0x1 0xff 0x2c (####### ##,) <0xb790db90>
36 11/10/08 18:05:38.314 FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb790db90>
36 11/10/08 18:05:38.314 COMMAND_CLASS_BASIC -  <0xb790db90>
36 11/10/08 18:05:38.314 Got COMMAND_CLASS_BASIC:BASIC_SET, level 255 <0xb790db90>

Same switch pushed off:

Code: [Select]
41 11/10/08 18:07:54.968 0x1 0x9 0x0 0x4 0x0 0x3 0x3 0x20 0x1 0x0 0xd3 (####### ###) <0xb790db90>
36 11/10/08 18:07:54.968 FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb790db90>
36 11/10/08 18:07:54.968 COMMAND_CLASS_BASIC -  <0xb790db90>
36 11/10/08 18:07:54.968 Got COMMAND_CLASS_BASIC:BASIC_SET, level 0 <0xb790db90>

Then the dimmer pushed on:

Code: [Select]
41 11/10/08 18:08:24.139 0x1 0x9 0x0 0x4 0x0 0x2 0x3 0x26 0x1 0xff 0x2b (#######&##+) <0xb790db90>
36 11/10/08 18:08:24.139 FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb790db90>
36 11/10/08 18:08:24.139 COMMAND_CLASS_SWITCH_MULTILEVEL -  <0xb790db90>

And finally, the dimmer pushed off:

Code: [Select]
41 11/10/08 18:09:11.512 0x1 0x9 0x0 0x4 0x0 0x2 0x3 0x26 0x1 0x0 0xd4 (#######&###) <0xb790db90>
36 11/10/08 18:09:11.512 FUNC_ID_APPLICATION_COMMAND_HANDLER: <0xb790db90>
36 11/10/08 18:09:11.512 COMMAND_CLASS_SWITCH_MULTILEVEL -  <0xb790db90>

If I can help by sending or doing anything more, just let me know.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #25 on: November 10, 2008, 06:30:14 pm »
yeah, I missed some code for that, it is now checked into the 0810 branch on svn. I will release a new binary version for 0710 these days after some polishing and when I've added multiple instances support for that HSM100 beast.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

yannko

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: New Z-Wave driver
« Reply #26 on: November 10, 2008, 06:34:13 pm »
yeah, I missed some code for that, it is now checked into the 0810 branch on svn. I will release a new binary version for 0710 these days after some polishing and when I've added multiple instances support for that HSM100 beast.

best regards,
Hari

Thanks a lot for your help and your reactivity Hari, that's really great! I'm looking forward to test it  :)!

Best regards!

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4360
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: New Z-Wave driver
« Reply #27 on: November 10, 2008, 06:39:05 pm »
Hari,

We're ordering some Danfoss RA Plus-w's for testing here... from memory I think you have got those working. Is that correct?

All the best

Andrew
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

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

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #28 on: November 10, 2008, 10:36:58 pm »
Hari,

We're ordering some Danfoss RA Plus-w's for testing here... from memory I think you have got those working. Is that correct?

yes, they are automatically configured when included in SIS mode (they require SIS). It supports multiple setpoints for every weekday and requests a schedule, for now i just reply with an empty one as we have no way in lmce to define one.

It honors on and off (normal/setback operation). The wake up interval is a bit short at the moment, wanted to do some tests this heating period to find the optimum compromise between latency and battery drain.

When you've got yours we can do some fine tuning..

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: New Z-Wave driver
« Reply #29 on: November 11, 2008, 12:33:21 pm »
yeah, I missed some code for that, it is now checked into the 0810 branch on svn. I will release a new binary version for 0710 these days after some polishing and when I've added multiple instances support for that HSM100 beast.
Thanks a lot for your help and your reactivity Hari, that's really great! I'm looking forward to test it  :)!
no multi instance yet but I wanted to provide you a test version with the fix for the merten dimmer floorplan updates, just tested, works fine:

http://vt100.at/files/ZWave-0.0.2-0710-32bit.bz2

I'd assume the same is needed for the binary switch, I don't have one yet. Do you have one?

best regards,
Hari
rock your home - http://www.agocontrol.com home automation