iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
398 stars 164 forks source link

Question : does this plugins uses the internet ? #49

Closed nicolinuxfr closed 5 years ago

nicolinuxfr commented 5 years ago

Hello

It's more a general question than an issue really, sorry if it's the wrong channel.

HomeKit controls the connected devices locally and not via a server. It's a strength for speed and security reason, but of course, Homebridge can do thins differently.

It seems to me this plugin uses the Tuya API and thus needs an internet connexion to control the plugs. Am I mistaken ? Is it possible to control the devices using the Home app without any connexion and only locally ?

Thanks for your answer (and the plugin, of course) !

codetheweb commented 5 years ago

TuyAPI (the protocol driver this plugin uses) does all communications with devices locally. There is no code in TuyAPI that allows it to access Tuya's cloud servers.

nicolinuxfr commented 5 years ago

Great news, thanks for your answer !