codetheweb / tuyapi

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

Can't find the Key and ID #293

Closed Hendriks046 closed 4 years ago

Hendriks046 commented 4 years ago

Hello,

Do you have any idea if it's possible to get a tuya curtain switch working in homebridge?

I tried finding the key&id but i can't get the QR-code in my screen.

thanks already.

greets

codetheweb commented 4 years ago

I don't know what guide you're using to set up your devices, but that method is deprecated as it no longer works with newer app versions. Please take a look at the setup instructions: https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md.

xatrix78 commented 4 years ago

Hi, I get the id and key with this instruction:

https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md

But it also doesn´t work with this and the homebridge-tuya-lan plugin :-( . Is there anything else I can do? I bought this Tuya Breakers: https://www.amazon.de/gp/product/B07TWN151L/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

The switch is in homebridge but does not switch. [TuyaAccessory] Socket had a problem and will reconnect to Beamer (ECONNRESET) [TuyaAccessory] Closed connection with Beamer

codetheweb commented 4 years ago

@xatrix78 please open an issue at that repo. AFAIK that package doesn't share any code with TuyAPI.

xatrix78 commented 4 years ago

So this method is only for tuyapi. Does ist work with homebridge? Thailand you.

codetheweb commented 4 years ago

The ID and key are the same per device regardless of what software you use to control it.

You might have more success with this Homebridge plugin.

codetheweb commented 4 years ago

Closing because of inactivity.