-
Notifications
You must be signed in to change notification settings - Fork 502
deCONZ on macOS
The deCONZ application on macOS can be downloaded from https://deconz.dresden-elektronik.de/macos.
For now there's only an Intel version, but it works on Apple Silicon through Rosetta.
The zip-file contains an app
bundle, which is installed by moving it to /Applications
As deCONZ.app
is not yet notarised, it needs to ask for permission to accept incoming connection on each startup.
This can be prevented by code signing it yourself trough:
codesign --force --deep --sign - /Applications/deCONZ.app
I'm not sure, but you might need to install XCode for codesign
.
The file locations on macOS differ from Raspberry Pi OS:
Raspberry Pi OS | macOS |
---|---|
/usr/share/deCONZ |
/Applications/deCONZ.app/Resources |
~/.local/share/deCONZ |
~/Library/Application Support/dresden-elektronik/deCONZ |
I was able to move my test installation from Raspberry Pi OS to macOS, by moving the ConBee II from my Pi 4B to my M2 Pro mac mini, and copy over zll.db
.
Make sure to stop deCONZ cleanly, before copying zll.db
.
To start deCONZ automatically on login, create de.dresden-elektronik.deCONZ.plist
in ~/Library/LaunchAgents
.
This also allows you to pass command-line parameters to deCONZ and capture the output into a log file.
As example, I use the file below (note that I hard-coded my home directory):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>de.dresden-elektronik/deCONZ</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/deCONZ.app/Contents/MacOS/deCONZ</string>
<string>--http-port=80</string>
<string>--dbg-ddf=1</string>
<string>--dbg-error=2</string>
<string>--dbg-js=1</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/ebaauw</string>
<key>StandardErrorPath</key>
<string>/Users/ebaauw/Library/Logs/deCONZ.log</string>
<key>StandardOutPath</key>
<string>/Users/ebaauw/Library/Logs/deCONZ.log</string>
</dict>
</plist>
Home Remember : Not all devices listed here are supported by deconz.