Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is right way to bootstrap the alias file? #85

Closed
Jc2k opened this issue Jan 14, 2019 · 3 comments
Closed

What is right way to bootstrap the alias file? #85

Jc2k opened this issue Jan 14, 2019 · 3 comments
Labels
enhancement Issues related to missing features

Comments

@Jc2k
Copy link
Collaborator

Jc2k commented Jan 14, 2019

$ python -m homekit.pair_ble -f test-alias -a energy -m 00:00:00:00:00:00 -p 123-45-678 --log DEBUG
Could not open "test-alias" because it does not exist

As a dev i know I can just make an empty file with {} in it. We should probably make this less of a UX papercut? How about it asks you y/n if you want to make that file, with an optional -c flag to always create file if it doesnt exist?

@jlusiardi
Copy link
Owner

We could add a little tool that just creates this empty file and simply refer to it in the error message.

Since this is independent to ble, I would happily accepted a PR to master 😉

@jlusiardi jlusiardi added the enhancement Issues related to missing features label Jan 14, 2019
@Jc2k
Copy link
Collaborator Author

Jc2k commented Jan 14, 2019

Hmm it would probably end up conflicting with the bluetooth branch 😢

@jlusiardi
Copy link
Owner

one step after another...

jlusiardi added a commit that referenced this issue Jan 22, 2019
jlusiardi added a commit that referenced this issue Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues related to missing features
Projects
None yet
Development

No branches or pull requests

2 participants