phenotypic / homebridge-web-thermostat

Homebridge plugin for a web-based thermostat
MIT License
18 stars 15 forks source link

error timeout #6

Closed QDUNI closed 4 years ago

QDUNI commented 4 years ago

Hi,

Im getting this error when connecting to my api. Error setting targetHeatingCoolingState: ESOCKETTIMEDOUT if I type in the url from the browser it works. any ideas?

phenotypic commented 4 years ago

There are a couple of things that could cause this problem.

You should ensure that your API returns a 200 HTTP response code when it receives a request - see here for an example of a script which handles requests correctly.

Otherwise, the problem will most likely be a connection issue between the two devices.

Tapsel99 commented 3 years ago

I have the same problem, sometimes it works and than it will again completely stop working and say timeout, device is not responding in home app. Any idea? [Thermostat] Error getting status: ESOCKETTIMEDOUT [Thermostat] Error setting targetTemperature: ESOCKETTIMEDOUT

phenotypic commented 3 years ago

@Tapsel99 Please refer to your issue #21.