aszlavik
(Alex)
November 4, 2021, 4:08pm
21
Can you link the github issue / PR where you got this screencap from?
tjafbe
(Tjafbe)
November 4, 2021, 4:54pm
23
Frenck also confirmed in a different github issue it is an upstream tuya problem and they are working on it.
opened 02:21AM - 21 Oct 21 UTC
integration: tuya
### The problem
I updated to HA Core 2021.10.6, removed the old Tuya integratio… n, and tried to add the new one, but I'm getting a "permission deny" error. I followed the instructions very carefully:
1. Created Tuya IOT Platform account.
2. Created a new Cloud Project in the US West data center.
3. Authorized the Device Status Notification API, along with the other default ones.
4. Linked my Tuya app account, scanned the QR code, confirmed.
5. Confirmed that my device (dimmer light) shows up in the Devices list, and its status is "Online".
6. Added the Tuya integration, configuration dialog comes up.
7. Chose United States from the country list.
8. Copy-pasted the Access ID and Access Secret into the Tuya integration fields.
9. Enter my Tuya App (not IOT Platform) username (email address) and password in the fields.
When I click "Submit", red text "Login error (1106): permission deny" appears.
I verified that my account and password were correct by signing out of the Tuya app and then signing back in with the same username + password
Nothing at all is shown in the HA log.
### What is version of Home Assistant Core has the issue?
core-2021.10.6
### What was the last working version of Home Assistant Core?
core-2021-9.6
### What type of installation are you running?
Home Assistant Core
### Integration causing the issue
Tuya
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya/
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
1 Like
Same error but with a twist - it has worked for almost a full day after the 2021.11 update - it’s not the update that broke the Tuya integration. From what I’ve read, it’s on Tuya’s end and just a coincidence with 2021.11 launch. Nothing we can do to fix.
I restarted HA and now its working again. I guess Tuya have fixed something on their end.
1 Like
Pottsy
(Jason Potts)
November 4, 2021, 7:41pm
26
A restart hasn’t fixed it for me yet. Hopefully it is a good sign that it is now working for you.
2 Likes
GiulioG
(Giulio Galluzzo)
November 4, 2021, 7:50pm
27
After a restart all work for me too now!
Pottsy
(Jason Potts)
November 4, 2021, 7:54pm
28
It looks like there might be a new core integration. Does that mean I should remove the HACS version and install the it through integration page? Or just be patient and keep restarting?
tjafbe
(Tjafbe)
November 4, 2021, 8:06pm
29
What worked for me was to simply change my password in the smartlife app.
1 Like
freeman
(Юрий Черемис)
November 4, 2021, 8:20pm
30
Updated HACS and everything worked
krskrab
November 4, 2021, 9:00pm
31
Repair. removing integration → password change in Smart Life application → restart HA → adding integration
1 Like
Osfersa
(Oscar)
November 4, 2021, 9:29pm
32
Removed Tuya integration and changed the Tuya password on my iPhone.
I re-installed integration and works now after getting the same error message “Login error 1106”
And added a Gas detector that I got cheap at Amazon.
krskrab
November 4, 2021, 9:39pm
33
changed password in smartlife to something else
Changed password back again to original
restart HA
This way, no need to uninstall and reinstall integration.
4 Likes
no need to reinstall integration if you change password and then change back to old password again
2 Likes
vrt
November 4, 2021, 11:47pm
36
I did not even change password. Simply cleared cache in the Tuya app then restarted HA. For sure this worked because I had tried restarting a few times prior to clearing cache.
2 Likes
Pottsy
(Jason Potts)
November 5, 2021, 12:13am
37
Password change and change back with restart worked for me. Didn’t try the clear cache option but appreciate the info.
3 Likes
I have the same problem and I can solve it by
Change the Password of the Smart Life app on Mobile phone
Restart HA
Try again and it will work
4 Likes
nail
(Nagel)
November 5, 2021, 7:06am
39
This solved the problem for me without problems. Thank you.
democles
(DC)
November 5, 2021, 7:52am
40
Hi,
purging the cache in the app did it for me…
Thx for sharing !