Open pandanz opened 3 years ago
Some Tuya devices will reenter pairing state if unable to connect to the Tuya servers for a long period. This seems to be what you are experiencing.
Is there a workaround for this other than allowing it to talk to tuya cloud? or is this expected behavior?
Short of flashing it with alternate firmware (which is a non-trivial project for a more complex device like a heater), I'm not aware of any workarounds. The local control does give you access to features that the tuya cloud plugin does not, but it isn't really a security/privacy solution that allows you to take your devices off the cloud.
I have recently purchase a Goldair Heater and started using this component (thanks for the great work). The heater has been blocked on my firewall from the internet to remove cloud connectivity and went through the process to get local key etc. I have noticed that the wifi on the heater disconnects fairly regularly (wifi light flashes) as well as the heater is not very responsive when controlling from Home Assistant.
I have gone so far as creating a "while" script in Home Assistant to ensure that the heater actually changes state (heat / off) as I found that it doesn't always work the first time. https://www.home-assistant.io/docs/scripts/#while-loop
Wifi network for other devices is rock solid and -db to the heater is fine.
Log also shows that it can not refresh device state: First occurred: April 25, 2021, 1:57:35 PM (28 occurrences) Last logged: April 27, 2021, 7:27:22 PM
Is anyone else experiencing this issue?