georgezhao2010 / midea_ac_lan

Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
MIT License
1.37k stars 231 forks source link

美的管线机和洗碗机加进去之后,不能控制。控制无反应 #445

Open zuobianfy opened 8 months ago

zuobianfy commented 8 months ago

HA版本

2014.1.6

集成版本

0.3.22

设备类型及型号

管线机和洗碗机

使用的App

美的美居

问题详细描述

美的管线机和洗碗机加进去之后,不能控制。控制无反应

The logs

这里是日志 2024-02-04 22:01:58.397 WARNING (MainThread) [homeassistant.components.light] Entity light.deerma_jsqm_a2bd_indicator_light (<class 'custom_components.xiaomi_miot.light.MiotLightSubEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-02-04 22:01:59.207 DEBUG (洗碗机) [custom_components.midea_ac_lan.midea.devices.e1.device] [190215512695576] Received: {'header': 'aa2de1cc000052000004', 'body': '00000000100500000000001500030000000000000000000002000000000000000000f0', 'message type': '04', 'body type': '00'} 2024-02-04 22:01:59.208 DEBUG (洗碗机) [custom_components.midea_ac_lan.midea.core.device] [190215512695576] Status update: {'power': False, 'status': 'Off', 'mode': 'Neutral Gear', 'additional': 0, 'uv': False, 'dry': True, 'dry_status': False, 'door': False, 'rinse_aid': False, 'salt': True, 'child_lock': False, 'storage': False, 'storage_status': False, 'time_remaining': 0, 'progress': 'Idle', 'storage_remaining': 0, 'temperature': 21, 'humidity': 0, 'waterswitch': False, 'water_lack': False, 'error_code': 0, 'softwater': 3, 'wrong_operation': 0, 'bright': 2} 2024-02-04 22:02:02.136 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Connecting to 192.168.3.24:6444 2024-02-04 22:02:02.160 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Connected 2024-02-04 22:02:02.161 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Handshaking 2024-02-04 22:02:02.205 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Authentication success 2024-02-04 22:02:02.206 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Sending: {'header': 'aa1ded000000000000a0', 'body': '00000000000000000000000000000000000000', 'message type': 'a0', 'body type': 'None'} 2024-02-04 22:02:02.343 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Received: {'header': 'aa0eed000000000000a0', 'body': '00edd102', 'message type': 'a0', 'body type': '00'} 2024-02-04 22:02:02.344 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Device protocol version: 0 2024-02-04 22:02:02.345 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Sending: {'header': 'aa0ced00000000000003', 'body': '0001', 'message type': '03', 'body type': '00'} 2024-02-04 22:02:02.479 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000003', 'body': '070153003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '03', 'body type': '07'} 2024-02-04 22:02:02.480 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Status update: {'power': True, 'water_consumption': 381, 'child_lock': False} 2024-02-04 22:02:02.488 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Status update: {'available': True} 2024-02-04 22:02:02.642 ERROR (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Unknown error :/config/custom_components/midea_ac_lan/midea/core/device.py, 353, AttributeError("'NoneType' object has no attribute 'recv'") 2024-02-04 22:02:05.386 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Connecting to 192.168.3.20:6444 2024-02-04 22:02:05.406 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Connected 2024-02-04 22:02:05.406 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Handshaking 2024-02-04 22:02:05.431 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Authentication success 2024-02-04 22:02:05.432 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Sending: {'header': 'aa1ded000000000000a0', 'body': '00000000000000000000000000000000000000', 'message type': 'a0', 'body type': 'None'} 2024-02-04 22:02:05.564 DEBUG (燃气热水器) [custom_components.midea_ac_lan.midea.core.device] [194613558920515] Sending: {'header': 'aa0ce300000000000003', 'body': '0101', 'message type': '03', 'body type': '01'} 2024-02-04 22:02:05.571 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Received: {'header': 'aa0eed000000000000a0', 'body': '00eda701', 'message type': 'a0', 'body type': '00'} 2024-02-04 22:02:05.571 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Device protocol version: 0 2024-02-04 22:02:05.572 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Sending: {'header': 'aa0ced00000000000003', 'body': '0001', 'message type': '03', 'body type': '00'} 2024-02-04 22:02:05.685 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Sending: {'header': 'aa0ced00000000000003', 'body': '0101', 'message type': '03', 'body type': '01'} 2024-02-04 22:02:05.687 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Send failure, device disconnected, data: 8370006e2066aca3aebbb80bb953f8c763fb7a2f03f707895448ee3301d484d38a2fc5df560eaeffdde2a999f8a3c1950925623d7c44a54f603888aae5383b68c3345266f2657e9ef72ccc086e8bbf93dcf45d0800342b097d5ee22809fbd367ac15da7c875e209c49340381388fa0b25f54fcfa2f88 2024-02-04 22:02:05.692 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Send failure, device disconnected, data: 8370005e2066dc9602a5089846869f581a8a303d7c0d1b0bf5566910eb8d775e57348ecd15c77495879e2131d28b9a97514c89a9a00ce8df1d127e9ef4f95dc8c3de8d5ff811d796492e688c77db5e5b7cbbc5fdf0509de65a910d8bcb3149432f613d98c289 2024-02-04 22:02:05.693 ERROR (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Unknown error :/config/custom_components/midea_ac_lan/midea/core/device.py, 353, AttributeError("'NoneType' object has no attribute 'recv'") 2024-02-04 22:02:05.696 DEBUG (燃气热水器) [custom_components.midea_ac_lan.midea.devices.e3.device] [194613558920515] Received: {'header': 'aa3fe300000000000003', 'body': '0101090000162d080800000000001714000000000701282a000015000000140000000b000000000000000000000000000000000000', 'message type': '03', 'body type': '01'} 2024-02-04 22:02:05.697 DEBUG (燃气热水器) [custom_components.midea_ac_lan.midea.core.device] [194613558920515] Status update: {'power': True, 'burning_state': False, 'zero_cold_water': False, 'protection': True, 'zero_cold_pulse': True, 'smart_volume': True, 'current_temperature': 22, 'target_temperature': 45} 2024-02-04 22:02:05.719 DEBUG (净水机) [custom_components.midea_ac_lan.midea.devices.ed.device] [210006725246144] Received: {'header': 'aa3fed00000000000003', 'body': '01010100000000180200000000000000455800000000000000000000000000000000007f980015007f000000000000000000000000', 'message type': '03', 'body type': '01'} 2024-02-04 22:02:05.720 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Status update: {'power': True, 'water_consumption': 536, 'in_tds': 152, 'out_tds': 21, 'filter1': 0, 'filter2': 0, 'filter3': 0, 'life1': 69, 'life2': 88, 'life3': 0, 'child_lock': False} 2024-02-04 22:02:05.727 DEBUG (净水机) [custom_components.midea_ac_lan.midea.core.device] [210006725246144] Status update: {'available': True} 2024-02-04 22:02:07.228 DEBUG (洗碗机) [custom_components.midea_ac_lan.midea.core.device] [190215512695576] Sending: {'header': 'aa0be100000000000003', 'body': '00', 'message type': '03', 'body type': '00'} 2024-02-04 22:02:07.360 DEBUG (洗碗机) [custom_components.midea_ac_lan.midea.devices.e1.device] [190215512695576] Received: {'header': 'aa2de1cc000000000003', 'body': '00000000100500000000001500030000000000000000000002000000000000000000f0', 'message type': '03', 'body type': '00'} 2024-02-04 22:02:07.360 DEBUG (洗碗机) [custom_components.midea_ac_lan.midea.core.device] [190215512695576] Status update: {'power': False, 'status': 'Off', 'mode': 'Neutral Gear', 'additional': 0, 'uv': False, 'dry': True, 'dry_status': False, 'door': False, 'rinse_aid': False, 'salt': True, 'child_lock': False, 'storage': False, 'storage_status': False, 'time_remaining': 0, 'progress': 'Idle', 'storage_remaining': 0, 'temperature': 21, 'humidity': 0, 'waterswitch': False, 'water_lack': False, 'error_code': 0, 'softwater': 3, 'wrong_operation': 0, 'bright': 2} 2024-02-04 22:02:13.676 DEBUG (SyncWorker_3) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Sending: {'header': 'aa12ed00000000000002', 'body': '1501010001000000', 'message type': '02', 'body type': '15'} 2024-02-04 22:02:13.817 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000002', 'body': '150253003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '02', 'body type': '15'} 2024-02-04 22:02:13.818 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Unidentified protocol 2024-02-04 22:02:14.488 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000004', 'body': '070153003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '04', 'body type': '07'} 2024-02-04 22:02:14.489 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Status update: {'power': True, 'water_consumption': 381, 'child_lock': False} 2024-02-04 22:02:16.396 DEBUG (SyncWorker_2) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Sending: {'header': 'aa12ed00000000000002', 'body': '1501010001000000', 'message type': '02', 'body type': '15'} 2024-02-04 22:02:16.515 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000002', 'body': '150253003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '02', 'body type': '15'} 2024-02-04 22:02:16.515 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Unidentified protocol 2024-02-04 22:02:17.497 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000004', 'body': '070153003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '04', 'body type': '07'} 2024-02-04 22:02:17.497 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Status update: {'power': True, 'water_consumption': 381, 'child_lock': False} 2024-02-04 22:02:19.118 DEBUG (SyncWorker_9) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Sending: {'header': 'aa12ed00000000000002', 'body': '1501010001000000', 'message type': '02', 'body type': '15'} 2024-02-04 22:02:19.245 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000002', 'body': '150253003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '02', 'body type': '15'} 2024-02-04 22:02:19.246 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Unidentified protocol 2024-02-04 22:02:19.491 DEBUG (管线机) [custom_components.midea_ac_lan.midea.devices.ed.device] [211106235625588] Received: {'header': 'aa3fed00000000000004', 'body': '070153003c30000000005f000000000f1e3200007d010000001e000000000000000000000002000000000000000000001080028100', 'message type': '04', 'body type': '07'} 2024-02-04 22:02:19.491 DEBUG (管线机) [custom_components.midea_ac_lan.midea.core.device] [211106235625588] Status update: {'power': True, 'water_consumption': 381, 'child_lock': False}