Giter VIP home page Giter VIP logo

Comments (2)

msillano avatar msillano commented on July 19, 2024

Maybe it is a device problem.

I found many crazy behaviors in some devices and the device response for not handled commands and values is either 'null' or 'json obj data unvalid' without any logic.

I'm working on it, soon a 'strong' solution,

Your payload looks ok, you can try also using string for numerical values ("44" in place of 44), (see some examples here) .

Test also your device capability, using a single DPS.

I hope that can help you.
Best regards
m.s.

from node-red-contrib-tuya-smart-device.

vinodsr avatar vinodsr commented on July 19, 2024

@qwertangel can you also share the response that you are getting for this command ?

Like what @msillano said, some devices will not accept all commands at once. You have to give it one by one. Like turn on , change color etc. .. See if that works . I used to do the same thing . Once the on is passed ie dps 20 then pass this command

{
     multiple: true,
      data: {
          '21': "white",
       '23': 1000
     }
  }

Multiple option doesn't mean it will process multiple operations .. rather multiple arguments for an operation. Hope it is clear.

from node-red-contrib-tuya-smart-device.

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.