Help Setting Up Tuya Integration

I am having trouble setting up the tuya integration. I setup a cloud project in the tuya developer portal. I am pretty sure I gave it all the correct permissions. However, when I click Fetch Cloud Devices, I get “No devices found in your Tuya cloud account. Check if IoT Core service has expired in Tuya console.”

I do have IOT Core service. In the API test, I have used /v1.0/iot-01/associated-users/devices to fetch all devices. In fairness, I don’t know if this is the correct API or not.

Help?

Did you ever solve this? I just upgraded to the C8 Pro today and have 4 lights I am hoping to control. I followed the guide that the integration says to use but I am getting the exact same results as you.

Same. Just setting up a new Hubitat, installed Tuya Integration, followed instrutions to setup a Tuya Developer Cloud Project, and I'm dead-ending with "No devices found in your Tuya cloud account. Check if IoT Core service has expired in Tuya console - Cloud - Cloud Services." I can see the devices in the project and IoT Core service has not expired.

These are Tuya wifi devices?

I am probably with similar problem with Wemo Insight switch.

Smarthings detected it and controls without problem.

No. I'd love to revisit. I think my overall problem is the Tuya devices themselves, which is why I got my Hubitat device in the first place. I'm finding that the overwhelming number of manufacturers are rebadged Tuya, which offers garbage-tier wifi. I am swapping the vast majority of Tuya devices out for Z-Wave and Zigbee.

Most likely issue is the mismatched data center selection.
You could try the /v2.0/cloud/thing/device?page_size=20 endpoint to see what it returns. That's the one used by the integration.
I'll also be adding more logging to help with the diagnostics in the next 2.5.1 build.

I am see the same issue when I click "Fetch cloud devices"

--No devices found in your Tuya cloud account. Check if IoT Core service has expired in Tuya console - Cloud - Cloud Services--

I see the device in the Smartlife app, also in the cloud with the correct access id and secret. I can control the device with the app and I am authorized to use this one device in the cloud. I did see an expiration date/time on the IOT Core of the same time that I linked my Smartlife App. After linking, the device was found and authorized. At a loss here...

Correct data center selection is emphasized in the Tuya cloud project instructions. I've got that matched up and the /v2.0/cloud/thing/deviceendpoint is returning fully populated objects for all devices (three total, all wifi):

  • Durablow Fireplace Remote SH3001
  • Smart Outdoor Plug SOP02
  • Smart Outdoor Plug SS36

Just retested, and "Fetch cloud devices" is still returning "No devices found in your Tuya cloud account. Check if IoT Core service has expired in Tuya console - Cloud - Cloud Services"

Is your hub in beta? I've implemented a change that should either fix the issue (if it's what I think it is) or provide a more meaningful error message. If not, the fix should reach the general public stage in a day or two.

I've been a Hubitat user for about 48 hours. :slight_smile: I'll probably wait for pub, but just out of curiousity - how do I put my hub in beta?

We'd have to do it on our end.

Then beta is may not be a good idea :slight_smile: Things tend to be less stable in beta.

I just updated to 2.5.1.174, retested the Tuya integration, and I was able to add all three wifi devices (as local). I'm all set now. Thanks! :grinning_face: