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

请求增加很漂亮很帅气的美的复式洗衣机(清风明月洗衣机) #402

Open Anhou2476 opened 10 months ago

Anhou2476 commented 10 months ago

设备类型及型号 (或SN)

美的复式洗衣机,型号:MGH20VE5;SN:0000D95113820607733015XXXXXXXXXX

新功能的描述

请求增加很漂亮很帅气的美的复式洗衣机(清风明月洗衣机,上面干衣机,下面洗衣机,其实是2个机器只是一个控制面板) 目前美的美居是正常使用的。 SN:0000D95113820607733015XXXXXXXXXX 设备型号是:MGH20VE5 爱你哟大佬,么么哒! 8MP}@K44}C 6QFEIDR$@BL

tiancheng91 commented 2 months ago
prefix, message_type, body_type, body
# 关机
D9 Response: 4, 220, b'\xdc\x01\x01\x00\x02\x01\x00\x03\x01\x00\x04\x01\x02\x05\x02\n\x00\x07\x01\x03\x08\x01\x00\t\x01\x00\n\x01\x01\x0b\x01\x00\x0c\x01\x00\r\x01\x00\x0f\x01\x00\x10\x02\x00\x00\x11\x01\x02\x12\x01\x01\x13\x01\x00\x14\x01\x00\x15\x01\x01\x16\x02d\x00\x1b\x01\x00+\x0312L2\x01\x01@\x01\x00A\x01\x01B\x01\x01'
D9 Response: 4, 219, b"\xdb\x01\x01\x00\x02\x01\x00\x04\x01\x03\x05\x01\x05\x07\x01\x02\x08\x01\x04\t\x01\x03\n\x01\x00\x0b\x01\x04\x0c\x01\x00\r\x02\x00\x00\x0f\x01\x00\x13\x01\x00\x14\x01\x00\x1a\x01\x00\x1b\x01\x00#\x02:\x00$\x01\x00%\x02\x00\x00&\x01\x00'\x01\x00+\x0312L.\x01\x00/\x01\xff0\x01\xff2\x01\x02\x12\x01\xff)\x01\xff?\x01\x00\x1b\x01\x00*\x01\x01(\x01\xff"
# 开机
D9 Response: 4, 220, b'\xdc\x01\x01\x01\x02\x01\x01\x03\x01\x00\x04\x01\x02\x05\x02\n\x00\x07\x01\x03\x08\x01\x00\t\x01\x00\n\x01\x01\x0b\x01\x00\x0c\x01\x00\r\x01\x00\x0f\x01\x01\x10\x02\x00\x00\x11\x01\x02\x12\x01\x01\x13\x01\x01\x14\x01\x00\x15\x01\x01\x16\x02d\x00\x1b\x01\x00+\x0312L2\x01\x01@\x01\x00A\x01\x01B\x01\x01
D9 Response: 4, 219, b"\xdb\x01\x01\x01\x02\x01\x00\x04\x01\x03\x05\x01\x05\x07\x01\x02\x08\x01\x04\t\x01\x03\n\x01\x00\x0b\x01\x04\x0c\x01\x00\r\x02\x00\x00\x0f\x01\x00\x13\x01\x00\x14\x01\x00\x1a\x01\x00\x1b\x01\x00#\x02:\x00$\x01\x01%\x02 \x00&\x01\x00'\x01\x00+\x0312L.\x01\x00/\x01\xff0\x01\xff2\x01\x02\x12\x01\xff)\x01\x19?\x01\x00\x1b\x01\x00*\x01\x00(\x01\xff"

# 工作(洗衣机 对应 219)
D9 Response: 4, 220, b'\xdc\x01\x01\x00\x02\x01\x00\x03\x01\x00\x04\x01\x02\x05\x02\n\x00\x07\x01\x03\x08\x01\x00\t\x01\x00\n\x01\x01\x0b\x01\x00\x0c\x01\x00\r\x01\x00\x0f\x01\x00\x10\x02\x00\x00\x11\x01\x02\x12\x01\x01\x13\x01\x00\x14\x01\x00\x15\x01\x01\x16\x02d\x00\x1b\x01\x00+\x0312L2\x01\x01@\x01\x00A\x01\x01B\x01\x01'
D9 Response: 4, 219, b"\xdb\x01\x01\x01\x02\x01\x00\x04\x01\x02\x05\x01\x01\x07\x01\x02\x08\x01\x01\t\x01\x03\n\x01\x00\x0b\x01\x04\x0c\x01\x04\r\x02\x00\x00\x0f\x01\x00\x13\x01\x00\x14\x01\x00\x1a\x01\x00\x1b\x01\x00#\x02\x0f\x00$\x01\x01%\x02\x04\x00&\x01\x00'\x01\x00+\x0312L.\x01\x00/\x01\xff0\x01\xff2\x01\x02\x12\x01\xff)\x01\x02?\x01\x00\x1b\x01\x00*\x01\x01(\x01\xff"

上面是捕获到的message消息体, 洗衣机(db 219)/烘干机(dc 220)会返回独立的message, 请教下这个msg具体编码方式哪边能获取到么, 只靠diff能看出的信息很有限. @georgezhao2010

tiancheng91 commented 2 months ago

spec.json 附件为app内抓包获得的设备功能及参数说明.

Anhou2476 commented 2 months ago

出去旅游了,刚刚回来,看到右键。非常感谢大佬有空看我邮件。大佬,我不是很会,我尽力试试。

发件人: 天成 @.> 发送时间: 2024年7月23日 14:51 收件人: georgezhao2010/midea_ac_lan @.> 抄送: Anhou2476 @.>; Author @.> 主题: Re: [georgezhao2010/midea_ac_lan] 请求增加很漂亮很帅气的美的复式洗衣机(清风明月洗衣机) (Issue #402)

prefix, message_type, body_type, body

关机

D9 Response: 4, 220, b'\xdc\x01\x01\x00\x02\x01\x00\x03\x01\x00\x04\x01\x02\x05\x02\n\x00\x07\x01\x03\x08\x01\x00\t\x01\x00\n\x01\x01\x0b\x01\x00\x0c\x01\x00\r\x01\x00\x0f\x01\x00\x10\x02\x00\x00\x11\x01\x02\x12\x01\x01\x13\x01\x00\x14\x01\x00\x15\x01\x01\x16\x02d\x00\x1b\x01\x00+\x0312L2\x01\x01@\x01\x00A\x01\x01B\x01\x01'

D9 Response: 4, 219, b"\xdb\x01\x01\x00\x02\x01\x00\x04\x01\x03\x05\x01\x05\x07\x01\x02\x08\x01\x04\t\x01\x03\n\x01\x00\x0b\x01\x04\x0c\x01\x00\r\x02\x00\x00\x0f\x01\x00\x13\x01\x00\x14\x01\x00\x1a\x01\x00\x1b\x01\x00#\x02:\x00$\x01\x00%\x02\x00\x00&\x01\x00'\x01\x00+\x0312L.\x01\x00/\x01\xff0\x01\xff2\x01\x02\x12\x01\xff)\x01\xff?\x01\x00\x1b\x01\x00*\x01\x01(\x01\xff"

开机

D9 Response: 4, 220, b'\xdc\x01\x01\x01\x02\x01\x01\x03\x01\x00\x04\x01\x02\x05\x02\n\x00\x07\x01\x03\x08\x01\x00\t\x01\x00\n\x01\x01\x0b\x01\x00\x0c\x01\x00\r\x01\x00\x0f\x01\x01\x10\x02\x00\x00\x11\x01\x02\x12\x01\x01\x13\x01\x01\x14\x01\x00\x15\x01\x01\x16\x02d\x00\x1b\x01\x00+\x0312L2\x01\x01@\x01\x00A\x01\x01B\x01\x01

D9 Response: 4, 219, b"\xdb\x01\x01\x01\x02\x01\x00\x04\x01\x03\x05\x01\x05\x07\x01\x02\x08\x01\x04\t\x01\x03\n\x01\x00\x0b\x01\x04\x0c\x01\x00\r\x02\x00\x00\x0f\x01\x00\x13\x01\x00\x14\x01\x00\x1a\x01\x00\x1b\x01\x00#\x02:\x00$\x01\x01%\x02 \x00&\x01\x00'\x01\x00+\x0312L.\x01\x00/\x01\xff0\x01\xff2\x01\x02\x12\x01\xff)\x01\x19?\x01\x00\x1b\x01\x00*\x01\x00(\x01\xff"

工作(洗衣机 对应 219)

D9 Response: 4, 220, b'\xdc\x01\x01\x00\x02\x01\x00\x03\x01\x00\x04\x01\x02\x05\x02\n\x00\x07\x01\x03\x08\x01\x00\t\x01\x00\n\x01\x01\x0b\x01\x00\x0c\x01\x00\r\x01\x00\x0f\x01\x00\x10\x02\x00\x00\x11\x01\x02\x12\x01\x01\x13\x01\x00\x14\x01\x00\x15\x01\x01\x16\x02d\x00\x1b\x01\x00+\x0312L2\x01\x01@\x01\x00A\x01\x01B\x01\x01'

D9 Response: 4, 219, b"\xdb\x01\x01\x01\x02\x01\x00\x04\x01\x02\x05\x01\x01\x07\x01\x02\x08\x01\x01\t\x01\x03\n\x01\x00\x0b\x01\x04\x0c\x01\x04\r\x02\x00\x00\x0f\x01\x00\x13\x01\x00\x14\x01\x00\x1a\x01\x00\x1b\x01\x00#\x02\x0f\x00$\x01\x01%\x02\x04\x00&\x01\x00'\x01\x00+\x0312L.\x01\x00/\x01\xff0\x01\xff2\x01\x02\x12\x01\xff)\x01\x02?\x01\x00\x1b\x01\x00*\x01\x01(\x01\xff"

上面是捕获到的message消息体, 洗衣机(db 219)/烘干机(dc 220)会返回独立的message, 请教下这个msg具体编码方式哪边能获取到么, 只靠diff能看出的信息很有限. @georgezhao2010https://github.com/georgezhao2010

— Reply to this email directly, view it on GitHubhttps://github.com/georgezhao2010/midea_ac_lan/issues/402#issuecomment-2244384642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBABPTWPKMPEIR2U4KRKTVLZNX4MDAVCNFSM6AAAAABLJYITSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBUGM4DINRUGI. You are receiving this because you authored the thread.Message ID: @.**@.>>