『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: involute

跟美的死磕-美的局域网集成-2023.9.2-v0.3.19

  [复制链接]

1

主题

12

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
49
HASS币
0
发表于 2022-7-2 21:18:28 | 显示全部楼层
本帖最后由 上网摘星星 于 2022-7-2 21:19 编辑
involute 发表于 2022-7-2 14:10
你的HA环境是啥?是HASSOS?什么版本?

我猜测是你的环境有问题,比如缺某个库。

感谢回复。
HA环境:
Ubuntu 22.04
Docker 20.10.17
Home Assistant Core 2022.6.7
注:HA运行在host模式下。

midea-discover -d参数输出详细信息结果如下:

root@NAS:~# root@NAS:~# midea-discover -d
INFO:msmart.cliebug mode active
INFO:msmart.cli:msmart version: 0.2.3 Currently only supports ac devices, only support MSmartHome APP.
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:msmart.scanner:Broadcast message sent: 1
DEBUG:msmart.scanner:Socket timeout
ERROR:msmart.cli:*** Device not found, please read: https://github.com/mac-zhou/mide ... iguration-variables

回复

使用道具 举报

1

主题

12

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
49
HASS币
0
发表于 2022-7-2 21:28:38 | 显示全部楼层
logger:
  default: warn
  logs:
    custom_components.midea_ac_lan: debug

这是打开debug的方式吧?已打开,只是不知道日志应该在哪里查看。
回复

使用道具 举报

20

主题

550

帖子

3603

积分

元老级技术达人

积分
3603
金钱
3013
HASS币
210

教程狂人突出贡献

 楼主| 发表于 2022-7-2 21:51:15 | 显示全部楼层
本帖最后由 involute 于 2022-7-3 14:21 编辑
上网摘星星 发表于 2022-7-2 21:28
这是打开debug的方式吧?已打开,只是不知道日志应该在哪里查看。

HA的 /config目录下有个叫home-assistant.log的文件。

你打开调试模式,然后重启动HA一次,然后用集成搜索一次空调,然后把这个log文件整个发给我就好了,必要的化,可以用zip压缩一下,如果你觉得发论坛不好,可以加我的QQ3325350,然后发给我。

你这肯定是缺相关库。
回复

使用道具 举报

1

主题

12

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
49
HASS币
0
发表于 2022-7-2 22:57:08 | 显示全部楼层
involute 发表于 2022-7-2 21:51
HA的 /config目录下有个叫home-assistant.log的文件。

你打开调试模式,然后重启动HA一次,然后用集成搜 ...

好的,已加您,请通过。
回复

使用道具 举报

20

主题

550

帖子

3603

积分

元老级技术达人

积分
3603
金钱
3013
HASS币
210

教程狂人突出贡献

 楼主| 发表于 2022-7-2 23:52:15 | 显示全部楼层
上网摘星星 发表于 2022-7-2 22:57
好的,已加您,请通过。

已解决,留下记号。

原因:防火墙。
回复

使用道具 举报

20

主题

550

帖子

3603

积分

元老级技术达人

积分
3603
金钱
3013
HASS币
210

教程狂人突出贡献

 楼主| 发表于 2022-7-2 23:55:18 | 显示全部楼层
yezivv 发表于 2022-6-27 11:45
谢谢指点,我更新再体验一下。

回访一下,你这边脱控的问题后来解决没有
回复

使用道具 举报

1

主题

12

帖子

62

积分

注册会员

Rank: 2

积分
62
金钱
49
HASS币
0
发表于 2022-7-3 07:39:09 | 显示全部楼层
involute 发表于 2022-7-2 23:52
已解决,留下记号。

原因:防火墙。

感谢楼主,半夜了还在帮助一步一步指导我操作。最后找到是防火墙导致端口通讯问题,通过以下命令完美解决!感谢楼主!现在5台空调都能通过homekit操作,开关、模式、温度都正常。再次感谢楼主的无私奉献!
ufw allow from 192.168.1.0/24


回复

使用道具 举报

3

主题

203

帖子

2302

积分

金牌会员

Rank: 6Rank: 6

积分
2302
金钱
2099
HASS币
0
发表于 2022-7-3 10:45:33 | 显示全部楼层
上网摘星星 发表于 2022-7-3 07:39
感谢楼主,半夜了还在帮助一步一步指导我操作。最后找到是防火墙导致端口通讯问题,通过以下命令完美解决 ...

这个是通过HASS命令?
回复

使用道具 举报

3

主题

203

帖子

2302

积分

金牌会员

Rank: 6Rank: 6

积分
2302
金钱
2099
HASS币
0
发表于 2022-7-3 11:18:59 | 显示全部楼层
2022-07-03 11:16:40 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration ha_file_explorer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ha_sidebar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration oilprice which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ha_qqmail which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration rokid_webhook which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration zhicaiyun which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration xiaomi_gateway3 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration xiaomi_miot_raw which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-07-03 11:16:40 WARNING (MainThread) [homeassistant.components.recorder] The 'purge_interval' option near /config/configuration.yaml:45 is deprecated, please remove it from your configuration
2022-07-03 11:16:41 ERROR (MainThread) [homeassistant.components.media_player] The androidtv platform for the media_player integration does not support platform setup. Please remove it from your config.
2022-07-03 11:16:41 ERROR (MainThread) [homeassistant.components.media_player] The androidtv platform for the media_player integration does not support platform setup. Please remove it from your config.
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Try to connect to device [27487790784549]
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] connected at socket <socket.socket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.0.0.10', 55845), raddr=('10.0.0.12', 6444)>
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] authenticated
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.command] Finalized command: aa20ac00000000000003418100ff03ff00020000000000000000000000000e302e
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Send message to device [27487790784549]: {'header': 'aa20ac00000000000003', 'body': '418100ff03ff00020000000000000000000000000e', 'type': '0x341'}
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.message_parser] Parsing command: aa20ac00000000000203c0004b667f7f00000000006aff0f0007000000000eaa89
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Received message from device [27487790784549]: {'header': 'aa20ac00000000000203', 'body': 'c0004b667f7f00000000006aff0f0007000000000e', 'type': '0x3c0'}
2022-07-03 11:16:41 DEBUG (MainThread) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] status update to: {'power': False, 'mode': 2, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'target_temperature': 27.0, 'indoor_temperature': 28.7, 'outdoor_temperature': 0.0, 'comfort_mode': False, 'eco_mode': False, 'aux_heat': False, 'indirect_wind': False}
2022-07-03 11:16:41 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to receive loop
2022-07-03 11:16:42 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{% set skycon = states.sensor.outside.attributes.result.skycon %} {% if skycon == 'CLEAR_DAY' %}
  mdi:weather-sunny
{% elif skycon == 'CLEAR_NIGHT' %}
  mdi:weather-night
{% elif skycon == 'PARTLY_CLOUDY_DAY' %}
  mdi:weather-partlycloudy
{% elif skycon == 'PARTLY_CLOUDY_NIGHT' %}
  mdi:weather-windy-variant
{% elif skycon == 'CLOUDY' %}
  mdi:weather-cloudy
{% elif skycon == 'RAIN' %}
  mdi:weather-rainy
{% elif skycon == 'SNOW' %}
  mdi:weather-snowy
{% elif skycon == 'WIND' %}
  mdi:weather-windy
{% elif skycon == 'FOG' %}
  mdi:weather-fog
{% elif skycon == 'HAZE' %}
  mdi:weather-hail
{% elif skycon == 'SLEET' %}
  mdi:weather-snowy-rainy
{% else %}
  mdi:help-circle-outline
{% endif %}'
2022-07-03 11:16:43 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.0.135:5555.  TcpTimeoutException: Connecting to 10.0.0.135:5555 timed out (1.0 seconds)
2022-07-03 11:16:43 WARNING (MainThread) [homeassistant.config_entries] Config entry 'TV-4L' for androidtv integration not ready yet: Could not connect to Android TV / Fire TV device at 10.0.0.135:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'; Retrying in background
2022-07-03 11:16:46 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that uses str for device registry entry_type. This is deprecated and will stop working in Home Assistant 2022.3, it should be updated to use DeviceEntryType instead. Please report this issue.
Stack (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 203, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 191, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 119, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 601, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1905, in _run_once
    handle._run()
  File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 501, in _async_add_entity
    device = device_registry.async_get_or_create(**processed_dev_info)  # type: ignore[arg-type]
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 369, in async_get_or_create
    report(  # type: ignore[unreachable]
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 74, in report
    _LOGGER.warning(msg, stack_info=True)
2022-07-03 11:16:46 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that uses deprecated `async_get_registry` to access entity registry, use async_get instead. Please report issue to the custom component author for xiaomi_gateway3 using this method at custom_components/xiaomi_gateway3/device_trigger.py, line 23: entity_registry = await hass.helpers.entity_registry.async_get_registry()
2022-07-03 11:16:47 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.0.135:5555.  TcpTimeoutException: Connecting to 10.0.0.135:5555 timed out (1.0 seconds)
2022-07-03 11:16:51 ERROR (Thread-3) [custom_components.midea_ac_lan.midea.security] aes_decrypt error: ValueError('Data must be aligned to block boundary in ECB mode') - data: 00
2022-07-03 11:16:51 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command:
2022-07-03 11:16:51 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] except bytearray index out of range raised
2022-07-03 11:16:51 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] receive loop existed
2022-07-03 11:16:51 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to re-open device
2022-07-03 11:16:51 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Try to connect to device [27487790784549]
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] connected at socket <socket.socket fd=50, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.0.0.10', 55880), raddr=('10.0.0.12', 6444)>
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] authenticated
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.command] Finalized command: aa20ac00000000000003418100ff03ff00020000000000000000000000008add05
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Send message to device [27487790784549]: {'header': 'aa20ac00000000000003', 'body': '418100ff03ff00020000000000000000000000008a', 'type': '0x341'}
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command: aa20ac00000000000203c0004b667f7f00000000006aff0f0007000000008a4770
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Received message from device [27487790784549]: {'header': 'aa20ac00000000000203', 'body': 'c0004b667f7f00000000006aff0f0007000000008a', 'type': '0x3c0'}
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] status update to: {'power': False, 'mode': 2, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'target_temperature': 27.0, 'indoor_temperature': 28.7, 'outdoor_temperature': 0.0, 'comfort_mode': False, 'eco_mode': False, 'aux_heat': False, 'indirect_wind': False}
2022-07-03 11:16:52 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to receive loop
2022-07-03 11:16:58 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.0.135:5555.  TcpTimeoutException: Connecting to 10.0.0.135:5555 timed out (1.0 seconds)
2022-07-03 11:17:02 ERROR (Thread-3) [custom_components.midea_ac_lan.midea.security] aes_decrypt error: ValueError('Data must be aligned to block boundary in ECB mode') - data: 00
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command:
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] except bytearray index out of range raised
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] receive loop existed
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to re-open device
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Try to connect to device [27487790784549]
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] connected at socket <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.0.0.10', 55882), raddr=('10.0.0.12', 6444)>
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] authenticated
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.command] Finalized command: aa20ac00000000000003418100ff03ff00020000000000000000000000003fd05d
2022-07-03 11:17:02 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Send message to device [27487790784549]: {'header': 'aa20ac00000000000003', 'body': '418100ff03ff00020000000000000000000000003f', 'type': '0x341'}
2022-07-03 11:17:03 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command: aa20ac00000000000203c0004b667f7f00000000006aff0f0007000000003f4ab8
2022-07-03 11:17:03 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Received message from device [27487790784549]: {'header': 'aa20ac00000000000203', 'body': 'c0004b667f7f00000000006aff0f0007000000003f', 'type': '0x3c0'}
2022-07-03 11:17:03 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] status update to: {'power': False, 'mode': 2, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'target_temperature': 27.0, 'indoor_temperature': 28.7, 'outdoor_temperature': 0.0, 'comfort_mode': False, 'eco_mode': False, 'aux_heat': False, 'indirect_wind': False}
2022-07-03 11:17:03 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to receive loop
2022-07-03 11:17:13 ERROR (Thread-3) [custom_components.midea_ac_lan.midea.security] aes_decrypt error: ValueError('Data must be aligned to block boundary in ECB mode') - data: 00
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command:
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] except bytearray index out of range raised
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] receive loop existed
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to re-open device
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Try to connect to device [27487790784549]
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] connected at socket <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.0.0.10', 55883), raddr=('10.0.0.12', 6444)>
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] authenticated
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.command] Finalized command: aa20ac00000000000003418100ff03ff000200000000000000000000000034f048
2022-07-03 11:17:13 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Send message to device [27487790784549]: {'header': 'aa20ac00000000000003', 'body': '418100ff03ff000200000000000000000000000034', 'type': '0x341'}
2022-07-03 11:17:14 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command: aa20ac00000000000203c0004b667f7f00000000006aff0f000700000000346aa3
2022-07-03 11:17:14 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Received message from device [27487790784549]: {'header': 'aa20ac00000000000203', 'body': 'c0004b667f7f00000000006aff0f00070000000034', 'type': '0x3c0'}
2022-07-03 11:17:14 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] status update to: {'power': False, 'mode': 2, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'target_temperature': 27.0, 'indoor_temperature': 28.7, 'outdoor_temperature': 0.0, 'comfort_mode': False, 'eco_mode': False, 'aux_heat': False, 'indirect_wind': False}
2022-07-03 11:17:14 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to receive loop
2022-07-03 11:17:15 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Devices found: {27487790784549: {'id': 27487790784549, 'ip': '10.0.0.12', 'port': 6444, 'model': '11719', 'type': 'ac', 'protocol': 2}}
2022-07-03 11:17:19 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.0.135:5555.  TcpTimeoutException: Connecting to 10.0.0.135:5555 timed out (1.0 seconds)
2022-07-03 11:17:24 ERROR (Thread-3) [custom_components.midea_ac_lan.midea.security] aes_decrypt error: ValueError('Data must be aligned to block boundary in ECB mode') - data: 00
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command:
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] except bytearray index out of range raised
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] receive loop existed
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to re-open device
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Try to connect to device [27487790784549]
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] connected at socket <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.0.0.10', 55886), raddr=('10.0.0.12', 6444)>
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] authenticated
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.command] Finalized command: aa20ac00000000000003418100ff03ff000200000000000000000000000099a231
2022-07-03 11:17:24 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Send message to device [27487790784549]: {'header': 'aa20ac00000000000003', 'body': '418100ff03ff000200000000000000000000000099', 'type': '0x341'}
2022-07-03 11:17:25 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command: aa20ac00000000000203c0004b667f7f00000000006aff0f000700000000993870
2022-07-03 11:17:25 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Received message from device [27487790784549]: {'header': 'aa20ac00000000000203', 'body': 'c0004b667f7f00000000006aff0f00070000000099', 'type': '0x3c0'}
2022-07-03 11:17:25 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] status update to: {'power': False, 'mode': 2, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'target_temperature': 27.0, 'indoor_temperature': 28.7, 'outdoor_temperature': 0.0, 'comfort_mode': False, 'eco_mode': False, 'aux_heat': False, 'indirect_wind': False}
2022-07-03 11:17:25 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to receive loop
2022-07-03 11:17:35 ERROR (Thread-3) [custom_components.midea_ac_lan.midea.security] aes_decrypt error: ValueError('Data must be aligned to block boundary in ECB mode') - data: 00
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.message_parser] Parsing command:
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] except bytearray index out of range raised
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] receive loop existed
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] ready to re-open device
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Try to connect to device [27487790784549]
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] connected at socket <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.0.0.10', 55887), raddr=('10.0.0.12', 6444)>
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Device [27487790784549] authenticated
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.midea.command] Finalized command: aa20ac00000000000003418100ff03ff0002000000000000000000000000051057
2022-07-03 11:17:35 DEBUG (Thread-3) [custom_components.midea_ac_lan.state_manager] Send message to device [27487790784549]: {'header': 'aa20ac00000000000003', 'body': '418100ff03ff000200000000000000000000000005', 'type': '0x341'}
回复

使用道具 举报

2

主题

111

帖子

1623

积分

金牌会员

Rank: 6Rank: 6

积分
1623
金钱
1512
HASS币
0
发表于 2022-7-3 11:26:10 来自手机 | 显示全部楼层
involute 发表于 2022-7-2 23:55
回访一下,你这边脱控的问题后来解决没有

已经没有出现掉线的问题。但是在homekit里面空调和风扇组成一个了,我看前面有个兄弟也出现了这种问题。这种情况下用siri语音(嘿,Siri关掉空调)会提示风扇已关闭,但是空调并不会关。所以最近都是手动开关空调的。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-22 05:42 , Processed in 0.732541 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表