Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration looses connection and only HA restart gets it to work again #31

Open
dprauser opened this issue Jun 14, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@dprauser
Copy link

Describe the bug
Aftee a few hours of being connected, the i tegration looses its connection to the Midea Cloud and no further control is possible. A HA restart and fresh connection fixes the communication and control works again for a few hours.

To Reproduce
Steps to reproduce the behavior:

  1. Use Integarteion with HA 111.2
  2. Control Midea AC as you would do normally
  3. Wait a few hours
  4. Try to turn off AC with HA App or Webinterface

Screenshots / Logs
Logger: homeassistant.helpers.entity
Source: custom_components/midea/climate.py:115
First occurred: 2:45:13 (4 occurrences)
Last logged: 8:48:08
Update for climate.midea_20890720942101 failsTraceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 470, in async_device_update await self.async_update() File "/config/custom_components/midea/climate.py", line 115, in async_update await self.hass.async_add_executor_job(self._device.refresh) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/midea/device.py", line 146, in refresh data = self._cloud_service.appliance_transparent_send(self.id, data) File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 173, in appliance_transparent_send 'applianceId': id File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 93, in api_request return self.api_request(endpoint, args) File "/usr/local/lib/python3.7/site-packages/midea/cloud.py", line 95, in api_request raise RecursionError() RecursionError

Versions

  • Home Assistant version: 111.2

Additional context
A few days back I faiced issues where the entire Aircon lost WiFi connection and only a complete Aircon disconnect beought everything back to life. After removing thr integration and setting it up again from scratch, the Aircon Wifi seems stable but the noe the integration looses connection.

@dprauser dprauser added the bug Something isn't working label Jun 14, 2020
@dprauser
Copy link
Author

Additional errors include:
Logger: homeassistant.helpers.entity
Source: main.py:356
First occurred: 0:48:27 (7 occurrences)
Last logged: 7:56:26
Update of climate.midea_20890720942101 is taking over 10 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant