So when is OpenZWave (OZW) version 1.6 coming to Home Assistant?

At the end of the day, HA is technically beta as well… LOL! ;D

Such is the landscape of open source software we play in… no software is ever ‘done’. It is fine and I enjoy playing with software in development, and I even enjoy partaking in development when my skills apply. I think my problem was caused by lots of what I call ‘cross talk’ in the forums… in this case led me to believe devs were ready for a more large scale testing effort with ozw (including newbs like me etc). I know they are working hard on it and have made lots of progress, but yeah no cache means issues with sleeping devices. Maybe a more bold warning about this? No, I don’t think that would help either… let me explain.

There are deep dev discussions that require lots of skill to grasp, along side newb q/a in these forums. Compare this to like 3d printing, where newb q/a stuff is limited to some forums (like tv, etc), and the dev discussions are separeted and almost exclusively done on github. This means if you read across it on TV, it’s probably ready for the newbs at large to start playing with, but if you start digging into stuff on marlinfw github bugfix, you know to expect a rougher ride. Compared to this, the HA forums have lots of ‘roadmap’ and deeper ideas being discussed, all on the same site even same section where newbs do q/a. So it’s easier for a newb (like myself perhaps) to stumble upon some ‘dev discussion’ and interperet the ‘it works well’ comments as ‘ready for newbs at large to test’. I know there are grey areas in between ‘alpha’, ‘beta’, and ‘release’, and I don’t care to resolve such lines… just communicating an observation I had about where the seemingly repeated confusions among newbs (especially myself) may be stemming from.

One thing in general that could help in this regard, is when a dev (or other important member) posts one of those ‘important feature’ threads where lots of active discussion happens about testing/fixing something new and popular in HA… the top post could be updated with some important notes for those who aren’t keeping as close a pulse on the development (ie, newbs like me). For example, we all love reading the latest state of the new ozw integration, and wonder if it’s ready for our setup to test. We read through and it all sounds great, then find out the cache thing. Probably, those folks discussing things in the thread already knew this isn’t ready for battery devices yet (other than testing/experimenting anyways). That is an important fact, that could be tracked in bold on the first post, so as someone ‘checks in’ on the state of ozw on the thread, they know “ok, still not ready for me today, hopefully tomorrow”.

Just want to Clarify a few things and add my points as the OZW developer:

but yeah no cache means issues with sleeping devices. Maybe a more bold warning about this? No, I don’t think that would help either… let me explain.

So that was a implementation error in the container released by HACS. That container isn’t managed/maintained by me. While I fully appreciate the ease of installation HACS gives users, its always going to lag behind in terms of features/functionality from the official source and when there are issues, the only thing I can do is say “please use the ozwdaemon container” till the community behind HACS get around to updating their version.

interperet the ‘it works well’ comments as ‘ready for newbs at large to test’.

As for the “Beta” status - and newbies - I’m speaking from the OZW side perspective only, but since 0.110 landed, the feedback from everybody has been incredibly useful to me. Not just the bug reports and “things don’t work” but also the questions about how to do things. Its this feedback from newbies and experts alike that’s directing my efforts right now - either (obviously) fixing bugs, but also with regards to how users are actually using it, the confusion they are facing and how I can make things easier (e.g. AllInOne Container for ozwdaemon, which was copied by HACS quickly!)

the top post could be updated with some important notes for those who aren’t keeping as close a pulse on the development (ie, newbs like me).

On my side, Development and Bug fixes are happening on a daily basis, with new releases almost every day. So saying something is broken today may not be the case tomorrow (from purely a OZW perspective - obviously the HA side of things moves at their predefined release cycle). If we don’t have a bunch of people at least trying and testing, the Beta status will take longer and it may end up released as “stable” due to low bug reports, only for then others to jump on it, and find out something is broken or not working quite right, and then complaining its not “ready” either. its a Chicken and Egg Problem.

they know “ok, still not ready for me today, hopefully tomorrow”.

Final point - A lot of users are very quick to jump on and say that HA or OZW is broken with their devices. In reality, there are 3000+ Z-Wave devices on the market, with maybe 1/3 of that “community tested” in OZW. A LOT of issues reported recently are due to “quirks” in the way some vendors have implemented Z-Wave (I wont call all of them bugs, so lets say some non-standard, or very old implementations) and we have to update config files to get OZW to manage and interpret the way they work correctly. I am just saying this, as I want people to understand that the Z-Wave Vendors, despite its certifications and testing - have bugs and the only way we find them is via testing.

(and if people jump on to say it works in OZW 1.4 and not in OZW 1.6 - I’d like to point out, OZW 1.4 was done on reverse engineering the protocol - OZW fixed a lot of issues were it was not compliant after the specifications were released. This means some changes in 1.6 may impact some devices and again, the only way to know if for users to try!)

Just my 2c - As as user, i’m sure its frustrating, especially when you need something to just work (due to WAF or the $$$ you paid for Z-Wave etc) and I try to prioritize fixes for bugs that affect a larger group of users, but without your testing, OZW and the HA integration will not mature quickly and we will forever be stuck on the old integration with all its issues.

13 Likes

Cheers to this, and I am happy to post relevant logs on github to that end. I understand the breadth of zwave devices and the quirks required to ‘support everything’, and that is the place where my logs and experiences are likely to help the most. As freshcoast mentioned in another thread, my setup may be experiencing other issues that could be explored as well (WRT responding to sleeping nodes after reboot).

I’m really confused by this.

It is my understanding that HACS only provides the custom integration. It doesn’t provide the “ozwdaemon container”. The thing provided by HACS wonb’t work until you have a “container” (qt-openzwave) already running.

I assume you are actually referring to the Add-on Store and just misspoke and called it HACS?

Ya justin and petro worked it out in another thread.

1 Like

Not quite. Fishwaldo publishes a docker container… Home Assistant developers take that container and uses it as a basis to construct the add-on container you see in the store. The purpose of that container is to publish topics to MQTT, which are then picked up by the new (beta) integration.

So you have two choices for the container part. You can use the one in the add-one store (which is based on the one released by Fishwaldo) and is a one-click install, or you can use the one released by Fishwaldo directly (but requires knowledge of docker among other things). The latter will always lead the former.

One of the things that is done in converting from the directly released one to the one you see in the store, for example, is bind-mount directories from the home assistant ecosystem into the container so that things like the cache file is stored outside of the container and persist across new version installs. This was not done (or done incorrectly) by the HA team.

So two things have to happen for the add-on store version to update:

  1. Fishwaldo releases new version of qt-openzwave container
  2. HA developer build a new version of the add-on based on (1)

Bugs can be introduced in step 2

Back at you… :wink:

I wasn’t referring to the add-on container, the official container or the differences between those two things. I know that the ozw official container and the add-on containers are different (as you saw in the other thread).

I was trying to (politely :slightly_smiling_face:) correct fishwaldo’s understanding of the difference between the “container” (offered thru the Add-on Store) and the “integration” (offered thru HACS).

Those were the differences I was pointing out in that post.

Then firstof9 let me know that he had been corrected in another thread that i hadn’t read yet.

So I think it’s all sorted out now.

The HA addon container has no relation the the official container, except that they run the same applications. They are completely independent. They are not even the same Linux distribution (Alpine Linux vs. Debian).

right… i oversimplified.

I will tell you that the openzwave-qt is awesome. I tried it and because I know almost nothing about docker screwed my system up, big time. Took me weeks to get things running. And just tonight I screwed it up again. The problems I have are my own fault : I insist on running in venv and know so little about docker. But now I think I need to make some kind of change because I can’t go through renaming all my nodes again. I think I would rather live in a tent.

Be careful if you do go the docker route, make sure you are very comfortable working with it. The group of people working on the project are awesome and I can’t wait until it becomes easier for someone like me to use. I was able to follow instructions and cmd-line my way through it…but that doesn’t help you with the basics. I’m almost afraid to go tell my wife I hosed eh system again, going to bed disguested at myself.

I made a Community Guide how to do this the easy way for a venv install.

Thank you! I’ll check it out now. Tried to go to bed and couldn’t. :expressionless:

I had a look. Thanks for the very concise article, I’m going to need it when I rebuild. I think my mistake was that I didn’t backup some very important files. And I probably wiped out my local storage for the container. Long story short, let’s say I ran the command last month :
-v /home/km/ozw:/opt/ozw
And then in my attempts to upgrade tonight I might have done something like
-/home/km/ozw:/opt/ozw/config
Which would mess up the left side.
Next time, I think I should be backing up /home/km/ozw at least one a day, correct?

This is just where you’d like the persistent storage for ozwd to be located so you can modify it easy AND so that your ozwcache has a place to live when you update the container. Otherwise each update you’d start from scratch and the cache would need to rebuild, very bad day.

I’d say just he ozwcache XML file.

Thanks. I think what I"m going to do next is this: Setup a small zwave network, practice Docker so I’m comfortable updating it, backup the ozwcache XML, try to break the whole thing several times, and when confident set it up for hopefully the last time. Someone recommended a Hub I haven’t heard of, called Hubitat. It can be used like Vera - I’d use only the z-wave portion, and this might be the better way for me. Who knows.

docker’s pretty simple, you can’t really break it

Hello, I’m Keith, nice to meet you! I can break my own zwave docker images really easy :slight_smile:

More like just a mis-configuration :wink:

1 Like

Hello,

I am a newbie to HA. I know a little about docker having tried MQTT/Phoscon/deCONZ/mcsMQTT/JowiHue with HomeSeer. I have implemented the AllInOne container on my Pi where my RaZberry card is and have successfully migrated 9 Z-Wave devices thus far and integrated them into HA which is on another Debian box. Question is, where do I file questions about how to do things and/or bug reports? My VNC window for admin keeps closing…

Thanks, Daniel

My docker config:

docker run -d \
 --name ozwd \
 --restart=unless-stopped \
 --security-opt seccomp=unconfined \
 --device=/dev/ttyAMA0 \
 -v $PWD/ozw:/opt/ozw/config \
 -e MQTT_SERVER="192.168.1.104" \
 -e MQTT_USERNAME="homeassistant" \
 -e MQTT_PASSWORD="Aighio . . . Hoopie0uth" \
 -e USB_PATH=/dev/ttyAMA0 \
 -e OZW_NETWORK_KEY=0xBC,0x87,. . . . ,0xD6,0x17 \
 -p 1983:1983 \
 -p 5901:5901 \
 -p 7800:7800 \
 openzwave/ozwdaemon:allinone-latest