wuwentao / midea_ac_lan Goto Github PK
View Code? Open in Web Editor NEWAuto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
License: MIT License
Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
License: MIT License
none
in this chanages:
1f56e69
we have removed write username/password to local json file, and not save username/password in local disk.
it caused a small issue:
if user have more than 5-10+ device to be add, they should add each device and input login username/password every time.
we can cache it in memory and not write to file, can be done in future
2024.5.3
v0.4.1
AIR
美的美居
v0.4.1版本日志报错,导致home-assistant.log日志文件大小急剧增加,占满磁盘空间。
日志: homeassistant
来源: helpers/entity.py:1665
首次发生: 2024年6月3日 下午11:37:28 (20988 全部发生)
上次记录: 上午8:17:08
Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe()
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1001, in _async_write_ha_state_from_call_soon_threadsafe
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1132, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1015, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/fan.py", line 159, in is_on
return self.state == STATE_ON
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1665, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
2024.6.4
0.42
Fan FS4016FR (6)
美的美居
型号 FS4016FR美的风扇 协议选择V2 无法打开电源但是可以关闭电源且打开Oscillate的按钮会直接关闭电源!
发送摇头指令:
2024-06-27 18:30:54.385 DEBUG (SyncWorker_1) [midealocal.device] [1099512654225] Sending: {'header': 'aa1cfa00000000000002', 'body': '00000080000000330000000000ff00000000', 'message type': '.02', 'body type': 'None'}
2024-06-27 18:30:54.484 DEBUG (卧室风扇) [midealocal.devices.fa] [1099512654225] Received: {'header': 'aa19fa00000000000002', 'body': '000000000205000000000000000000', 'message type': '.02', 'body type': 'None'}
发送电源打开指令:
2024-06-27 18:31:39.145 DEBUG (SyncWorker_6) [midealocal.device] [1099512654225] Sending: {'header': 'aa1cfa00000000000002', 'body': '00000001000000800000000000ff00000000', 'message type': '.02', 'body type': 'None'}
2024-06-27 18:31:39.228 DEBUG (卧室风扇) [midealocal.devices.fa] [1099512654225] Received: {'header': 'aa19fa00000000000002', 'body': '000000000205000000000000000000', 'message type': '.02', 'body type': 'None'}
2024-06-27 18:31:39.228 DEBUG (卧室风扇) [midealocal.device] [1099512654225] Status update: {'power': False, 'child_lock': False, 'mode': 'Normal', 'fan_speed': 0, 'oscillate': False, 'oscillation_angle': 'Off', 'tilting_angle': 'Off', 'oscillation_mode': 'Off'}
2024-06-27 18:31:40.260 DEBUG (卧室风扇) [midealocal.devices.fa] [1099512654225] Received: {'header': 'aa19fa00000000000004', 'body': '000000000205000000000000000000', 'message type': '.04', 'body type': 'None'}
2024-06-27 18:31:40.260 DEBUG (卧室风扇) [midealocal.device] [1099512654225] Status update: {'power': False, 'child_lock': False, 'mode': 'Normal', 'fan_speed': 0, 'oscillate': False, 'oscillation_angle': 'Off', 'tilting_angle': 'Off', 'oscillation_mode': 'Off'}
2023.8.2
0.4.2
Appliance code:210006726130388; 210006725916239; 208907214486645
美的美居
Appliance code Type IP address SN Supported
210006726130388 26 10...* 000026511M010003239281100******* YES
210006725916239 26 10...* 000026511M010003239281100******* YES
208907214486645 26 10...* 000026511M010003239281100******* YES
以上3个浴霸为同一型号的美的Y5W,在添加设备时能够正常识别显示210006725916239 (Bathroom Master),选择美的美居登陆,提交后就显示无法连接到指定设备,但同账号下的2台油汀添加没有问题。这个问题困扰很久了,从当初georgezhao2010一直至今,始终无法添加这几个设备,请大佬看看是为什么如有任何需要请随时联系,万分感谢。
No response
2024.5.2
v0.4.0-alpha
美的风管机
美的美居
美的风管机星光科技版,之前添加控制都正常,ha升级到2024.5.2之后空调实体变得不可用,其余美的设备全部正常,删除空调实体后无法重新添加,自动添加或通过IP添加都找不到设备,有办法修复或解决吗?
No response
Texto em português para tradução
n/a
@rokam already started a repository that contains only the device communication specific code. What's the status of that?
I think it would be beneficial to use that as a package and remove the code from here and only maintain what is specific to HA. What do you think?
2024.4.4
0.3.23
n/a
n/a
A recent commit bumped the minimum required HA version to 2024.5 while correcting the HACS filename (mieda -> midea). 2024.5 is latest as of this writing. I did not see anything in the commit that indicated why this was done, and nothing jumped out as actually requiring 2024.5 per se.
Could we restore original minimum version of 2022.5? Or least something less recent than latest where some users are reporting issues with. Maybe 2023.1 since it is the required version in the README?
n/a
2024.6.1
0.4.1
Heat Pump Wi-Fi Controller 171H120F
SmartHome
Hello,
in the source code of the C3 heat pump there are the modes “silent_mode” and “super_silent”.
There is a switch in the HA for “silent_mode”.
But there is nothing like this for “super_silent”.
Does anyone know how to activate the “super_silent” mode ?
References:
georgezhao2010/midea_ac_lan#339
georgezhao2010/midea_ac_lan@448410e
No response
2024.4.3
0.4.2
Air Conditioner 22396311 (44204)
美的美居
理想家二代,5台内机。3台内机正常添加,另外两台添加时提示“无法连接到指定设备”,日志显示“认证失败”。确定美居账号密码没问题,用其他版本的ac_lan还会提示用户名密码错误。其中一台最初能添加成功,跟另外一台不能添加的面板互换位置后都无法添加了。
2024-06-22 17:11:59.004 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to 192.168.123.55:6444
2024-06-22 17:11:59.154 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.154 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.213 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.213 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024-06-22 17:11:59.214 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to 192.168.123.55:6444
2024-06-22 17:11:59.225 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.226 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.394 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.394 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024-06-22 17:11:59.395 DEBUG (MainThread) [midealocal.device] [210006725387346] Connecting to 192.168.123.55:6444
2024-06-22 17:11:59.408 DEBUG (MainThread) [midealocal.device] [210006725387346] Connected
2024-06-22 17:11:59.408 DEBUG (MainThread) [midealocal.device] [210006725387346] Handshaking
2024-06-22 17:11:59.560 DEBUG (MainThread) [midealocal.device] [210006725387346] Authentication failed
2024-06-22 17:11:59.561 DEBUG (MainThread) [midealocal.device] [210006725387346] Status update: {'available': False}
2024.5.5
0.4.1
Inventor Omnia eco
Msmarthome
Fan speed is not working in HomeKit. I can see the fan speed slider, but setting it to any level does not transfer the command to the unit.
No response
2024.6.4
v0.4.2
Inventor Omnia eco
Msmarthome
Latest update broke all the controls of the AC from HA UI as well as homekit. Every action results in the error BrokenPipeError: [Errno 32] Broken pipe
Earlier today, before the update, everything was working flawlessly.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2741, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2784, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 977, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1049, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 738, in async_handle_set_fan_mode_service
await self.async_set_fan_mode(fan_mode)
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 746, in async_set_fan_mode
await self.hass.async_add_executor_job(self.set_fan_mode, fan_mode)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/climate.py", line 300, in set_fan_mode
self._device.set_attribute(attr=ACAttributes.fan_speed, value=fan_speed)
File "/usr/local/lib/python3.12/site-packages/midealocal/devices/ac/init.py", line 365, in set_attribute
self.build_send(message)
File "/usr/local/lib/python3.12/site-packages/midealocal/device.py", line 283, in build_send
self.send_message(msg)
File "/usr/local/lib/python3.12/site-packages/midealocal/device.py", line 254, in send_message
self.send_message_v3(data, msg_type=MSGTYPE_ENCRYPTED_REQUEST)
File "/usr/local/lib/python3.12/site-packages/midealocal/device.py", line 276, in send_message_v3
self.send_message_v2(data)
File "/usr/local/lib/python3.12/site-packages/midealocal/device.py", line 261, in send_message_v2
self._socket.send(data)
BrokenPipeError: [Errno 32] Broken pipe
Fan 560000AG (0)
Hi,
Just found this repo, after I've got no answer on the original one.
I'd purchased my new Fan with built in Purifier and so far, it works partly in Hassio, but the feature set is pretty limited. At the moment, HA with this integration only supports the following endpoints:
(✅ = supported, ❌ = should be removed, ❓ = missing)
I hope those infos where helpful and thank you for your amazing work so far!
> @wuwentao 我遇到的问题是空调跟热水器实体变不可用,删除后重新添加又正常了,但是可能过个1-2天又变成不可用了
感谢反馈,这个确实比较诡异……
尤其是过1-2天变成不可用,如果变成不可用的话,应该会有log记录,建议直接开启debug log,然后持续观察看看哪里的错误吧,尤其是第一个报错的地方,后续的错误可能是因为第一个错误影响导致的。
另外您的HA版本是否升级了?当前midea_ac_lan的版本等信息,也需要都明确一下,HA版本升级一般不会考虑向前兼容,都需要同步更新和升级。
或者一直维持HA和midea_ac_lan均为老版本不升级。
Originally posted by @wuwentao in #26 (comment)
之前这个issue发现问题了,就是我的路由器重启后,设备的IP地址变了,但是ha中取的还是旧IP地址,导致连接不上
2024-06-20 19:44:58.099 DEBUG (主卧**空调) [custom_components.midea_ac_lan.midea.core.device] [210006724806599] Status update: {'available': False}
2024-06-20 19:44:58.138 DEBUG (客厅**空调) [custom_components.midea_ac_lan.midea.core.device] [208907213175498] Connecting to 192.168.238.109:6444
2024-06-20 19:44:58.145 DEBUG (客厅**空调) [custom_components.midea_ac_lan.midea.core.device] [208907213175498] Connection error
2024-06-20 19:44:58.145 DEBUG (客厅**空调) [custom_components.midea_ac_lan.midea.core.device] [208907213175498] Status update: {'available': False}
难道只能固定设备的IP?
2024.3.3
0.4.1
Air Conditioner 00000Q1B
MSmartHome
I freshly installed Home Assistant. While I'm trying to install an integration, there is a message:
Config flow could not be loaded: {"message":"Invalid handler specified"}
2024-06-07 12:58:12.590 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration midea_ac_lan: cannot import name 'ConfigFlowResult' from 'homeassistant.config_entries' (/usr/src/homeassistant/homeassistant/config_entries.py)
2024-06-07 13:24:18.677 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration midea_ac_lan: cannot import name 'ConfigFlowResult' from 'homeassistant.config_entries' (/usr/src/homeassistant/homeassistant/config_entries.py)
2024.6.4
0.3.22 (old repo)
Air Conditioner 00000Q1B
homeassistant
Not really a bug or new feature but not sure where to ask about this, I asked here with no response:
HA: 2024.6.4
HACS: 1.34.0
Integration (that I don't want to use): https://github.com/georgezhao2010/midea_ac_lan/releases/tag/v0.3.22
I'm currently using the above unsupported version that was installed via HACS.
I added this one as a custom repository, but it's still using the other version and I don't see a way to delete the old version.
How can I switch to this repo?
Thanks :-D
No response
Versions
Midea AC LAN 0.3.23
HA with latest updates
Description
Sorry for my bad English. I have Midea dishwasher MFD60S510Wi (static IP), when adding a device to HA it is automatically found, but when confirming I see a message in the form "The configuration is incorrect". If changing model to correct - same message.
Log in configuration.yaml enabled, but there's nothing in it.
If use Protocol V1 or V2 device is adding to HA, but all sensors are unavailable. Log attached below.
P.S. Integration update to alfa version available in HA, but it won't download.
none
Hi friends
@rokam @chemelli74 @Necroneco @Qianli-Ma
After some consideration, I think we should discuss with this naming issue at early.
First of all, when we started to maintain midea_ac_lan
repo, we were unsure who would help us with this forked repo. We just wanted to fix some bugs and try to continue improve it. Fortunately, we have many members contributing code to this repo now, really thanks for all of us.
I know we still have a lot of mypy/pylint/unit test/code coverage issues that need to be improved,
based on our plan and future goal: to integrate with Home Assistant core and rename to midea_lan
when we commit to core, so we should consider the naming issue at early.
As @rokam mentioned in the Discord group, midea_ac_lan
also is no only for AC now. it should be rename to midea_lan
and using new name for us in future.
There is more issue with current forked repo:
georgezhao2010/midea_ac_lan
, we need to manual select itmidea_lan
, we need migrate old midea_ac_lan
domain user data to midea_lan
doamin, if we do it later, we may lost more repo contributors/commit history.@rokam has finished deattach the core device lib to midea-local repo with pip package, any suggestion and comments?
I'm really sorry for these inconveniences with current forked repo, we should have a plan for it.
Solution 1: rename to midea_lan
with a new repo
try to migrate old midea_ac_lan
domain user data to new midea_lan
doamin, then migrate to new midea_lan
repo. we should do it at early, if we directly going to core with midea_lan, we may miss more user data and cause incompatibilities, we should finish most of the migration before we commit, using two domains in HA core may not be approve in code review.
Solution 2: do nothing, continue using midea_ac_lan
in future and always using fork repo mode, no any changes.
Solution 3: continue using midea_ac_lan
, but remove current repo and reinit it with latest codes, manual save issue/bug list for future track, PR/commit history/repo star will be miss, start a new repo without fork mode for future.
most of us did so many contributing to current midea_ac_lan
repo and our future goal, so please add your comments and suggestion with this naming issue, then we can know where we will go in future.
not use Discord and just using GitHub Issue to discuss it, as most of us not in same timezone, it's a most important changes for us and future plan.
Thanks
dehumidifier, 00000Q1B
https://github.com/wuwentao/midea_ac_lan/blob/master/doc/A1.md supports setting the humidity level but doesn't show the current level.
Another integration supports showing the current humidity so it would be nice to do that here as well.
Having the current humidity level would allow the widget on the left.
2024.3.3
MASTER BRANCH
water application
美的美居
装了之后报错
File "/var/packages/HomeAssistant/home/.homeassistant/custom_components/midea_ac_lan/config_flow.py", line 271
] = f"{device_id} ({self.supports.get(
^
SyntaxError: unterminated string literal (detected at line 271)
改成如下就可以了
self.available_device[device_id] = (
f"{device_id} ({self.supports.get(device.get(CONF_TYPE))})"
)
日志: homeassistant.loader
来源: loader.py:1025
首次发生: 13:34:56 (3 全部发生)
上次记录: 13:42:40
Unexpected exception importing platform custom_components.midea_ac_lan.config_flow
Traceback (most recent call last):
File "/var/packages/HomeAssistant/target/lib/python3.11/site-packages/homeassistant/loader.py", line 1025, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/packages/HomeAssistant/target/lib/python3.11/site-packages/homeassistant/loader.py", line 1058, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/packages/python311/target/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 936, in exec_module
File "", line 1074, in get_code
File "", line 1004, in source_to_code
File "", line 241, in _call_with_frames_removed
File "/var/packages/HomeAssistant/home/.homeassistant/custom_components/midea_ac_lan/config_flow.py", line 271
] = f"{device_id} ({self.supports.get(
^
SyntaxError: unterminated string literal (detected at line 271)
小天鹅蓝氧二代洗衣机和干衣机
小天鹅干衣机-蓝氧二代
设备型号:211106239178619
类型:DC
SN:0000DC513382078213B165AXXXXXXXXXX
小天鹅洗衣机-蓝氧二代
设备型号:208907215418186
SN:0000DB5133812992941025XXXXXXXXXX
并且请求支持这两个设备对于用电量的支持(美的美居里可以看到)。
目前Midea AC LAN 可以搜索到设备,且显示支持,但是在插件里连接的时候提示无法连接到指定设备。
2024.6.4
Current Latest update(new device error fix)
Air Conditioner 00000Q13 (-84)
Nethome Plus
Im having an issue with Thermostat Card on HA, the temp incrementation is by .5 making it hard to change temp needing to be increased two to three time to only change a whole number, as per research apparently the issue is not the card as the steps for temp raise is by default 1. I was wondering if there is any place on which i could change the temp increase and decrease steps to be a whole 1.
No response
2024.7.1
0.4.3
Ariston DEOS 16s
MSmartHome
Dear all,
when trying to save the manual configuration for appliance, it cannot save it. It seems that a temporary file is saved at root location before saving the effective configuration file. The device authentication phase is successful. I provide the log of the issue (debug log enabled)
2024-07-07 17:21:33.032 DEBUG (MainThread) [midealocal.device] [31885837206704] Connecting to 192.168.1.240:6444
2024-07-07 17:21:33.038 DEBUG (MainThread) [midealocal.device] [31885837206704] Connected
2024-07-07 17:21:33.038 DEBUG (MainThread) [midealocal.device] [31885837206704] Authentication success
2024-07-07 17:21:33.038 DEBUG (MainThread) [midealocal.device] [31885837206704] Status update: {'available': True}
2024-07-07 17:21:33.040 ERROR (MainThread) [homeassistant.util.file] Saving file failed: 31885837206704.json
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/util/file.py", line 56, in write_utf8_file
with tempfile.NamedTemporaryFile(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/tempfile.py", line 582, in NamedTemporaryFile
file = _io.open(dir, mode, buffering=buffering,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/tempfile.py", line 579, in opener
fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/tempfile.py", line 256, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/tmpt1mx85_k'
2024-07-07 17:21:33.041 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/util/file.py", line 56, in write_utf8_file
with tempfile.NamedTemporaryFile(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/tempfile.py", line 582, in NamedTemporaryFile
file = _io.open(dir, mode, buffering=buffering,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/tempfile.py", line 579, in opener
fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/tempfile.py", line 256, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/tmpt1mx85_k'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/forwarded.py", line 210, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/decorators.py", line 81, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/config/config_entries.py", line 222, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/components/http/data_validator.py", line 74, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/data_entry_flow.py", line 122, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/data_entry_flow.py", line 368, in async_configure
result = await self._async_configure(flow_id, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/data_entry_flow.py", line 415, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/data_entry_flow.py", line 518, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/midea_ac_lan/config_flow.py", line 467, in async_step_manually
# save device json config when adding new device
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.homeassistant/custom_components/midea_ac_lan/config_flow.py", line 126, in _save_device_config
record_file = storage_path.joinpath(f"{data[CONF_DEVICE_ID]!s}.json")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/helpers/json.py", line 198, in save_json
method(filename, json_data, private, mode=mode)
File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/util/file.py", line 66, in write_utf8_file
raise WriteError(error) from error
homeassistant.util.file.WriteError: [Errno 13] Permission denied: '/tmpt1mx85_k'
Hello! I have Midea Breezeless (AC) and it has really nice feature called: Breezeless. Is there any way to enable it with automations? Pretty new in HA, but I was able to set few pretty good automations, but lack of setting breezeless. It's a attribute on device with the same name with true
or false
values.
2024.5.5
v0.4.0 (even if in the manifest.json file the version reported is v0.4.0-alpha)
Air Conditioner 00000Q18 (44204)
MSartHome and Home Assistant
Registratore: midealocal.device
Fonte: /usr/local/lib/python3.12/site-packages/midealocal/device.py:397
Prima occorrenza: 11:47:39 (1 occorrenze)
Ultima registrazione: 11:47:39
[152832116461697] Unknown error :/usr/local/lib/python3.12/site-packages/midealocal/device.py, 378, Exception('not an 8370 message')
the same error also occurred with previous versions of Midea AC Lan, which I reported here:
https://github.com/CyrielRct/midea_ac_lan/issues/8#issue-2278947288
2024-05-31 11:47:39.529 ERROR (AC Tavernetta) [midealocal.device] [152832116461697] Unknown error :/usr/local/lib/python3.12/site-packages/midealocal/device.py, 378, Exception('not an 8370 message')
Hi
I'm not sure if this is a bug or a misconfiguration on my part, but after a successful installation of the Midea AC LAN (including the fork from here), I lose access to the air conditioner when I block internet access. This means my setup isn't cloud-free, which I thought it should be. Am I doing something wrong? Or is this a code issue? Has anyone found a way to configure it to be permanently cloud-free?
The same problem exists with the C3 heat pump waterheater.
In HA you can adjust the temperature of the waterheater in 0.5° steps, but the heat pump only supports 1° steps.
Adding { "temperature_step": 1 }
does not bring any change.
Originally posted by @erikgieseler in #191 (comment)
2024.6.4
v0.4.2
Air Conditioner 00000Q1B (0)
Carrier air conditioner
Hi,
to prevent an automation to turn on and off the climate continuously, I need to access the last_changed attribute throght this:
states.climate.153931628036068_climate.last_changed
but neiter in template nor in python script the command works. I got the following error:
expected token 'end of print statement', got '_climate'
I tried the same command with a generic light and works. Can you please help me?
Thanks and Regards
No response
2024.6.1
0.4.2
Air Conditioner 230J6225 (44204)
美的美居
As title
2024-06-21 19:44:53.457 ERROR (**空调三) [midealocal.device] [210006726456147] Error in process message, msg = aa6aac00000000000805bb6000ffff3000ff00000060096009000000c00000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fe
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/midealocal/device.py", line 363, in parse_message
self.update_all(status)
File "/usr/local/lib/python3.12/site-packages/midealocal/device.py", line 447, in update_all
update(status)
File "/config/custom_components/midea_ac_lan/climate.py", line 225, in update_state
elif preset_mode == PRESET_BOOST:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1231, in schedule_update_ha_state
self.hass.loop.call_soon_threadsafe(
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 838, in call_soon_threadsafe
self._check_closed()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 540, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
2023.8.2
0.4.2
Appliance code:210006726130388; 210006725916239; 208907214486645
美的美居
Appliance code Type IP address SN Supported
210006726130388 26 10...* 000026511M010003239281100******* YES
210006725916239 26 10...* 000026511M010003239281100******* YES
208907214486645 26 10...* 000026511M010003239281100******* YES
以上3个浴霸为同一型号的美的Y5W,在添加设备时能够正常识别显示210006725916239 (Bathroom Master),选择美的美居登陆,提交后就显示无法连接到指定设备,但同账号下的2台油汀添加没有问题。这个问题困扰很久了,从当初georgezhao2010一直至今,始终无法添加这几个设备,请大佬看看是为什么如有任何需要请随时联系,万分感谢。
No response
2024.6.4
0.4.2
none
美的美居
2024-06-25 09:51:19.669 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 70, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 368, in async_configure
result = await self._async_configure(flow_id, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 414, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 517, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/midea_ac_lan/config_flow.py", line 480, in async_step_manually
self._save_device_config(data)
File "/config/custom_components/midea_ac_lan/config_flow.py", line 127, in _save_device_config
Path.mkdir(storage_path, parents=True)
File "/usr/local/lib/python3.12/pathlib.py", line 1311, in mkdir
os.mkdir(self, mode)
FileExistsError: [Errno 17] File exists: '/config/.storage/midea_ac_lan'
No response
TW-BL80A2CZ(SS)
Hello,
I'm trying to use midea_ac_lan
with Home Assistant, and it seems it might work with a TOSHIBA washing machine connected to the network via WiFi. The issue is how to navigate the login process when the washing machine uses the TSmartLife app, which isn't available here. Is there a way to integrate the washing machine into HA for local control or to display its entities?
Thank you in advance for any assistance!
None
Hi Friends
Thank you very much for your using current midea_ac_lan
repo in HA.
we did more code changes and code format update, and before releasing a stable version, we need your help.
Could you help us to test and verify our latest code changes with your devices?
Please join us with Discord Chat online.
Thanks!
朋友们
大家好,非常感谢您在Home Assiant中使用我们当前正在持续开发中的midea_ac_lan
, 近期我们做了大量代码规范和格式上的调整,为了保证发布版本的稳定性和功能可用性,我们需要您的帮助:
可否使用您的设备来帮助我们测试和验证最新的代码修改?
请加入我们的Discord交流群组,可以支持中文或英文快速进行交流。
如果您能够访问Github,相信访问Discord也并不是什么难事,支持网页,PC,手机。
问题:为什么不直接使用微信群? 可以考虑后续基于Discord交流群来完成,但是目前暂时不会直接基于Github来发布,统一使用Discord交流群作为入口
非常感谢!
2024.6.4
0.4.3
C3 - Heat Pump Wi-Fi Controller 171H120F
SmartHome
After updating to version 0.4.3, the error message appears in the log:
AttributeError: 'MideaC3Climate' object has no attribute '_modes'
Inventor Omnia Eco
Some Ac's do not support .5 temperature changes, it would be good if upon the configuration step, we could choose the behavior.
0000B85217500001H2B084100801AXZL
Hello,
Appliance code | Type | SN
153931628038419 | B8 | 0000B85217500001H2B084100801AXZL | NO
Can you please support this type of vacuum ?
thank you
2024.6.0
0.4.1
Air Conditioner 00000Q1B (44204), Air Conditioner 00000Q15 (44204)
MSmartHome
I've added extra sensors (Total Energy Consumption
, Current Energy Consumption
, Realtime Power
) to my AC, but it's always zero.
I've also tried all 3 power analysis methods, but no one of them works. I'm not pretty sure I did it correctly. I've just filled the Customize
input with JSON like {"power_analysis_method": 2}
, but I guess it should work like that.
Can you please help me to debug the issue?
2024-06-07 13:43:11.514 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246889] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff000000000000000000000000000000000a8b', 'message type': '03', 'body type': '41'}
2024-06-07 13:43:11.521 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [152832116619840] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff000000000000000000000000000000000d08', 'message type': '03', 'body type': '41'}
2024-06-07 13:43:11.523 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246889] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b000b80', 'message type': '03', 'body type': 'b1'}
2024-06-07 13:43:11.524 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [152832116619840] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b000ebf', 'message type': '03', 'body type': 'b1'}
2024-06-07 13:43:11.524 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246889] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2024-06-07 13:43:11.524 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [152832116619840] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2024-06-07 13:43:11.543 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246689] Sending: {'header': 'aa20ac00000000000303', 'body': '418100ff000000000000000000000000000000001068', 'message type': '03', 'body type': '41'}
2024-06-07 13:43:11.548 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246689] Sending: {'header': 'aa1aac00000000000303', 'body': 'b106420018001500170033024b001163', 'message type': '03', 'body type': 'b1'}
2024-06-07 13:43:11.549 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246689] Sending: {'header': 'aa11ac00000000000303', 'body': '41210144000109', 'message type': '03', 'body type': '41'}
2024-06-07 13:43:11.662 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [153931628246889] Received: {'header': 'aa28ac00000000000303', 'body': 'c0004b667f7f000000000073ff0f00080000000000000000000000000ad4', 'message type': '03', 'body type': 'c0'}
2024-06-07 13:43:11.662 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246889] Status update: {'power': False, 'mode': 2, 'target_temperature': 27.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 32.8, 'outdoor_temperature': None, 'indirect_wind': False}
2024-06-07 13:43:11.671 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [152832116619840] Received: {'header': 'aa28ac00000000000303', 'body': 'c0004b667f7f000000000076ff0f00040000000000000000000000000d6d', 'message type': '03', 'body type': 'c0'}
2024-06-07 13:43:11.671 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [152832116619840] Status update: {'power': False, 'mode': 2, 'target_temperature': 27.0, 'fan_speed': 102, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': False, 'full_dust': False, 'indoor_temperature': 34.4, 'outdoor_temperature': None, 'indirect_wind': False}
2024-06-07 13:43:11.687 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [153931628246689] Received: {'header': 'aa28ac00000000000303', 'body': 'c0012d657f7f00000000006b8411004600000000000000000000000010a6', 'message type': '03', 'body type': 'c0'}
2024-06-07 13:43:11.687 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246689] Status update: {'power': True, 'mode': 1, 'target_temperature': 29.0, 'fan_speed': 101, 'swing_vertical': False, 'swing_horizontal': False, 'smart_eye': False, 'dry': False, 'aux_heating': False, 'boost_mode': False, 'sleep_mode': False, 'frost_protect': False, 'comfort_mode': False, 'eco_mode': False, 'natural_wind': False, 'temp_fahrenheit': False, 'screen_display': True, 'full_dust': False, 'indoor_temperature': 28.6, 'outdoor_temperature': 41.4}
2024-06-07 13:43:11.802 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [153931628246889] Received: {'header': 'aa29ac00000000000303', 'body': 'b106420000010118000000150000012c1700000164330200004b0000000035', 'message type': '03', 'body type': 'b1'}
2024-06-07 13:43:11.802 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246889] Status update: {'screen_display_alternate': True, 'indirect_wind': False, 'indoor_humidity': 44, 'screen_display': False}
2024-06-07 13:43:11.817 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [152832116619840] Received: {'header': 'aa29ac00000000000303', 'body': 'b10642000001011800000015000001271700000164330200004b00000000c8', 'message type': '03', 'body type': 'b1'}
2024-06-07 13:43:11.817 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [152832116619840] Status update: {'screen_display_alternate': True, 'indirect_wind': False, 'indoor_humidity': 39, 'screen_display': False}
2024-06-07 13:43:11.826 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [153931628246689] Received: {'header': 'aa29ac00000000000303', 'body': 'b10642000001011800000015000001361700000164330200004b0000000080', 'message type': '03', 'body type': 'b1'}
2024-06-07 13:43:11.827 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246689] Status update: {'screen_display_alternate': True, 'indirect_wind': False, 'indoor_humidity': 54}
2024-06-07 13:43:11.912 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [153931628246889] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'}
2024-06-07 13:43:11.912 DEBUG (Guest Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246889] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'indirect_wind': False, 'screen_display': False}
2024-06-07 13:43:11.922 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [152832116619840] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'}
2024-06-07 13:43:11.922 DEBUG (Iryna’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [152832116619840] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0, 'indirect_wind': False, 'screen_display': False}
2024-06-07 13:43:11.937 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.devices.ac.device] [153931628246689] Received: {'header': 'aa20ac00000000000303', 'body': 'c12101440000000000000000000000000000000001df', 'message type': '03', 'body type': 'c1'}
2024-06-07 13:43:11.938 DEBUG (Semyon’s Bedroom AC) [custom_components.midea_ac_lan.midea.core.device] [153931628246689] Status update: {'total_energy_consumption': 0.0, 'current_energy_consumption': 0.0, 'realtime_power': 0.0}
0000DB5133812787441196xxxxxxxxxx
现有的集成会提示无法连接指定设备,洗衣机型号是TG100UTEC
现在在列表中能看到该设备,且显示支持连接。美的美居中可以看到实时状态以及控制。求集成支持该设备的状态更新
11
Cannot connect to host api.github.com:443 ssl:default [None]
0000DB513381284113B185XXXXXXXXXX
无法连接到指定设备,请求大哥添加
midea ac duo
This is a continuation of this issue from last year: georgezhao2010/midea_ac_lan#243
in the midea app, it is possible to manually set the angle of the vertical vent on the midea 12k btu ac unit and the midea duo (i have both). I would love it if it was possible to manually set the vent direction in home assistant, as I am currently having to do it maually using the midea app.
happy to help troubleshoot or debug or run test code!
Air Conditioner 00000Q1B
Originally listed here georgezhao2010/midea_ac_lan#67 and marked as "not planned" by the original maintainer, I'd like to re-request this feature please. The original request by user @IGaMbLeRI was as follows:
Some models of Midea (and other compatible brands) A/C and (de)humidifier units have option to switch on Ionization by pressing a button called "FRESH" on the remote control. For example, if you see this manual for what seems to be BreezeleSS+, on PDF Page 8, you will see how it indicates that the Ionization mode is working - leaf icon on the LED panel.
I personally have a different A/C brand and model but it also has that same "FRESH" feature that is present in many other Midea devices of different classes.
Is it possible to have this feature added for compatible devices with a toggle, just like "ECO Mode", "Prompt Tone", "Swing Vertical" etc?
Kind regards.
I have a Midea Xtreme Eco Air Conditioner 00000Q1B
and the "Air Magic" function is a separate button on the remote control, to augment the currently selected mode, rather than a separate "mode" eg, Air Magic can be active when the overall mode is "Heat" or "Cool" or "Auto" or "Dry" or "Fan Only" etc.
I am willing to help in any way I can, wireshark, debug logs etc.
Thanks very much
Front Load Washer 38124878
好多设备的状态不是我想要的语言,等待homeassistant官方支持又遥遥无期,所以希望midea ac lan能支持配置翻译字典,就像mito那样的,谢谢啦!https://github.com/al-one/hass-xiaomi-miot/blob/master/custom_components/xiaomi_miot/core/translation_languages.py
2024.5.4
v0.4.1
Front Load Washer 38124999 (14404)
Midea MSmartHome
After adding the washer and dryer to the HA dashboard, they display correctly.
However, when I connect the sensors to Homekit via the Homekit bridge, they do not display correctly in the Home app.Currently, I have simulated two sensors for the washing machine as a binary_sensor and a temperature sensor, but displaying time with a temperature sensor doesn't feel user-friendly. The configuration is as follows:
input_select:
washing_machine_status:
name: 洗衣机状态
options:
- "空闲"
- "洗涤"
- "漂洗"
- "甩干"
initial: "空闲"
automation:
- alias: 更新洗衣机状态
trigger:
- platform: state
entity_id: sensor.188016xxx26566_progress
action:
- service: input_select.select_option
target:
entity_id: input_select.washing_machine_status
data:
option: >
{% set step = states('sensor.188016xxx826566_progress') %}
{% if step == 'Idle' %}
空闲
{% elif step == 'Wash' %}
洗涤
{% elif step == 'Rinse' %}
漂洗
{% elif step == 'Spin' %}
甩干
{% else %}
未知
{% endif %}
sensor:
- platform: template
sensors:
washing_machine_remaining_time_as_temperature:
friendly_name: "洗衣机剩余时间"
unit_of_measurement: "°C"
value_template: >
{% set time_remaining = states('sensor.18801648xxx6566_time_remaining') %}
{% if time_remaining in ['未知', 'unavailable', '', 'unknown'] %}
0
{% else %}
{{ time_remaining | int }}
{% endif %}
binary_sensor:
- platform: template
sensors:
washing_machine_idle:
friendly_name: "空闲"
value_template: "{{ is_state('input_select.washing_machine_status', '空闲') }}"
washing_machine_wash:
friendly_name: "洗涤"
value_template: "{{ is_state('input_select.washing_machine_status', '洗涤') }}"
washing_machine_rinse:
friendly_name: "漂洗"
value_template: "{{ is_state('input_select.washing_machine_status', '漂洗') }}"
washing_machine_spin:
friendly_name: "甩干"
value_template: "{{ is_state('input_select.washing_machine_status', '甩干') }}"
Is there any way to make the sensors display correctly in Homekit?
No response
2024.5.5
0.4.1
C3 - Heat Pump Wi-Fi Controller 171H120F
MSmartHome
Hello,
I have just tested version 0.4.1 with my C3 heat pump. I immediately noticed that the water_heater entity looks different compared to version 0.3.22, see attached screenshots. The color gradient for the temperatures is no longer displayed.
No response
To do List
In additional, we have more contributers to continue work with it now.
I have add @rokam @attilaersek @Necroneco @chemelli74 @Qianli-Ma as collaborators to current repo.
All of use can merge PR in future and we don't need to worry about the merge permission controlled in one people.
2024.6.4
v0.4.3
AC 153931628323124
NetHome Plus
I want to add the AC Midea Mobile 35C with appliance code 153931628323124 and receife the error "Can't connect to appliance"
2024-07-03 18:19:30.885 DEBUG (Air Conditioner) [midealocal.device] [153931628323124] Does not supports the protocol MessageQueryAppliance, ignored 2024-07-03 18:19:30.885 DEBUG (Air Conditioner) [midealocal.device] [153931628323124] Sending: {'header': 'aa20ac00000000000003', 'body': '418100ff000000000000000000000000000000008e66', 'message type': '.03', 'body type': '.41'} 2024-07-03 18:19:34.039 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mapp.appsmb.com/v1/user/login/id/get, data: {'src': '1017', 'format': '2', 'stamp': '20240703161934', 'deviceId': '432d1ed868f0965a', 'reqId': 'b2992fdf867d4bb9f850655ac1dc7950', 'clientType': '1', 'appId': '1017', 'sessionId': '737c1bc9cf334b58ab7688aa63c3e4e020240703161927345', 'loginAccount': '[email protected]', 'sign': '2f7b26439fdff9f781c5f6f45e33746571eb4ce18b679a9b071f7b0a59548f9d'}, response: b'{"msg":"ok","result":{"loginId":"60995c5a-9737-4016-a70f-812b1d2bf937"},"errorCode":"0"}' 2024-07-03 18:19:34.176 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mapp.appsmb.com/v1/user/login, data: {'src': '1017', 'format': '2', 'stamp': '20240703161934', 'deviceId': '432d1ed868f0965a', 'reqId': '5f080146439809de5ef14c05301afaa0', 'clientType': '1', 'appId': '1017', 'sessionId': '737c1bc9cf334b58ab7688aa63c3e4e020240703161927345', 'loginAccount': '[email protected]', 'password': 'd1c028814950f75f442602bdb4111672a3c87566bd7eee8b87558d371f8b1129', 'sign': '81242d7006dc18b0322cbd9eec83f04298777ce68322259bbb4db1235887daa1'}, response: b'{"msg":"ok","result":{"originPrivateVersion":"","nickname":"[email protected]","sessionId":"cf1141b6730143c8bae4f1cc6394524c20240703161934157","accessToken":"a5209296ef91c04f0e5a69ca1e24be4cb920ebb829d567559397ded751813801","userId":"11495743","versionCode":"","leftCount":""},"errorCode":"0"}' 2024-07-03 18:19:34.216 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mapp.appsmb.com/v1/appliance/user/list/get, data: {'src': '1017', 'format': '2', 'stamp': '20240703161934', 'deviceId': '432d1ed868f0965a', 'reqId': '66dbafb944ebdb253418d8a061f6379c', 'clientType': '1', 'appId': '1017', 'sessionId': 'cf1141b6730143c8bae4f1cc6394524c20240703161934157', 'sign': 'b535ae45d0702836340853f74732ec4900c179c814499aa0759346b42f0b8c60'}, response: b'{"msg":"ok","result":{"list":[{"registerTime":"Wed Jul 03 10:26:20 UTC 2024","onlineStatus":"1","type":"0xAC","homegroupId":"","userId":"11495743","tsn":"","mac":"","des":"","activeStatus":"1","homegroupCreateUserId":"","wifiVersion":"","name":"Midea_35C","modelNumber":"0","homegroupNumber":"","id":"153931628323124","sn":"70bc671d5ea3a7d4eaa3e24fa71c189bd90738b7828c409977e416f565bb5b737f10ab2f465947fd18112e68a1a16417","userType":"1"}]},"errorCode":"0"}' 2024-07-03 18:19:34.243 DEBUG (MainThread) [midealocal.cloud] Midea cloud API url: https://mapp.appsmb.com/v1/iot/secure/getToken, data: {'src': '1017', 'format': '2', 'stamp': '20240703161934', 'deviceId': '432d1ed868f0965a', 'reqId': '2f070cb5acaf28cb63ad51fd1e11010f', 'clientType': '1', 'appId': '1017', 'sessionId': 'cf1141b6730143c8bae4f1cc6394524c20240703161934157', 'udpid': '9b64e1177a60fff42080f7480c3f0568', 'sign': '98dcde2c5cfcdd1db9b5d17c0a38ee63773efe4016b9aad35c9f6cd45a4165e6'}, response: b'{"result":{"tokenlist":[{"udpId":"9b64e1177a60fff42080f7480c3f0568","key":"b0c660def39f40308c05f947236d6418609f9f9408724e2281bcebf567127ef3","token":"90912C1ABE9ED0B0419486E76C71F8E07285E08905A295720B32C2D48A8DD54FCCE1077AA2EB84BCD9A656F19250231E85839397017830DC02F8364EFE047714"}]},"msg":"ok","errorCode":0}' 2024-07-03 18:19:34.243 DEBUG (MainThread) [midealocal.cloud] Response from get_keys() for appliance_id 153931628323124 with method 1: {'tokenlist': [{'udpId': '9b64e1177a60fff42080f7480c3f0568', 'key': 'b0c660def39f40308c05f947236d6418609f9f9408724e2281bcebf567127ef3', 'token': '90912C1ABE9ED0B0419486E76C71F8E07285E08905A295720B32C2D48A8DD54FCCE1077AA2EB84BCD9A656F19250231E85839397017830DC02F8364EFE047714'}]} 2024-07-03 18:19:34.245 DEBUG (MainThread) [midealocal.device] [153931628323124] Connecting to 192.168.4.18:6444 2024-07-03 18:19:34.247 DEBUG (MainThread) [midealocal.device] [153931628323124] Connected 2024-07-03 18:19:34.247 DEBUG (MainThread) [midealocal.device] [153931628323124] Handshaking 2024-07-03 18:19:34.677 DEBUG (MainThread) [midealocal.device] [153931628323124] Authentication failed 2024-07-03 18:19:34.677 DEBUG (MainThread) [midealocal.device] [153931628323124] Status update: {'available': False} 2024-07-03 18:19:37.806 DEBUG (Midea_35C) [midealocal.device] [153931628323124] Does not supports the protocol MessageQueryAppliance, ignored 2024-07-03 18:19:37.807 DEBUG (Midea_35C) [midealocal.device] [153931628323124] Sending: {'header': 'aa20ac00000000000003', 'body': '418100ff0000000000000000000000000000000091ba', 'message type': '.03', 'body type': '.41'} 2024-07-03 18:19:40.892 DEBUG (Air Conditioner) [midealocal.device] [153931628323124] Does not supports the protocol MessageQuery, ignored 2024-07-03 18:19:40.892 DEBUG (Air Conditioner) [midealocal.device] [153931628323124] Sending: {'header': 'aa1aac00000000000003', 'body': 'b106420018001500170033024b008f6d', 'message type': '.03', 'body type': '.b1'}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.