-
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
Return of the Big Hitachi AC (424 bit) #973
Comments
Yeah, poor ol' As it says: I'll make the obvious tweaks it needs and give you something (code) that should work soon. I'll look at tweaking |
* Add `sendHitachiAc424()` & `decodeHitachiAc424()` For #973
Hey @jamsinclair Can you please download and try out the code in this branch. It should probably work for you: https://github.com/crankyoldgit/IRremoteESP8266/tree/GunnaNeedABiggerBoat It looks like its very similar to I suspect there will be an overlap. |
Thanks a lot @crankyoldgit! Was about to say, please don't spend too much time.... too late. As always great branch name, will give it a try tonight! |
I think someone may have given me inspiration .. don't know who. :) |
Woo! Thanks, the commands are decoding A-OK 👌 with the dump example and your branch. Also confirming the remote states are sending fine with I'll have a play another day with configuring the state with the |
Excellent. Thanks for the confirmation. FYI, the I'll update the status of the new protocol to "stable" based on your report. |
* Reported as working with real devices. - #973 (comment)
Ah gotcha... not all smooth sailing 😅. Thanks for the help, I'll see where I get decoding further. Do you want to keep this open? Or shall I create a new one once I have further data? |
Not trying to hijack your ticket, really, but I'm getting a bit confused, starting to look into this subject. |
Honestly, I'd prefer the latter. It keeps things cleaner. I'll mark the PR to automatically close this issue when it's merged. When you create the new issue, just add a ref to this issue so people can see the history etc. |
@btbouwens How long is a piece of string? ;-) This library offers varying levels of support for 4 different variations thus far:
However, I suspect You've just alluded to 33 & 37 byte versions. So, maybe as many as 6? That number isn't too unusual. The library has documented & supports 6 variations of Panasonic A/C protocols (same signal, but different internal data breakdowns), while for Daikin we have 7 completely different signal lengths/structures/protocols thus far. |
Add a hack to handle when we might have a leader mark in addition to a header mark. For #973
As discussed in the spreadsheet, I'll record a few more commands and see if any other clues about the bit ordering. @crankyoldgit With your branch code in #975, is at as simple as toggling the |
Pretty much. The unit tests will break as the test data needs to be reversed too, but if you don't care about that, then it should be fine change those parameters to get LSB results. |
@jamsinclair FYI, https://github.com/crankyoldgit/IRremoteESP8266/wiki/Adding-support-for-a-new-AC-protocol#determining-the-bit-order-of-the-protocol may be of help. The clock or fan speed setting may also be a good value to see if it "increases" as expected too, when trying to work out bit ordering. |
I'm leaning towards this being LSB first. The On Timer and Fan speed seem to also correlate with expected increases... 🤔 |
Per #973 (comment) @jamsinclair indicates it looks like LSBF is a better suit than MSBF.
So mote it be! Branch updated to LSBF ordering for |
* Basic support for Hitachi 424 bit protocol. * Add `sendHitachiAc424()` & `decodeHitachiAc424()` * Reported as working with real devices. - #973 (comment) * Change to LSBF bit ordering. - Per #973 (comment) @jamsinclair indicates it looks like LSBF is a better suit than MSBF. Fixes #973
Add a hack to handle when we might have a leader mark in addition to a header mark. For #973
FYI, the changes mention above have been included in the v2.7.0 release of the library. |
Overview
As encountered in #417 (comment), I'm trying to decode my Hitachi AC which is sending a huge 424 bit remote state (Different to the previous two Hitachi protocols in this lib).
Hitachi Shirokumakun
AC Model: RAS-AJ25H
AC Remote Model: RAR-8P2
Manual (Japanese): https://kadenfan.hitachi.co.jp/support/raj/item/docs/ras_aj22h_a_tori.pdf
Output of raw data from IRrecvDumpV2.ino (if applicable)
I've dumped some initial variations of On/Off while toggling the temperature and started a WIP spreadsheet:
https://docs.google.com/spreadsheets/d/1TTRx7INyDlsJBn9UwebL2Q4Q0S0apq0DlKP6bfrVPQw/edit#gid=0
The analysis of raw data was pretty consistent with a little variation:
Unlike #417 I'm getting a wild header mark value 😬
Sending the raw data with your library works ✅
However sending data using the guessed protocol from analysis tool are not being registered 🙅♂
Before I start breaking down the bytes, thought I'd get some sanity checking and advice if you have the time?
The text was updated successfully, but these errors were encountered: