Closed pixeleyesltd closed 1 year ago
Sorry, I have no knowledge about the Homebridge plugin. Given that the main change of 1.2.0 is adding support for OTC, if you don't need to use OTC, you can go back to firmware 1.1.2.
Hi Ray,
It's interesting, but this sounds similar to what I'm seeing when OTC is used in conjuction with openhab. In my case with openhab, it's simply calling http://opengarage/jc every 60 seconds...
Cheers,
Paul
On 23/10/22 12:17, Ray wrote:
Sorry, I have no knowledge about the Homebridge plugin. Given that the main change of 1.2.0 is adding support for OTC, if you don't need to use OTC, you can go back to firmware 1.1.2.
— Reply to this email directly, view it on GitHub https://github.com/OpenGarage/OpenGarage-Firmware/issues/75#issuecomment-1287973796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZY4XNHWYMYIO57MZA6B3WESKMTANCNFSM6AAAAAARIUI5QU. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I don't use OpenHab, but I did the test by using a script I wrote myself and request http://opengarage/jc every 60 seconds. I didn't observe any persistent problem -- over a day there maybe a few call failures but it doesn't get stuck, it recovers and the request continue to succeed.
I just posted this question in the other issue thread: I am wondering if the homebridge plugin is sending a request that is not GET request (i.e. it might be a POST or PUT request etc.) The reason I am asking is that after some debugging, I found the OTF library has a bug that results in any non-GET request returning a 413 error. The normal use case of OpenGarage shouldn't trigger this because all requests are indeed GET requests. But since you have a plugin that's sending request to it, I am not sure what it's sending to the controller, and it can certainly trigger this bug.
Error is caused by a timeout when making a GET request to /jc
@pixeleyesltd are you able to provide serial logs from the OpenGarage device?
Since moving to the latest 1.2.0 firmware I'm setting continual socket hang ups via the OpenGarage Homebridge plugin.