Tuya Integration

it’s a smart IR

I bought 2 door contacts. They are not working with home assistant. As I understood, they do not have all tuya component integrated: at the moment only bulbs and switches.

that sucks anyone figure out a work around for this…

Nope. And the worst part is that I can’t find any chinese IR remote sensor that integrates with HA.

my Haasio keeps telling me

The following components and platforms could not be set up:

Please check your config.

My config is as below, I have checked the sign in details are correct on the app on my iPhone and the devices show up and I can control them.

tuya:
  username: [email protected]
  password: xxxxxxxxx
  country_code: 44
  platform: smart_life

Any ideas why I keep seeing the error, it being doing it for the past 5 or 6 versions of hassio now.

1 Like

Same for me.

you have the smart_life app on your iphone? not the tuya branded one, or jinvoo one?

Yes its the Smart Life one

hmm - I dont see anything obvious.

mine:

tuya:
  username: 04xxxxxxxx
  password: somepassword
  country_code: 61

The smart life app doesnt appear to be working. Your quickest and easiest option is to just use the Tuya app instead and youll have no issues.

ScreenShot_20190719222012

thats interesting, as they all use the same tuya provided solution, but are just rebadged…

Well, I’m not the only person to spend hours trying to get Smart Life to work, but then has no problems with Tuya. There clearly i some difference, otherwise there’d be no need to specify the platform in the config.

here is my setting for smart life

tuya:
  username: !secret tuya_user
  password: !secret tuya_pass
  country_code: 65
  platform: smart_life

if you getting error . likely tuya server is down… I face this from time to time, tuya server is down when i start my home assistant. Just try again later…

That doesn’t account for why the tuya version will work but the smart_life version doesn’t.

Same issue ; also in this topic…

support from tuya is not able to help out…
I tried several supports related to the tuya,smartlife, etc… maybe anyone knows who
wrote the damn tuya component?

add my devices to Tuya rather than smart life, altered my config and still it does not work.

Did you do a proper system reboot. Sometimes just reloading scripts etc doesn’t seem to work.

Got it working via tuya app… Works like a charm ! thanks Phil!

I’m having difficulty with the Tuya integration using my Brilliant Smart downlights. I’ve only just added it to HASSIO. I’ve added to following to my configuration.yaml:

tuya:
  username: !secret tuya_username
  password: !secret tuya_password
  country_code: 61

Adding the platform: smart_life breaks the integration doesn’t work. Without it, I get tuya.force_update and tuya.pull_devices events. With it, I don’t.

The problem I seem to have is that none of my devices are appearing in HASSIO. I try to the pull and force commands and nothing happens. I’ve triple-checked the username and password. I can control them in the app, do the tuya server shouldn’t be the problem.