Yes, life_smart is the app platform needed for my Aiconditioner
checking the log.
Yes, life_smart is the app platform needed for my Aiconditioner
checking the log.
Looks like same error
Got reply from tuya support… No supported device…
Huh? Not taking this answer. Hence the problem seems to be related to authentication…
Received this to inquire this bug…
https://iot.tuya.com/index
Let see if my luck is getting me anywhere
You can literally just start again using the Tuya Smart app. It’s essentially a rebranded version of smart life except it just works better. Give it a try. The only reason manufacturers use the Smart Life app is because they want it to look like there own generic app. They dont want consumers to know that they are just using some cheaply licensed smart tech / software. Give Tuya a try.
Works like a charm ! thanks Phil!
Glad to be of help. I read elsewhere about using Tuya and I was damned if I was going to switch. I spent ages trying to get Smart Life app to work but ultimately failed. I spent 10-15 mins switching everything over to Tuya and it all worked straight away.
I really just hope I can save people a lot of time and despair.
This topic has saved me a lot of troubleshooting. Thank you @Phill_Healey
platform: smart_life just doesn’t work. No matter how I configure it. It always reports auth issues in the HA logs. I have an account and I am able to control the switches with the Nedis app.
Switching from Nedis to Tuya worked better, but I’m unable to get correct status of the device I’m using (WIFIP310FWT). The four switches status is always off no matter what I do. I can however control the switches by using switch.turn_on and switch.turn_off. This will correctly switch the selected entity on or off. But the status does not change in HA.
switch.toggle on the other hand does nothing.
I’m on the latest HA 0.97.2.
@mindtripper, you seem to be having the same issue as a handful of other people, myself included, and it’s starting to look like maybe it’s a Tuya API issue. The issue was reported here and here if you want to comment and help get the issue noticed.
@mindtripper there is always going to be a delay between the action (eg turn on / off) and the status being reflected in HA due to the chain of events that needs to take place. However, I have noticed at times this can be a bit too long and looks like the status change isnt coming. I’ve noticed that if I do an action (eg switch on or off) then wait auntil the status is reflected in HA, after this initial action things get much quicker. However, repeating the action just causs lots of data to be transmitted and this can send things out of sync very quickly to the point that it never recovers. Give this a try and wait for the first status update, it might solve your issues.
However, I’ve also noticed that certain errors with other platforms will cause Tuya in particular to not work properly. Check your log files to see if there are any repeated error across multiple system reboots. If there are, try temporarily removing this component/platform and see if that improves your tuya responses.
I cannot get this working at all. I have the TuyaSmart app on phone and all my devices are in it.
I set my configuration.yaml as your example with my details filled in but nothing sems to work. I have tried no quote, doiuble quote and single quotes. I have tried phone number, country code of china (86) and also my “correct” one of 353 (Ireland). It constantly gives me username/password icorrect error
this is my working conf
tuya:
username: !secret tuya_user
password: !secret tuya_password
country_code: 971
platform: tuya
i dont use any quotes
forgive my ignorance, what is the !secret bit ?
it’s just mapping my sensitive information to the secrets.yaml file. Think of it as a link
Success at last. your config (juan11perez) worked.
thanks
welcome, glad it worked.
You must try setup a mobile phone number first and after use this as the username.
To setup that go to: Me / More Services / Mobile Notification (or SMS notification) on Smart Life App or Tuya App.
Just use the app Jinvoo Smart app when you register, works direct.
hi, i have the same issue, i installed the Tuya Smart, paired the AC, installed Tuya integration and added to configuration.yaml:
tuya:
username: myuser
password: mypass
country_code: 972
platform: tuya
(there are spaces before fields)
Logger: homeassistant.components.tuya
Source: helpers/config_validation.py:749
Integration: Tuya (documentation, issues)
First occurred: 11:04:09 AM (1 occurrences)
Last logged: 11:04:09 AM
The ‘tuya’ option is deprecated, please remove it from your configuration"
please advise me.
** EDIT: Should i change any settings in Tuya smart app?
I vaguely remembered it being moved to the GUI but I had to look it up to be sure. You should add Tuya using the frontend instead. See link for more details.
Thanks for the quick reply, i removed the tuya from configuration and reinstall Tuya integration from frontend (includes details: user, pass, country code and platform). unfortunately, still no entities found…