codetheweb / tuyapi

🌧 An easy-to-use API for devices that use Tuya's cloud services. Documentation: https://codetheweb.github.io/tuyapi.
MIT License
2.06k stars 339 forks source link

Problem with Proxy QR Code #106

Closed KaiserDexter closed 5 years ago

KaiserDexter commented 5 years ago

Hello i have a problem with QR Code / Proxy

Im using Raspbian and i follow this guide: https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md

So... when i use tuya-cli list-app i recieved a QR Code with

Set your HTTP proxy IP to 169.254.55.50 with port 8001.

But 169.254.55.50 is not my iP and obiusly QR Code doesnt work.

If i use MYREALIP:8002/fetchCrtFile (QR Link) i can install AnyProxy but later i cant obtain my keys.

Any idea? Sorry for my English, im Spanish :P

codetheweb commented 5 years ago

What is the output of ifconfig when run in the terminal?

KaiserDexter commented 5 years ago

Problem Solved.

The IP Problem is because i was using Wifi and anyproxy catch ip of ETh0.

Thanks

codetheweb commented 5 years ago

Glad you got it working 👍.