This solved it for me
I also had an expired QR code. I put in the code in bed before I realized I was going to need a second device to finish the process The next day I got the expired message from the Tuya app. Rebooting HASS resolved it for me, I was back to entering the user code and then the QR code worked.
Hi, yes, just started working for me now! I think it got booted automatically last weekend so when I tried again today and it worked fine.
I guess that here is some state held when you enter the User Code and before you scan. And if you are not quick enough with the scan (which I wasnât as I didnât know how to do so so from the app) you continually get timeouts because it doesnât ask for the User Code again until you reboot.
This worked for me. Thank you.
Took the qr code from the network requests, put in other qr generator, it worked.
Error message after upgrade. After typing in the user code from the Smart Life app, I also got the white QR code picture. Here is how I fixed it in case this helps other people:
- Change your theme to âHome Assistantâ in your bottom left corner under your account settings
- Restart Home Assistant (full restart)
- Shift + F5 on your home assistant browser page or clear you cache manually
- Write down your user code from your Smart Life or Tuya App under your account security settings
- click on the error message where you have to re-authenticate
- Type in your user code from your app above
- In your Smart Life or Tuya app click on the bar code scanner icon and scan the QR code (should show you now a proper QR code and not being white)
- You only have 180 seconds to authenticate yourself or the app will say QR code expired. If that happens, reboot your home assistant and re-enter your user code and it will generate a new QR code
- Enjoy!
Theme revert is worked for me also!
Solution
Step1: Get the User Code by going to Smart Life app or Tuya app â setting â Account & Security â User Code (Close to the bottom).
Step2: Scan the QR code by Switch your theme to default by going to your profile ( your image at bottom left) to get it appears â search Theme â choose âHome Assistantâ â go back and scan â submit.
On my side, it was my Adblocker preventing the QR code do appear.
I had a similar/same issue, âunknown error occurredâ plus errors in the log on apigw.iotbing.com and no QR code appearing. Only working solution for me was to log out of the tuya app on my mobile, and log in fresh.
ThanksâŚopening the error in Firefox and scanning via the phone app did the trick. Bad news that Chrome canât open the QR-Code! I hope this doesnât catch too many people!
I have a slightly adjacent problem. I get the QR-code and process it. HA says that the process was successful, but the integration still fails to load.
I assume that it should be an immediate fix?
Iâm very stuck at present as all of my Tuya devices are inacessible.
Does anyone know the fix for this?
Itâs now very odd in that itâs now working, but also still shows that it isnât. I now have two âHubsâ each with the same name and one works normally and the other not. Iâm loth to remove the non-working one in case it removes the devices shared by the working one.
Can anyone explain what Iâm seeing and how best to deal with it?
Solved the same issue for me > Chrome Version 126.0.6478.127 (64-Bit)
I had the same issue, and changing the theme actually did solve the problem. Really weird.
I had this issue, if you log out of the app, then log back in, then generate the QR code it works.
I guess something got out of sync somewhere.
This is maddening. Iâm using the Home Assistant app on my iPhone which for Tuya pops up a QR code to scan. I donât have a Tablet or second phone. Taking a screenshot isnât getting me anywhere. I canât use the Tuya app to scan a QR code displayed on the same device. I donât have a printer because who friggin prints anymore. I cannot figure a way to scan the image.
It is still giving a very odd error. I could scan the QR Code with the app, but then it said the QR Code expired. Closing the popup and reopening did no difference, but if you try to Submit the failed QR, it will state the QR expired and request you to reinstall. If you simply press Reconfigure to show the QR Code again, a new one will pop up and reading it with the app will work correctly.
Tuya being TuyaâŚ
You could:
- screenshot the QR code and send to any other friend, from which deviceâs you could read the QR
- use some other app that can read the QR and tell you whatâs written in it, and then use the Enter setup code option that shows at the bottom of the QR Code reading screen in the Tuya app
That said, it definitely should show the QR contents at the bottom for scenarios such as yours.
OMG. So ridiculous⌠Searched for 2 weeks for this solution! Worked for me, HA saying QR code expired. All previous solutions in this thread didnât work, just this simple one.
Thank you!
Note: Open Tuya integration in Integrations tab, not through Repairs in Settings (there you donât have the Reconfigure option).