jasonacox / tinytuya

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

Our purpose needs custom port + reduce delay when connection #468

Closed unit-404 closed 7 months ago

unit-404 commented 7 months ago

When trying to use port attribute, we have huge delay due connection attempts. So, I propose to add port argument for direct connection to device by routers NAT's (custom port forwarding).

(Sorry for my bad English).

jasonacox commented 7 months ago

Thanks @unit-404 ! 🙏 That's an interesting use case. I suspect not many will need it but it is a good enhancement.

This will be included in v1.13.2.