jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
937 stars 167 forks source link

Network Error: Device Unreachable #263

Closed anar4732 closed 1 year ago

anar4732 commented 1 year ago

Hi. I have got a smart plug device.

when running tinytuya scan I got this.

Address = 192.168.0.137,  Device ID = ebd4d219e570de778cc5ga, Local Key = aa555573d1xxxxx,  Version = 3.3, MAC = fc:67:1f:9f:75:29
    Access rejected by 192.168.0.137: Network Error: Device Unreachable

Other devices work fine so I don't think It's related to the network. Also, the device works fine on the tuya app. so it's not actually unreachable.

uzlonewolf commented 1 year ago

The 2 most common causes of this I've seen are either the device got into a partially-hung state and needs to be rebooted, or there are too many simultaneous open connections to it (most devices only support 1-3 simultaneous connections). I'd reboot the device and try again.

anar4732 commented 1 year ago

The 2 most common causes of this I've seen are either the device got into a partially-hung state and needs to be rebooted, or there are too many simultaneous open connections to it (most devices only support 1-3 simultaneous connections). I'd reboot the device and try again.

It worked! Thank you!