-
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
Help Decoding HITACHI AC Remote #417
Comments
I suggest you use the AutoAnalyseRawData.sh program in the tools directory to try to decode it. e.g. based on your first chunk of data, it's a 224 bit (28 bytes) code, most likely: 0x80080C02FD807F8848802004008000000001000000000000800000AC (MSB first order) Use the the program above to decode each message, and you might be able to work out what bits do what. For sending the code, you'll want something like:
Per example above, your data would be:
|
* Add send and decode routines for Hitachi A/C protocol. * There is no interpretation of the message as yet. i.e. Just dumb decoding. * Unit tests for sendHitachiAC() and decodeHitachiAC() * Add needed changes to example & tool code. * Change new maximum state size to HITACHI_AC_STATE_LENGTH (28 bytes) [Note] Assuming that this is a 38kHz protocol. Can't test as I don't have a device. Ref: Issue #417
* Initial support of Hitachi A/C messages. * Add send and decode routines for Hitachi A/C protocol. * There is no interpretation of the message as yet. i.e. Just dumb decoding. * Unit tests for sendHitachiAC() and decodeHitachiAC() * Add needed changes to example & tool code. * Change new maximum state size to HITACHI_AC_STATE_LENGTH (28 bytes) [Note] Assuming that this is a 38kHz protocol. Can't test as I don't have a device. Ref: Issue #417
FYI Prelim support for Hitachi A/C has been added in the new v2.4.0 release |
@matkappert Have you had a chance to test the new changes? |
@crankyoldgit I have a Hitachi A/C , I'd test the changes tonight |
@darshkpatel That'd be awesome! Thanks. Looking forward to the feedback. |
Hey @crankyoldgit, ON - 32c cool (fan auto)
OFF - 32c cool (fan auto)
ON - 32c cool (fan silent mode)
ON - 16c cool (fan auto)
ON - 25c cool (fan auto)
|
@darshkpatel I think that's a different HITACHI protocol. Boy, these are huge! Analysing the "ON - 32c cool (fan auto)" signal (first one), I get:
That's 424 bits (53 bytes). Probably not all of it "real" data. i.e. lots of 0xFF and 0x00 etc. I'm happy to look at adding support for this protocol, but I don't think its the same as the newly added Hitachi one (which is 28 bytes/224 bits). I also checked to see if yours included a repeat. It doesn't appear to. 424 bits appears to be the correct length for this variant. |
For the record, it appears there are at least three different protocols used by Hitachi. The one we've coded, the one @darshkpatel has, and another "shorter" one reported by @DiggiD in #453 i.e. Three different sized codes. |
This should add basic support for another variant of Hitachi A/C protocol per @darshkpatel capture in #417 * Refactor Hitachi A/C protocol support to share more common code. * Unit tests for Hitachi 53 byte protocol. * Minor code style cleanup. * Relevant example code changes.
This should add basic support for another variant of Hitachi A/C protocol per @darshkpatel capture in #417 * Refactor Hitachi A/C protocol support to share more common code. * Unit tests for Hitachi 53 byte protocol. * Minor code style cleanup. * Relevant example code changes.
@darshkpatel Any update on this? If not, I think we should consider closing this issue for now. |
* Experimental IRHitachiAc class. Add deep support for the Hitachi 28-Byte A/C Protocol. Limited to basic functions. Unit tests Update IRrecvDumpV2 to reflect improvements. Note: We incorrectly (historically) have Hitachi as MSB First bit ordering, it's really in LSBF order. Due to legacy usage, we'll keep the sending routines and array data in MSBF and reverse bits as needed. Fixes #417 Fixes #453
Hitachi 28 Byte A/C Protocol is has been included in the v2.5.3 release. |
Hello all,
I've been playing around with the library trying to decode my Hitachi RAS-35THA6 remote but i'm not getting anywhere with it, any help at this point would be awesome!
Here's what I have as far:
Here's some raw data:
Remote: 'On' '16c' 'auto fan' 'cooling mode'
rawData[451] = {3318, 1720, 400, 1276, 400, 432, 398, 434, 398, 434, 400, 432, 398, 432, 398, 432, 398, 434, 398, 432, 398, 434, 400, 432, 398, 434, 398, 1278, 398, 434, 398, 434, 396, 434, 398, 434, 398, 432, 398, 434, 398, 432, 398, 1276, 426, 1252, 424, 408, 424, 406, 424, 408, 426, 406, 398, 432, 398, 434, 398, 432, 400, 432, 398, 1276, 426, 408, 424, 1252, 426, 1252, 424, 1250, 426, 1252, 428, 1250, 426, 1252, 424, 406, 426, 1248, 428, 1252, 426, 406, 426, 406, 424, 408, 400, 432, 400, 430, 400, 432, 400, 430, 400, 432, 400, 1276, 400, 1276, 402, 1276, 400, 1276, 400, 1276, 400, 1278, 400, 1276, 402, 1276, 402, 428, 402, 430, 400, 430, 402, 1276, 400, 430, 402, 430, 400, 432, 402, 428, 402, 1278, 400, 430, 402, 430, 402, 1276, 402, 428, 402, 430, 402, 430, 400, 1276, 402, 430, 402, 430, 402, 430, 402, 430, 402, 428, 402, 430, 404, 430, 402, 428, 402, 430, 402, 1276, 402, 430, 402, 428, 402, 430, 400, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 428, 402, 430, 402, 1274, 402, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 428, 402, 428, 402, 428, 404, 428, 404, 428, 402, 1276, 400, 430, 402, 430, 400, 432, 400, 456, 374, 432, 400, 456, 404, 428, 404, 426, 404, 428, 402, 428, 402, 430, 402, 430, 400, 432, 398, 434, 376, 454, 378, 454, 380, 452, 378, 452, 404, 428, 406, 424, 432, 398, 406, 426, 430, 402, 404, 428, 428, 402, 400, 430, 400, 432, 398, 434, 398, 432, 398, 434, 372, 460, 374, 434, 398, 432, 398, 434, 396, 434, 376, 456, 376, 456, 376, 456, 376, 1300, 378, 454, 378, 452, 378, 454, 378, 454, 378, 454, 378, 452, 378, 454, 400, 432, 402, 430, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 400, 430, 402, 430, 400, 432, 400, 430, 400, 432, 400, 430, 402, 430, 400, 432, 398, 432, 400, 430, 400, 432, 398, 432, 398, 434, 398, 432, 398, 432, 400, 434, 398, 432, 398, 432, 398, 434, 398, 434, 396, 434, 398, 434, 398, 432, 398, 434, 398, 432, 398, 456, 376, 454, 376, 436, 396, 454, 376, 454, 378, 454, 376, 454, 376, 456, 374, 458, 374, 1302, 374, 456, 374, 458, 374, 458, 376, 456, 374, 456, 374, 456, 374, 456, 376, 456, 376, 456, 374, 458, 374, 458, 374, 458, 372, 458, 372, 460, 374, 458, 372, 460, 372, 460, 372, 460, 370, 462, 372, 460, 372, 460, 370, 462, 370, 462, 356, 1320, 368, 464, 346, 1332, 356, 476, 368, 1310, 366, 1312, 366, 464, 366, 466, 366}; // UNKNOWN 3FFBF9FE813FC0
Remote: 'Off' '16c' 'auto fan' 'cooling mode'
rawData[451] = {3298, 1736, 382, 1296, 382, 428, 402, 430, 402, 430, 400, 430, 402, 428, 402, 430, 400, 430, 402, 430, 402, 428, 402, 430, 402, 430, 402, 1296, 382, 430, 402, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 430, 402, 1296, 382, 1294, 382, 430, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 404, 428, 402, 428, 402, 1296, 382, 428, 402, 1274, 404, 1294, 384, 1292, 384, 1294, 382, 1296, 382, 1296, 382, 430, 402, 1294, 382, 1294, 382, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 430, 402, 430, 400, 432, 400, 1296, 380, 1296, 382, 1294, 382, 1294, 382, 1296, 380, 1296, 382, 1294, 382, 1296, 382, 428, 404, 428, 402, 430, 402, 1296, 382, 430, 402, 428, 402, 430, 402, 430, 402, 1296, 382, 430, 400, 430, 402, 1294, 380, 430, 400, 430, 402, 430, 402, 428, 404, 1272, 402, 430, 402, 430, 402, 428, 404, 428, 402, 430, 402, 430, 402, 428, 402, 430, 404, 1272, 404, 428, 404, 426, 404, 428, 402, 428, 402, 430, 402, 428, 402, 430, 402, 428, 404, 428, 402, 430, 402, 1274, 404, 428, 404, 428, 402, 430, 402, 428, 402, 428, 404, 428, 404, 428, 402, 430, 404, 428, 402, 428, 402, 1274, 404, 426, 404, 428, 402, 430, 402, 428, 402, 428, 404, 428, 402, 428, 404, 428, 404, 428, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 402, 428, 404, 428, 402, 432, 402, 428, 402, 428, 402, 430, 402, 430, 402, 430, 402, 428, 404, 430, 402, 430, 402, 430, 402, 428, 404, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 402, 430, 400, 430, 402, 430, 402, 430, 402, 428, 404, 428, 404, 428, 404, 428, 402, 430, 404, 428, 402, 430, 402, 428, 404, 428, 404, 430, 400, 430, 402, 428, 402, 432, 400, 428, 402, 454, 376, 454, 378, 454, 378, 452, 378, 454, 404, 426, 380, 452, 378, 456, 402, 428, 404, 428, 380, 452, 380, 450, 380, 452, 380, 452, 380, 450, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 378, 452, 404, 428, 402, 428, 378, 454, 376, 456, 400, 430, 402, 430, 376, 454, 378, 454, 376, 456, 398, 434, 376, 456, 376, 458, 372, 1278, 398, 458, 374, 458, 372, 460, 376, 454, 372, 460, 352, 480, 352, 478, 376, 456, 352, 480, 352, 480, 352, 478, 376, 454, 356, 478, 378, 452, 380, 430, 402, 428, 404, 428, 404, 428, 406, 424, 434, 400, 430, 400, 434, 396, 436, 396, 434, 400, 434, 394, 436, 1240, 438, 396, 434, 1240, 436, 1238, 436, 396, 436, 1240, 436}; // UNKNOWN 3FFBF9FE813FC0
Remote: 'On' '32c' 'auto fan' 'cooling mode'
rawData[451] = {3320, 1714, 404, 1274, 404, 428, 404, 428, 402, 430, 402, 428, 402, 428, 402, 430, 402, 428, 402, 430, 402, 428, 402, 430, 404, 428, 402, 1276, 400, 428, 402, 430, 402, 428, 404, 430, 402, 428, 402, 430, 402, 430, 404, 1274, 402, 1272, 402, 430, 402, 428, 402, 430, 402, 428, 402, 430, 402, 430, 402, 428, 402, 430, 402, 1274, 402, 428, 404, 1272, 404, 1274, 404, 1274, 402, 1274, 402, 1274, 404, 1274, 402, 428, 402, 1276, 402, 1276, 402, 428, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 402, 428, 402, 430, 402, 1272, 404, 1274, 404, 1274, 402, 1276, 402, 1296, 380, 1274, 404, 1274, 402, 1274, 404, 428, 404, 428, 402, 430, 402, 1272, 404, 430, 404, 428, 402, 428, 404, 428, 402, 1274, 402, 430, 404, 428, 404, 1274, 402, 430, 402, 430, 402, 430, 404, 1272, 404, 428, 404, 428, 402, 430, 402, 430, 402, 428, 402, 428, 402, 430, 402, 428, 402, 430, 404, 1270, 406, 428, 402, 430, 402, 430, 402, 428, 402, 428, 404, 428, 402, 430, 402, 428, 402, 428, 404, 428, 404, 428, 404, 1276, 400, 428, 402, 428, 402, 430, 402, 428, 402, 428, 402, 428, 402, 432, 406, 422, 402, 430, 402, 1274, 402, 430, 402, 428, 404, 428, 402, 430, 402, 430, 402, 428, 404, 428, 402, 430, 402, 428, 404, 428, 402, 430, 402, 428, 404, 430, 404, 428, 402, 428, 404, 428, 404, 428, 402, 428, 404, 428, 402, 430, 402, 428, 402, 428, 402, 430, 402, 428, 404, 428, 402, 428, 402, 430, 402, 428, 404, 428, 402, 428, 402, 430, 404, 428, 404, 428, 404, 428, 402, 430, 404, 428, 402, 430, 402, 428, 404, 1296, 382, 428, 402, 428, 404, 428, 402, 430, 404, 428, 402, 428, 404, 428, 402, 430, 402, 430, 404, 428, 402, 430, 402, 430, 402, 452, 382, 428, 404, 428, 402, 450, 382, 450, 380, 450, 380, 430, 402, 450, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 450, 380, 452, 380, 450, 380, 452, 380, 452, 378, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 452, 380, 450, 380, 452, 380, 452, 380, 450, 404, 428, 404, 426, 380, 450, 380, 452, 380, 452, 380, 1272, 424, 432, 378, 454, 402, 428, 402, 430, 378, 454, 376, 454, 374, 456, 374, 458, 374, 456, 354, 478, 374, 458, 374, 456, 354, 478, 354, 478, 354, 478, 354, 478, 354, 478, 352, 478, 354, 478, 354, 478, 354, 476, 354, 478, 354, 478, 356, 1296, 382, 452, 380, 1294, 382, 452, 402, 1272, 406, 452, 380, 452, 382, 424, 406}; // UNKNOWN 3FFBF9FE813FC0
Remote: 'On' '32c' 'auto fan' 'heating mode'
rawData[451] = {3322, 1718, 400, 1278, 398, 432, 402, 430, 400, 430, 402, 430, 402, 430, 400, 432, 400, 432, 402, 430, 400, 430, 402, 430, 400, 430, 402, 1276, 402, 430, 400, 430, 402, 430, 402, 430, 402, 428, 402, 430, 400, 430, 402, 1278, 400, 1274, 402, 430, 400, 432, 400, 430, 402, 430, 402, 430, 400, 430, 400, 432, 402, 428, 402, 1276, 404, 428, 402, 1276, 402, 1274, 402, 1274, 404, 1272, 402, 1274, 402, 1274, 404, 430, 402, 1274, 402, 1274, 402, 430, 402, 430, 402, 430, 400, 430, 402, 430, 404, 428, 402, 430, 400, 430, 402, 1274, 402, 1276, 402, 1276, 402, 1276, 400, 1276, 402, 1272, 404, 1274, 402, 1272, 404, 430, 402, 430, 402, 430, 402, 1274, 404, 428, 402, 428, 404, 430, 402, 430, 402, 1274, 402, 430, 402, 430, 402, 1274, 402, 430, 402, 430, 402, 428, 404, 428, 402, 430, 402, 430, 402, 1272, 406, 430, 402, 428, 402, 430, 402, 430, 400, 1276, 400, 1276, 402, 430, 402, 430, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 430, 402, 430, 400, 430, 402, 1272, 404, 430, 400, 430, 402, 430, 402, 428, 404, 430, 400, 430, 402, 430, 402, 430, 402, 428, 402, 1276, 402, 428, 402, 1276, 402, 430, 402, 428, 402, 430, 402, 430, 402, 430, 402, 428, 402, 430, 402, 430, 402, 430, 402, 430, 402, 428, 402, 428, 404, 430, 402, 428, 402, 430, 402, 428, 402, 430, 402, 432, 402, 428, 402, 430, 402, 430, 402, 430, 400, 430, 400, 430, 402, 430, 402, 430, 402, 426, 404, 430, 402, 430, 400, 428, 404, 428, 404, 432, 398, 432, 400, 456, 376, 456, 376, 456, 376, 1276, 402, 454, 378, 456, 376, 454, 378, 454, 402, 430, 376, 454, 376, 456, 400, 430, 378, 454, 400, 432, 402, 430, 376, 454, 376, 456, 376, 454, 400, 432, 374, 458, 400, 430, 398, 434, 374, 456, 374, 456, 374, 458, 374, 458, 374, 456, 352, 482, 372, 460, 374, 458, 364, 468, 352, 480, 372, 460, 352, 480, 352, 480, 352, 480, 352, 480, 352, 454, 400, 432, 376, 480, 374, 456, 374, 456, 378, 430, 404, 452, 376, 430, 404, 428, 406, 426, 406, 426, 404, 426, 406, 428, 406, 426, 430, 400, 430, 1244, 408, 424, 434, 398, 432, 400, 406, 424, 432, 400, 406, 426, 430, 400, 432, 400, 432, 400, 430, 402, 428, 402, 404, 428, 404, 426, 406, 426, 406, 426, 404, 428, 428, 402, 404, 428, 404, 428, 402, 428, 404, 428, 402, 428, 404, 428, 404, 1274, 402, 1274, 404, 428, 400, 1276, 402, 430, 402, 430, 402, 430, 402, 430, 400}; // UNKNOWN 3FFBF9FE813FC0
The text was updated successfully, but these errors were encountered: