Aeotec Z-Stick Series 2 hardware type? Topic is solved

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
mark9289
Posts: 3
Joined: Sunday 07 February 2016 20:13
Target OS: Linux
Domoticz version:
Contact:

Aeotec Z-Stick Series 2 hardware type?

Post 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?
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Aeotec Z-Stick Series 2 hardware type?

Post 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.
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
mark9289
Posts: 3
Joined: Sunday 07 February 2016 20:13
Target OS: Linux
Domoticz version:
Contact:

Re: Aeotec Z-Stick Series 2 hardware type?

Post 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.
mark9289
Posts: 3
Joined: Sunday 07 February 2016 20:13
Target OS: Linux
Domoticz version:
Contact:

Re: Aeotec Z-Stick Series 2 hardware type?

Post by mark9289 »

sudo cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt* I mistakenly cut off the beginning (I hate my hp touch pad)
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Aeotec Z-Stick Series 2 hardware type?

Post 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
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest