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

Feature Request: Go to channel endpoint #49

Open
farooqu opened this issue Dec 2, 2016 · 3 comments
Open

Feature Request: Go to channel endpoint #49

farooqu opened this issue Dec 2, 2016 · 3 comments

Comments

@farooqu
Copy link
Contributor

farooqu commented Dec 2, 2016

A possibly useful feature would be to have an endpoint that allows you to specify a channel to go to, something like:

POST harmony-api/hub/:hubSlug/command/tune/13.1

This would have to check that all of the keys are available, and then to send actions for all of them. This seems kind of out of place with the rest of the endpoints, but might be useful. Though I can see an argument for not including it in harmony-api, and rather relying on the caller to send individual commands. Though including it would facilitate one single request, rather than 3 or more, and would also allow for better IFTTT integration.

I'm willing to implement this in my fork and create a pull request, but wanted some feedback before I started.

@maddox
Copy link
Owner

maddox commented Dec 2, 2016

I'm not really interested in that tbh. This was never meant to be a remote control per se.

What could be more interesting though, is macros. Kind of like the presets in node-sonos-http-api.

You could write them in json, and trigger them by name. Then harmony-api could have control over the timing of the execution of the commands. Then you could just pre-program it to do anything you wanted. Again, this is still quite the feature creep, but it's a more open implementation.

@farooqu
Copy link
Contributor Author

farooqu commented Dec 2, 2016 via email

@maddox
Copy link
Owner

maddox commented Dec 2, 2016

sure go for it

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

No branches or pull requests

2 participants