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
882 stars 207 forks source link

tuya V2 suddenly unable to sync status #740

Open cyh801 opened 2 years ago

cyh801 commented 2 years ago

Door sensor wifi suddenly unable to sync status to hassio ,but it can sync status to tuya app.

core-2021.11.5 supervisor-2021.12.2 Debian GNU/Linux 11 (bullseye) tuya v2 - 1.6.0

pslavickas commented 2 years ago

Definitely seems to be a cloud/sync issue with the integration and Tuya. The app seems to work perfectly, but the integration quickly seems to become out-of-sync even after a reload. I've tested using multiple/single data center locations and even isolating to just one without success. Having a trigger to automate reloading the integration every minute seems like a bit of a hack-job though... and doesn't really resolve the issue at all. My config is running the latest:

Hass.io core-2021.12.10 supervisor-2022.01.1 Home Assistant OS 7.2

I did notice my Tuya IoT core trial has expired after logging into the IoT platform.... which looks like a dependency for the integration. Unfortunately, there doesn't look like a way to extend the trail. The pricing for the "Flagship" edition and "Corporate" edition is $25,000 and $50,000 respectively. I'm pretty sure anything Tuya in this house is going to end up in the trash at some point unless I can get this to work reliably.

Tuya