Page 1 of 1

Aeotec Z-Stick Series 2 hardware type?

Posted: Sunday 07 February 2016 20:25
by mark9289
I must be missing a step i think, I'm running kubuntu (3.13.0-71-generic). I'm using a laptop to run domoticz, and simply have my z-stick plugged into the side (/dev/ttyUSB0). I've compiled domoticz & openzwave without any issue from what I can tell (no errors). Yet when i run domoticz and navigate to hardware section "type" to select my device the option for openzwave USB is simply not listed. I have seen others select it, perhaps the name has changed but or I need additional options or updates and recompile? I can use the openzwave-control-pannel and mess with it, so it seems to be working any ideas?

Re: Aeotec Z-Stick Series 2 hardware type?

Posted: Sunday 07 February 2016 20:53
by nayr
When you run cmake did it find your OZW Libraries? thats whats going to determine if OpenZWave USB is listed or not.

look for:
-- /home/domoticz/open-zwave-read-only/libopenzwave.a

and -DWITH_OPENZWAVE

in the output when you run cmake CMakeLists.txt, if its not there it was unable to find the libraries and you wont get any hardware support in your build.

Re: Aeotec Z-Stick Series 2 hardware type?

Posted: Monday 08 February 2016 3:11
by mark9289
Thank you for the info, I can confirm it's not finding my libraries, by the output -- ==== OpenZWave not found, support disabled!. However, I do have open-zwave-read-only/libopenzwave.a located in my domoticz folder. I'm not sure why its not finding them:

mark@kitchen-laptop:~/domoticz-master$ pwd
/home/mark/domoticz-master
mark@kitchen-laptop:~/domoticz-master$ ls -lh open-zwave-read-only/libopenzwave.a
-rw-r--r-- 1 root root 2.0M Feb 7 19:47 open-zwave-read-only/libopenzwave.a

I should simply :
make -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
make

Right? what am I messing up. I should note, I did move my folders at one point once when I realized I had my paths wrong.

Re: Aeotec Z-Stick Series 2 hardware type?

Posted: Monday 08 February 2016 3:22
by mark9289
sudo cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt* I mistakenly cut off the beginning (I hate my hp touch pad)

Re: Aeotec Z-Stick Series 2 hardware type?

Posted: Monday 08 February 2016 17:22
by nayr
Your OZW Libs are not supposed to reside within domoticz, only at the same root path as domoticz.
try:
/home/mark/domoticz-maser
/home/mark/open-zwave-read-only