Z-wave suddenly not working

Hello,

Suddenly my z-wave is not working on my Hass.io setup.

I got the following error in the log;

2017-10-20 18:19:43 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 194, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/zwave/__init__.py", line 244, in setup
    from pydispatch import dispatcher
  File "/usr/lib/python3.6/site-packages/pydispatch/dispatcher.py", line 29, in <module>
    from pydispatch import saferef, robustapply, errors
ImportError: cannot import name 'errors'
2017-10-20 18:19:58 WARNING (SyncWorker_11) [netdisco.ssdp] Error fetching description at http://192.168.1.7:49130/devdesc.xml
2017-10-20 18:20:01 ERROR (SyncWorker_13) [homeassistant.util.yaml] unacceptable character #x0000: special characters are not allowed
  in "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/services.yaml", position 0
2017-10-20 18:20:02 ERROR (MainThread) [homeassistant.setup] Error during setup of component media_player
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 70, in load_yaml
    return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()
  File "/usr/lib/python3.6/site-packages/yaml/__init__.py", line 70, in load
    loader = Loader(stream)
  File "/usr/lib/python3.6/site-packages/yaml/loader.py", line 24, in __init__
    Reader.__init__(self, stream)
  File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 85, in __init__
    self.determine_encoding()
  File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 135, in determine_encoding
    self.update(1)
  File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 169, in update
    self.check_printable(data)
  File "/usr/lib/python3.6/site-packages/yaml/reader.py", line 144, in check_printable
    'unicode', "special characters are not allowed")
yaml.reader.ReaderError: unacceptable character #x0000: special characters are not allowed
  in "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/services.yaml", position 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 191, in _async_setup_component
    result = yield from component.async_setup(hass, processed_config)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/__init__.py", line 377, in async_setup
    os.path.dirname(__file__), 'services.yaml'))
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/config.py", line 289, in load_yaml_config_file
    conf_dict = load_yaml(config_path)
  File "/usr/lib/python3.6/site-packages/homeassistant/util/yaml.py", line 73, in load_yaml
    raise HomeAssistantError(exc)
homeassistant.exceptions.HomeAssistantError: unacceptable character #x0000: special characters are not allowed
  in "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/services.yaml", position 0

Anybody who knows what this is?

@Mathias_Jensen I am experiencing the same issue, did you resolve yours?

Thanks

Is your python up to date? The z-wave error is related to importing the ‘errors’ library which has to do with your current install.

The second error has to do with your media player. It has nothing to do with z-wave. The second error is letting you know that you have a bad character in yaml that isn’t allowed. You most likely are using a special character to name something, which is a no-no.