-
Notifications
You must be signed in to change notification settings - Fork 834
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
Raw information #1707
Comments
You want to control an AC with RAW codes? Please read the FAQ why that is impractical at best. |
Not really i want to get the raw codes so i can convert them into the IR command that HAA can deal with. Since this repo doesn't support native homekit implementation im using HAA found here ( https://github.com/RavenSystem/esp-homekit-devices/wiki/HeaterCooler ) but since i figured some people did the work here already with the raw code it would be a waste of time to do that whole process again. |
This lib is free standing, you might want to poke homekit to use it or support it. Modes has several different protocols, if you follow the source, or search the issues history you can probably find the source for how they where reverse engineered. |
If you look in the |
Sorry for not being clear, i am a complete noob with these IR commands since its the first time working with them and trying to figure out how to get stuff done like i want them too. Im a little im over my head, but i hope with the help of you people i can get it working. Im looking for IR commands in this format:
As an example or any other way to get my Midea (Comfee) Mobile AC working in HomeKit, I choose HAA as mentioned earlier because im familiar with this firmware, but not with IR commands. |
That means that you will have one raw code for every combination. So lets say you want to have 18-30 degrees C, that is 12 different codes, you also want to have 3 different fan modes, now you are up to 12*3=36 different codes, now you want with swing on, and of so that is *2=72 different codes, and that is only the basic basic. You probably don't really want this. |
Usage: tools/code_to_raw --protocol PROTOCOL_NAME --code <hexidecimal> [--bits 1-424] [--timinginfo] e.g. ``` # Convert an A/C code to rawData[] & Timinginfo tool/code_to_raw --protocol KELVINATOR --code 0x190B8050000000E0190B8070000010F0 --timinginfo # Convert a Samsung TV code to rawData[]. tools/code_to_raw --protocol SAMSUNG --code 0xE0E09966 # Convert a Sony 12 bit message to rawData[]. tools/code_to_raw --protocol Sony --code 0xf50 --bits 12 ``` For #1707 For #1703
@maiiikell1995 Please try out the tool I've made it about as easy for someone as practically possible. |
* Add tool to convert protocol & code to raw timing info. Usage: tools/code_to_raw --protocol PROTOCOL_NAME --code <hexidecimal> [--bits 1-424] [--timinginfo] e.g. ``` # Convert an A/C code to rawData[] & Timinginfo tool/code_to_raw --protocol KELVINATOR --code 0x190B8050000000E0190B8070000010F0 --timinginfo # Convert a Samsung TV code to rawData[]. tools/code_to_raw --protocol SAMSUNG --code 0xE0E09966 # Convert a Sony 12 bit message to rawData[]. tools/code_to_raw --protocol Sony --code 0xf50 --bits 12 ``` * Add some tests for `code_to_raw`. * Update tools Makefile to be more dynamic For #1707 For #1703 Co-authored-by: Christian Nilsson <nikize@gmail.com>
Hi |
I think @maiiikell1995 is after Homekit, not Home Assistant. I think that is Apple's system. |
Thanks everybody for commenting and pointing me in the right direction! |
Good luck. Thanks for getting back to us. |
_v2.8.1 (20220101)_ **[Bug Fixes]** - Arduino ESP32 Core v2.0.2+ crashes due to our timer hack. (#1715 #1715) - SONY: Fix old Sony CD-Player Remote (12 Bit) (#1714) **[Features]** - Add tool to convert protocol & code to raw timing info. (#1708 #1707 #1703) - Add basic support for COOLIX48 protocol. (#1697 #1694) - MITSUBISHI_AC: Added support for i-SAVE mode. (#1666) - TOSHIBA_AC: Add Filter setting support. aka. Pure. (#1693 #1692) - Airton: Add detailed A/C support. (#1688 #1670) **[Misc]** - Add a structured library version number. (#1717) - Workflows Split UnitTests (#1712) - Reduce time for workflow/Build (#1709) - Fix some compiler & linter warnings (#1699 #1700) - Fujitsu: Update supported A/C models (#1690 #1689 #1702 #1701) - Remove extra `const` qualifier for char pointer (#1704) - TCL: Update supported devices. (#1698) - ESP32-C3: Work around for some C3 specific compiler issues. (#1696 #1695)
## _v2.8.1 (20220101)_ **[Bug Fixes]** - Arduino ESP32 Core v2.0.2+ crashes due to our timer hack. (#1715 #1713 ) - SONY: Fix old Sony CD-Player Remote (12 Bit) (#1714) **[Features]** - Add tool to convert protocol & code to raw timing info. (#1708 #1707 #1703) - Add basic support for COOLIX48 protocol. (#1697 #1694) - MITSUBISHI_AC: Added support for i-SAVE mode. (#1666) - TOSHIBA_AC: Add Filter setting support. aka. Pure. (#1693 #1692) - Airton: Add detailed A/C support. (#1688 #1670) **[Misc]** - Add a structured library version number. (#1717) - Workflows Split UnitTests (#1712) - Reduce time for workflow/Build (#1709) - Fix some compiler & linter warnings (#1699 #1700) - Fujitsu: Update supported A/C models (#1690 #1689 #1702 #1701) - Remove extra `const` qualifier for char pointer (#1704) - TCL: Update supported devices. (#1698) - ESP32-C3: Work around for some C3 specific compiler issues. (#1696 #1695)
FYI, the changes/tool mentioned above have now been included in the new v2.8.1 release of the library. |
Hi there,
Is there away to the raw code of the midea ac's?
Im looking everywhere but cant find them anywhere in the repository.
The readon im asking is I'm looking for a way go get my Comfee(midea) AC to working with homekit (which i know this repo doesnt support)
The text was updated successfully, but these errors were encountered: