thorleifjacobsen / no.tjweb.opengarage

GNU General Public License v3.0
0 stars 1 forks source link

timed out after 30000ms #2

Open erlendoyen opened 1 year ago

erlendoyen commented 1 year ago

hi

this is a old issue, but I have not spent any time on it, do you know why this error is generated when you open/close ?

on the phone

Screenshot_20230413-150901999

and on the desktop using the web app

image

I am still running the test version of 1.1.4.

erlendoyen commented 1 year ago

same issue with the official version as well

thorleifjacobsen commented 1 year ago

Hi

That usually is caused by slow network requests. I do send a regular "GET" request to your device by the IP with a timeout of 30 seconds. So if the device takes longer than 30 seconds to answer this fails. Usually it is a few MS to reply. So I'd check the network, if the wifi is good enough e.t.c.

erlendoyen commented 1 year ago

ok, but the command is executed as soon as i press open in homey (garage open at once), but the timeout messages is displayed consistently on every open/close action when you do it from the device in homey, you don't see the error when you execute a flow that includes the opengarage device.

searching the homey forum, the error message seems to more generic, i created a support case with homey.

erlendoyen commented 1 year ago

found out that disabling the "time for door movement" in advanced setting resolved it. i think that was set to more than 30 sec.