Open polysa opened 4 days ago
ED device is already supported, could you help to confirm with the details?
https://github.com/wuwentao/midea_ac_lan/blob/master/doc/ED.md
Hello
All entities unknown and unabailable with this model.
2024-11-28 09:32:26.828 DEBUG (Water Dispenser ) [midealocal.device] [152832116925069] refresh_status with cmd: {'_device_type': <DeviceType.ED: 237>, '_message_type': <MessageType.query: 3>, '_body_type': <ListTypes.X00: 0>, '_message_protocol_version': 0, 'header': 'aa0ced00000000000003', 'body': '0001', 'message_type': 'query', 'body_type': '00', 'self': <midealocal.devices.ed.message.MessageQuery object at 0x7fef1c48fd10>}, unsupported protocol, SKIP 2024-11-28 09:32:26.828 DEBUG (Water Dispenser ) [midealocal.device] [152832116925069] all the query cmds failed [<midealocal.devices.ed.message.MessageQuery object at 0x7fef1c48fd10>], please report bug 2024-11-28 09:32:26.829 DEBUG (Water Dispenser ) [midealocal.device] [152832116925069] No Supported protocol 2024-11-28 09:32:26.829 DEBUG (Water Dispenser ) [midealocal.device] [152832116925069] refresh_status with cmds: [<midealocal.devices.ed.message.MessageQuery object at 0x7fef1c48fd10>], check_protocol False
thanks, I have understand your issue with the debug log now, I will check it later.
@polysa there is a device subtype for different product, and I'm not sure with your device subtype, as you don't provide me the full debug log in your issue.
maybe you can directly edit the source code and confirm the result. if it still can't works for you, you can upload the detail debug log and we can do future check.
how to manual edit it: you just need to change one line : https://github.com/midea-lan/midea-local/blob/22462e68d8cc776f5c09d9b3bfea97e595701587/midealocal/devices/ed/message.py#L49
body_type: ListTypes = ListTypes.X00,
the last content is ListTypes.X00
, you should replace X00
with [X01
, or X03
, or X04
, or X05
or X06
or X07
or FF
(NOT XFF, it's FF)] to test it(replace the default value), and confirm which VALUE can works for your device and got a expected respone.
then we can add it later.
in addition, if your changes this value everytime, you should reboot HA to take effect. so just enable debug log via configuration.yaml and you can got all the details after device reboot done.
it's not a finally solution and just a quickly debug/test solution, and I will try to commit it once got confirm with you. thanks
how to change it, below is the detail steps:
docker exec -it homeassistant /bin/bash
, contiune the step to check midea-local
install pathmidea-local
install path as the next stepmidea-local
install path with command pip show midea-local
, it will show info for you, for example, my location is Location: /usr/local/lib/python3.12/site-packages
/usr/local/lib/python3.12/site-packages/midealocal/devices/ed/message.py
with the code changes, using vi command line tool or any method you can do it.
in addition, there is a same github issue with ED device: https://github.com/wuwentao/midea_ac_lan/issues/352
and I have submit a fix for this device, but I'm not sure with your device, so you still need to test it and also confirm the result with it.
How can i provide the full debug log?
How can i provide the full debug log?
just download the log from your HA device and upload it as attachment to github issue.
in addition, please also confirm the code changes result, it's a quickly solution for you to confirm the result, then we can quickly fix it. if it's hard to do, we can do it step by step, thanks.
Device type and model (or SN)
The detail description of new feature
Hello can we have support for Midea Water Purifier JL2245T
Appliance code: 152832116925069 Type: ED SN: 0000ED54163100005450721003131PFF Supported: Yes