Code Monkey home page Code Monkey logo

localtuyakeyextractor's People

Contributors

hivemindautomation avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

localtuyakeyextractor's Issues

Documentation Update

Another small one:

"open auth_template.py in the editor of your choice"

That file needs to be renamed to auth.py to work otherwise the user will get an error along the lines of:

ModuleNotFoundError: No module named 'auth'

Documentation Update

No idea where to post this, so here will do! haha

In the install instructions you need to update the second step to "cd LocalTuyaKeyExtractor".

The folder name in the instructions misses the word local.

ACCESS_ID not defined?

Hey I've followed all the steps to the T,
But when I get to the point of running the script I get this error, any Idea what could be going on?

Traceback (most recent call last):
  File "/home/pi/LocalTuyaKeyExtractor/./TuyaKeys.py", line 11, in <module>
    from auth import ACCESS_ID, ACCESS_KEY
  File "/home/pi/LocalTuyaKeyExtractor/auth.py", line 4, in <module>
    ACCESS_ID = ***MYACCESSID***
NameError: name '***MYACCESSID***' is not defined

I'd love some help pretty please.

Issue with Pin data

Looks like the Tuya IOT platform has switched some things around, this extractor no longer is able to get pin data. Every devices gives a "No Pin data for this device" error when running the script. Worked fine a couple of months ago.

Endpoints are not updated + pin_data throwing error

updated endpoints:
data = openapi.get(f"/v1.1/iot-03/devices/{device_id}")
mac_data = openapi.get(f"/v1.0/devices/factory-infos", params=params)

pin_data = openapi.get(f'/v1.0/iot-03/devices/{device_id}/specifications')['result']
but actually I dont see pin_data in response

scripts ends with error that "No Pin data for this device:"
but it does create the local_tuya.csv

Is the extractor still functional?

I followed the the instructions as per the Readme.MD instructions.

The file "auth.py" contacts the AKI key and API secret.
I double checked the input.CSV file and it contained a list of correct device IDs (about 30 or so IDs).

When the python file is run I get the error "Something went wrong with $deviceid$
for every individual device id i listed in the CSV file.

Is there something obvious that I am missing or is the extractor no longer functional?

Thank you,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.