Alright the very weird thing is when i start/restart/reboot 1.5 gets overwritten with 1.4 which explains why I couldn’t get the cover to show when adding in zwave when using “pip3 install python-openzwave --install-option=”–flavor=ozwdev"
I updated my install instructions to the following:
When I start hass though i get the following:
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Main process exited, code=killed, status=6/ABRT
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Unit entered failed state.
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Failed with result ‘signal’.
Any ideas?
I did try to blow away the DB and let Hass rebuild it.
I did edit the /srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/zwave/init.py and edited the version to 0.4.4 but i’m getting getting the same error and can’t start.
I tried 0.4.3 and 0.4.4 both yield the same error when trying to start.
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Main process exited, code=killed, status=6/ABRT
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Unit entered failed state.
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Failed with result ‘signal’
Uninstalling open-zwave and starting Hass reverts to the latest from Hass and starts normally.
Hi folks,
Are we still in a position where the garage door is still not supported as a cover in the main branch? If so is the additional edits not worth pushing?
I’m having an issue having this device (removed from wink) show up as a cover. However my blinds show up as a cover?
Thanks for clarifying, been down a custom route before only to see it rolled out in the next version so wanted to check how much extra tinkering was needed.
The issue is OpenZwave not officially supporting it yet on their master branch, you can get support via their dev branch. I have been running that for over a year and it’s working fine for me. YMMV
Anything else need to be modified for ubuntu in the script other than the file locations? script has seemingly worked, had a bunch of warnings of deprecations. On to testing
ok. i’ll report back with any issues - seems to be ok so far (although i know i’m going to immediately regret saying that)
EDIT: [On Ubuntu 17.0]
versions were the same in the script
file locations needed changing
(in my example user was different)
I also had an issue with /usr/lib/python3.6… permissions (but seemingly easy enough to fix)
I did lose all my device names. Also, when I secure paired it, I got a MAC error, and had to do “Refresh Node” (and perhaps a restart) for it to get me the coveted “Cover” widget.
Tried these manually, all went fine but still getting same error
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Main process exited, code=killed, status=6/ABRT
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Unit entered failed state.
Mar 17 20:24:56 raspberrypi systemd[1]: [email protected]: Failed with result ‘signal’
who do we have to pressure on the OZW to add a freaking garage door?
cant build open-zwave-control-panel (and cant figure out what isnt right) - and REALLY dont want to have to do ANOTHER rebuild to get a garage door working
edited covers/zwave.py as per guidance above - but not able to install dev version of ozcp
Could someone here good with linux check the below (i tried a lot of things, but ulitmately i feel this is what got it working). Hoping it will help others
EDIT:
ok finally got it working. dev worked ozwdev flavor did not. version 4.4.0 NOT 4.3.0
let me attempt to explain what is happening for not linux/non devs out there.
I’m using:
Ubuntu 17.10 with a virtual environment
so my steps were a little different - but the initial part was the same - and well should be similar across the board. note i use XXXX for your homeassistant location below.
It seems the barrier components are missing from open-zwave, despite HA being ready for when it is included. The task here is to build open-zwave from a dev version (or in this instance a fork with the barrier components) then installing it instead of the current version HA uses. The last step is to then tell HA the version is slightly different
i cant say if i needed libmicrohttpd or not, but follow these steps to get that installed.
cd /XXXX/src
mkdir libmicrohttpd
chown user:user libmicrohttpd #<---note user:user change to your HA user
cd /XXXX/src/libmicrohttpd
wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.19.tar.gz
chown user:user libmicrohttpd-0.9.19.tar.gz
tar zxvf libmicrohttpd-0.9.19.tar.gz
chown user:user libmicrohttpd-0.9.19
cd libmicrohttpd-0.9.19
./configure
make
make install
cd XXXXX #{where XXXX} is your homeassistant folder
source bin/activate
cd src
git clone https://github.com/ryanwinter/open-zwave.git
cd open-zwave
make #{should make the open-wave stuff}
pip3 install cython wheel six
pip3 install 'PyDispatcher>=2.0.5'
pip3 uninstall python_openzwave
export LOCAL_OPENZWAVE=/XXXX/src/open-zwave #{as above XXXX is Homeassistant folder}
pip3 install 'python_openzwave' --install-option="--flavor=dev"
now last thing to note is the version mine was 0.4.4
locate the file
REQUIREMENTS = [‘pydispatcher==2.0.5’, ‘python_openzwave==0.4.4’]
(paying close attention to ensure the 0.4.4 matches whatever was built in the open-zwave build
so i have it installed - and cover shows (and displays correctly when manually triggering garage opener) but it isnt responding to cover.open_cover or cover.close_cover
A lot quicker locally than Wink! just a shame we cant bug the OZW folks to push boundary to master (or build HA with a open-zwave build that contains it just for us )