homebridge-midea icon indicating copy to clipboard operation
homebridge-midea copied to clipboard

Error when try to send command from Home app

Open soska12 opened this issue 4 years ago • 7 comments

There is an error when I try to send any command from the Home app (on/off, set temperature or mode). Logins was successful.

[AC] Triggered SET TargetHeatingCoolingState: 0 [6/25/2020, 22:01:33] [AC] Command: {"data":[170,30,172,0,0,0,0,0,3,2,64,66,87,102,127,127,0,48,0,0,0,0,0,0,0,0,0,0,0,135]} [6/25/2020, 22:01:33] [AC] Command + Header: [90,90,1,16,90,0,32,0,1,0,0,0,189,179,57,14,12,5,20,20,29,129,0,0,0,16,0,0,0,4,2,0,0,1,0,0,0,0,0,0,170,30,172,0,0,0,0,0,3,2,64,66,87,102,127,127,0,48,0,0,0,0,0,0,0,0,0,0,0,135,61,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] ................ and the error: [AC] {"msg":"ASYN-Antwort existiert nicht","errorCode":"3176"} [6/25/2020, 22:01:43] [AC] Command was not accepted by device. Command wrong or device not reachable ****2864 ASYN-Antwort existiert nicht

Sample success message in every minute: [AC] {"msg":"OK","result":{"reply":"a95603f3657f9aaadd92cb69414be3ffb379c7a92a3296a34b736b6ea5238b4ef02dcac46c472f93ff1f374f518d3996d2b0ee5681841b4ca1468be3979297ad66d66e2f9b07b84072df8624ecf6e6b143543c9ca8effe569fc9da5d01b6698eed1ecf8a5120311932fd78b3429a98b58b5bfe20fa708f78402bc19a34ec43b5c7f2c0b4669f3558980afccf8e3f1b836218957c573a67323d688a9784b9b1687ad06a9ee01e88c7160d813945854350761df012d430263bde5ff2817b467f00f02dcac46c472f93ff1f374f518d3996663326da95040ac9f130576179625fde"},"errorCode":"0"} [6/25/2020, 21:57:41] [AC] send successful [6/25/2020, 21:57:41] [AC] target temperature 24 [6/25/2020, 21:57:41] [AC] powerState is set to true [6/25/2020, 21:57:41] [AC] operational mode is set to 1 [6/25/2020, 21:57:41] [AC] Update successful

soska12 avatar Jun 25 '20 22:06 soska12

I‘ve seen this as well. Must be something to do with the sign or timestamp I guess. Future versions will include more debugging options and use the en-US locale by default.

ttimpe avatar Jun 25 '20 23:06 ttimpe

Utils.getStamp() looks good because it is working properly in the login() function. getSign(...) also looks good in the login() and getUserList() functions.

soska12 avatar Jun 26 '20 12:06 soska12

What exact model of AC do you have?

Also, please try the development branch if you haven’t.

ttimpe avatar Jun 26 '20 13:06 ttimpe

What exact model of AC do you have?

Also, please try the development branch if you haven’t.

midea blanc ma-12nxd0-i Not yet, I will try out the dev branch later.

soska12 avatar Jun 26 '20 13:06 soska12

Please try the latest version and see if the issue persists.

ttimpe avatar Jul 05 '20 22:07 ttimpe

Please try the latest version and see if the issue persists.

Still not working for me. I also tried to dig into the API and tried those related libs and also no success with them. The only methods that working for me are login and getting the indoor temp, if I try to set the temp or turn on/off the device I getting error for the API call.

soska12 avatar Jul 05 '20 23:07 soska12

Please try the latest version and see if the issue persists.

Still not working for me. I also tried to dig into the API and tried those related libs and also no success with them. The only methods that working for me are login and getting the indoor temp, if I try to set the temp or turn on/off the device I getting error for the API call.

Thinking of buying the same unit. Did you find any solution?

peros550 avatar Jun 27 '21 08:06 peros550