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

Tuya Third-patry authorization management #465

Open
Xenomes opened this issue Feb 21, 2024 · 4 comments
Open

Tuya Third-patry authorization management #465

Xenomes opened this issue Feb 21, 2024 · 4 comments
Labels
enhancement New feature or request tuya_iot_cloud Support questions for getting local key and Tuya Cloud APIs.

Comments

@Xenomes
Copy link

Xenomes commented Feb 21, 2024

Hi jasonacox,
I noticed that Home Assistant has a 'Third-party authorization management' feature with a user code that is provided in the Tuya-based app. Do you think this could be possible for your project to bypass the 6-month renewal?
afbeelding

@jasonacox
Copy link
Owner

Is that for cloud access? I suspect it is and wouldn't help with those wanting local access. But may be worth exploring.

What is the HA plugin called?

@Xenomes
Copy link
Author

Xenomes commented Feb 22, 2024

Yes is for cloud access at HA, If users add a new device after 6 months of the last dump of the json they need to extend the subscription to get the 'key' of the new device. Here is the location https://github.com/home-assistant/core/tree/dev/homeassistant/components/tuya

@uzlonewolf
Copy link
Collaborator

It looks to have been added in home-assistant/core#104767 and is using https://github.com/tuya/tuya-device-sharing-sdk to implement. Unfortunately the issue asking about the client_id is unanswered tuya/tuya-device-sharing-sdk#4

@uzlonewolf uzlonewolf added enhancement New feature or request tuya_iot_cloud Support questions for getting local key and Tuya Cloud APIs. labels Feb 22, 2024
@Xenomes
Copy link
Author

Xenomes commented Feb 23, 2024

I hope they answer, but I am afraid not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tuya_iot_cloud Support questions for getting local key and Tuya Cloud APIs.
Projects
None yet
Development

No branches or pull requests

3 participants