homebridge-http-webhooks icon indicating copy to clipboard operation
homebridge-http-webhooks copied to clipboard

It's possible change timeout value?

Open miquellaboria opened this issue 3 years ago • 4 comments

It's possible change timeout value?

miquellaboria avatar May 04 '21 11:05 miquellaboria

Could you be more precise?

benzman81 avatar May 04 '21 13:05 benzman81

Yes! Sorry

I have Security System configured, but the http call always return a timeout, this call it may take more than 30 seconds.

Thank you!

miquellaboria avatar May 04 '21 14:05 miquellaboria

I see in the code there is a constant for the default timeout, my question is if is possible to change this value in the config file or change in each accessory.

miquellaboria avatar May 04 '21 14:05 miquellaboria

@miquellaboria no, its not settable. Feel free to create a pull request. One note though, a longer http request results in longer waiting for an answer in HK. This means, that you will never get correct feedback from Siri, for example. Even 10s are way too long ;-)

benzman81 avatar May 04 '21 14:05 benzman81