Page 1 of 1

Installing with openzwave on MAC OS X

Posted: Thursday 08 May 2014 3:33
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 ?

Re: Installing with openzwave on MAC OS X

Posted: Thursday 08 May 2014 7:48
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

Re: Installing with openzwave on MAC OS X

Posted: Friday 09 May 2014 14:18
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)

Re: Installing with openzwave on MAC OS X

Posted: Saturday 10 May 2014 9:50
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

Re: Installing with openzwave on MAC OS X

Posted: Monday 19 May 2014 14:06
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

Re: Installing with openzwave on MAC OS X

Posted: Thursday 29 May 2014 17:50
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

Re: Installing with openzwave on MAC OS X

Posted: Tuesday 03 June 2014 14:44
by m.kram
Got it working!

Thanks!

Mark

Re: Installing with openzwave on MAC OS X

Posted: Monday 02 March 2015 23:15
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?

Re: Installing with openzwave on MAC OS X

Posted: Tuesday 03 March 2015 8:59
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

Re: Installing with openzwave on MAC OS X

Posted: Wednesday 04 March 2015 19:24
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!

Re: Installing with openzwave on MAC OS X

Posted: Sunday 06 December 2015 22:52
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

Re: Installing with openzwave on MAC OS X

Posted: Sunday 28 February 2016 21:00
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