So all went well with my fresh all-in-one install on a raspi3, until I got to the zigbee part. I’m using a Linear HUSBZB-1 from Amazon, if it helps. The Zwave component loaded fine. Below is the part of my config pertaining to the zigbee portion.
zha:
usb_path: /dev/ttyUSB0
database_path: /home/homeassistant/.homeassistant/zigbee.db
It seems once I define a database path and restart homeassistant, the entire web interface just stops loading. “192.168.1.xxx refused to connect.” I’ve tried other variations based on different posts, such as leaving the path off (just zigbee.db). While the web interface loads, it says zha isn’t loaded properly, and the log shows:
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/setup.py”, line 191, in async_setup_component
result = yield from component.async_setup(hass, processed_config)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/zha/init.py”, line 87, in async_setup
APPLICATION_CONTROLLER = ControllerApplication(ezsp, database)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 29, in init
self._dblistener = bellows.zigbee.appdb.PersistingListener(database_file, self)
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/bellows/zigbee/appdb.py”, line 29, in init
detect_types=sqlite3.PARSE_DECLTYPES)
I suspect the zha config I posted is the right one, but I can’t figure out why HA stops loading with it. The log (with that configuration), shows:
2017-09-20 03:12:36 WARNING (MainThread) [homeassistant.setup] Setup of zha is taking over 10 seconds.
Nothing else related to zha. Is there anything else to try? I checked to make sure the zigbee.db file is owned by the homeassistant account (it is) and even tried a different db file name.
Apologies is this is confusing, it is late but I wanted to pick the internet’s brain. If you need any other logs please let me know. I’ll appreciate any tips!