-
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
Hitachi split AC Decode HELP! #453
Comments
Some suggestions off the top of my head.
|
Oh and for 4) you might want to tweak |
awesome!! thanks for all the suggestions @crankyoldgit watch this space.. |
on point number |
I really recommend capturing A/C remotes on an ESP8266 device using our IRrecvDumpV2 version. Oh, seriously, invest in a couple of Wemos D1 mini's (or similar) to do development work on. Far far easier. ;-) FYI, we have some tools to help decode these sorts of messages and generate example code etc:
|
understood. ON 23C COOL AUTO
OFF 23C COOL AUTO
at first glance looks pretty similar t :)) |
The last batch of data has a "bad" entry. Either noise, or a freq. modulation mismatch, or interference etc. |
having some issues with analysis
|
caught that as soon as i posted.... edited now :) |
Yeah, I need to fix the |
woot Success! result:
|
if i assume this line to be correct building on that some more: |
Cool. I started the re-write into Python for the script. It's mostly working. That should alleviate the sed issues in future and make it run on more than just unix. Yes, it's just an assumption of MSB order. Only a guess. Like all assumptions, it can make an ass out of you and me to quote the ol' gag. Don't trust it at all for determining if the data is LSB or MSB order. ;-) |
well, sending RAW timings via irsend works like a charm and the Aircon behaves as expected...so, |
"It depends" for the real irsend stuff on a per protocol basis. The example code the script pumps out is assuming you are feeding it data in MSB order (like it says) and it will send it in MSB order. That has nothing to do with the content of the data being in MSB or LSB order. As long as they are the same, it should be fine. It's just that the values in the data may make (more) sense in the other order. It is more than just what the script dumps out (as a guide) for adding it to the library, but its a good first approximation. |
i see... currently im working on transcribing all the raw/binary to hex, will post soon |
here we go: your warning looms large over this-- uuuggghhhh id rather not redo it all.... what do you think? |
hmm... even with LSB. @crankyoldgit were you able to have a look? |
The temp looks like it is LSB to me. Back to byte 7 (Bits 0-7): i.e. temp_on_remote - 7 = value of byte 7, bits 1-5 (in LSB first order) |
whoa!!! mindblown mate. Nice one!! is the checksum calculation needed before writing out the protocol for IRsend? |
No, and yes. However, if you are trying to synthetically construct a new message (i.e. not from a capture), you need to calculate the checksum in order to send a valid message. e.g. "Set the mode to cool, the temp to 27C, and fan to max, and turn on the device. Make it so!" |
trying to crank out a command with #40- hitachi
cant seem to find the @crankyoldgit can i trouble you till success? :p |
hey so,
is it truncating the entire code? using MQTT Lens subscribed to my send/sent topics i see /send |
hold that thought! |
I hear IR circuits can be useful. ;-) I'll code up some official support for it in the next day or so. Just to be sure, the only changes needed were HITACHI_AC_STATE_LENGTH and HITACHI_AC_HDR_SPACE, correct? |
Oh, the bits 0 thing in the example code means "use the default" bit size for the protocol. It's a hack. |
Hmm. Can you please log a separate issue for the fact that the serial output, and the "/sent" don't match the payload of the "/send'? ... That's a bug. |
heheh..
and according to
ill open a new issue for the /sent & /send payload mismatch on serial/MQTT output for this... thanks! |
HITACHI_AC1 is basically the same as HITACHI_AC except only 13 bytes long and a Header Space that is the same length as the Header Mark. Ref: #453
HITACHI_AC1 is basically the same as HITACHI_AC except only 13 bytes long and a Header Space that is the same length as the Header Mark. Ref: #453
FYI, this branch: https://github.com/markszabo/IRremoteESP8266/tree/hitachi1 should work for basic sending/decoding. i.e. No decoding what the hex code(s) mean etc. Just detecting the protocol etc. @DiggiD Note that it's now protocol number 41 for this variant/protocol for your MQTT setup. |
Oh, can you also let me know what the model numbers are of the Hitachi remote and the A/C unit are? |
its the "Hitachi Vi" series split AC - cant find any other model or serial numbers on the outside. the remote used is made by another Chinese company - Lytran- www.lytran.net the back of the remote PCB has the following : their website offers no help either. |
Thanks. Noted in the code. |
HITACHI_AC1 is basically the same as HITACHI_AC except only 13 bytes long and a Header Space that is the same length as the Header Mark. Ref: #453
* Add basic support for 13 & 53 byte Hitachi A/C protocol. HITACHI_AC1 is basically the same as HITACHI_AC except only 13 bytes long and a Header Space that is the same length as the Header Mark. Ref: #453
The basic support for 13 & 53 byte variants has been included in the latest official release of the library. (v2.4.1) |
@DiggiD Did you have any luck decoding the various settings from the Hitachi code at all? |
* 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. |
Hitachi 13 Byte "HITACHI_AC1" protocol can only decode signals but unable to encode data. its been a while and I can only control by cloning remote produced codes. |
@soumaxetuirk Please don't add to an existing CLOSED issue with a new request/problem etc. Open a new one. No one has done any reverse engineering of the |
Hi,
I need help decoding the IR codes for the Hitachi V1 series split AC's. i have been unable to find any hitachi decoder that can help.
the remote used is made by another Chinese company - Lytran- their website offers no help either.
so, i have been working to decipher them myself.
ive done a bit of the grunt work i.e cataloguing all the binary codes with button presses on the remote.
so far ive managed to find codes for some of the modes - on&off/cool/recycle/dry fan high/mid/low/auto - but i need all the help i can get with the actual protocol.
the ON/OFF raw codes are as follows:
ON 23C Cool Auto
OFF 23C Cool Auto
and table:
the full table is a numbers file which i cant upload here.. but ill share them if anyone needs the rest
thanks for your help
The text was updated successfully, but these errors were encountered: