nicole-ashley / homeassistant-goldair-climate

Home Assistant integration for Goldair WiFi heaters, dehumidifiers and fans
MIT License
19 stars 11 forks source link

Slow response using Home Assistant with Goldair Heater #41

Open pandanz opened 3 years ago

pandanz commented 3 years ago

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

Failed to refresh device state for Goldair Heater.
Failed to update device state.

Is anyone else experiencing this issue?

make-all commented 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.

pandanz commented 3 years ago

Is there a workaround for this other than allowing it to talk to tuya cloud? or is this expected behavior?

make-all commented 3 years ago

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.