Cannot restart server: "Invalid config for [zwave]"

Hello - newbie here. I’m trying to install HACS and I’m at the part where a restart my HA server under Configuration > Server Controls. The guide I’m following tells me to click “Check Configuration” first. When I do that I get this:

Configuration invalid

Invalid config for [zwave]: does not match regular expression for dictionary value @ data[‘zwave’][‘network_key’]. Got ‘(this is my key)’. (See /config/configuration.yaml, line 20).

I’ve read so many threads trying to figure it out but I’m at a loss. Here’s my current setup:

Raspberry Pi 4 running Pi OS. Home Assistant Supervisor installed via Docker container.

Any help would be much appreciated.

Here’s my formatted zwave configuration:


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# zigbee
zha:
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_415009FF-if01-port0 
  database_path: /config/zigbee.db
 
 # zwave
zwave: 
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_415009FF-if00-port0
  network_key: (this is my code)

Hello David, welcome!

It would be helpful to see your formatted zwave configuration. See the </> button above.

Hi Pedolsky! Here is my configuration.yaml - hopefully I am posting this correctly in the right format…


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# zigbee
zha:
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_415009FF-if01-port0 
  database_path: /config/zigbee.db
 
 # zwave
zwave: 
  usb_path: /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_415009FF-if00-port0
  network_key: (this is my code)

Did your zwave run successfully before you noticed the failure notification? Did you set it up as described in the documentation?

Yes I did. I only have a few zwave devices (front door lock, thermostat) and they are connected to my Nortek Husbzb-1 usb hub. Both the lock and thermostat were connected and I was able to control them. I set it up following this youtube video

The USB path is still the same? Read something about accidentally changed paths.
There is a debug feature, maybe it will tell us more.

Ya, the USB path is still the same.

Why would a newbie use a deprecated integration? I recommend wither zwavejs or zwaveja2mqtt, preferably the latter since it has a better conreol panel.

Maybe because the documentation is cluttered.

1 Like

Just to complicate things further, the HaOS Addons are a mess in my opinion. Thezwavejs one id official but the better zwavejs one is community. My preferred way is to use zwavejs from the developers along with the zwavejs integration.

The situation is much better than the ancient OZW based system. that was part of the reason I left HA a few years ago.