Error zwave component?

I receive this error

17-04-18 21:30:44 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/option.py", line 78, in __init__
    raise ZWaveException(u"Can't find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
  File "/usr/lib/python3.4/traceback.py", line 181, in format_exception
    return list(_format_exception_iter(etype, value, tb, limit, chain))
  File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter
    for value, tb in values:
  File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain
    context = exc.__context__
AttributeError: 'NoneType' object has no attribute '__context__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/setup.py", line 192, in _async_setup_component
    None, component.setup, hass, processed_config)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/zwave/__init__.py", line 253, in setup
    CONF_CONFIG_PATH, default_zwave_config_path))
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/option.py", line 81, in __init__
    raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: 'Zwave Generic Exception : Error when retrieving device /dev/ttyACM0 : [\'Traceback (most recent call last):\\n\', \'  File "/srv/hass/hass_venv/lib/python3.4/site-packages/openzwave-0.3.1-py3.4.egg/openzwave/option.py", line 78, in __init__\\n    raise ZWaveException(u"Can\\\'t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\\n\', \'  File "/usr/lib/python3.4/traceback.py", line 181, in format_exception\\n    return list(_format_exception_iter(etype, value, tb, limit, chain))\\n\', \'  File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter\\n    for value, tb in values:\\n\', \'  File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain\\n    context = exc.__context__\\n\', "AttributeError: \'NoneType\' object has no attribute \'__context__\'\\n"]'

I did this too

pi@raspberrypi:~ $ ls /dev/ttyACM*
ls: cannot access /dev/ttyACM*: No such file or directory
pi@raspberrypi:~ $

I changed usb address and now

17-04-18 21:50:31 WARNING (Dummy-25) [openzwave] Z-Wave Notification DriverFailed : {‘homeId’: 0, ‘notificationType’: ‘DriverFailed’, ‘nodeId’: 255}

17-04-18 22:04:26 WARNING (Thread-7) [homeassistant.components.zwave] zwave not ready after 30 seconds, continuing anyway

no devices shown

What does the following command show:

ls /dev/ttyA*

a second reboot bropught back ttyACM0, and now works … strange

pi@hassbian:~ $ ls /dev/ttyA*
/dev/ttyACM0  /dev/ttyAMA0

After update Home Assistant to 0.63.2 receive a error.

2018-02-18 12:53:19 WARNING (MainThread) [homeassistant.bootstrap] Python 3.4 support has been deprecated and will be removed in the beginning of 2018. Please upgrade Python or your operating system. More info: https://home-assistant.io/blog/2017/10/06/deprecating-python-3.4-support/
2018-02-18 12:53:20 WARNING (MainThread) [homeassistant.components.recorder] From version 0.64.0 the ‘recorder’ component will by default purge data older than 10 days. To keep data longer you must configure ‘purge_keep_days’ or ‘purge_interval’.
2018-02-18 12:53:23 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/zwave/init.py”, line 275, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File “/srv/homeassistant/lib/python3.4/site-packages/openzwave-0.4.0.34-py3.4.egg/openzwave/option.py”, line 83, in init
self._user_path = user_path
AttributeError: attribute ‘_user_path’ of ‘libopenzwave.PyOptions’ objects is not writable
2018-02-18 12:53:23 WARNING (Thread-2) [homeassistant.components.emulated_hue] When targeting Google Home, listening port has to be port 80
2018-02-18 12:53:41 WARNING (Thread-7) [netdisco.ssdp] Error fetching description at http://127.0.0.1:58080/aff3d82df8.xml
2018-02-18 14:41:29 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.
2018-02-18 14:41:30 WARNING (MainThread) [homeassistant.components.emulated_hue] ‘emulated_hue’ is deprecated. Please rename ‘emulated_hue’ to ‘emulated_hue_hidden’ in your configuration file.

File/Directory permissions error in /home/homeassistant/.homeassistant

Do you know how can i change permissions. I never change any permission just update Home Assistant.

Do a ls -al /home/homeassistant to see what the permissions and owner are, then a ls -al /home/homeassistant/.homeassistant then post it here so we can see what’s going on.

pi@hassbian:~ $ ls -al /home/homeassistant
total 32
drwxr-xr-x  4 homeassistant homeassistant 4096 Jun 30  2017 .
drwxr-xr-x  5 root          root          4096 May 27  2017 ..
-rw-------  1 homeassistant homeassistant  771 Dec 17 22:21 .bash_history
-rw-r--r--  1 homeassistant homeassistant  220 Jan 15  2017 .bash_logout
-rw-r--r--  1 homeassistant homeassistant 3512 May  9  2017 .bashrc
drwx------  3 homeassistant homeassistant 4096 May 27  2017 .cache
drwxr-xr-x 12 homeassistant homeassistant 4096 Feb 18 16:47 .homeassistant
-rw-r--r--  1 homeassistant homeassistant  675 Jan 15  2017 .profile

pi@hassbian:~ $ ls -al /home/homeassistant/.homeassistant
total 9217744
drwxr-xr-x 12 homeassistant homeassistant       4096 Feb 18 16:48 .
drwxr-xr-x  4 homeassistant homeassistant       4096 Jun 30  2017 ..
-rw-r--r--  1 homeassistant homeassistant        879 Dec 28 20:20 Aautomations.yaml
drwxr-xr-x  2 homeassistant homeassistant       4096 Feb 18 16:13 automations
-rw-r--r--  1 homeassistant homeassistant       1949 Jan 10 07:45 automations.yaml
-rw-r--r--  1 homeassistant homeassistant       3836 Dec 28 19:35 configuration.yaml
-rw-r--r--  1 homeassistant homeassistant       4406 Dec 22 15:04 Copy configuration.yaml
drwxr-xr-x  3 homeassistant homeassistant       4096 Jan 10 08:52 custom_components
-rw-r--r--  1 homeassistant homeassistant       2062 Dec 15 16:57 customize.yaml
drwxr-xr-x  2 homeassistant homeassistant       4096 Sep  2 08:36 deps
-rw-r--r--  1 homeassistant homeassistant       4096 Sep 21 09:16 ._.DS_Store
-rw-r--r--  1 homeassistant homeassistant      10244 Jan 10 08:52 .DS_Store
-rw-r--r--  1 homeassistant homeassistant       1782 Jan 23 20:00 emulated_hue_ids.json
-rw-r--r--  1 homeassistant homeassistant         96 Feb 17 08:28 entity_registry.yaml
-rw-r--r--  1 homeassistant homeassistant        460 Sep 24 15:37 .ftpconfig
-rw-r--r--  1 homeassistant homeassistant       4509 Dec 28 21:54 groups.yaml
-rw-r--r--  1 homeassistant homeassistant          6 Feb 17 08:15 .HA_VERSION
-rw-r--r--  1 homeassistant homeassistant       1953 Feb 18 15:01 home-assistant.log
-rw-r--r--  1 homeassistant homeassistant 9438642176 Feb 18 16:48 home-assistant_v2.db
drwxr-xr-x  2 homeassistant homeassistant       4096 Dec 22 15:15 input_boolean
drwxr-xr-x  4 homeassistant homeassistant       4096 Jan 10 08:52 input_number
-rw-r--r--  1 homeassistant homeassistant        520 Nov 26 15:11 known_devices.yaml
drwxr-xr-x  2 homeassistant homeassistant       4096 Dec 18 11:13 lights
-rw-r--r--  1 homeassistant homeassistant        642 Dec 22 18:27 media_players.yaml
-rw-r--r--  1 homeassistant homeassistant       1122 Nov  5 10:11 options.xml
lrwxrwxrwx  1 homeassistant homeassistant         74 May 27  2017 ozw_config -> /srv/homeassistant/lib/python3.4/site-packages/python_openzwave/ozw_config
-rw-r--r--  1 homeassistant homeassistant      64123 Feb 17 08:12 OZW_Log.txt
-rw-r--r--  1 homeassistant homeassistant        125 Feb 18 15:01 plex.conf
-rw-r--r--  1 homeassistant homeassistant       8192 May 28  2017 pyozw.sqlite
-rw-r--r--  1 homeassistant homeassistant          0 May 18  2017 scenes.yaml
drwxr-xr-x  2 homeassistant homeassistant       4096 Dec 22 20:25 scripts
-rw-r--r--  1 homeassistant homeassistant        489 Dec 15 17:57 secrets.yaml
-rw-r--r--  1 homeassistant homeassistant       2995 Nov 16 16:58 sensors.yaml
drwxr-xr-x  2 homeassistant homeassistant       4096 Dec 12 19:03 switches
drwxr-xr-x  2 homeassistant homeassistant       4096 Dec 20 15:58 tts
-rw-r--r--  1 homeassistant homeassistant       2081 Sep 18 11:00 update.sh
-rw-r--r--  1 homeassistant homeassistant         44 May 27  2017 .uuid
drwxr-xr-x  2 homeassistant homeassistant       4096 Jun  6  2017 www
-rw-r--r--  1 homeassistant homeassistant        768 Jun 18  2017 zones.yaml
-rw-r--r--  1 homeassistant homeassistant      64192 Feb 17 08:12 zwcfg_0xd173c333.xml
-rw-r--r--  1 homeassistant homeassistant        108 Feb 17 08:12 zwscene.xml

Run a df -h for me please, your drive might be full.

pi@hassbian:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        30G   12G   17G  41% /
devtmpfs        458M     0  458M   0% /dev
tmpfs           462M  4.0K  462M   1% /dev/shm
tmpfs           462M   13M  450M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           462M     0  462M   0% /sys/fs/cgroup
/dev/mmcblk0p1   42M   21M   21M  51% /boot

I’m not sure why it’s complaining these are the correct perms. Try chmod 777 /home/homeassistant/.homeassistant/options.xml see if that gets rid of the error. If it does, then somehow python_openzwave is being used not by the homeassistant user.

pi@hassbian:~ $ chmod 777 /home/homeassistant/.homeassistant/options.xml
chmod: changing permissions of ‘/home/homeassistant/.homeassistant/options.xml’: Operation not permitted

sudo it sorry

sudo 777 /home/homeassistant/.homeassistant/options.xml
sudo: 777: command not found

sudo chmod 777 /home/homeassistant/.homeassistant/options.xml

But nothing happened, may be not show in PuTTY.
pi@hassbian:~ $ sudo chmod 777 /home/homeassistant/.homeassistant/options.xml
pi@hassbian:~ $
pi@hassbian:~ $

You need to upgrade your virtual environment - see here for just doing that.