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 custom HTTP method on statusUrl #111

Open
jesse-c opened this issue Sep 4, 2022 · 0 comments
Open

Support custom HTTP method on statusUrl #111

jesse-c opened this issue Sep 4, 2022 · 0 comments

Comments

@jesse-c
Copy link

jesse-c commented Sep 4, 2022

Is your feature request related to a problem? Please describe.
Unable to get accurate status for services that don't use GET to return the status. The service I'm interacting with (a Toshiba TV), requires POST.

Describe the solution you'd like
Use the method value, if present, for statusUrl like onUrl and offUrl.

Additional context
I saw in the code that there's a comment around this expectation and it not being available due to backwards compatibility. Is this still a blocker?

My workaround would be building my own simple service that would effectively be a proxy to do a POST request for statusUrl. 😬

Thank you for making this Homebridge plugin in the first place!

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

No branches or pull requests

2 participants