Linear NGDZ00-4 Garage Door

Does the device show up in HASS with a “barrier state label”?
Would show up in the <> menu.

Heyo.

I read a good deal of this thread but it’s pretty long (and some parts are older) so bear with me.

I use the homeassistant docker image on an Unraid server. I just installed the Linear garage door opener and have hit the same issues as everyone else.

I see some comments about running roughly:
pip3 install 'python_openzwave==0.4.0.35' --install-option="--flavor=ozwdev"

Is there any reason the stock requirements for home assistant can’t be moved to use this dependency rather than have everyone patch it after the fact? I have yet to get all this working as I’m hesitant to fork HA for the sole purpose of diverging a dependency.

Hey there,

I’ve been through this entire thread and I’m still completely lost on how to implement this fix using HASSIO.

Going though SAMBA and SSH, I don’t have access to any of the directories you guys are mentioning. the /srv/ folder is coming up empty when connecting as root via SSH.

Hell, sudo and pip aren’t even commands when I’m SSHing in ):

If anyone has an idea of how to update open z-wave, via HASSIO, please let me know. I’m currently stuck on 1.4.2508

That’s because it’s a dev version of openzwave that’s being used. Once a stable build is release from the openzwave devs, I’m sure HomeAssistant will update the requirement to the latest version.

1 Like

Hass.io is intended to be easy to use, and is not very flexible . To do something more advanced like this you should start with hassbian or a manual install.

Using AIO, I ran the script above from Aug 9. I replaced the contents of my init.py file with the following link you provided.

https://raw.githubusercontent.com/firstof9/home-assistant/15033d944bf109125ac08e4f8fcdba377c3826ba/homeassistant/components/cover/__init__.py

Now my zwave doesnt work at all and I cant get into the control panel.

Blockquote
2017-09-17 15:29:52.000 Error, Cannot find a path to the configuration files at ./config/. Exiting…
2017-09-17 15:29:52.000 Error, Exception: Options.cpp:91 - 1 - Cannot Find Configuration Files
Error: Options.cpp:91 - Cannot Find Configuration Files

Is there something I am missing? How do I fix this?

Try executing this:

cd /home/homeassistant/.homeassistant
sudo -u homeassistant ln -sd /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/python_openzwave/ozw_config
chown -R homeassistant:homeassistant /home/homeassistant/.homeassistant

I did that but my folder is python3.5. When I tried to change the folder to 3.5 it gave me “ln: failed to create symbolic link ‘./ozw_config’: File exists”

Is that an issue?

nah you can rename it with a sudo mv ozw_config config should fix it right up

Do you know their status of releasing new stable openzwave? This will be my last device to move from Wink to Hass Z-Wave! I can’t wait to consolidate :slight_smile:

As is always the answer with open source, “When it’s ready.” That’s the answer they give to everyone right now. :frowning:

1 Like

Can’t complain about that! Thanks for being in front of this :slight_smile:

You can follow OZW development here: https://github.com/OpenZWave

Does anyone have a guide of sorts for getting one of these working on hassbian? Ive read through the thread and pretty sure I get the requirements but its hard to follow what works for what platforms and what is the current method.

Here’s how to get it working in one simple line:

pip3 install 'python_openzwave' --install-option="--flavor=ozwdev"

You shouldn’t have to modify any files in HA to get it working either.
I just used it today after upgrading to stretch and updating to Python3.5 and it worked flawlessly.

Let us know how it goes for you.

4 Likes

I just tried this and when I enter in the line it tells me that option --flavor not recognized. What do I need to do to fix that?

Python3.5 ?

Yes I am on Python 3.5. Then I remember I used the virturalenv but When I try to install it there it tells me everything is already satisfied. I tried added it but it does not give me the cover option. What else can be done?

I had the same thing happen in my virtualenv setup. The solution was to simply uninstall the old python-openzwave first. After doing this, the installation of the dev flavor worked perfectly.

I did the uninstall and then installed the dev flavor. Is there a way to know if your one the dev flavor? I question this becuase I did not get the other file ozwcache.