Giter VIP home page Giter VIP logo

Comments (7)

codetheweb avatar codetheweb commented on June 4, 2024

The clientId is your API key, so please make sure you copied it properly (and make sure it's the iOS pair of keys). If you already saved it, you can view it by running tuya-cli list. If you want to change it, run tuya-cli link-wizard --overwrite.

from tuyapi.

amitn16 avatar amitn16 commented on June 4, 2024

Thanks.. I am able to reset key details.. but it is giving below error. please guide
? Do you want to save devices that are successfully linked? Yes ✖ Device(s) failed to be registered! { Error: getaddrinfo ENOTFOUND broadcasthost at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26) errno: 'ENOTFOUND', code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'broadcasthost' }

from tuyapi.

codetheweb avatar codetheweb commented on June 4, 2024

Looks like you're using an older version of tuya-cli, update with npm i @tuyapi/[email protected] -g.

from tuyapi.

codetheweb avatar codetheweb commented on June 4, 2024

Any luck @amitn16?

from tuyapi.

amitn16 avatar amitn16 commented on June 4, 2024

Hi,
Yes.. I am having 2 plugs (1 normal and another with extra RGB light). both are able to control, but the plug which is having extra RGB light..actually i am able to toggle only RGB light switch off/on not plug.

but my main problem is I am not able to integrate with Openhab. can you help in it.

from tuyapi.

codetheweb avatar codetheweb commented on June 4, 2024

Glad to hear you got the setup process working.

I think there's a few people that have been developing an OpenHab plugin based off tuyapi, but I'm not sure how far along they are. Try searching for openhab tuya bulb and see what comes up.

Also tagging @unparagoned as I think they did some OpenHab development.

from tuyapi.

ekolishh avatar ekolishh commented on June 4, 2024

Heyy @codetheweb ı have a problem about ILLEGAL_CLIENT_ID ı add the sha256 and check double app key and app secret but still not working:/

from tuyapi.

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.