GithubHelp home page GithubHelp logo

Comments (8)

TuyaRonbin avatar TuyaRonbin commented on May 18, 2024

Please provide deviceId on controllable and uncontrollable devices.

from tuyasmart_home_ios_sdk.

FirmwareDeveloper avatar FirmwareDeveloper commented on May 18, 2024

Dear @xuchengcheng ,

Thanks for your reply.
controllable: devId = 7038220468c63adaadf5
uncontrollable: devId = 002006646001943a0b16

I should also mention that we have more than 500 products and we do not know how many of them are controllable with our app and how many uncontrollable. These device IDs are from the sample that we randomly picked for test.

from tuyasmart_home_ios_sdk.

0x5e avatar 0x5e commented on May 18, 2024

Hi @FirmwareDeveloper

devId = 7038220468c63adaadf5; pid = stmkpqhxqYuP15Xr;
devId = 002006646001943a0b16; pid = 0zVMuzyZxXFlyxuu;

this are two type of product. their pid are different. you said '500 products', did you mean '500 devices' ? you can seprate them with pid.

from tuyasmart_home_ios_sdk.

FirmwareDeveloper avatar FirmwareDeveloper commented on May 18, 2024

Yes 500 devices.
You mean I can separate them in the app??
At the moment, the first one can connect to my app but the second one can not. However both of them are connected to Tuya app as heater device. How two different type of products can work as a heater with the Tuya app, but Just one of them can work with my app?
This is actually my main question.

from tuyasmart_home_ios_sdk.

TuyaRonbin avatar TuyaRonbin commented on May 18, 2024

Through different device UI panels to control different productId.

from tuyasmart_home_ios_sdk.

FirmwareDeveloper avatar FirmwareDeveloper commented on May 18, 2024

can we have just one control panel with all standard functions for a heater to solve our problem?
or we need multiple control panels with different set of functions for a heater?

from tuyasmart_home_ios_sdk.

0x5e avatar 0x5e commented on May 18, 2024

You can have one big control panel with all standard functions for a heater, or multiple control panels with different functions, it all depends on you. for each device, you should read it's pid and schema, then you can know what function it has and what function not.

from tuyasmart_home_ios_sdk.

FirmwareDeveloper avatar FirmwareDeveloper commented on May 18, 2024

Thanks to your answer now I know what to do with the UI.
But as you mentioned in your earlier comment, in my case, I have two different products with different PIDs (that's because the supplier used some other MCUs which belong to another customer).
Since in my new UI I will have all the standard functions for a heater, I am not worried about the schema anymore, because my UI is flexible now.

But what about the PID? should my app care about PID as well?

from tuyasmart_home_ios_sdk.

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.