Giter Club home page Giter Club logo

Comments (7)

guyluz11 avatar guyluz11 commented on May 24, 2024

If my understanding is correct we can talk to tuya devices by calling the API endpoints .
Found also tuyapy in python 3 and the same library but this time in JavaScript that require port 6668 to be open.

from cbj_hub.

guyluz11 avatar guyluz11 commented on May 24, 2024

News news.

Tuya is add support out of the box for home assistant, home assistant can now control Tuya devices locally.

We prefer talking to the devices locally so this is perfect.
Lets implement Tuya API for Home Assistant in our code.

from cbj_hub.

guyluz11 avatar guyluz11 commented on May 24, 2024

If I understand correctly Tuya is creating devices with thair firmware for a lot of other companies.
With a quick search I found

  • SmartThings
  • Smart Homy
  • Lloyd
  • Baiyu Electronics
  • Calex

And the list go on.

I am hoping that adding integration for Tuya will add integration for all these companies but more research is required.

from cbj_hub.

guyluz11 avatar guyluz11 commented on May 24, 2024

It looks like tuyapi is our best option as it controls the device locally, it's written in JavaScript and the project can run by itself.

As the maintainer of this package said

This package is only for local control. Tuya has not released an API for local control, although they're planning to do so at some point.

So we can get news about official local support in the link in case they decide to release it.

Here is issue abot cloud support, maybe we can start with supporting the Yuya cloud if it easier.

from cbj_hub.

guyluz11 avatar guyluz11 commented on May 24, 2024

Implementation of tuya cloud api using javascript cloudtuya.
Implementation of tuya cloud api using python tuyaha.

from cbj_hub.

guyluz11 avatar guyluz11 commented on May 24, 2024

I am closing this issue for now as I have added support for Tuya cloud.

This issue can be open or referenced on the day that we decide to add support for local control as it collected a lot of information.

from cbj_hub.

guyluz11 avatar guyluz11 commented on May 24, 2024

Saving smartlife implementation here

from cbj_hub.

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.