Tuya v2 Integrated with Home Assistant Officially
Tuya Integration with Home Assistant
TUYA Smart:
Tuya Smart is a global Internet of Things development platform that creates
interconnectivity standards to connect brands, OEMs, developers, and
retailers across a wide range of smart devices and industries. Tuya
integrates multiple intelligent scenarios and smart devices by providing
hardware development tools, integrating public cloud services, and
delivering an intelligent business development platform based on the global
public cloud. Tuya delivers comprehensive smart empowerment from technology
to marketing in order to build a developer ecosystem that is impartial,
open, and accessible.
TUYA IOT Cloud:
Tuya is an internet-connected device (IOT) cloud platform that allows you
to connect your gadgets to the internet. They offer a one-stop IOT
PaaS-level solution for developers, which includes hardware development
tools, worldwide cloud services, and smart business platform development.
Tuya's platform is used by a number of well-known smart home product
makers.
Tuya offers a development environment for engineers and enthusiasts in
addition to servers. They offer No-Code development, OTA updates, MCU code
creation, and other services. As a result, it's an excellent tool for makers
who wish to create something more substantial than a college project.
Home Assistant:
Home Assistant is free and open-source home automation software that
focuses on local management and privacy. It is designed to be the core
control system for smart home devices. It can be accessed by a web-based
user interface, Android and iOS companion apps, or voice commands using a
supported virtual assistant like Google Assistant or Amazon Alexa.
Modular integration components support IOT technologies, devices, software,
applications, and services, which include not only native integrations for
local connectivity protocols, but also support for controlling proprietary
ecosystems if they provide public access via an Open API for third-party
integrations. The Home Assistant software application will operate as a
central control system for home automation once it is deployed as a computer
appliance.
Integration of Home Assistant and Tuya IOT Cloud:
Procedure
Install Home Assistant Core and copy the Tuya Home Assistant Integration to the Home Assistant configuration directory.
Important Links:
Tuya IoT Platform:
https://iot.tuya.com/?_source=651c0f2a31e8e3e0568022f1b280684b;
Tuya Developer Platform:
https://developer.tuya.com/en/?_source=c878bcadc819750a4505b0830c039530;
Tuya IoT cloud Platform:
https://iot.tuya.com/cloud/?_source=cbf42dfa4bc287c5eaa30db0e3fcbd30;
Tuya Home Assistant Beta Test Program:
https://pages.tuya.com/develop/HomeAssistantBetaTest_V2?_source=697539a71612b5ea5c6f717b7346e12b;
Github-Tuya Home Assistant Integration:
https://github.com/tuya/tuya-home-assistant?_source=f2593c0bcde60ab306381169c3ce3519
Tuya IOT Platform:
Companies frequently fail in their attempts to deploy IOT devices
because they are unable to develop a robust application platform that is
both functional and interoperable with other devices.
Tuya Smart hopes to address this problem with an IOT platform that
prioritizes smart device development and interoperability.
Account Creation:
Create an account on TUYA IOT. Click on “IOT Platform” on the right corner.
Cloud Project setup:
To have access of the cloud you can choose ‘Trial Edition’ mode to which you can have some limited features. To have a vast access of Tuya cloud features you can choose according to your choice in between the various editions of cloud. Select the Trial Mode to use the TUYA Cloud.
Click on “Cloud” in the column tab on left of the page. Then click on
“Create Cloud Project” on the right of the page.
Create cloud project by filling the form by adding “Smart Home” from the list in ‘Industry’ and ‘Development Method’ sections and enter ‘Data Centre’.
This will provide you some limited services to use. We have ‘Device Status Notification’ only. To avoid that please have an access according to your choice.
Now you have created a project on TUYA Cloud with personal ID.
Configure Devices with TUYA App:
Install TUYA App from app store on your mobile OS. Follow these steps shown
below.
Connect Cloud with TUYA App:
Click on the ‘Devices’ tab then click on ‘Link Tuya App Account’ tab and
click on ‘Add App Account’ to integrate Tuya App with cloud.
QR code will generate. Scan this QR code with the Tuya App from mobile.
Home Assistant Installation:
Install Home Assistant on WINDOWS OS:
Install Home Assistant on windows OS with this link https://github.com/AlexxIT/HassWP/releases
Install Home Assistant Core:
See Home Assistant Official Installation Guide to install Home Assistant Core.
Install Tuya v2 Home Assistant integration:
The new version of Tuya Home Assistant integration (Tuya v2) can be compatible with the old version. Both versions can be installed at the same time. You do not need to uninstall the old version.
Manual Installation of Tuya v2 Integration with Home assistant:
To manually install the Tuya Integration, follow these steps:
Go to the Home Assistant Tuya integration's GitHub website and download the
code as a Zip file.
https://github.com/tuya/tuya-home-assistant?_source=c1878bb692baf075869c431dca83b90c
Copy the custom components/ Tuya v2/ folder to your Home Assistant
configuration folder after unzipping the files. Restart your Home Assistant
if it has not done so already.
Tuya v2 Integration:
Click on ‘Configuration’ from the column tab in the left of the page. To
integrate Home Assistant with Tuya, click on ‘Integrations’ from the
list.
Here you have to choose ‘Tuya v2’ variant to have a better experience of Tuya IOT.
Now enter your Tuya credentials, which you enter on the Tuya App on your
mobile OS.
Now you have successfully created the integration of Tuya with Home
Assistant.
Benefits of Tuya v2:
Tuya v2 is based on Tuya's standard APIs and addresses the limitations of categories and control commands that are accessible. More development-friendly capabilities, such as virtual device debugging, official permission, and technical assistance, are now available, allowing you to operate more efficiently with the Tuya ecosystem.
Tuya Official Integration in Home Assistant Core:
Devices control setup:
The devices you have selected in mobile Tuya App is showing on Home
Assistant. You can now use this integration to control your devices with
Home Assistant.
This will be the ending of the whole process and you can now enjoy
controlling your devices.
Good thing
ReplyDeleteDeeply explained
ReplyDeleteIt is good. Will consider this in the connection.
ReplyDelete