Tuya Official Home Assistant Integration on Github now!

When robot vacuums are supported, I will use this way.

According to the workflow it seems to be cloud.

I believe the benefit of this integration is that it will probably always work, any changes in the API will be changed in this integration also (hopefully).

And there seems to be plans on making it local when looking at the repo.

Till its local we run the risk of any outages on their end on the internet itself, thus our devices dont woork
localtuya still seems a better approach until indeed they offer local control

1 Like

I had a constant problem with the Tuya cloud.
I removed the control of the Tuya LED strips and replaced the Shelly RGBW2 and I am very satisfied. Only the local network and everything works as it should.
If it will be possible Tuya to control in the local network, I will consider it.

Agreed :+1:t4:

Items Tuya v2 Integration Localtuya
Supported category Built on Tuya’s standard OpenAPI, the new integration supports devices of all types and most of the control commands.

- Light: Supports Tuya Wi-Fi light devices.
- Switch: Supports Tuya Wi-Fi switch devices, like switch, socket and power strip
- Cover: Supports Tuya cover devices like smart curtain motor.
- Climate: Supports Tuya climate devices like air conditioner and heater.
- Fan: Support Tuya fan devices.
- Sensor: Support Tuya sensors, include
wsdcg, # Temperature and Humidity Sensor
mcs, # Door Window Sensor
ywbj, # Somke Detector
rqbj, # Gas Detector
pir, # PIR Detector
sj, # Water Detector
pm2.5, # PM2.5 Sensor
1 and multiple gang switches
- Wi-Fi smart plugs (including those with additional USB plugs)
- Lights
- Covers
- Fans
- Climates (soon)
Driver development Supports option for testing virtual devices, which improves the efficiency of debugging drivers for different categories. Supports real device testing only.
Verification method Supports Tuya official secure authorization and verification to protect your account from intrusion. Not supports official verification.
Technical support Supports Tuya official technical support and integration iteration. If you have any problems, submit a service ticket to request support. No Tuya official support provided.
Operation on Tuya IoT Platform Create a cloud project of Smart Home PaaS on the Tuya IoT Platform. Create a cloud project of Smart Home PaaS on the Tuya IoT Platform. Get Local key for each smart device and configure in the integration.
Integration initialization Requires seven items of information: Region, Access ID, Access Secret, Mobile App, Country Code, App Account, and App Account Password.

Note: Regarding the Mobile App, you must select the one you used to link devices on the Tuya IoT Platform.
Requires five items of information: Device ID (acquired from the Tuya IoT Platform), local key (from calling API), Name, Host, Protocal Version

- localTuya:The informations need to be uploaded manually every time for every device.
App Supports Tuya Smart and Smart Life currently. To request support for OEM apps, submit a service ticket and let us know. No need
Remote control support remote control by Tuya Smart and Smart Life currently.
Not support.
Risk of Hardware damage If your hardware that runs Home Assistant is damaged, the data of connected devices under Tuya v2 can be synced to a new replacement. The data of connected devices under the local Tuya will be lost.

The official Tuya integration has advantages while you don’t need to do tuya-convert/tasmota/Flash anymore. With official technical support, you could experience this integration on Homeasistant with Tuya devices easier and quicker.
See The comparison:

Items Tuya v2 Integration Localtuya
Supported category Built on Tuya’s standard OpenAPI, the new integration supports devices of all types and most of the control commands.

- Light: Supports Tuya Wi-Fi light devices.
- Switch: Supports Tuya Wi-Fi switch devices, like switch, socket and power strip
- Cover: Supports Tuya cover devices like smart curtain motor.
- Climate: Supports Tuya climate devices like air conditioner and heater.
- Fan: Support Tuya fan devices.
- Sensor: Support Tuya sensors, include
wsdcg, # Temperature and Humidity Sensor
mcs, # Door Window Sensor
ywbj, # Somke Detector
rqbj, # Gas Detector
pir, # PIR Detector
sj, # Water Detector
pm2.5, # PM2.5 Sensor
1 and multiple gang switches
- Wi-Fi smart plugs (including those with additional USB plugs)
- Lights
- Covers
- Fans
- Climates (soon)
Driver development Supports option for testing virtual devices, which improves the efficiency of debugging drivers for different categories. Supports real device testing only.
Verification method Supports Tuya official secure authorization and verification to protect your account from intrusion. Not supports official verification.
Technical support Supports Tuya official technical support and integration iteration. If you have any problems, submit a service ticket to request support. No Tuya official support provided.
Operation on Tuya IoT Platform Create a cloud project of Smart Home PaaS on the Tuya IoT Platform. Create a cloud project of Smart Home PaaS on the Tuya IoT Platform. Get Local key for each smart device and configure in the integration.
Integration initialization Requires seven items of information: Region, Access ID, Access Secret, Mobile App, Country Code, App Account, and App Account Password.

Note: Regarding the Mobile App, you must select the one you used to link devices on the Tuya IoT Platform.
Requires five items of information: Device ID (acquired from the Tuya IoT Platform), local key (from calling API), Name, Host, Protocal Version

- localTuya:The informations need to be uploaded manually every time for every device.
App Supports Tuya Smart and Smart Life currently. To request support for OEM apps, submit a service ticket and let us know. No need
Remote control support remote control by Tuya Smart and Smart Life currently.
Not support.
Risk of Hardware damage If your hardware that runs Home Assistant is damaged, the data of connected devices under Tuya v2 can be synced to a new replacement. The data of connected devices under the local Tuya will be lost.

Warmly welcome if you join the beta Test!You could try to develop a driver for your robot vacuum Tuya Home Assistant Beta Test
Develop driver for your Tuya device(more category)

Some developer is doing the driver development for robot vacuum and more different category products.

1 Like

But your integration still relies on the tuya cloud platform, we want local control without the need to be connected to the tuya platform
If your platform goes offline or our internet is offline, all devices are dead in the water and a smarthome becomes a dumbhome

3 Likes

I wish I can do that :slight_smile:
But I will wait until a real professional fix it.

I’m interested but how do we actually sign up for the beta test? When I go to the cloud thing it wants me to pay for a subscription - are we supposed to pay to be able to use this integration? I don’t intend to do that. The built in one is free and if I have to pay I will just move over to using all Lutron…

Hi Rob!
The APIs for the HA integration are on trial 0 fee, which you don’t need to pay. And the valid time has no limit actually, which could be continuously used for free.

If you have Tuya account already, pls send it to [email protected] will provide technical support and development gifts for you.

I don’t think local control is a must have feature and a blocker for trying the new integration, as nowadays, almost every family has internet access, no one can live comfortable without internet, similar to electricity.

I also heard that the old Tuya integration will be deprecated by the end of 2021, so looks like we should try and migrate to the new Tuya integration ASAP.

Open source home automation that puts local control and privacy first
Home assistants opening statement
i don’t want my data going to places i have no control over with what they do with it.

If their servers go offline for any reason (and they do) were left with dumb devices

Plus i do question a new profile being created and whose first posting and only view so far is on some cloud providers post encouraging me to migrate to their new integration. Call me sceptical, but why do they want our data so badly

3 Likes

I have a similar opinion. My home, my automation and if something goes wrong it’s usually my fault and I know how to fix it. If I have to rely on the cloud and something goes wrong then it is not in my power.
As I already wrote, if Tuya will work in a local LAN I can think about it, fortunately there are other devices that can do it and it keeps me cool.

sorry, not clear… when tuya integration will be released we’re going to pay to use it?! i just purchased tuya plugs but i’m sending them back in this case… thanks

As it’s said in the tutorial, it’s free, not need to pay to use it: https://developer.tuya.com/en/docs/iot/Home_Assistant_Integration?id=Kamcjcbvk2mu8

Q: Will I be billed after the 1-year free trial of the API product expires?

A: After expiration, you can renew the subscription for free. The Trial Edition allows you to use all free API products but puts limits on the quota of API calls. For more information about the quota, see the Pricing.

ok, joining and testing… hoping trial remains free… but could have been called “free plan” …

i subscribe the petition for a offline fallback +1 … i understand you have to make money on plans but the fallback can stay on 24h just in case of a severe internet downtime and then use default behaviour… i should be able to choose what to do: imagine a radiathor or a fridge connected to a plug. thanks.