Local/no cloud support?
soxrok2212 opened this issue · 9 comments
Looking to see if this verison supports completely offline functionality. I don't want to hook into the cloud to make this work. Seems like the upstream version does not but is "on the roadmap".
Hi @soxrok2212 , I know lots of people want local control, same as me. However there's some reason why I won't do this:
- Tuya as a company has its business plans, they are not just selling the hardware modules for profit, but also paas & saas service. Company won't do charity to support local control because it may have no good to increase the income, but also decrease the software profit. As I know, Xiaomi didn't officialy publish its lan protocol technical detail, and apple won't tell us about the airplay protocol, they are private protocols, so does tuya lan protocol.
- I worked in Tuya for years, I know many details about the protocol, and I even have the source code, but It's illegal for me to do so, what I can do is just using Tuya's public APIs and SDKs.
Understood. Hopefully it comes to fruition one day!
Hi @soxrok2212 , I know lots of people want local control, same as me. However there's some reason why I won't do this:
- Tuya as a company has its business plans, they are not just selling the hardware modules for profit, but also paas & saas service. Company won't do charity to support local control because it may have no good to increase the income, but also decrease the software profit. As I know, Xiaomi didn't officialy publish its lan protocol technical detail, and apple won't tell us about the airplay protocol, they are private protocols, so does tuya lan protocol.
- I worked in Tuya for years, I know many details about the protocol, and I even have the source code, but It's illegal for me to do so, what I can do is just using Tuya's public APIs and SDKs.
Not to rant to much as I understand your position however competing products have no issue working seamlessly without the massive headache tuya products require to work on local LAN. TuYa smart products are getting a ever increasing disdain from the smart home enthusiasts and the decisions tuya continues to make regarding the strict cloud based operation of “OUR” products is driving MANY away to competing brands.
Overall the actual amount of people wanting to setup these devices with lan control is most likely less than 1% but when you piss off the most vocal groups it does incredible brand damage. I myself am almost about to return and trash all my tuya powered devices over this local control headache. I have the local keys for the devices but why make it such a headache to implement when it could be done easy. Learn from Wiz lights , easy local control and a much nicer mobile app. Tuya needs to forget WE OWN our products , not them.
@crunchtime2k agree with you, I'm the 1% people who want lan control too, after 1.7.0 goes to release I will consider how to support this, both legal and workable.
Do you have any idea of when this might happen?
Has their been any updates on this? Love what you've done with this plugin by the way, it's been amazing to use!
@0x5e Any update on local support? I don't have any issues with cloud but it is too slow. I see 2-3 seconds delay. Hence the need to go local. Appreciate your efforts.
@0x5e Any update on local support? I don't have any issues with cloud but it is too slow. I see 2-3 seconds delay. Hence the need to go local. Appreciate your efforts.
https://github.com/iRayanKhan/homebridge-tuya
The plugin i linked works locally. Tried it a while ago, and it worked pretty well iirc. Not using homebridge anymore though.