<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Mac_OSX</id>
	<title>Mac OSX - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Mac_OSX"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Mac_OSX&amp;action=history"/>
	<updated>2026-09-20T06:17:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Mac_OSX&amp;diff=14442&amp;oldid=prev</id>
		<title>GuillaumeBarberousse: Change loglevel for LaunchAgents to show status and errors</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Mac_OSX&amp;diff=14442&amp;oldid=prev"/>
		<updated>2020-10-03T12:50:55Z</updated>

		<summary type="html">&lt;p&gt;Change loglevel for LaunchAgents to show status and errors&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Purpose of this set is to get Domoticz running on OS X systems.&lt;br /&gt;
(El Capitan Tested)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;This page explains how to build it from source with Homebrew, you can also get ready to run version from http://www.domoticz.com/downloads/ but note that Z-Wave is NOT included in that version, you have to compile it yourself to use Z-Wave or use the unofficial binary. &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Preparing your OS X for Domoticz=&lt;br /&gt;
&lt;br /&gt;
==Get Xcode command line tools==&lt;br /&gt;
Compiling requires Xcode, which can be installed with command line:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
xcode-select --install&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
It is suggested to installed the Xcode app from the app store (around 3,5 GB). In case you install it, run the app at first once and accept the guarantee terms.&lt;br /&gt;
&amp;lt;br&amp;gt;Prior to Domoticz installation, mac can be prepared alternatively with Homebrew or MacPorts.&amp;lt;br&amp;gt;&lt;br /&gt;
==Homebrew==&lt;br /&gt;
===Homebrew installation===&lt;br /&gt;
Use commande line:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
In case you have Homebrew already installed make sure is up to date via command line:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
brew update&lt;br /&gt;
brew upgrade&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===X11===&lt;br /&gt;
It is recommended to install X11.app, via XQuartz: [http://xquartz.macosforge.org/landing/]&lt;br /&gt;
&lt;br /&gt;
===Homebrew installation check===&lt;br /&gt;
Prior to install libraries, it is better to check Homebrew installation with command:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
brew doctor&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
In case you get the warning:&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;quot;You have an outdated version of /usr/bin/install_name_tool installed. This will cause binary package installations to fail. This can happen if you install osx-gcc-installer or RailsInstaller. To restore it, you must reinstall OS X or restore the binary from the OS packages.&amp;quot;&lt;br /&gt;
&amp;lt;br&amp;gt;do not go ahead until you getit  solved. It can happen that some app/tool had modified the &amp;quot;install_name_tool&amp;quot;. You can find the proper version of &amp;quot;install_name_tool&amp;quot; for OS X Mavericks (working also for Yosemite) on [https://github.com/cinic/install-name-tool]. Just download it and overwrite on folder /usr/bin/. Run again &amp;quot;brew doctor&amp;quot; and warning should disappear. &lt;br /&gt;
&lt;br /&gt;
===Install necessary libraries===&lt;br /&gt;
&lt;br /&gt;
Run following command lines in the terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
brew install cmake&lt;br /&gt;
brew install boost --with-python&lt;br /&gt;
brew install boost-python&lt;br /&gt;
brew install libusb&lt;br /&gt;
brew install libusb-compat&lt;br /&gt;
brew install zlib&lt;br /&gt;
brew install openssl&lt;br /&gt;
brew link openssl --force&lt;br /&gt;
brew install python3&lt;br /&gt;
brew linkapps python3&lt;br /&gt;
brew install lua&lt;br /&gt;
luarocks install luasocket&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
export LDFLAGS=-L/usr/local/opt/openssl/lib&lt;br /&gt;
export CPPFLAGS=-I/usr/local/opt/openssl/include&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing the Stable Binary==&lt;br /&gt;
&lt;br /&gt;
Use the Terminal and execute the commands below note that &amp;#039;&amp;#039;&amp;#039;Z-Wave is not included&amp;#039;&amp;#039;&amp;#039; you have to compile that yourself:&lt;br /&gt;
&lt;br /&gt;
 mkdir ~/domoticz&lt;br /&gt;
 cd ~/domoticz&lt;br /&gt;
 curl -O &amp;lt;nowiki&amp;gt;https://releases.domoticz.com/releases/release/domoticz_osx_x86_64.tgz&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 tar -zxvf domoticz_osx_x86_64.tgz&lt;br /&gt;
 rm domoticz_osx_x86_64.tgz&lt;br /&gt;
&lt;br /&gt;
continue at section: Make Domoticz startup at boot time (Also needed for Web Update)&lt;br /&gt;
&lt;br /&gt;
==Installing the Beta Binary==&lt;br /&gt;
&lt;br /&gt;
Use the Terminal and execute the commands below note that &amp;#039;&amp;#039;&amp;#039;Z-Wave is not included&amp;#039;&amp;#039;&amp;#039; you have to compile that yourself:&lt;br /&gt;
&lt;br /&gt;
 mkdir ~/domoticz&lt;br /&gt;
 cd ~/domoticz&lt;br /&gt;
 curl -O &amp;lt;nowiki&amp;gt;https://releases.domoticz.com/releases/beta/domoticz_osx_x86_64.tgz&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 tar -zxvf domoticz_osx_x86_64.tgz&lt;br /&gt;
 rm domoticz_osx_x86_64.tgz&lt;br /&gt;
&lt;br /&gt;
continue at section: Make Domoticz startup at boot time&lt;br /&gt;
&lt;br /&gt;
==Installing from Source==&lt;br /&gt;
&lt;br /&gt;
Please read carefully!!!&lt;br /&gt;
&lt;br /&gt;
===Download Domoticz source===&lt;br /&gt;
Move to the father folder where you want to install Domoticz and run:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/domoticz/domoticz.git domoticz&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compile OpenZWave===&lt;br /&gt;
You can skip this section about z-wave if you do not use it.&lt;br /&gt;
If you use Z-Wave the brew version is a very old and z-wave is not standard included in domoticz on OSX so you have to compile it to use Z-Wave, compile it in the same &amp;#039;&amp;#039;&amp;#039;root folder&amp;#039;&amp;#039;&amp;#039; as domoticz (thus not inside the domoticz folder).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/OpenZWave/open-zwave.git&lt;br /&gt;
ln -s open-zwave open-zwave-read-only&lt;br /&gt;
cd open-zwave&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most people make the mistake to clone open-zwave into the domoticz folder. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;DO NOT DO THAT, SERIOUSLY DO NOT DO THAT&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Please ensure the SIP protection is disabled on newer OSX (El Capitan, Sierra)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Please make sure that your folder look like this in the terminal&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
pluto.local:~ Trixwood$ls&lt;br /&gt;
domoticz		open-zwave-read-only&lt;br /&gt;
open-zwave		&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the domoticz and the open-zwave, open-zwave-read-only in the same folder&lt;br /&gt;
&lt;br /&gt;
===Compile Domoticz===&lt;br /&gt;
Before you begin compilling domoticz. &lt;br /&gt;
&lt;br /&gt;
====Speed Up====&lt;br /&gt;
&lt;br /&gt;
Search and replace in main/Scheduler.cpp and in main/SQLHelper.cpp the following: &lt;br /&gt;
 &amp;quot;sleep_seconds(1)&amp;quot; to &amp;quot;sleep_milliseconds(50);&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For old systems. If this value is not working for you, try 100 milliseconds or change it back to 1 second.&lt;br /&gt;
&lt;br /&gt;
[https://www.domoticz.com/forum/viewtopic.php?t=11619#p83823]&lt;br /&gt;
&lt;br /&gt;
====LUA Fix====&lt;br /&gt;
Edit lua/src/luaconf.h&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#if defined(LUA_USE_MACOSX)&lt;br /&gt;
#define LUA_USE_POSIX&lt;br /&gt;
#define LUA_USE_DLOPEN      /* does not need -ldl */&lt;br /&gt;
#define LUA_USE_READLINE   /* needs an extra library: -lreadline */&lt;br /&gt;
#define LUA_USE_STRTODHEX   /* assume &amp;#039;strtod&amp;#039; handles hex formats */&lt;br /&gt;
#define LUA_USE_AFORMAT      /* assume &amp;#039;printf&amp;#039; handles &amp;#039;aA&amp;#039; specifiers */&lt;br /&gt;
#define LUA_USE_LONGLONG   /* assume support for long long */&lt;br /&gt;
#endif&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
removed the #if defines and #endif to force right compiler options...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#define LUA_USE_POSIX&lt;br /&gt;
#define LUA_USE_DLOPEN      /* does not need -ldl */&lt;br /&gt;
#define LUA_USE_READLINE   /* needs an extra library: -lreadline */&lt;br /&gt;
#define LUA_USE_STRTODHEX   /* assume &amp;#039;strtod&amp;#039; handles hex formats */&lt;br /&gt;
#define LUA_USE_AFORMAT      /* assume &amp;#039;printf&amp;#039; handles &amp;#039;aA&amp;#039; specifiers */&lt;br /&gt;
#define LUA_USE_LONGLONG   /* assume support for long long */&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://www.domoticz.com/forum/viewtopic.php?f=6&amp;amp;t=11766&amp;amp;p=84568&amp;amp;hilit=compiling#p84566]&lt;br /&gt;
&lt;br /&gt;
====Compile====&lt;br /&gt;
&lt;br /&gt;
Compile domoticz with commands:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd domoticz&lt;br /&gt;
cmake -DCMAKE_BUILD_TYPE=Release  -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/Headers -DPYTHON_LIBRARY=/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5.dylib CMakeLists.txt&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the Python version installed by Homebrew changes the Python version numbers will need to be adjusted accordingly.  To get a clean version run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;sudo make install&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
unfortunate it is written to the default /opt/domoticz with root owner so you have to move it and own it&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo mv /opt/domoticz ~&lt;br /&gt;
sudo chown -R yourusername:staff ~/domoticz&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where yourusername is your user name.&lt;br /&gt;
&lt;br /&gt;
====OpenSSL====&lt;br /&gt;
If you are having problems with openssl, see &lt;br /&gt;
[http://www.domoticz.com/forum/viewtopic.php?f=6&amp;amp;t=2581&amp;amp;p=56799#p56799 forum topic] or this&lt;br /&gt;
[https://www.domoticz.com/forum/viewtopic.php?f=6&amp;amp;t=11766&amp;amp;p=90088#p90088 forum topic]&lt;br /&gt;
&lt;br /&gt;
==Compiling Domoticz with OpenZWave support for MacOS Sierra (10.12)==&lt;br /&gt;
&lt;br /&gt;
===Preparations===&lt;br /&gt;
Follow instructions above for Xcode, Homebrew and X11. Note: if you have compiled openzwave befoe, you’ll see quite a number of warnings when you run &amp;lt;tt&amp;gt;brew doctor&amp;lt;/tt&amp;gt; (notably ’unbrewed’ OpenZWave dylib and header files).&lt;br /&gt;
&lt;br /&gt;
===Installing libraries===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
brew install cmake&lt;br /&gt;
brew install boost&lt;br /&gt;
brew install boost-python&lt;br /&gt;
brew install libusb&lt;br /&gt;
brew install libusb-compat&lt;br /&gt;
brew install openssl&lt;br /&gt;
brew link openssl --force&lt;br /&gt;
brew install python3&lt;br /&gt;
brew linkapps python3&lt;br /&gt;
brew install lua&lt;br /&gt;
luarocks install luasocket&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Installing and linking openssl comes with a number of warnings and caveats which do not prevent you from completing the finalcompilation of Domoticz successfully.&lt;br /&gt;
&lt;br /&gt;
===Download Domoticz and OpenZwave source===&lt;br /&gt;
Move to the folder where you want to create the Domoticz folder (eg within your home directory). &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/domoticz/domoticz.git domoticz&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The open-zwave directory has to be created in the same folder (next to the domoticz folder).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
git clone https://github.com/OpenZWave/open-zwave.git&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compile OpenZwave===&lt;br /&gt;
Before compiling OpenZWave make sure you disable MacOS’s &amp;#039;&amp;#039;System Integrity Protection&amp;#039;&amp;#039; (SIP) (and to return it to its original state after the compilation is completed). This is only required for OpenZWave. Now compile OpenZwave. Please note you are still required to use &amp;lt;tt&amp;gt;sudo&amp;lt;/tt&amp;gt; for &amp;lt;tt&amp;gt;make install&amp;lt;/tt&amp;gt; even while you have disabled SIP.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ln -s open-zwave open-zwave-read-only&lt;br /&gt;
cd open-zwave&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
cd ..&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compile Domoticz===&lt;br /&gt;
You can follow trixwood’s instruction to modify the Domoticz source  above (&amp;lt;tt&amp;gt;sleep&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;LUA&amp;lt;/tt&amp;gt;) but this is not required for a successful compilation. The export statements below replace the original export statements listed above for &amp;lt;tt&amp;gt;LDFLAGS&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;CPPFLAGS&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd domoticz&lt;br /&gt;
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/&lt;br /&gt;
export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include/&lt;br /&gt;
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/Headers -DPYTHON_LIBRARY=/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6m.dylib -DUSE_PYTHON_PLUGINS=NO CMakeLists.txt&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note you may have to change the references to the Python folders in the cmake statement depending on your Python version. Simply follow the folders in the Cellar directory to find the correct folders for you.&amp;lt;br&amp;gt;&lt;br /&gt;
Now you should have the domoticz executable in the Domoticz folder.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
MacOS Sierra Instructions above are a summary of a slightly more detailed description posted in the [http://domoticz.com/forum/viewtopic.php?p=118725#p118725 Domoticz forum]&lt;br /&gt;
&lt;br /&gt;
=Domoticz start and stop=&lt;br /&gt;
You can start and stop Domticz via terminal or via script.&lt;br /&gt;
&lt;br /&gt;
==From Terminal==&lt;br /&gt;
This solution will keep terminal busy.&lt;br /&gt;
===Start Domoticz===&lt;br /&gt;
Enter domoticz folder and run:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
./domoticz&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
The open Safari and go to webpage: http://localhost:8080&lt;br /&gt;
&lt;br /&gt;
===Stop Domoticz===&lt;br /&gt;
From terminal just press ctrl+c&lt;br /&gt;
&lt;br /&gt;
==Make Domoticz startup at boot time==&lt;br /&gt;
Starting and stopping a OSX script/app can best be done by using launchctl&amp;lt;br&amp;gt;&lt;br /&gt;
Create a file named com.domoticz.server.plist in /Library/LaunchAgents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE plist PUBLIC &amp;quot;-//Apple//DTD PLIST 1.0//EN&amp;quot; &amp;quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;plist version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;dict&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;Disabled&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;false/&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;Label&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;string&amp;gt;com.domoticz.server&amp;lt;/string&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;ProgramArguments&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;array&amp;gt;&lt;br /&gt;
          &amp;lt;string&amp;gt;/opt/domoticz/domoticz&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;-www&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;8080&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;-log&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;/var/log/domoticz.log&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;-loglevel&amp;lt;/string&amp;gt;&lt;br /&gt;
                &amp;lt;string&amp;gt;normal,status,error&amp;lt;/string&amp;gt;&lt;br /&gt;
        &amp;lt;/array&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;OnDemand&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;false/&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;KeepAlive&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;true/&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;RunAtLoad&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;true/&amp;gt;&lt;br /&gt;
        &amp;lt;key&amp;gt;WorkingDirectory&amp;lt;/key&amp;gt;&lt;br /&gt;
        &amp;lt;string&amp;gt;/opt/domoticz&amp;lt;/string&amp;gt;&lt;br /&gt;
&amp;lt;/dict&amp;gt;&lt;br /&gt;
&amp;lt;/plist&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the launch script with: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
launchctl load /Library/LaunchAgents/com.domoticz.server.plist&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
launchctl start com.domoticz.server&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or use a GUI interface: [http://www.soma-zone.com/LaunchControl/ LaunchControl]&lt;br /&gt;
&lt;br /&gt;
=Not Working=&lt;br /&gt;
These items will not work tested version 3.48-3.52&lt;br /&gt;
&lt;br /&gt;
*[https://www.domoticz.com/forum/viewtopic.php?f=6&amp;amp;t=11766&amp;amp;p=90080#p84564 Updater]&lt;br /&gt;
*[https://www.domoticz.com/forum/viewtopic.php?f=6&amp;amp;t=11766&amp;amp;p=90080#p84568 Motherboard Sensors]&lt;br /&gt;
*System Alive Checker (Ping)&lt;br /&gt;
*[https://www.domoticz.com/wiki/Voltcraft_CO-20 Volcraft CO20 USB]&lt;br /&gt;
&lt;br /&gt;
Also note that using sockets in LUA is broken in the release version, to fix that compile it yourself :-)&lt;br /&gt;
&lt;br /&gt;
=Usefull Links=&lt;br /&gt;
&lt;br /&gt;
===iMessage Notification===&lt;br /&gt;
iMessage Notification [https://www.domoticz.com/forum/viewtopic.php?f=23&amp;amp;t=11870&amp;amp;p=85334#p85334 iMessage]&lt;br /&gt;
&lt;br /&gt;
===Airplay / iTunes===&lt;br /&gt;
&lt;br /&gt;
[https://www.domoticz.com/forum/viewtopic.php?f=38&amp;amp;t=9190]&lt;br /&gt;
&lt;br /&gt;
===Voice Commands: Talk to Domoticz===&lt;br /&gt;
Voice Commands: Talk to Domoticz (offline, make sure you check that box!) [https://support.apple.com/en-us/HT202584 Voice Recognition] [https://support.apple.com/kb/PH21513?viewlocale=en_US&amp;amp;locale=en_NZ Voice Commands]&lt;br /&gt;
&lt;br /&gt;
===Text To Speech (TTS)===&lt;br /&gt;
Text To Speech (TTS) [http://osxdaily.com/2011/07/25/how-to-add-new-voices-to-mac-os-x/ Text To Speech Config] &amp;amp;&lt;br /&gt;
[http://www.techradar.com/how-to/computing/apple/terminal-101-making-your-mac-talk-with-say-1305649 Text To Speech Command Line]&lt;br /&gt;
&lt;br /&gt;
===Camera Motion Detection=== &lt;br /&gt;
Camera Motion Detection: You can split one camera into 4, making it possible to detect walk direction with on cheap usb camera, since it uses applescript you can easily communicate with domoticz&lt;br /&gt;
[http://www.bensoftware.com/securityspy/ SecuritySpy] [bit.ly/1Tw3Vgj .] and for some fine-tunning [https://itunes.apple.com/nl/app/webcam-settings/id533696630?mt=12 Webcam Settings]&lt;br /&gt;
[https://www.domoticz.com/forum/viewtopic.php?f=23&amp;amp;t=11908&amp;amp;p=85624&amp;amp;hilit=walk+direction#p85624 Zone &amp;amp; Walking Direction Motion Sensors]&lt;br /&gt;
&lt;br /&gt;
===Scripts===&lt;br /&gt;
Scripts [https://itunes.apple.com/app/eventscripts/id525319418?mt=12 Event Scripts]&lt;br /&gt;
&lt;br /&gt;
[[Category:Domoticz]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Install]]&lt;br /&gt;
[[Category:TTS]]&lt;br /&gt;
[[Category:Speech Recognition]]&lt;br /&gt;
[[Category:Z-Wave]]&lt;br /&gt;
[[Category:OSX]]&lt;/div&gt;</summary>
		<author><name>GuillaumeBarberousse</name></author>
	</entry>
</feed>