Comments (201)
Having the same issue, after reauthentication all is fine but directly given the same message again.
from core.
Same here
from core.
mine wont let me re-authenticate, keeps telling me the QR code has expired, lost access to @ 20 devices now :-(
from core.
I am curious, why @tuya @zlinoliver and @frenck go silent?
I believe this is by far the most important issue that they are facing as the integration is not working anymore...
from core.
rebooting HA does not solve the problem
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
I think exactly this indeed (still they must've changed something), think you only need the IoT Core.
from core.
well I guess I need to replace all these last few Tuya devices sooner rather than later, only the few that i converted to Tuya local are still working and cant convert the rest now until this issue is resolved
from core.
Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of tuya
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign tuya
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
tuya documentation
tuya source
(message by IssueLinks)
from core.
well I guess I need to replace all these last few Tuya devices sooner rather than later, only the few that i converted to Tuya local are still working and cant convert the rest now until this issue is resolved
I also think that it is time to start moving to a local solution and abandoning the Tuya cloud - because this solution is clearly degenerating
from core.
Same here. I have currently 102 Tuya Devices. Because so much work, only till now 10 devices Tuya Local.
Hope they will fix it soon :-(
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
from core.
Same here,
deleting, reinstalling, rebooting, reauthenticating, downgrading, nothing works stable.
One time, most of my over 100 devices worked again for half an hour, and then ... suddendeath!
from core.
Same here just a few minutes ago. Any info so far about root cause and when can this be solved? Thanks for all your support.
from core.
@tuya @zlinoliver @frenck what are your thoughts about this?
I also want to know what the developers think about this problem.
thank you
from core.
One more with a ... "Failed to set up: Authentication failed. Please re-authenticate" and scanning QR in app gives "The QR code has expired. Refresh and scan it again." Nothing works from suggestions above.
Nothing else to add as to the source of this issue, but might help to say that I use the new Tuya integration and Local Tuya. Currently Local Tuya working, it is only the cloud integration is not. Ironically, Local Tuya is the one that has been giving problems last few weeks, with devices going unavailable and only a full HA restart resolving. Now the cloud version?! Really makes the whole Tuya integration a non-runner as there is simply no stability to the availability of devices with either integration. Nice to learn this after recently setting up about two dozen devices.
from core.
I restarted my Home Assistant box and it worked properly.
Tried and it worked for a minute then complained again
This worked for me, i disconnected power on the box, and then reauthenticated. so far it is working
worked for a few hours then stopped again.
from core.
Same here. Re-authed like 4 or 5 times. Have given up now on tuya iot cloud. Thankfully my local tuya working well. I don't like my home coming to a halt when theres problems outside my home! Life should not be that complicated to rely on a distant datacentre to turn on your lights haha.
from core.
I think we can confirm that there is an issue, maybe stop responding untill a dev can tell us more?
from core.
Same here
from core.
Same here :(
104 devices completely useless :( :( :(
from core.
so I've discovered if I reload the integration and ignore the warning about re configuring, my Tuya devices will work , but I can't add any new devices or move more to tuya local atm
from core.
I deleted Tuya then added it again. So far so good. Its all working. Hopefully it stays that way.
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
I think exactly this indeed (still they must've changed something), think you only need the IoT Core.
this was also solution for me, thanks
from core.
ok after about 10 attempts it did let me in so not a complete train smash
this is what I did too. I just kept re-authenticating and eventually succeeded and stable since. Even after a restart, working without any issues now.
I believe the issue lies with the Tuya Cloud platform itself, they must be doing some upgrade or encountering some api re-try issues. Not an uncommon problem but I do wish Tuya would have a cloud status page indicating any existing/reported problem so that end users aren't pulling their hairs out trying to understand where the issue is.
You are asking too much. We are talking about a Chinese company. Most probably if we are creating waves, someone from Chinese Communist Party (CCP) will visit us :)
With $25000, some notifications could be sent.
from core.
I deleted Tuya then added it again. So far so good. Its all working. Hopefully it stays that way.
Still working for me.
from core.
UPDATE: It's working again here. i've tried a few time to reauthenticate this morning and got the "QR expired". I've rebooted HA and it worked. Doesn't make sense to me, but its what happened.
from core.
ОБНОВЛЕНИЕ: Здесь все снова работает. Я несколько раз пытался повторно пройти аутентификацию сегодня утром и получил сообщение «QR истек». Я перезагрузил HA, и все заработало. Мне это не понятно, но вот что произошло.
Hello! Try rebooting HA and it will require authorization again
from core.
Same issue here. Hope this gets resolved soon.
from core.
Does it work for you?
Yeah, it's working. How long it will work - I'll tell you :)
ps even statuses are now updated without forced cron updates.My tuya working around 35 hours 272 devices )
Same here. Working for 18hours now. However, I kept re-authenticating and reloading the integration like a mad man until it got to a loaded or working state. Rebooting my ha in between where the QR code expires.
It’s been working since yesterday and I dare not attempt to reboot or reload my ha. I’m sure it will stop working if I do and I gotta brute force authenticate/reload for a good few mins to get a working connection again.
I still suspect an api retry error from ha to tuya. We just aren’t seeing the metrics for it. :(
Same for me . Yesterday morning after several attempts it kept working and this morning - the same as yesterday - integration not working. Authenticated several times, restarted when the code expired and finally i gave up. After another restart since now (6 hours its working) but I am sure tomorrow morning its the same problem..
from core.
ok after about 10 attempts it did let me in so not a complete train smash
from core.
same occurring for me. mine authenticates, but the devices dont work, if i go reload the integration, it then tells me i need to re-authenticate again.
from core.
seems to also be affecting my Tuya Local devices, wont let me log in to reconfigure them
from core.
ok after about 10 attempts it did let me in so not a complete train smash
I tried 10 times, then 10 more times - no luck. The result is the same - the code is not accepted. It seems to be a problem with qr code generation - once generated and after it is shown once, with any number of requests.
from core.
ok it worked for a few minutes and now says it needs reconfig and now tell me to reconfigure again with Config flow could not be loaded: {"message":"Invalid flow specified"}
from core.
same as here
from core.
I am having the same issue, and i have so many tuya devices currently :( luckily most are local.
from core.
I restarted my Home Assistant box and it worked properly.
from core.
I restarted my Home Assistant box and it worked properly.
Tried and it worked for a minute then complained again
from core.
Tuya may have changed the API. I have same issue but the SmartLife app still works. Sadly, I had migrated to official Tuya Addon from Local Tuya ages ago since it worked so well so now I have no Tuya as it seems i can't revert.
Logger: homeassistant.config_entries
Source: config_entries.py:622
First occurred: 1:58:18 PM (2 occurrences)
Last logged: 1:59:54 PM
Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
Nothing else in the logs
from core.
same here, multiple reconfiguration attempts, problem is always back after integration reload, restart of HA didn't help, maybe issue or some changes on tuya side?
from core.
Same for me
Tuya won't re-authenticate
from core.
Tuay keeps wanting reauthorization. It will happen with me, everything is fine for a while, but within an hour she wants reauthorization again.
from core.
I tried the Extend the Authorized period of the IoT Core Service on the Tuya Developer Platform, and while it seemed to work after one restart, the issue returned after a further restart, so did not work for me.
from core.
I tried the Extend the Authorized period of the IoT Core Service on the Tuya Developer Platform, and while it seemed to work after one restart, the issue returned after a further restart, so did not work for me.
ok well that's weird, I also did a restart and also a forced-reload of the integration but it keeps working for me (for now). No clue for your case..
from core.
Same issue here. Asking to re-authenticate every couple of minutes. Reboot HA not working, delete integration and add it back -> not working. I am thinking seriously about changing all my twenty devices and 66 entities to localtuya.
I have 5 separate devices (smart plugs) added on localtuya, to not depend on the internet and must turn them on/off.
Why the hack is this integration called "official" if it is not working with Tuya???
from core.
Same issue here. Asking to re-authenticate every couple of minutes. Reboot HA not working, delete integration and add it back -> not working. I am thinking seriously about changing all my twenty devices and 66 entities to localtuya.
I have 5 separate devices (smart plugs) added on localtuya, to not depend on the internet and have to turn them on/off.
Why the hack is this integration called "official" if it is not working with Tuya???
Re-authenticated (QRcode + scan on app) several times, it accepted the code verification, then asked again. It happened several times, see details (still happening)
2024-06-27 21:37:56.744 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-06-27 21:38:19.738 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-06-27 21:41:52.030 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-06-27 21:42:51.292 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-06-27 21:48:52.034 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
I think exactly this indeed (still they must've changed something), think you only need the IoT Core.
this was also solution for me, thanks
It is not asking for reauthentication each minute, did reboots and keeping an eye on it.
This is what has been changed:
Ref: https://www.tuya.com/vas/commodity/IOT_CORE_V2
They want more money. Most probably all of us will migrate to localtuya or other not cloud related integrations as we should do since day one.
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
I think exactly this indeed (still they must've changed something), think you only need the IoT Core.
Problem in HA core for Tuya, not with Tuya ioT APi
I was migrate to HA v. 2024.1.0 (where no QR code authentication) and everything work correct.
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
I think exactly this indeed (still they must've changed something), think you only need the IoT Core.
Problem in HA core for Tuya, not with Tuya ioT APi
I was migrate to HA v. 2024.1.0 (where no QR code authentication) and everything work correct.
Or could be the number of "controllable" devices
Moving some of them to localtuya and will let you know
from core.
Try to reauthenticate in Tuya Developer integration an check the valid time , it works for me after i extend the periode
I think exactly this indeed (still they must've changed something), think you only need the IoT Core.
Problem in HA core for Tuya, not with Tuya ioT APi
I was migrate to HA v. 2024.1.0 (where no QR code authentication) and everything work correct.Or could be the number of "controllable" devices
Moving some of them to localtuya and will let you know
I have 287 devices and all devices now working good. After I was migrate to HA 2024.1.0
from core.
Just as FYI....
I've tried downgrading to HA Core 2024.6.3 (from a backup from last week which was working).
Issue remains.
Tried SEVERAL times to reconnect to the official TUYA integration from HA.
from core.
ok after about 10 attempts it did let me in so not a complete train smash
this is what I did too. I just kept re-authenticating and eventually succeeded and stable since. Even after a restart, working without any issues now.
I believe the issue lies with the Tuya Cloud platform itself, they must be doing some upgrade or encountering some api re-try issues. Not an uncommon problem but I do wish Tuya would have a cloud status page indicating any existing/reported problem so that end users aren't pulling their hairs out trying to understand where the issue is.
from core.
Moved two devices to localtuya => controllable devices pool decreased to 9, still the same issue.
downgraded to 2024.5.5 => still the same issue. But I have another big problem: all my records, scenarios, automation, disappeared. So, downgrading should be for an incredibly good reason to justify data loss!
For sure, there is an issue with Tuya API.
from core.
I have same issue, reAuthenticating , the Tuya integration is not working today.
from core.
Issue appears to be resolved for me.
I had to Re-Configure approximately 5 times with a page refresh and re-login between each for it to work
from core.
Issue appears to be resolved for me. I had to Re-Configure approximately 5 times with a page refresh and re-login between each for it to work
It will work until the next reboot. Same happened to me earlier today.
from core.
@tuya @zlinoliver @frenck what are your thoughts about this?
from core.
I have 158 devices :(
from core.
I have same issue!
from core.
I found that adding a new Hub made all of the devices re-appear and work. However, I was then left with the old one (with the same name) which is broken and an ongoing "Repair" notification which I can't resolve. I'm concerned about simply deleting it in case it also deletes the working one, as both have the same name.
from core.
I restarted my Home Assistant box and it worked properly.
Tried and it worked for a minute then complained again
This worked for me, i disconnected power on the box, and then reauthenticated. so far it is working
from core.
Hi there,
here the same problems, and the smartlive integration too.
from core.
SOLUTION!!!
I was migrate to HA v. 2024.1.0 (where no QR code authentication) and everything work correct more than 12 hours
Problem in HA core for Tuya, not with Tuya ioT API
from core.
It doesn't work either. After a reboot or after an indefinite period of time, it requires authorization!!!
from core.
It is sad that HA developers are silent on this problem
I checked integration of Tuya in homebridge - everything works fine there. Apparently the problem is in the HA integration
from core.
Apparently the problem is in the HA integration
I think it must be the HA Tuya developer account, Tuya must have revoked the auth tokens
from core.
Same issue here ("Authentication expired for . . .") but the devices are still reporting fine. Confused...
from core.
Hello, I have the same problem - after every reboot, re-authorization is required
from core.
Same problem here.
from core.
Same problem!
from core.
I have the same problem, i hope you solve the problem soon, please
from core.
2024.1.0
from core.
same here. after every desinstall/install, works for few minutes, then down. Now here a new message : :
from core.
I having the same problem, after reauthentication.
from core.
Ja hier auch der selbe mist... seit ca. 2Tagen geht nichts mehr.... Tuya ade... wenn das jetzt nicht bald in den nächsten 2 Tagen behoben wird werde ich alle tuya Geräte entfernen oder kennt jemand eine möglichkeit die dinger zu flashen ? :-)
from core.
bei mir auch seit heute Nacht :-(
from core.
![изображение](https://private-user-images.githubusercontent.com/12997195/344230511-4cc1ed53-e7f1-4383-8e3b-dc689250060a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MDA2NjUsIm5iZiI6MTcxOTYwMDM2NSwicGF0aCI6Ii8xMjk5NzE5NS8zNDQyMzA1MTEtNGNjMWVkNTMtZTdmMS00MzgzLThlM2ItZGM2ODkyNTAwNjBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI4VDE4NDYwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlNjg5Mjg2ODEwZDFkNTc5MmEzNWY2NTliMDdiYTM5MzcxOTg3M2MxNTNjMjQzM2FhNDA0YWNmNDFiNGY3ZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.urygUo-RgWvlVDBAffCqdAe8cWpR2lhEzfGn8gKLhrI)2024.1.0
Disable this tuya integration and add as a new one.
Because HA 2024.1.0 have old authentication method.
from core.
Same here.
Found in logs:
API call prompt { "code": 1004, "msg": "sign invalid"}
I tried almost everything, please assist. Thank you.
from core.
Reloading integrations works for most devices, although the one I added today loads, but switches to unsupported after a few mins....but appears to be read-only while working reads battery state, but will not activate the device 'switch' (water timer).
from core.
Same here...
from core.
Same here. Reinstalling fixes it, but then it repeats.
You can wipe the integration and reload it/ Then get the security code from your account settings. Then, you get the new QR code, which you can scan from smart life or tuya app and confirm login. This seems to work, but within anything from 30 seconds to 10 minutes, it gives the same error. Then of course If you go to the QR code, it says it's old since you used it to set up.
So you can keep doing that and restarting, etc., many times. Always the same.
from core.
Same here
from core.
same problem here :(
from core.
Disable this tuya integration and add as a new one.
Because HA 2024.1.0 have old authentication method.
Thank you.
from core.
Disable this tuya integration and add as a new one.
Because HA 2024.1.0 have old authentication method.Thank you.
Does it work for you?
from core.
Does it work for you?
Yeah, it's working. How long it will work - I'll tell you :)
ps even statuses are now updated without forced cron updates.
from core.
Disable this tuya integration and add as a new one.
Because HA 2024.1.0 have old authentication method.Thank you.
Does it work for you?
I tried and unfortunately it didn't work
from core.
I tried and unfortunately it didn't work
you added a new hub with new authorization ?
from core.
I tried and unfortunately it didn't work
you added a new hub with new authorization ?
from core.
I tried and unfortunately it didn't work
used authorization data from platform.tuya.com.
++ your login password in tuya application ?
from core.
I tried and unfortunately it didn't work
used authorization data from platform.tuya.com. ++ your login password in tuya application ?
In fact, I use the login data through the app because it is not possible to use the old method of logging in
from core.
I tried and unfortunately it didn't work
used authorization data from platform.tuya.com. ++ your login password in tuya application ?
Yeah. This is old skool. Assuming you are using an older version of HA where it uses the older tuya integration?
from core.
Same issue
Restored a full backup to a new USB SSD, everything working fine except Tuya (and the 75 devices under that integration)
from core.
I tried and unfortunately it didn't work
Yeah. This is old skool. Assuming you are using an older version of HA where it uses the older tuya integration?
I had to go back to the version HA 2024.1.0 to get tuye working again.
from core.
Same issue Restored a full backup to a new USB SSD, everything working fine except Tuya (and the 75 devices under that integration)
Same issue Restored a full backup to a new USB SSD, everything working fine except Tuya (and the 75 devices under that integration)
problem with the latest tuya integration
from core.
same here, multiple reconfiguration attempts, problem is always back after integration reload, restart of HA didn't help, maybe issue or some changes on tuya side?
so today it stopped working again, and reconfiguration not working at all, :( guess it really time to say bye bye to tuya, this is the most unreliable integration in HA environment,
from core.
Does it work for you?
Yeah, it's working. How long it will work - I'll tell you :)
ps even statuses are now updated without forced cron updates.
My tuya working around 35 hours
272 devices )
from core.
Does it work for you?
Yeah, it's working. How long it will work - I'll tell you :)
ps even statuses are now updated without forced cron updates.My tuya working around 35 hours 272 devices )
Same here. Working for 18hours now. However, I kept re-authenticating and reloading the integration like a mad man until it got to a loaded or working state.
Rebooting my ha in between where the QR code expires.
It’s been working since yesterday and I dare not attempt to reboot or reload my ha. I’m sure it will stop working if I do and I gotta brute force authenticate/reload for a good few mins to get a working connection again.
I still suspect an api retry error from ha to tuya. We just aren’t seeing the metrics for it. :(
from core.
Not sure if this is just co-incidence, but I had the same problem, and intended to go onto the tuya iot site to extend my access. When I got to the site, I was presented with new T&C's, privacy statement etc. to accept, which I did. I then rebooted my HA and the re-authenticate QR code was accepted and I was able to log back in. I only have one use for the core Tuya integration (a scene for IR blaster) with everything else on Tuya Local, but it's nice that it's working again (for now at least).
from core.
Not sure if this is just co-incidence, but I had the same problem, and intended to go onto the tuya iot site to extend my access. When I got to the site, I was presented with new T&C's, privacy statement etc. to accept, which I did. I then rebooted my HA and the re-authenticate QR code was accepted and I was able to log back in. I only have one use for the core Tuya integration (a scene for IR blaster) with everything else on Tuya Local, but it's nice that it's working again (for now at least).
With the extension it appears to have a limitation on the number of controllable and readable devices.
a lot of users have more than 10 devices I guess
from core.
Related Issues (20)
- homekit bridge linked_doorbell_sensor config parameter doesn't accept an event entity HOT 1
- KeyError in TP-Link Omada Integration due to Missing 'wireless' Key in Client Data HOT 6
- Linkplay speakers do not support tts HOT 1
- Mealie ingredients expected to have a quantity HOT 3
- Automations do not check condition when enabled by scene HOT 2
- Roku remote doesn't support ``hold_secs`` HOT 1
- Problem with Contact sensor (SNZB-04) - mqtt integration and Z2MQTT HOT 2
- Daikin AC Integration - Unexpected error creating device - Exception in TaskGroup: 'DaikinBRP069' object has no attribute 'headers' HOT 3
- Matter device - Incorrect multiplier on energy summation HOT 2
- [Overkiz] Unsupported value 60001 has been returned for <enum 'FailureType'> HOT 2
- Gree integration stopped updating AC temperature after upgrading to Home Assistant 2024.08.0. HOT 2
- Unable to add Wifi Matter device over Bluetooth - Can't reach Google HOT 2
- Daikin Integration error HOT 3
- Yamaha Network Receivers integration does not start HOT 15
- Very sporadic behaviour of Zigbee devices HOT 1
- Unable to add Daikin device HOT 3
- Problem with SkyConnect ZBT-1 integration installation - Unknown Error Occurred HOT 1
- I can't arm/disarm HOT 1
- Rollease Acmeda integration fails with "UnboundLocalError: cannot access local variable 'hubs' where it is not associated with a value" HOT 1
- Matter Error; HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.