ollo69 / ha_tuya_custom

Tuya Custom Component for testing
Apache License 2.0
39 stars 18 forks source link

adjustment DISCOVERY_INTERVAL #3

Closed nao-pon closed 4 years ago

nao-pon commented 4 years ago

As far as I have verified, it seems that the reception interval of API does not increase even if a FrequentlyInvoke error appears. Therefore, even if an error occurred, I thought that the UX would improve by proactively sending requests.

ollo69 commented 4 years ago

I wonder if appling this changes to official library and generally lowering the number of request the cloud will response better. At this moment Tuya Cloud is terrible and there is no rules to understand when API call fails....

nao-pon commented 4 years ago

@ollo69 There's no telling if the current status of the Tuya API is their intention or not, but it's really terrible.

If many users come to HA by turning off IFTTT, reducing the requests for HA as a whole may be a good result. I hope this patch will be incorporated into HA as soon as possible.

Thanks!

ollo69 commented 4 years ago

Real problem is if the owner of TuyaHA library is still mainteining it, it seems unactive from a lot of time. I will try to contact him...