Closed leandromagro closed 2 months ago
Could you please do a scan with my plugin and then send the logs of the scan to me? I would need the serial number of your device, but it's better if you can provide me the whole output.
Here is the scan log. Start device discovery... [21/07/2024, 12:35:51] [Homebridge UI] [homebridge-midea-platform] Discovered device: {"ip":"192.168.15.X","port":6444,"id":30786325577946,"model":"00000Q13","sn":"000000P0000000Q130B2370CC3150000","name":"net_ac_C315","type":172,"version":3} [21/07/2024, 12:35:51] [Homebridge UI] [homebridge-midea-platform] Discovered device: {"ip":"192.168.15.Y","port":6444,"id":15393162940771,"model":"00000Q13","sn":"000000P0000000Q130B2370C9C2B0000","name":"net_ac_9C2B","type":172,"version":3} [21/07/2024, 12:35:51] [Homebridge UI] [homebridge-midea-platform] Discovered device: {"ip":"192.168.15.Z","port":6444,"id":150633093355627,"model":"00000Q18","sn":"000000P0000000Q18076C210008E0000","name":"net_ac_008E","type":172,"version":3} [21/07/2024, 12:35:53] [Homebridge UI] [homebridge-midea-platform] Device discovery complete. Thank you.
There are 2 different models. Which one is the one where LED on/off not working? Or does this issue occur with both of them?
These two are the same. The other is a new, last year version and it works perfectly with the Display button. "id":30786325577946,"model":"00000Q13","sn":"000000P0000000Q130B2370CC3150000","name":"net_ac_C315","type":172,"version":3 "id":15393162940771,"model":"00000Q13","sn":"000000P0000000Q130B2370C9C2B0000","name":"net_ac_9C2B","type":172,"version":3}
I've scanned the Hex as well, if it helps somehow: 2600ce00040003f08d9210370f140f3710370f140f3711130f37101310370f140f14103610140f37101310370f3710370f370f1410370f140f3710140f140f140f14103610140f37101310370f140f14101310140f370f3710140f140f37103610370f3710140f140f3710ac8e920f37101310370f37101310370f140f3710140f370f14101310370f140f3710140f370f3710370f37101310370f140f3710140f140f140f14103610140f37101310370f140f14101310140f370f37101310140f370f3710370f37101310140f370f000d050000000000000000
Could you please add only one of the older devices to Homebridge, turn on debug mode in Homebridge and send me some logs? I want to see what messages the unit sends to the plugin.
I would need the lines like this: Body: {"type":"Buffer","data":[177,8,9,0,0,1,0,10,0,0,1,0,66,0,0,1,1,24,0,0,0,21,0,0,0,51,0,0,0,75,0,0,0,101,0,0,0,0,153]}
But of course you can send the whole log as well.
Did not find line like in the example so attached the log of the last few minutes after remove everything and add only one old device. thanks.
Debug mode is not enabled in your Homebridge instance, that's why that line is missing. Could you please enable it? You can do it by opening the Homebridge settings and searching for Homebridge Debug Mode -D
.
this is what I'm getting. (after the reboot, of corse)
Yeah, that's the switch! Now your logs should contain the mentioned line. Could you send it, please?
Also in the meantime I've released a beta version. You can install it by going to the plugins, click on the three dots in the bottom right corner of my plugin, click on Manage version
and the beta version should be in the dropdown. Can you check if it's working now or not?
Yeah, that's the switch! Now your logs should contain the mentioned line. Could you send it, please?
Did not change it. It was active when I collected the log. I will try again.
Also in the meantime I've released a beta version. You can install it by going to the plugins, click on the three dots in the bottom right corner of my plugin, click on
Manage version
and the beta version should be in the dropdown. Can you check if it's working now or not?
Sure I will. Give few minutes.
Also in the meantime I've released a beta version. You can install it by going to the plugins, click on the three dots in the bottom right corner of my plugin, click on
Manage version
and the beta version should be in the dropdown. Can you check if it's working now or not?Sure I will. Give few minutes.
Not working. Tried both display and display alternate commands. Tomorrow I will take a look at the logs, delete everything and add only one to see if we can catch these entries. Thanks
Hi. I went over the procedure, removed both similar AC units, restarted, added only one but looks like the outcome of the log is the same. Now using the beta version.
Oh, I forgot to tell you you have to enable verbose logging for that device (it's in the Advanced settings section)
Oh, I forgot to tell you you have to enable verbose logging for that device (it's in the Advanced settings section)
No problem, tomorrow I will send you the logs. Thanks.
Hi! Eventually we've got what we wanted. The old unit is this: "type": "Air Conditioner", "name": "Escritótio", homebridge.log.txt
I'm currently spending my vacation but I will look on this as soon as I get home!
I'm currently spending my vacation but I will look on this as soon as I get home!
Enjoy!
I just got back at this. So when you made this log, did you mess with turning the screen on and off using the remote?
If you did, it would help me if you could point it out where did it happened in the log.
Hi, apologies for the delayed response. I took a new log. But I can tell that I cannot turn the led on/off from the App. The button is "greyed". I enabled the verbose and the detailed log and took this info using the remote control. I could not see a specific command. Perhaps it is not supported.
[30/08/2024, 12:01:13] [midea-platform] [Escritório] Value for POWER changed from 'false' to 'true' [30/08/2024, 12:01:13] [midea-platform] [Escritório] Value for SCREEN_DISPLAY changed from 'false' to 'true' [30/08/2024, 12:01:13] [midea-platform] [Escritório] Value for OUTDOOR_TEMPERATURE changed from '28' to '31' [30/08/2024, 12:01:13] [midea-platform] [Escritório] Status change: {"POWER":true,"SCREEN_DISPLAY":true,"OUTDOOR_TEMPERATURE":31} [30/08/2024, 12:01:13] [midea-platform] [Escritório] Set attribute POWER to: true [30/08/2024, 12:01:13] [midea-platform] [Escritório] Set attribute SCREEN_DISPLAY to: true [30/08/2024, 12:01:13] [midea-platform] [Escritório] Set attribute OUTDOOR_TEMPERATURE to: 31 [30/08/2024, 12:01:14] [midea-platform] [Escritório] Raw data to parse: 8370008e20632d064359255188318d42752b62c98dd78fa9fe4b7e11f73582fb2bb82805e9164f9c780c524c05748b1fcc4e92a1c09ff954caf8abe0d151825d373839eb1908a06d5d73bd24d4b894a0d1b68ef6204a1d68563fa0d6e7f8fc05351e42f07fe100333e5e55dacbf1dc26812febbd2fc68ebb205c2beb6c5e857e0cc4468cdfbfae2f86457209cce97574ccef9929f776 [30/08/2024, 12:01:14] [midea-platform] [Escritório] Msg to process. Length: 48 (0x30), Type: 4353 (0x1101) 5a5a011168002080000000000000000000000000da000000001c00000000000000000000000000002285da69842c942cf21bc829e1a6be63c8f8644b170d31c18fee1750b5526f8d915c618b02ed2747fad73f2ffa0db1d3dd7e8f895c2c2ccfc6ce49a75861d048 [30/08/2024, 12:01:14] [midea-platform] [Escritório] Decrypted data to parse: aa1fac00000000000303c1210144000259110000000000000000000000004557 [30/08/2024, 12:01:14] [midea-platform] [Escritório] Body: {"type":"Buffer","data":[193,33,1,68,0,2,89,17,0,0,0,0,0,0,0,0,0,0,0,0,69]} [30/08/2024, 12:01:14] [midea-platform] [Escritório] Status unchanged [30/08/2024, 12:01:14] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442 [30/08/2024, 12:01:16] [midea-platform] [Escritório] Raw data to parse: 8370005e2053a352f8ef6944c1328eb0225f84d140c4a3d42ad919e0be7c763f8602e397049844bfc020eda2a971aa11c9ce942868f6aa63d918c3cc5d492546e8e8e85d48874d04f65a3112c5248b97afa634e4857166989c4e209abbb412aaaa4bfd23da6f [30/08/2024, 12:01:16] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:16] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:25] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442 [30/08/2024, 12:01:25] [midea-platform] [Escritório] Raw data to parse: 8370005e2053b55013a5801a1ecba911e6c3ef4d078a1e9e71d5e004d22ab70889a893aff61c547169ba62ae1fe7813308c44f54cfe526bdf5929667a67aad7e3dbcb235e7c4a8cfdf539c5ef1b4986c8b328db42d36c26ceaf1886b5aa293c18da7b5cf6e83 [30/08/2024, 12:01:25] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:25] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:35] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442
[30/08/2024, 12:01:36] [midea-platform] [Escritório] Raw data to parse: 8370005e2053237371ba8c41fb88c51b5ca5dbd5b0c58e52a1f2f753b29ed13a07b45e7e8acfaaae7b7a67a91202a383946c65f5a10738b293fa9205731b641b58a4caf477005494245b06e3e527a4ea65570e2e37a7bc6e0feee632ec12ca274864bb19d32b [30/08/2024, 12:01:36] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:36] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4
[30/08/2024, 12:01:43] [midea-platform] [Escritório] Refreshing status... [30/08/2024, 12:01:43] [midea-platform] [Escritório] Send message: 5a5a01116800200000000000001e000800180014da000000001c00000000000000000000000000006b000a76e27eed2c3647e57d8602df8b3757ffdc969c69c4ab2caa98d2b8cdf6dbade277ffadf3e7e3b93ad8267a97780b09b9c0f1321d2493ee413cfb37ad38 [30/08/2024, 12:01:43] [midea-platform] [Escritório] Send message: 5a5a01115800200000000000001e000800180014da000000001c00000000000000000000000000007980ac09a2b306d0f1fb074b5acac149b580d9bf7c10baed770d109cfeb103891e5f739eff4a273ba8b3e199fa9c6712 [30/08/2024, 12:01:43] [midea-platform] [Escritório] Send message: 5a5a01115800200000000000001e000800180014da000000001c000000000000000000000000000096f9215a3d77800aae54bd57eeb548619d4b8fb4f2010c359c53caf1b5a479643600265f05f98d1fa4a0da6405c1ab40 [30/08/2024, 12:01:44] [midea-platform] [Escritório] Raw data to parse: 8370008e2063e6af56b929a8db30064d9b9d2b68afaeafcd2edd51d0268bbe311b2997282ca57f7258b7e8b383ab43bb4be9b4c29a2fa339959c13aaa5f4748fa954fbd7febebc30e8e28a4eb2393e6e38fb8b46655cded0f6ebc5298778cf8f019d0e1a8beeedd7d1b7225ca48ff90397243e3087b81990e035ee57a9219d1c38297c25fab411ebdca68b00c440815362200c0b4785 [30/08/2024, 12:01:44] [midea-platform] [Escritório] Msg to process. Length: 48 (0x30), Type: 4353 (0x1101) 5a5a011168002080000000000000000000000000da000000001c000000000000000000000000000039325578eb4c375bfd2f5d49d40113fa4a437d874e08d428aff8512128a553585e9972cb6d59a15e4920bcc67f760eed58823f851fe926c6da18552eeb6b472c [30/08/2024, 12:01:44] [midea-platform] [Escritório] Decrypted data to parse: aa22ac00000000000303c00128667f7f003c000000637100000000000000000014d3e8 [30/08/2024, 12:01:44] [midea-platform] [Escritório] Body: {"type":"Buffer","data":[192,1,40,102,127,127,0,60,0,0,0,99,113,0,0,0,0,0,0,0,0,0,20,211]} [30/08/2024, 12:01:44] [midea-platform] [Escritório] Status unchanged [30/08/2024, 12:01:45] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442 [30/08/2024, 12:01:48] [midea-platform] [Escritório] Raw data to parse: 8370008e2063fc7d13a60e9482403ca8cf256507ac81a97fb7032d042f00990f14dd264bab69109abc24afd14248f98cb916d3863c50b533370b89d096a846d28b5aff2fe0d58e9909c351a3870a6ea09bbe36f70d753215db52968a18dcbda07fa1513df2e826f72d379302a221144cd41145671ff817a1482fe7c0b9018592b98f5e4332c7bfb5e98666db9582ef21006a9fc8102b8370005e2053c207be626f0f8e4a3d9250e93e3e8e044a344b71cde940b987c58d5d22e070a45f4a2b3266da7a91238b1beed5cebdb0d0ea9cfa7ea181304fb087e8f3910ac9e9a278c8484924a2151f11174e897c23a13c836708527dabd339850e4a3ddfc6 [30/08/2024, 12:01:48] [midea-platform] [Escritório] Msg to process. Length: 48 (0x30), Type: 4353 (0x1101) 5a5a011168002080000000000000000000000000da000000001c00000000000000000000000000002285da69842c942cf21bc829e1a6be63c8f8644b170d31c18fee1750b5526f8d915c618b02ed2747fad73f2ffa0db1d3dd7e8f895c2c2ccfc6ce49a75861d048 [30/08/2024, 12:01:48] [midea-platform] [Escritório] Decrypted data to parse: aa1fac00000000000303c1210144000259110000000000000000000000004557 [30/08/2024, 12:01:48] [midea-platform] [Escritório] Body: {"type":"Buffer","data":[193,33,1,68,0,2,89,17,0,0,0,0,0,0,0,0,0,0,0,0,69]} [30/08/2024, 12:01:48] [midea-platform] [Escritório] Status unchanged [30/08/2024, 12:01:48] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:48] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:56] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442 [30/08/2024, 12:01:56] [midea-platform] [Escritório] Raw data to parse: 8370005e2053c22ac6459253c2b3bfcfafe9aa25540a7773d9093054585e8982da2f676cff2aeb5af3831be98f4e73f7a1f519765786e7da2f57a189783665ae9971644e14b726ab9f3c463a309d63b1fdea5e587e2bb1fd9954f89048772d35b7eb13d0a9a4 [30/08/2024, 12:01:56] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:01:56] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:02:06] [midea-platform] [Suíte] Refreshing status... [30/08/2024, 12:02:06] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442
[30/08/2024, 12:02:07] [midea-platform] [Escritório] Raw data to parse: 8370005e205309ddebb0bd1c2a0d0e8f6473039ba114c2d4b5ea332ee5abeee749d6ff00f9507aa525885b7c96a8c26210c78deed1d67815d5d0eca46b480266dc46f30cb8baacad69e559556899f37946e8c8f647eae18e7851cc86e7019dcf07cb9b5ae335 [30/08/2024, 12:02:07] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:02:07] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:02:08] [midea-platform] [Closet] Status unchanged [30/08/2024, 12:02:09] [midea-platform] [Closet] Status unchanged [ [30/08/2024, 12:02:14] [midea-platform] [Escritório] Refreshing status... [30/08/2024, 12:02:14] [midea-platform] [Escritório] Send message: 5a5a01116800200000000000001e000800180014da000000001c00000000000000000000000000006b000a76e27eed2c3647e57d8602df8b8bf2b6baa046d68f0e4891031352ab5ab114417e36b7c549cf5267a48c09f709e9fda358b52017c5886c7a074c7cf054 [30/08/2024, 12:02:14] [midea-platform] [Escritório] Send message: 5a5a01115800200000000000001e000800180014da000000001c00000000000000000000000000007980ac09a2b306d0f1fb074b5acac1497275156491a0a1df4fc387e8ef1da78b17d00e79f98bef6b06fe6a2dbdedf9bf [30/08/2024, 12:02:14] [midea-platform] [Escritório] Send message: 5a5a01115800200000000000001e000800180014da000000001c000000000000000000000000000096f9215a3d77800aae54bd57eeb548619d4b8fb4f2010c359c53caf1b5a479643600265f05f98d1fa4a0da6405c1ab40 [30/08/2024, 12:02:15] [midea-platform] [Escritório] Raw data to parse: 8370008e2063b8fd5d286bf2058c9c3da5ab772678fd15477c64805fb6389bb38ce6d7eefa6e093682fc359008fc3f5b9a90e414c7ddcd625ec195abb8c3c2a4f730786533839a3c514ce0c6f026ebba0a224952fbbdbfaa947d06c547ec4ea487cb6be63beeab1b313011121e6d85b3730d62ed520172566cfa4ad49d2dd543acf63bf07d3b5590dee1fb9dd29f1b54f406450bfbca [30/08/2024, 12:02:15] [midea-platform] [Escritório] Msg to process. Length: 48 (0x30), Type: 4353 (0x1101) 5a5a011168002080000000000000000000000000da000000001c000000000000000000000000000039325578eb4c375bfd2f5d49d40113fa4a437d874e08d428aff8512128a553583b98b4c5b656634bc1a876c92e72d72815e1ba36157b67ccd562ccc3473b81c1 [30/08/2024, 12:02:15] [midea-platform] [Escritório] Decrypted data to parse: aa22ac00000000000303c00128667f7f003c00000063710000000000000000002b2c78 [30/08/2024, 12:02:15] [midea-platform] [Escritório] Body: {"type":"Buffer","data":[192,1,40,102,127,127,0,60,0,0,0,99,113,0,0,0,0,0,0,0,0,0,43,44]} [30/08/2024, 12:02:15] [midea-platform] [Escritório] Status unchanged [30/08/2024, 12:02:16] [midea-platform] [Escritório] Send message: 5a5a011038007b0000000000001e000800180014da000000001c0000000000000000000000000000382d41be6f1c5e9b3a7725efeb745442 [30/08/2024, 12:02:18] [midea-platform] [Escritório] Raw data to parse: 8370008e20634af99804a9fcb8baa800d56101e0b2568b3a0821905e6ab092635e6f93780158fc6765a2c4355474adf8f8ee2dc347f6f22ac72650ea9480af59d329d4e2417ddc654c25e98648bb491ab6002669e2916aca2e12c558c19e70a7e6d3c1df01aa55e5ba060b337b4c6e08c05653257155f0d0257e2b6fdf1b9db091d596c82af92579021e92f5b0a68a3629f939022ee1 [30/08/2024, 12:02:18] [midea-platform] [Escritório] Msg to process. Length: 48 (0x30), Type: 4353 (0x1101) 5a5a011168002080000000000000000000000000da000000001c00000000000000000000000000002285da69842c942cf21bc829e1a6be63c8f8644b170d31c18fee1750b5526f8d915c618b02ed2747fad73f2ffa0db1d3dd7e8f895c2c2ccfc6ce49a75861d048 [30/08/2024, 12:02:18] [midea-platform] [Escritório] Decrypted data to parse: aa1fac00000000000303c1210144000259110000000000000000000000004557 [30/08/2024, 12:02:18] [midea-platform] [Escritório] Body: {"type":"Buffer","data":[193,33,1,68,0,2,89,17,0,0,0,0,0,0,0,0,0,0,0,0,69]} [30/08/2024, 12:02:18] [midea-platform] [Escritório] Status unchanged [30/08/2024, 12:02:18] [midea-platform] [Escritório] Raw data to parse: 8370005e2053cbb78da4393760481c2fefded589fa9d2cc03cfa0727bb9975ada701b86127bc47ed5d74df070365fd91ba117173c5e8ed109fe51ce595929895b8151883a0d8283ce747ba77601ba88bb862f03aba98448aeada18f22488378d43e5419d3ae9 [30/08/2024, 12:02:18] [midea-platform] [Escritório] Msg to process. Length: 1 (0x1), Type: 4097 (0x1001) 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4 [30/08/2024, 12:02:18] [midea-platform] [Escritório] Heartbeat: 5a5a011039007b80000000000000000000000000da000000001c00000000000000000000000000000069240a31ce87703ae3d317db316f4fc4
I've released a new beta, v1.2.0-beta.5
, can you please try to turn on/off the LEDs with this version?
Hey! I performed some tests using both Display and Display alternate commands and unfortunately it's not working. I think this command is not support in the smart home app for legacy devices. Thanks for the efforts.
After this, I agree that your unit doesn't support this feature.
Is your feature request related to a problem? Please describe:
Not at all.
Describe the solution you'd like:
I would like to have a switch like "Display switch" that sends the "LED ON OFF" command from the remote control to an old AC unit 42MBCB12M5. The remote control looks like the one attached. The button is highlighted in red. In the Brazilian version of this remote, this button is called Do not disturb for some reason.
Describe alternatives you've considered:
I've tested the Display switch and Display switch alternate without success. The display switch works flawlessly with the new unit.
Additional context:
Nothing to elaborate.
Thank you very much.