I am not sure if anything can be optimized out (like rm -rf /var/lib/apt/lists/* ) or how to build via git but this builds successfully on a Pi 3 and reports:
$ head OZW_Log.txt
2018-11-06 21:51:45.540 Always, OpenZwave Version 1.5.0 Starting Up
2018-11-06 21:51:45.553 Info, Loading Localization File /usr/local/lib/python3.6/site-packages/python_openzwave/ozw_config/Localization.xml
2018-11-06 21:51:45.556 Always, Using Language Localization
2018-11-06 21:51:50.718 Info, Setting Up Provided Network Key for Secure Communications
2018-11-06 21:51:50.718 Warning, Failed - Network Key Not Set
2018-11-06 21:51:50.752 Info, Manufacturer_Specific.xml file Revision is 15
Improvements: Remove hard-coded values and Git flavor
Hey folks,
So just (yesterday) pulled down the 0.82.0b4 docker beta to test the new HA OZW fork, and it builds without any extra intervention (WOOOHOOOO) and adds the barrier command class #winning
One thing to note is even after a few HEALs and Reboots i couldnāt get cover.garage to show up. The 0x66 command wasnāt being recognized by the node. Now iām all too familiar with deleted all my z-wave stuff and rebooting (and the headache of renaming things) so I thought iād find out why.
caveat - this could be beta, it could be just an issue I suffered, but thought this may save people time. Essentially in zwcfg___.xml under your node number for the garage door: <Node id ="number"
should be a section starting with this: <CommandClass id="102" name="COMMAND_CLASS_BARRIER_OPERATOR" version="1" issecured="true">
However I did not - so used the section from a backed up working version and BINGO!
After a reboot cover.garage was there in all its secure barrier class glory
This is not really a garage door thing, but more of an OWZ question. So with the new fork coming out which fixes the barrier class, does anyone know what the process is to try to get other patches added to the fork. I have added the cover and a patch for zwave locks to my branch.
Soā¦ My question is, how to I request adding this to the HA branch
This is only merged to anyones fork that they wanted to patch. The PR on the main OZW master branch is still open. I started doing some testing when the ha-ozw branch went live and it seems you cannot just āpatchā inside of HA the same way that we have to date with our own forks. Unfortunately I think we still have to do the same method, just with the new branchā¦ Pull down the ha-ozw branch locally, copy it via Dockerfile. No need to uninstall the new homeassistant-pyozw package I donāt think. Actually you might have to reinstall without the --install-option=" --flavor=dev.
UPDATE: So I tried forking the HA branch over, adding in the UserCode.cpp fix and then in my Dockerfile I initially just copied over the open-zwave folder and let HA install with its own homeassistant-pyozw.
That didnāt pick up the locally added open-zwave branch with the lock clear user code fix. I then uninstalled the homeassistant-pyozw and reinstalled it like weāve been doing for a while now and that didnāt pull it over either. So Iām not sure how this is going to work at this point.
not sure i fully understand the process, but cant we just push the lock clear user code fix to the HA OZW branch for the next release?
possibly add to 0.83 beta?
I asked Balloob and he said if its not a commit that has been merged to the master OZW branch, it shouldnāt be added. I also asked one of the OZW devs why this cannot be added and there are differences of opinions.
balloobToday at 1:49 PM
We just replaced the pypi ozw dependency in HA with our fork build. You can still patch things the same way, just now build our fork and point that at your branch.
So this is where Iām confused. How do we point this at our branch?