-
Notifications
You must be signed in to change notification settings - Fork 831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please add support for Midea(RN08A/BG) #821
Comments
When I press the remote control off, temp becomes 255. |
|
@hassbian-ABC I'm assuming you are talking about when using |
@crankyoldgit |
@hassbian-ABC I think this is because COOLIX has a special command for off and swing that doesn't contain the rest of the state information. I'll see what I can do to hack in support to work around that problem. |
@crankyoldgit |
@crankyoldgit |
@hassbian-ABC Can you please supply more context with your feedback. I can't read your mind or see what you are doing. For instance: Are you saying the Led Toggle doesn't work via 1) the remote, 2) via the web interface, 3) via mqtt, 4) some other method? And how "doesn't (it) work"? e.g. It's out of phase/sync, nothing at all happens when you click it. The A/C doesn't respond at all? It beeps and does nothing?!? e.g. See/read the initial Issue template that you deleted when you reported the issue, and the Troubleshooting guide on the wiki. Especially the "more information" & "be verbose" parts. |
Try to address issues in #821 * Try to work around the deficiencies in the Coolix protocol where special messages don't have all the required state in them.
@hassbian-ABC Can you please download and try out the code for PR #825 and let me know how it goes for your initially reported issues? e.g. https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821 |
FYI, Beeping is responding. ;-) So, what happens when you go from "Coolix, Light: off" (send) -> "Coolix, Light: on" (send) -> "Coolix, Light: off" (send) etc And can you please capture and report the same sequence using |
@crankyoldgit |
@crankyoldgit |
Power: On, Mode: 0 (COOL), Fan: 5 (AUTO), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored LED:off Timestamp : 000527.838 Raw Timing[199]:
uint16_t rawData[199] = {4374, 4464, 482, 1700, 480, 602, 474, 1704, 478, 1704, uint64_t data = 0xB5F5A5; ................................................................................................... Timestamp : 000706.077 Raw Timing[199]:
uint16_t rawData[199] = {4378, 4462, 484, 1700, 480, 600, 476, 1704, 478, 1704, uint64_t data = 0xB5F5A5; |
@crankyoldgit |
@crankyoldgit |
@crankyoldgit |
* Coolix: Better `toCommon()` support. * Try to work around the deficiencies in the Coolix protocol where special messages don't have all the required state in them. Try to address issues in #821
Hey, I noticed this in your replies. Can you please check/show me the version info section from the "Info" menu/tab on IRMQTTServer? |
When I turn the LED to on/off through the web interface,Air conditioning beeps and does nothing,when via the remote turn the LED to on/off ,In the web interface,the LIGHT state is correct via the web interface, turn power to on,and turn swing(v)to on,A/C is correct,but when swing (v) is on,via the web interface,turn power to off,turn power to on again,A/C swing(v) is off, in the Web Interface,swing(v) is on |
I can control the LED through mosquitto_pub -h 10.0.0.4 -t ir_server/send -m ‘15, B5F5A5,24’ |
@hassbian-ABC I think I've found the problem. I really stuffed up the calling parameters for coolix in the common a/c stuff. (see b868135) Please download and try the code in branch: https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821 and let me know if that works any better? |
I downloaded and used https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821, |
Can you please give me the state of the "AirCon" page you are using? I'll use that to write up a test case to see what is going wrong now. |
* Add unit tests to confirm LED/light toggle message is being sent when it should be. Hopefully fixes #821
Thanks for the data. IF it doesn't work, can you please change the line here: from: I want to see what the required gap between messages is, and the smaller we can have the better. So, please download and try the code in branch https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821 again and let me know if that works any better? or if you need to change that value? or if it all is still not working. Fingers crossed. |
Thank you for your work, but I still can't control the turn-on and turn-off of LED/LIGHT through the web interface. i try to change the ir_Coolix.cpp#L90 to space(250000); / space(500000); /space(750000); and space(1000000); |
@hassbian-ABC Okay. I'm really confused. I am at a loss as to why it is not working for you. My testing indicates it should be working. This is what happens when after I load up the "AirCon" state per your screenshot in #821 (comment), and then change "Light" to "On" and click "update & send".
Which is exactly what I expect. i.e. An LED/Light toggle message, followed by a "normal" state setting message about 100ms later. Just to check/confirm some other stuff. How are you building the firmware? and uploading it? Can you please introduce a compile error into the code I was getting you to change earlier. If it fails, then you are probably using the correct copy of the library. Can you please try physically powering off the board etc to fully reset it. Does the board/program still control the A/C normally apart from the Light/led setting? |
@crankyoldgit |
So, what did you do that finally fixed it? So I can know if someone else encounters a similar issue?
Yes. That's unfortunately correct and expected behaviour. COOLIX protocol has a bunch of "special" codes it uses for some of the functions. e.g. LED/Light toggle, Turbo toggle, Sleep toggle etc. These special codes do not include the "normal" Temperature, operating mode, or fan speed settings etc. In order for e.g. Imagine you changed Swing from Off to On, AND changed mode from Heat to Cool, AND Protocol from "GREE" to "COOLIX" then pressed "Update & Send". The program has to make the sure it sends everything it knows to the a/c unit. |
I haven't changed anything to fix it. I found that the OTA upgrade was unsuccessful. |
Thank you again for your work. It's a great project. @crankyoldgit |
FYI, the code changes thus far have been included in the v2.6.4 release of the library. |
Thank you again for your work |
Midea -RN08ABG.txt
The text was updated successfully, but these errors were encountered: