Installing with openzwave on MAC OS X

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
charlysquare
Posts: 5
Joined: Monday 05 May 2014 2:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Installing with openzwave on MAC OS X

Post by charlysquare »

Hi,
I'm trying to add the Aeon stick on the hardware setup.
I can select Openzwave USB, but I cannot select the serial port in the box.
I'm running Mac OS x 10.9

Any ideas ?
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installing with openzwave on MAC OS X

Post by gizmocuz »

what is the name of the serial port?
maybe you can use the wiki for 'persistent' devices and set it to /dev/ttyUSB20
Quality outlives Quantity!
doums
Posts: 1
Joined: Saturday 26 April 2014 16:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installing with openzwave on MAC OS X

Post by doums »

Hello,

on OSX, the tty USB port are not /dev/ttyUSBx

For the AEON stick it is :
/dev/tty.SLAB_USBtoUART and /dev/cu.SLAB_USBtoUART

In order to use it with domoticz, you have to create a symbolic link with /dev/cu.SLAB_USBtoUART.

Code: Select all

sudo ln -s /dev/cu.SLAB_USBtoUART /dev/ttyUSB0 
unfortunately, you have to make this command on every reboot.

there is another solution (i don't now how to make a svn for the dev team) :
Add in the Helper.cpp line 100 :

Code: Select all

#ifdef __APPLE__
			if (fname.find("cu.")!=std::string::npos)
			{
				bUseDirectPath=true;
				ret.push_back("/dev/" + fname);
			}
#endif
It work here (OSX 10.6)
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installing with openzwave on MAC OS X

Post by gizmocuz »

I will add the code below, thanks !

Code: Select all

    #ifdef __APPLE__
             if (fname.find("cu.")!=std::string::npos)
             {
                bUseDirectPath=true;
                ret.push_back("/dev/" + fname);
             }
    #endif
Quality outlives Quantity!
m.kram
Posts: 4
Joined: Monday 19 May 2014 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2846
Contact:

Re: Installing with openzwave on MAC OS X

Post by m.kram »

Hi All,

I recently switched from a Homewizard to Domoticz. I’m running Domoticz on a macmini 2011 with Mavericks (10.9.3) installed.

I’m trying to compile openzwave (bought the Aeotec Z-Stick Series 2). I’ve installed the drivers and as far as I can tell compiling goes well. I’ve got the libraries in the folder but Domoticz keeps telling me that it can not find openzwave during compilation.

I’ve tested the setup on windows and that works so I know the stick is ok. I’ve followed the instructions above and I’m running version 1.1757 from Domoticz.

Any ideas? Do I have to copy files from openzwave to domoticz.

Mark
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installing with openzwave on MAC OS X

Post by gizmocuz »

No, your folder should look like

- open-zwave-read-only
- domoticz

so the development checkout should be in the same folder as the openzwave checkout

After this, the cmake script should find the compiled openzwave files.

if not, delete the cmake cache files
Quality outlives Quantity!
m.kram
Posts: 4
Joined: Monday 19 May 2014 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2846
Contact:

Re: Installing with openzwave on MAC OS X

Post by m.kram »

Got it working!

Thanks!

Mark
peterpijpelink
Posts: 10
Joined: Sunday 22 February 2015 19:09
Target OS: OS X
Domoticz version:
Contact:

Re: Installing with openzwave on MAC OS X

Post by peterpijpelink »

Hi, I try to use domoticz on my mac mini. Seems the openzwave compile goes okay. When I try to compile domoticz this also works. I can start the webserver, but whatever I do I can't add openzwave to domoticz. I used macports and have one folder containing open-wave--read-only and domoticz in their folders in. I still don't see the openzwave option to add. Any idea anyone?
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installing with openzwave on MAC OS X

Post by gizmocuz »

looks your openzwave folder has a wrong name, there should be two folders:

- dev-domoticz (might be another name, source should be in here)
- open-zwave-read-only

make sure you checkout the source like:

svn co http://open-zwave.googlecode.com/svn/trunk/ open-zwave-read-only
svn checkout svn://svn.code.sf.net/p/domoticz/code/trunk/ dev-domoticz

see:
http://www.domoticz.com/wiki/Installing ... spberry_PI
Quality outlives Quantity!
peterpijpelink
Posts: 10
Joined: Sunday 22 February 2015 19:09
Target OS: OS X
Domoticz version:
Contact:

Re: Installing with openzwave on MAC OS X

Post by peterpijpelink »

Got it working. Used Brew and that mixed up things. Cleaned all and used Mac Ports. Works much easier. It is working now on Mac OSX Yosemite 10.10 :) thnx!
Erikcyrax
Posts: 1
Joined: Sunday 06 December 2015 22:45
Target OS: OS X
Domoticz version:
Contact:

Re: Installing with openzwave on MAC OS X

Post by Erikcyrax »

I am just not there yet.

I installed downloaded open wave and compiled it
I downloaded and compiled domoticz (it said with open wave functionality)

But when I start domoticz there is no openzwave USB visible (I have a Vision USB dongle). It sees my RFX controller, but no zwave. Is there something I missed ?

I am using Mac OS 10.11
smokinjoev
Posts: 9
Joined: Monday 14 December 2015 18:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Installing with openzwave on MAC OS X

Post by smokinjoev »

I have same problem. Porting my domoticz from my Rasp Pi. Open Zwave does not show up on mac. Looking for workaround now
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest