Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Get Device Local Key #70

Open
dharichandan opened this issue Mar 2, 2020 · 1 comment
Open

Get Device Local Key #70

dharichandan opened this issue Mar 2, 2020 · 1 comment

Comments

@dharichandan
Copy link

Hi,

I got a new smart bulb socket from manufacturer 'Hoteon'. And I want to use the pytuya library for controlling the device.

My ask is - Is the productKey same as device localkey?? Cause I am unable to use the functionalities of pytuya library on it.

If anyone knows how to extract one please let me know.

Thanks in Advance.

@SDNick484
Copy link

It's not. I have a couple devices with the same productKey so I assume it's some sort of identifier for what the device. As to getting the local key, there's a couple ways to do it, but nothing graceful. See the wiki of Tuyapi for one approach. Another possibility is extracting it from whatever app you use to control the device. I don't think you can do that with the main Tuya or Jinvoo Smart Lie apps, but other third party ones might.

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

No branches or pull requests

2 participants