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

Support HarmonyHub names other than "Harmony" #17

Closed
denis-stepanov opened this issue Aug 9, 2022 · 3 comments
Closed

Support HarmonyHub names other than "Harmony" #17

denis-stepanov opened this issue Aug 9, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@denis-stepanov
Copy link
Owner

Currently this name is hard-coded, but Harmony app allows changing it. So, to be correct, we need to provide an option to configure it.

@denis-stepanov denis-stepanov added the enhancement New feature or request label Aug 9, 2022
@denis-stepanov
Copy link
Owner Author

There's also automatic discovery, so at very minimum we could check it and use the first hub available.

$ curl -s -S http://localhost:8282/hubs/
{"hubs":["harmony"]}
$ 

@denis-stepanov
Copy link
Owner Author

Another related feature is that there could be reasons to run HarmonyAPI server on a different machine. In this case localhost would change to something else. And, to avoid flipping all Harmony devices instead of just TV, one needs to be more specific with the path. So maybe a better idea would be to allow user specifying a base URL, of a type http://<host>:8282/hubs/<hubname>/commands/...

@denis-stepanov denis-stepanov self-assigned this Dec 22, 2022
@denis-stepanov denis-stepanov added the wontfix This will not be worked on label Dec 22, 2022
@denis-stepanov
Copy link
Owner Author

I lost access to Harmony Hub device, so all changes related to it will be cancelled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant