Author Topic: LinuxMCE's z-wave driver for a stand-alone system  (Read 7843 times)

valent

  • Guru
  • ****
  • Posts: 380
    • View Profile
    • /kernel_reloaded/
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #15 on: June 03, 2010, 12:49:16 am »
Has somebody done this? Is it possible to get zwave driver and compile it on my laptop so I get zwave support without need of full LinuxMCE install?
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #16 on: June 04, 2010, 12:44:41 pm »
Yes, there is a standalone Variant, tested on Fedora and Angstrom (arm/mini2440)

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

valent

  • Guru
  • ****
  • Posts: 380
    • View Profile
    • /kernel_reloaded/
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #17 on: June 04, 2010, 03:51:39 pm »
Hari how can I also test it on Fedora? Any special do any special packages need to be installed? Anything needs to be compiled? Is there a wiki page with instructions?
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5497
  • DOES work for LinuxMCE.
    • View Profile
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #18 on: June 04, 2010, 04:09:20 pm »
Dude, honestly, if you're asking these questions, you need to re-evaluate whether you'll be able to pull this off.

-Thom

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #19 on: June 04, 2010, 10:08:55 pm »
no instructions :-)

1) check it out: http://svn.linuxmce.org/trac.cgi/browser/people/hari/mini

2) use the force ^H^H^H Makefile (yes, it has some dependencies; no, they are not listed)

3) use the provided mini install script

some hints:

1) CreateDevice is your friend, be aware, z-wave devices are not created automagically

2) I'd suggest to run the pluto-admin php pages somewhere

3) this has rough edges, don't hurt yourself :-)

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

valent

  • Guru
  • ****
  • Posts: 380
    • View Profile
    • /kernel_reloaded/
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #20 on: June 05, 2010, 08:59:36 am »
Dude, honestly, if you're asking these questions, you need to re-evaluate whether you'll be able to pull this off.

-Thom

I like challenges.
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #21 on: July 17, 2010, 08:15:53 pm »
A quick look at the code shows that ZWave.cpp seems to implement the "DCE" interface needed by LinuxMCE, while ZWApi.cpp implements the Z-Wave primitives and actual interface to the USB device (via a serial library).

So it seems quite probable that these two pieces could be split, and thus avoiding reinvention, as well as the need to provide a lot of support infrastructure that may not be needed by simpler projects.

done by this guy: http://www.scottwaye.com/zwave.html

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

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: LinuxMCE's z-wave driver for a stand-alone system
« Reply #22 on: July 17, 2010, 08:18:17 pm »
Hari how can I also test it on Fedora? Any special do any special packages need to be installed? Anything needs to be compiled? Is there a wiki page with instructions?

Hi valent,

see this: http://forum.linuxmce.org/index.php?topic=10442.0

don't hesitate to ask if you encounter problems.

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