Giter Club home page Giter Club logo

Comments (4)

awaismun avatar awaismun commented on June 18, 2024 1

Ah, it worked! Thanks alot 👍

from cli.

codetheweb avatar codetheweb commented on June 18, 2024

What am I missing and why am I not getting the correct response?

Sorry, not understanding the question. Looks like the last command returns a correct response.

If you're asking why find() isn't working, it's usually due to how your network is set up. I generally find it more reliable to configure my Tuya devices with a static IP and always specify the IP in my configs / scripts.

from cli.

awaismun avatar awaismun commented on June 18, 2024

Thanks for your reply.

Then this should work? This is what I have been trying for many hours now:

tuya-cli get --id xxxxx --key xxxxx --ip 192.168.1.7 --all

This does not give any reponse. Keeps going for hours.

from cli.

codetheweb avatar codetheweb commented on June 18, 2024

When both the ID and IP are specified, you must specify the protocol version as well (defaults to 3.1).

In your first post, it looked like tuya-cli get --id xxxxxx --key xxxxx --ip 192.168.1.7 --protocol-version 3.3 was working. Add --all to that and it should work.

from cli.

Related Issues (20)

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.