Have the SmartThings integrated with HA 0.84.5 installed via HassIO, the available sensors are work using the SmartThings Bridge and MQTT Bridge.
Now trying to use Nortek HUSBZB-1 to control Zigbee and Zwave devices directly from HA.
When I plugged in the USB in a running instance of HA, I got the following messages, which apparently show the USB is detected correctly and TTY0 (Zwave) and TTY1(Zigbee) could be used.
Afterwards I tried updating the configruation.yaml
as follows (which was incorrect), as it is for HA, not HassIO.
zwave:
usb_path: /dev/zwave
zha:
usb_path: /dev/zigbee
database_path: /home/homeassistant/.homeassistant/zigbee.db
When I restarted I got the error messages in logs , basically telling that zwave and zigbee devices dont exist.
So I unplugged and followed the correct procedure/guide to fix the error in confihguration as follows
zwave:
usb_path: /dev/ttyUSB0
zha:
usb_path: /dev/ttyUSB1
database_path: /config/zigbee.db
After the correction when I am restarting HA, I am still getting the following error messages in the log
2018-12-21 13:29:22 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=49 from 2018-12-21 10:25:15.834868)
2018-12-21 13:29:27 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Z-Wave (import from configuration.yaml) for zwave
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/openzwave/option.py", line 78, in __init__
raise ZWaveException(u"Can't find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: "Zwave Generic Exception : Can't find device /dev/zwave : ['NoneType: None\\n']"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/config_entries.py", line 249, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/zwave/__init__.py", line 283, in async_setup_entry
config_path=config.get(CONF_CONFIG_PATH))
File "/usr/local/lib/python3.6/site-packages/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/zwave : [\'Traceback (most recent call last):\\n\', \' File "/usr/local/lib/python3.6/site-packages/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\', \'openzwave.object.ZWaveException: "Zwave Generic Exception : Can\\\'t find device /dev/zwave : [\\\'NoneType: None\\\\\\\\n\\\']"\\n\']'
2018-12-21 13:29:27 WARNING (MainThread) [homeassistant.loader] You are using a custom component for tts.google which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-12-21 13:29:28 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry /dev/zigbee for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/serial/serialposix.py", line 244, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/zigbee'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/config_entries.py", line 249, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/zha/__init__.py", line 126, in async_setup_entry
await radio.connect(usb_path, baudrate)
File "/usr/local/lib/python3.6/site-packages/bellows/ezsp.py", line 29, in connect
self._gw = await uart.connect(device, baudrate, self)
File "/usr/local/lib/python3.6/site-packages/bellows/uart.py", line 285, in connect
xonxoff=True,
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/serial_asyncio/__init__.py", line 410, in create_serial_connection
ser = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/serial/__init__.py", line 88, in serial_for_url
instance.open()
File "/usr/local/lib/python3.6/site-packages/serial/serialposix.py", line 247, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/zigbee: [Errno 2] No such file or directory: '/dev/zigbee'
I tried unplugging and restarting the HA (also be clearing the log manually) however with each restart I am getting the same log messages, even if USB is not plugged in.
I am not able to access any Zwave or Zigbee functions as it seems like the devices dont even exist in /dev/tty* as follows (screenshot with correct config and USB plugged in). Although hw info
shows it is getting detected.
Kinda gave up with my limited knowledge and experience with HA. Any help and guidance would be appreciated to set up the USB stick correctly and make it work,
Have got the following Nortek HUSBZB-1, if it can help narrowing down the issue
Thanks.