Closed tinuva closed 2 years ago
respone 83700005200f20004552524f5
is ERROR
>>> bytearray.fromhex('83700005200f20004552524f52')[8:]
bytearray(b'ERROR')
this may require updating tcp_key, i think how to solve
custom_components/midea_ac/manifest.json
, change msmart version to 0.2.1, like:
{
"domain": "midea_ac",
"name": "Midea Smart Aircon",
"version": "0.2.0",
"documentation": "",
"requirements": ["msmart==0.2.1", "pycryptodome", "pycryptodomex", "click"],
"dependencies": [],
"codeowners": ["@mac-zhou"]
}
Thank you. Have done so and will monitor it over the next few days.
root@home-assistant:/usr/share/hassio/homeassistant# docker exec -it homeassistant python -m pip show msmart
Name: msmart
Version: 0.2.1
Summary: A library to control Midea appliances via the Local area network
Home-page: https://github.com/mac-zhou/midea-msmart
Author: mac_zhou
Author-email: mac.zfl@gmail.com
License: MIT
Location: /usr/local/lib/python3.9/site-packages
Requires: ifaddr, pycryptodome, click, requests
Required-by:
I am optimistic, it looks like my ACs have been 100% now for 48 hours. If it continues like this for the next few days I think this issue can be resolved.
I am optimistic, it looks like my ACs have been 100% now for 48 hours. If it continues like this for the next few days I think this issue can be resolved.
This has defintely helped for me - also up for 48hrs, whereas previously it would disconnect 12-24 hrs after a HA restart
The new version should solve this issue, please update
Describe the bug (描述一下问题) A clear and concise description of what the bug is.
The addon works fine, can control ACs and if ACs controlled manually HA sees the updates. However sometimes 12 hours or 24 hours or anything random inbetween after HA started, I lose access to control them. I am able to change mode for example, and the entity updates to the new mode, but the actual action doesn't happen. The devices never become unknown or anything.
When I restart Home Assistant, the issue is gone and I can control them again.
Almost like something in the state become out of sync and communication fail. Logs says
2022-02-21 15:59:40 WARNING (SyncWorker_1) [msmart.device] Got Null from 10.0.0.53:6444 Version: 3 Count: 0 Spend time: 0.01
Got Null? Why would a restart of HA fix this.Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件) If applicable, add screenshots or your home-assistant log file or pcap file to help explain your problem. 请提交相关截图,日志,抓包让开发者能够更快的解决问题
Debug logs:
Versions (版本信息)
Config: