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

Cloud vs. Local Keys #25

Open
pannal opened this issue Jun 5, 2023 · 3 comments
Open

Cloud vs. Local Keys #25

pannal opened this issue Jun 5, 2023 · 3 comments

Comments

@pannal
Copy link

pannal commented Jun 5, 2023

Hey there, I'm happily using this addon with two Fingerbot Plus's.

Just recently I got a message from Tuys that my API subscription runs out - apparently one can request an extension for 6 months. I'd rather not have to do that regularly, though.

Looking at the code it seems like the Local Keys get stored from the Tuya API response.

  1. Does this integration still work when the cloud credentials expire?
  2. Is it possible to store/look at the Local Keys somewhere?
  3. Can this integration work with Local Keys only? Maybe in the future?

Thank you!

@PlusPlus-ua
Copy link
Owner

Hi, good questions, it should be added to readme file.

  1. Yes, it must work. Any of the currently supported device types doesn't require login to the cloud to work properly. It is possible that full support of the lock devices will require the login.
  2. Integration stores all device credentials, you can find it in /config/.storage/core.config_entries file.
  3. Yes, it's possible. Device credentials which are required to "pair" the device: uuid, device_id, local_key. Is it possible to obtain all of it from Tuya IOT website by browser without using API?

@pannal
Copy link
Author

pannal commented Jun 7, 2023

Hey, thank you!

  1. Awesome. I think this should be explicitly stated in the README.
  2. It used to, but apparently not anymore. But in case of data loss or accidental deletion of a device, a manual local setup would definitely make sense.

@PlusPlus-ua
Copy link
Owner

2. It used to, but apparently not anymore. But in case of data loss or accidental deletion of a device, a manual local setup would definitely make sense.

Agree, will try to add such option in configuration flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants