codetheweb / homebridge-tuya-outlet

A plugin for Homebridge for Tuya-based outlets
15 stars 11 forks source link

Timeout #3

Closed RuairiOliver closed 6 years ago

RuairiOliver commented 6 years ago

Hi,

Thanks for this plugin.

I followed the instructions but I just get a timeout on home bridge.

"accessories": [ { "accessory": "TuyaOutlet", "name": "Sitting Lamp", "ip": "IP_CAPTURED_FROM_CHARLES, "id": "ID_FROM_CHARLES", "localKey": "LOCAL_KEY_FROM_CHARLES" } ],

{ Error: connect ETIMEDOUT IP_FROM_CHARLES:6668

Any idea?

Thanks

codetheweb commented 6 years ago

I published version 2.0 of TuyAPI a few weeks ago, which included numerous breaking changes.

I just updated homebridge-tuya-outlet to work with v2 of TuyAPI, so try doing sudo npm install -g homebridge-tuya-outlet and it should work now.

RuairiOliver commented 6 years ago

Thanks, the error is gone now but the device is just stuck on updating in the home app on iOS. I can't turn it on or off

RuairiOliver commented 6 years ago

All of my requests have only m.device.list with the same data pretty much in each. I don't have any request with m.dev.list

RuairiOliver commented 6 years ago

I tested with your TuyAPI directly and I can turn the socket on and off from the command line so that's something anyway

RuairiOliver commented 6 years ago

Using a combination of CMD2 and your TuyAPI it's working from me with Siri and the Home app so I'm sorted, thanks!