Tuya's push for Open Source #501
Replies: 5 comments 1 reply
-
I like the step overall and I'm happy to see them trying to engage with developers, but...
In what world do they think a round trip through US-EAST-1 is going to add value to "turning on a light" ? Cloud services can add value to smart devices when they can orchestrate multiple devices in a way that is difficult/impossible locally or offload computation that can't be done locally on a device. As far as I'm aware, Tuya doesn't do either of those things today; the former is something they could do but don't because they make such a general framework and the latter doesn't really exist for the device types they currently support. I'd compare most of the Tuya devices to Phillips Hue, where 99% of the applications are things like, "When I push this button I want those four lights to turn on," that are both more performant and more reliable when handled locally. The cloud service can be nice for remote access, but most of the automation I want to achieve is better when it doesn't require a round trip through a remote datacenter with all the failure points that includes. Even for a more complicated device like an air conditioner, as long as all Tuya is achieving is off/cool/fan/dehumidify, fan speed, and temperature controls, I don't see how the cloud services add value. If Tuya were orchestrating an air conditioner running off of a separately-deployed temperature sensor, orchestrating air conditioners across rooms, or implementing a smart schedule of some sort, that would change things dramatically. To my knowledge, they aren't. Anyway, sorry about the mini-rant, but at the end of all that, I also actively seek out Tuya devices specifically because I know I'll get reliable local control. That's a feature, not a bug. By contrast, I ran a portable AC from LG this season and I don't want to buy another one because it's so hard to control it locally. |
Beta Was this translation helpful? Give feedback.
-
I left a few initial thoughts: https://github.com/TuyaAPI/local-control-api-ideas. Feel free to add others. |
Beta Was this translation helpful? Give feedback.
-
Ok, so if they want to be a cloud service and not a device factory. It is their decision. |
Beta Was this translation helpful? Give feedback.
-
Quick update, Tuya contacted me a few days ago and local control has been delayed indefinitely. They're still working on it but will not have it ready-to-go this month and don't really have any kind of deadline for it currently. I'll keep this discussion up-to-date as I receive more information 👍. |
Beta Was this translation helpful? Give feedback.
-
I have several Tuya devices. Their smart bulbs are interesting and I wanted to explore using them as a signaling device by color and on-off flashing, etc. I went down the Tuya Convert road and found that my devices were locked. So that was a dead end. Then explored gathering data from the leftovers of their Smart Life app as described on Youtube. Yep, I got the ID and key, etc but it took some effort and that key is only good for "that" installation. Remove the bulb and start over again, I believe. Even finding the bulbs IP address was a hassle as it didn't have a normal device info pane for some reason in Smart Life. So I thought, hey, why not do this straight up and try their official API - it appears that some people have done that.. but not many. So I sign up and give them my info and I get an account, start an app, and find that unless I pay them $5000 my app goes away in 30 days. So much for open API! Then I find out that IFTT has a Smart Life interface. So my RPI -> IFTT -> Tuya server -> light bulb ??? Ok... maybe for now. Nope, IFTT has what looks like a Smart Life front end, but its not functional. Apparently discontinued, likely by Tuya. |
Beta Was this translation helpful? Give feedback.
-
Preface: not sure how many of you are aware, but Tuya's recently started publishing quite a few repos and projects to GitHub. They range from OpenAPI SDK wrappers (one of which I recently started using) to C code samples for integration with their device-level SDK.
I just met with a small group of developers from Tuya, including the product manager for cloud services. A few notes:
All that to be said, it didn't sound like they were planning to take legal action against this or any other project. They were impressed with the community's efforts.
They wanted ideas & feedback for their local control API since I've built one before and started building another. I figured it would be a better idea to open it up to the community, so I created a new repo that we can add ideas to: https://github.com/TuyaAPI/local-control-api-ideas/. I'll probably update it sometime tomorrow with my initial thoughts and what I'd like to see, but feedback from other community members would be fantastic as well.
Beta Was this translation helpful? Give feedback.
All reactions