-
Notifications
You must be signed in to change notification settings - Fork 836
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
Request example for Midea generic minisplit #1338
Comments
So with the example you have been working with, what is not working? Take any example, https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/TurnOnToshibaAC/TurnOnToshibaAC.ino You can read the source, or the library documentation as mentioned in the readme, see https://crankyoldgit.github.io/IRremoteESP8266/doxygen/html/classIRMideaAC.html |
I am working on it some more today, and figuring out the documentation, and learning what I need to change, and what needs to be included... I will work with this example and see if I can get it compiled correctly. Thanks for the quick response. |
You can see someone else's example code here: #1318 (comment) It should give you an idea of how to use the |
I have it compiling right now, and I am watching the com port for output. but the Vtoggle does not seem to be setting I also can not get the printstate to work properly - it does not want to print the raw. I got an error on the ac.getRaw() I am sure it is a simple command to print the raw, but I not sure what it is. I did the following and I print out part of the raw - but it looks like it is missing the header and some other data. I will get my IR LED set up in a but to check the IR portion, but right now I am going to work on some of the rest of the code, and assume this works. I can submit my midea example once it is working. |
Please don't. We have far to many code examples for A/Cs as it is. We deliberately don't want one for every type of AC, as we'd have to maintain them, and check & compile them with every change to the library. This would be wasted time and resources. The examples at present are just a guide to how to do it.
I strongly suggest you skim-over/read https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Midea.h
Please see the FAQ on this topic: https://github.com/crankyoldgit/IRremoteESP8266/wiki/Frequently-Asked-Questions#I_want_to_change_the_example_code_to_make_it_do_something_different_but_I_dont_know_how_Please_help_me You're really asking programming questions that are beyond your current programming skill level. We don't have the resources to help you skill-up. You need to invest in that yourself. |
Understood, and thanks for all you put into this! |
Some AC uses different message to do this. Use dump example to get the correct command from original remote and then use that via |
I just downloaded your library this weekend, and I was able to properly decode my Pioneer (Midea) remote, but I am having difficulty understanding the class structure, and how to send the midea commands, and what portions to #include. When I look at some of the other examples, I can not easily see what needs to change.
for example, in your Mitsubishi example, you have ac.setFan;
ac.setMode(kMitsubishiACCool);
My AC does not work properly - it gets way warmer then the settings, so I want to program a wemos D1 mini to read the temp from a DHT11 sensor, and then send out the IR signal turn the system on or off to better control the temperature.
I will settle for having set on / off commands I capture from the remote, but I would like to be able to fully use the capability of your code, and change the settings from the wemos as my project grows.
Thank you
The text was updated successfully, but these errors were encountered: