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.

Loss my AC after update to msmart==0.1.24

See original GitHub issue

Describe the bug (描述一下问题) Hi, Mac.

After the last update to version msmart==0.1.24 (I updated on 12/01/2020), I get constant disappearing of my air conditioners. I see it in Logbook and History. There are no records of this in the Logs. Only once, right after the update:

Log Details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: core.py:1405
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: December 1, 2020, 9:04:03 AM (1 occurrences)
Last logged: December 1, 2020, 9:04:03 AM

[140718739954560] string value is None for dictionary value @ data['preset_mode']
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1405, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 218, in __call__
    return self._exec((Schema(val) for val in self.validators), v)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 340, in _exec
    raise e if self.msg is None else AllInvalid(self.msg, path=path)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 336, in _exec
    v = func(v)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: string value is None for dictionary value @ data['preset_mode']

Before that, on version msmart==0.1.23 this was not. Everything worked fine and stable for a few months.

Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) midea_ac_drop

midea_ac_drop1

请提交相关截图,日志,抓包让开发者能够更快的解决问题

Versions (版本信息)

  • Home Assistant version: 0.118.4
  • Midea msmart version: ==0.1.24
  • My air conditioners: Midea Midea Mission II MB-09N8D6H-I/MB-09N8D6H-O and Midea Mission II MB-12N8D6H-I/MB-12N8D6H-O
  • Wi-Fi module SK-102

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:45 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mac-zhoucommented, Jun 10, 2021

@rokam I think I’m ready to roll back to v0.1.23, there are too many problems with UNAVAILABLE and this is causing problems for many people. What do you think?

1reaction
Asom-Velzcommented, Jan 25, 2021

hi…both 0.1.23 and 0.1.24 doesn’t work for me. any idea? tried to remove and reconnect usb module as well. no luck

just fyi, im using dongle EU-SK103

Dongle OSK-103 is more stable with midea app and you don’t have the unavailability problems but is not recognized from mac-zhou/midea-ac-py. I just open an issue for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Is My AC Not Blowing Cold Air After a Power Outage?
If you find your AC not blowing cold air once power is restored after an outage, there may be a tripped breaker or...
Read more >
Common Air Conditioner Problems | Department of Energy
Other common problems with existing air conditioners result from faulty installation, poor service procedures, and inadequate maintenance. Improper installation ...
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