Hi Dani,
Make sure you have set up a Virtualenv and created a HA user within that env.
Follow this link for more info.
Hi Dani,
Make sure you have set up a Virtualenv and created a HA user within that env.
Follow this link for more info.
For anyone with this problem, it seems to be related to newest OSX version and Python3. You need to run this command after installation of python and then you should be good to go.
/Applications/Python\ 3.6/Install\ Certificates.command
Hi
Is it possible you can just list the commands you used to install and configure Zwave on OSX? I am a little lost on this thread. Thanks
Ok, got it! After blowing away my entire python3 install because of another issue I reinstalled python3 using brew. This has the effect of installing it in /usr/local/lib/python3.5 instead of /Library…
$ brew install python3
I should also mention that I installed open-zwave with brew as well. Next I installed home-assistant using pip3.
$ sudo -H pip3 install homeassistant
Made sure it was up and working, and then did the following.
$ git clone https://github.com/Cython/cython.git2
$ cd cython
$ sudo -H python3 setup.py install
This builds cython and all its dependancies against OSX 10.11 instead of using the 10.6 build that is in the brew install.
Then I used the instructions from the HA ZWave site.
$ git clone https://github.com/OpenZWave/python-openzwave.git11
$ cd python-openzwave
$ git checkout python3
$ PYTHON_EXEC=which python3 make build
$ sudo PYTHON_EXEC=which python3 make install
Now it’s up and running and sees the Aeon Z-Stick and the Door/Window sensor. Now the only problem I am having is that HA is not seeing the binary state of the binary sensor it created. That is another fight for this week. Just glad HA can see the damned thing.
Gook Luck.
When i encountered the error CERTIFICATE_VERIFY_FAILED, i then ran the command
/Applications/Python\ 3.6/Install\ Certificates.command
and the continued with the above instructions.
Thanks for this. How did you install the above?
To install brew itself, check out https://brew.sh/ but ultimately its a simple command:
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
Then to install openzwave I used the brew command from: http://brewformulas.org/OpenZwave which is:
brew install open-zwave
with latest hass version it is not necessary anymore to compile your own ozw. It’s just an plugin.
Does that mean no brew install required as long as running on the latest hass?
Do I need to specify the config_path?
don’t know, I have brew for python3 FFmpeg nmap etc
Still need to install brew python, otherwise it would work.
Hi fellow Maccies! A bit late to the party, but for me, the breakthrough was:
zwave:
usb_path: /dev/cu.SLAB_USBtoUART
I just used;
pip3 install homeassistant
ls /dev/cu.usbmodem*
pip3 install python-openzwave==0.4.0.35
zwave:
usb_path: /dev/cu.usbmodem.xxxx
network_key: 0x92, 0x6b, 0x5B, 0x70, 0x28, 0xB3, 0xCA, 0x4B, 0x79, 0x84, 0x3B, 0x0B, 0x6C, 0xCE, 0x7C, 0x8E
No brew or sudo involved - All working well
On a separate note… I wish their was a section for Macos
That would be great! Almost worth setting up a completely independent group for it (even if on Facebook or similar!!!).
Now having trouble with the web front end when creating automations - I think there’s an orange “Save” button that’s hiding below the bottom edge of the page due to over-clever CSS!
For anybody getting issues with SSL failing on the download, just open Python folder in applications and then double click on Install Certificates.command that will fix everything for you on the download SSL errors.
I wish I had found this post earlier!! I spent 3 hours trying just about every combinations of python commands, homebrew, etc to get openzwave installed.