tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
876 stars 206 forks source link

Login error (1109): param is illegal ,please check it #738

Closed souravj96 closed 2 years ago

souravj96 commented 2 years ago

I'm facing 1109 param is illegal issue while setting up tuya integration in home assistant. while my tuya IoT development project is in India Data Center, my tuya app account is in the India region. I tried changing the app account password. nothing is working. and also while I link my tuya app account to the tuya IoT development project, it's showing 0 devices.

Home assistant issue

tuya IoT project

account details of tuya app

All devices on tuya app

Home Assistant Version core-2021.12.2
Installation Type Home Assistant OS
souravj96 commented 2 years ago

this issue got resolved after replacing the tuya iot account

copetogo commented 2 years ago

I am still having this 1109 param is illegal issue. what do you mean replacing the tuya iot account.My data center is central europe while country is india as my app login country. although my devices appear in the iot but the tuya integration in HA is not working due to this error

this issue got resolved after replacing the tuya iot account

arpith20 commented 2 years ago

I'm facing the same issue. @souravj96 could you please elaborate on what you did to fix this?

copetogo commented 2 years ago

while configuring in HA just change the country to any other except India. in my case i just randomly put afghanistan and it worked

arpith20 commented 2 years ago

@copetogo Thanks! That worked!

pintoeu commented 2 years ago

the Tuya account used to create the Cloud Project must be different from the Tuya account used to link devices to the mobile app.

If the same Tuya account used for the mobile app is used to create the cloud project, an error is received while adding integration in Home Assistant ( Login error (1109): param is illegal).

beckdac commented 1 year ago

the Tuya account used to create the Cloud Project must be different from the Tuya account used to link devices to the mobile app.

If the same Tuya account used for the mobile app is used to create the cloud project, an error is received while adding integration in Home Assistant ( Login error (1109): param is illegal).

I can confirm the 1109 is if the same account name (i.e., email) is used.

It still isn't working for me, but when I deleted the mobile app account and created a new one using a different email I no longer got the 1109. (I have a different error code, but I'm not going to pollute this comment.)

copetogo commented 1 year ago

the Tuya account used to create the Cloud Project must be different from the Tuya account used to link devices to the mobile app. If the same Tuya account used for the mobile app is used to create the cloud project, an error is received while adding integration in Home Assistant ( Login error (1109): param is illegal).

I can confirm the 1109 is if the same account name (i.e., email) is used.

It still isn't working for me, but when I deleted the mobile app account and created a new one using a different email I no longer got the 1109. (I have a different error code, but I'm not going to pollute this comment.)

I don't think it in issue with tuya account but rather than the country you are selecting . Try selecting afganistan or any other random country . i know it like a bit of hitting in dark but it worked with the same account which i sbeing used to configure tuya account