Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify setup process #28

Open
bewee opened this issue Dec 30, 2020 · 3 comments
Open

Simplify setup process #28

bewee opened this issue Dec 30, 2020 · 3 comments
Labels
discussion enhancement New feature or request

Comments

@bewee
Copy link
Owner

bewee commented Dec 30, 2020

Setting up a new tuya device is pretty painful right now: You need to register for a developer account at tuya in order to get an API key, which you then need to obtain the id and key value of your device using a CLI, which you then have to copy-and-paste into the add-on settings.

Ideally, the add-on should be able to search for tuya devices through the default pairing interface of the gateway. Libs for searching for tuya devices do already exist, e.g. tuya-cli or TinyTuya. This could solve the difficulty of having to use CLI, but it would still require to register for a dev account at tuya, since these tools require an API key. This could of course be solved by delivering the add-on together with an API key, but I am not so sure whether we are allowed to do this.

Any comments appreciated.

@bewee bewee added the enhancement New feature or request label Dec 30, 2020
@bewee bewee pinned this issue Jan 22, 2021
@LionMike
Copy link

I was able to get the id and key without a developer account with Burp Suite at one time.

@bewee
Copy link
Owner Author

bewee commented May 16, 2021

Hi @LionMike,
Could you please provide some instructions on how to do it this way? Also, feel free to open a PR on the SETUP.md if you like to :)

@LionMike
Copy link

It is pretty much the same as @codetheweb Linking a Tuya Device with MITM, except you run Burp Suite through Windows 10. I did some checking and it looks like it no longer works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants