Started running the patch script one line at a time.
I got to line 30 (pip3 uninstall -y python-openzwave)
Error returned is “Cannot uninstall requirement python-openzwave, not installed”
Ran
$ pip3 list
As user home-assistant in the venv and it didn’t show up in the list.
As a double check i also ran it as user pi and it wasn’t there either
I went to the python-openzwave directory and ran
$ make install
It said it was complete.
Ran $ pip3 list again, nothing.
Ran $ pip list, nothing for either user pi or home-assistant
I checked back through the install logs for AIO & found the following:
…
[localhost] sudo: git checkout python3
[localhost] out: error: pathspec ‘python3’ did not match any file(s) known to git.
[localhost] out:
Warning: sudo() received nonzero return code 1 while executing ‘git checkout python3’!
…
and a whole bunch of syntax warnings like the following:
…
[localhost] out: File “build/bdist.linux-armv7l/egg/socketio/virtsocket.py”, line 365
[localhost] out: except (ValueError, KeyError, Exception), e:
[localhost] out: ^
[localhost] out: SyntaxError: invalid syntax
[localhost] out:
…
Should i just continue on through the script at this point?
And as a side note:
Do the steps from my last post above (#207) look like they are correct?
It may help someone else trying to follow along with this long and winding thread. I was getting confused and I’m following pretty closely.
and @firstof9, I tried that for me and still got the 66 error.
I can see Node012, Decrypted Packet: 0x00, 0x66, 0x03, 0xff and the 0xff changes to 0x00 when move the tilt sensor.
ff is door up and 00 is door down.
But I still see the “don’t understand 66 class” message.
@penright Ok your’s looks compiled without error except for the ozwcp, which isn’t a big deal.
Step 0: Stop homeassistant
Step 1: cd /srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/zwave
Step 2: sudo nano __init__.py
Step 3: Line 40 make it look like this:
Step 4: CTRL X to save and close that file
Step 5: cd /home/homeassistant/.homeassistant/deps
Step 6: Here either rm -Rf * or try to find anything openzwave related and delete it (easier to rm -Rf *)
Step 7: Start homeassistant
HA should start re-downloading anything you deleted and start using the openzwave libs you compiled.
First, I found REQUIREMENTS in between the "from … " and “CONF_…”
First time I restarted hass looks like zwave did not load. I restarted and dropped down the node in the zwave section and watched it probed and waited till all showed completed.
Few notes:
Looks like all the zwave devices lost their names
I now see an entity cover. and it’s state is open, but if I go into the dev {{ states.cover.unknown_id014f_unknown_type4744_id3530_barrier_state_label.state }} it shows open but does not change when I move the sensor. The ozw log shows it is communicating without error.
AppDaemon should not be affected, may be a separate issue.
Now that you have the cover showing up, you should be able to link it in the GUI providing you’ve replaced the zwave component files
They go in your /srv/homeassistant//lib/python3.4/site-packages/homeassistant/components/cover directory or /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/cover using AIO.
As for naming the device, you can do that via the zwave config to name your device, or just manually edit the ozwcache_xxxxx.xml file in /home/homeassistant/.homeassistant/ directory or copy your zwcfg_xxxxx.xml on top of it.
For me it was ‘_/srv/homeassistant//lib/python3.4/site-packages/homeassistant/components/cove_r’ directory. Now the GUI seems to work and the cover widget for the dashboard.
Default setup for the widget seems pretty bla, I wonder what customizing can be done? Oh well that’s for another thread.
Yes, please make some kind of documentation. I am have the same issue and I am not very good at using Linux so a detailed guide would be amazing to have for rookies like myself.
Not sure I understand the pros and cons to different methods.
Is there a file that Name = Node#. That way if Node# changes, I change that and all my entities work. Every time I remove/added the garage door opener, it got a new node number. I am going to have two garage door openers.
Edit:
Just tried the zwcfg_xxx.xml. Restarted (hassctl restart) and the node name did not change.