Skip to content

Conversation

hamid-elaosta
Copy link
Contributor

Network key can be set here rather than in the (difficult to find) configuration options.xml. It takes the same comma separated "0xNN" string syntax as previous.

Description:

Pull request in home-assistant (if applicable): home-assistant/home-assistant#

Network key can be set here rather than in the (difficult to find) configuration `options.xml`. It takes the same comma separated "0xNN" string syntax as previous.
Copy link
Member

@dale3h dale3h left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove everything from "Edit your options.xml file:" to BEFORE "An easy script to generate a random key:" (leave the script for key generation)

Removed the options.xml information that is on longer required as per comments from @dale3h
@dale3h
Copy link
Member

dale3h commented Jun 16, 2017

Looks good! 🎃

@dale3h dale3h merged commit f84dc25 into home-assistant:current Jun 16, 2017
@hamid-elaosta hamid-elaosta deleted the patch-1 branch June 16, 2017 21:48
@arsaboo
Copy link
Contributor

arsaboo commented Jun 18, 2017

Just a quick question - If I already have network_key in the options.xml, can I just remove it from there and paste it in the configuration.yaml under zwave?

zwave:
  usb_path: /dev/ttyACM0
  new_entity_ids: true
  network_key: !secret zwave_network_key

@dale3h
Copy link
Member

dale3h commented Jun 18, 2017

@arsaboo I am not entirely sure, but my gut tells me yes, you can do this. Please give it a shot and let us know!

@arsaboo
Copy link
Contributor

arsaboo commented Jun 18, 2017

So, I commented out the network_key from options.xml and everything still works.

@hamid-elaosta
Copy link
Contributor Author

Did you also add it to configuration as well or just comment it out? If the latter, I assume (although maybe @dale3h can comment), that it might continue to work but future devices cannot be added securely.

I found that without a key, you will get an error/warning on startup pointing out that you do not have a key.

@arsaboo
Copy link
Contributor

arsaboo commented Jun 18, 2017

I did add it to the configuration, as indicated in my previous post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants