question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After latest midea_ac update, airco cannot be connected

See original GitHub issue

Describe the bug (描述一下问题) Hass cannot detect the airo anymore (timeout) Midea app no problem ping to internal ip adress no problem

Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) If applicable, add screenshots or your home-assistant log file or pcap file to help explain your problem. 请提交相关截图,日志,抓包让开发者能够更快的解决问题

2021-08-12 20:05:33 ERROR (MainThread) [homeassistant.helpers.entity] Update for climate.midea_ac_21990232557284 fails
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 446, in async_update_ha_state
    await self.async_device_update()
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 654, in async_device_update
    raise exc
  File "/home/homeassistant/.homeassistant/custom_components/midea_ac/climate.py", line 133, in async_update
    await self.hass.async_add_executor_job(self._device.refresh)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.8/site-packages/msmart/device.py", line 195, in refresh
    self._send_cmd(cmd)
  File "/srv/homeassistant/lib/python3.8/site-packages/msmart/device.py", line 204, in _send_cmd
    responses = self._lan_service.appliance_transparent_send(data)
  File "/srv/homeassistant/lib/python3.8/site-packages/msmart/lan.py", line 102, in appliance_transparent_send
    response = self.request(data)
  File "/srv/homeassistant/lib/python3.8/site-packages/msmart/lan.py", line 42, in request
    self._connect()
  File "/srv/homeassistant/lib/python3.8/site-packages/msmart/lan.py", line 33, in _connect
    raise error
  File "/srv/homeassistant/lib/python3.8/site-packages/msmart/lan.py", line 30, in _connect
    self._socket.connect((self.device_ip, self.device_port))
socket.timeout: timed out

Versions (版本信息)

  • Home Assistant version: 2021.8.5
  • Midea msmart version: ce606c0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
pickonedevcommented, Aug 14, 2021

It’s ok, my mistake. <<< Version> = 0.1.27, the device naming rules have changed. >>> Sorry for the confusion 😃

No, my description is not very clear

I think that the proper description should be:

  • The ENTITY ID of the climate devices has been changed and who have any problem with an entity being “unavailable”, they should check whats the new ID name of the entity and change it in lovlace
1reaction
mac-zhoucommented, Aug 13, 2021

It’s ok, my mistake. <<< Version> = 0.1.27, the device naming rules have changed. >>> Sorry for the confusion 😃

No, my description is not very clear

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common issues with air conditioners | MIDEA.BG
If any of the fans on your device do not work efficiently, the cause for which may be a damaged engine, lack of...
Read more >
All Window Air Conditioners - Midea
Window Acs will have both a "Cool" and "Fan" mode. Listen for the sound of the compressor. It will give off a humming...
Read more >
Midea Air Conditioner Troubleshooting Guide - Luce Aircon
The cord may have a loose connection, or may be unplugged. Secure the plug, and test to see if your air conditioning unit...
Read more >
Midea SmartCool Air Conditioner iOS Set Up for ... - YouTube
Use the Midea Air App to control your Midea SmartCool AC from anywhere! iOS set up video for set by ... Your browser...
Read more >
WiFi installation split (Midea Air/nethome plus) - YouTube
AIR CONDITIONER DETAIL INSTALL |SPLIT DUCTLESS AC HEATING INVERTER,MINI PUMP SYSTEM SETUP,DIY HOW TO. CarlTheLandscapeGuy.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found