If you are here, it is certainly that you have acquired material Tuya Smart. However, even if you have successfully tame the application Smart Life, you probably still find limits to it or would like to pair your products with other brands or protocols. Perfect ! You are in the right place, today we are going integrate together Tuya Smart Life in Home Assistant in order to be able to make our scenarios more complex as well as to link our equipment to other devices such as Aqara switches, for example.
THETuya integration for Home Assistant that I propose to you today is the one natively supported. There are other integrations to be cloudless (Without using the brand's servers) which we will see later if you are interested.
Smart Life with Home Assistant to enhance your experience
Currently there is support for the following device types in Home Assistant:
- Climate: Supports air conditioners and heaters
- Cover: Supports modules for shutters
- Fan: Support most types of Tuya fans
- Light: Support most kinds of Tuya light / Smart Life
- Switch: Supports switches and sockets
Activate Tuya or Smart Life in Home Assistant
For activate the devices linked to your Tuya account or Smart Life, add the following to your file configuration.yaml :
hose:
username: Your_tuya_identifier
password: Your_tuya_password
country_code: 33
platform: smart_life
Integration information
- username: your Tuya account ID or Smart Life (usually your email address)
- password: the password of your Tuya account or Smart Life
- country_code: Country code (France: 33, Belgium: 32)
- platform: Application you use and with which you registered your account
Platform available in Hass.io
By default, the parameter platform uses yours for Tuya, however you can change this setting to smart_life if you use the app Smart Life.
Which products are compatible?
We have offered hundreds of compatible device tests Smart Life, we invite you to consult them. Whether it issmart bulbs, so-called smart sockets or ofroller shutter switches, there is no lack of choice! Here is a small selection of inexpensive Tuya home automation systems that are fully compatible with Home Assistant.
Thank you Aurélien, it's perfect once again!
I succeeded for Tuya, but nothing for smart life 🙁
The same for smartLife
Top ! I managed to integrate all my bulbs and sockets smartlife!
Cool ! Thank you for your feedback Axelle! 😀
Hello everyone, I had a hard time too. In fact, you have to make tuya detect the equipment you have in smart life.
It's exactly the same except that the app changes color.
You have to download tuya on smartphone, create an account and integrate the equipment into it.
Then you put this in the config.yaml
hose:
username: your email address
password: your password
country_code: 33
No need for config.yaml anymore, there is now an integration directly in HA 😉
Ah good ? Can you develop?
Hello, thank you very much for this tutorial! It worked perfectly!
I am now looking to make the "cloudless" version which would interest me a lot, do you know when you will do a tutorial? Thank you
Hello, thank you for your tutorial, I bought a KONYKS brand door opening detector, I have bulbs under smart life as well as the detector, however I cannot integrate the detector into HOME ASSISTANT (although I succeeded for the bulbs) someone would have advice I am desperate
hello do you think it also works with cloud edge? thank you
Hello,
No idea, it's to try ... 🙂
Hello, I have a problem when importing Tuya devices into hassio. indeed my buttons for shutters are not detected as such but just as a switch. they just go up.
In TUYA everything works perfectly
Do you have an idea?
Same problem
thank you,
+1 for cloudless
Same problem as Artur and Pace Side.
Have you ever had this problem ?
Hello, do you have any ideas for integrating this type of thermometer into HA? works perfectly in smartlife / tuya and Alexa.
https://s.click.aliexpress.com/e/_A3jEsf
Thank you in advance for your ideas.
Is it possible to connect Tuya equipment in cloudless?
Yes, it's possible, I did it with the repo Local Tuya on Github,
Since the integration relies on Tuya's cloud, it's anything but Cloudless 😉
There is a cloudless solution, but it is not the one exposed here indeed… 😉
Hello, a nice article, thank you.
For my part I use Smart Life (linked to Google account), and integrating Tuya into HA is not working for me.
I don't understand the reason. Maybe we should create a new account on Tuya (however under HA we can declare Smart Life as the app that carries the account!?). Or does he not like the connection to the Google account?… If one of you has an idea, I am interested.
Otherwise a cloudless solution is also of great interest to me.
A very interesting tutorial on this subject: https://macleod.hfstudio.com/index.php/fr/tutoriels/lsc-smart-connect-flasher-tuya-en-tasmota
For the “tuyagateway” version offered by Tradeface, here: https://github.com/TradeFace/localtuya-homeassistant
Would it be possible to have a tutorial, because it exceeds my current skills.
Thank you to the one who will launch it 😉
Good evening, is there a solution to transfer all the devices detected on smart life on tuya without having access to the different module again.
Bonsoir
how integrated a home assistant of the hardware under smart life?
Thank you for your help
cordially
Hi,
This is the subject of this tutorial, but there is now an integration directly into HA. 🙂
Good weekend