I want to use ZigBee using “HUSBZB-1”.
“Z-Wave” is registered and available normally.
However, ZigBee tried to register as “zha,” but an error occurs.
The settings I have made to register it are as follows.
#############################################
#############################################Zwave
#############################################
#############################################zwave :
usb_path: /dev/ttyUSB1#############################################
#############################################Zigbee
#############################################
#############################################zha :
usb_path : /dev/zigbee
database_path : /config/zigbee.db
I have referenced the following link to register this.
http://techdout.blogspot.com/2018/03/z-wave-zigbee-usb-stick-on-home.html
I think that’s the right setting.
However, “HA” generates an error message.
Error during setup of component zha
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 145, in >_async_setup_component
hass, processed_config)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/init.py”, line 106, >in async_setup
APPLICATION_CONTROLLER = ControllerApplication(radio, database)
File “/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py”, line 21, in init
super().init(database_file=database_file)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/application.py”, line 23, in init
self._dblistener = zigpy.appdb.PersistingListener(database_file, self)
File “/srv/homeassistant/lib/python3.5/site-packages/zigpy/appdb.py”, line 31, in init
detect_types=sqlite3.PARSE_DECLTYPES)
sqlite3.OperationalError: unable to open database file
Can you help me with this?