Skip to content
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

Tested with Mitsubishi lines #26

Open
gouldner opened this issue Aug 20, 2018 · 27 comments
Open

Tested with Mitsubishi lines #26

gouldner opened this issue Aug 20, 2018 · 27 comments

Comments

@gouldner
Copy link

This code works with MSZ-FE12NA.
Not working with MSY-D36NA which is weird because I have MSZ-GE and MSZ-FE and MSY-D remotes and they all work on each other.

I wonder why a MSZ-GE remote works with my MSY-D36NA but this code doesn't?

@bt4wang
Copy link
Contributor

bt4wang commented Sep 21, 2018

If you can dump these three remotes' IR raw code, may be i could try to figure out why.

@gouldner
Copy link
Author

@bt4wang I would be happy to. I have a Raspberry Pi with a IR receiver on it. I don't have a copy of AnalysisIR yet. If I purchase is it a relatively easy process to dump the raw codes?

@bt4wang
Copy link
Contributor

bt4wang commented Sep 23, 2018

you don‘t need a paid version of AnalysIR, a free sketch for arduino is available here: https://www.analysir.com/blog/2014/03/19/air-conditioners-problems-recording-long-infrared-remote-control-signals-arduino/.

you need an arduino board and an ir receiver to run this sketch, or may be you can mod this sketch and run it on rasp pi platform.

@gouldner
Copy link
Author

Thanks, I'll look into it and try to get the raw codes.

@Ericmas001
Copy link
Contributor

I think we just found out in #2. MSY has a special second burst that includes a byte change. So "twin" packets are not 100% identical

@gouldner
Copy link
Author

gouldner commented Jan 1, 2019

That sound promising. Is there a fix for this that I can test?

@gouldner
Copy link
Author

gouldner commented Jan 6, 2019

OK I tried the suggestion in #2 but it doesn't work.
I altered the file you suggested and I also altered mitsubishi.py in HVAC-IR-Control/python/hvac_ircontrol since I am using the Flash Web approach on a raspberry pi from #20

I altered line 229 from
data = [0x23, 0xCB, 0x26, 0x01, 0x00, 0x20,
0x08, 0x06, 0x30, 0x45, 0x67, 0x00,
0x00, 0x00, 0x10, 0x00, 0x00, 0x1F]
to
data = [0x23, 0xCB, 0x26, 0x01, 0x00, 0x20,
0x08, 0x06, 0x30, 0x45, 0x67, 0x00,
0x00, 0x00, 0x20, 0x00, 0x00, 0x1F]

That still works on MSZ-FE12NA still Not working with MSY-D36NA.
NOTE: since byte 14 was 0x10 in this file and not 0x00 like in the other code I also tried 0x30 but this doesn't work either.

If I am using the python code did I make the correct change?

@bt4wang
Copy link
Contributor

bt4wang commented Feb 14, 2019

It will help a lot if you can get an IR dump of MSY-D36NA's remote controller.

@Klinenator
Copy link

I have a mitsubishi MSZ-FH12NA it looks like maybe different codes than FE12NA

I can grab the raw codes from lirc how can i decode them so i can use them with this?

@bt4wang
Copy link
Contributor

bt4wang commented Sep 2, 2020 via email

@Klinenator
Copy link

Klinenator commented Sep 2, 2020 via email

@bt4wang
Copy link
Contributor

bt4wang commented Sep 2, 2020 via email

@Klinenator
Copy link

Klinenator commented Sep 2, 2020 via email

@gouldner
Copy link
Author

gouldner commented Sep 2, 2020

That would be great! I have purchased some IR hardware and the AnalysIR software but never got around to figuring out how to hook it all up and scan the remote. I would love to be able to control this AC. I have 5 Mitsubishi split AC and this is the only one I can't control with this software.

@Klinenator
Copy link

You have a default of

0x23, 0xCB, 0x26, 0x01, 0x00, 0x20,
0x08, 0x06, 0x30, 0x45, 0x67, 0x00,
0x00, 0x00, 0x10, 0x00, 0x00, 0x1F

I believe for the MSZ-FH12NA it is
0xC4, 0xD3, 0x64, 0x80, 0x00, 0x04,
0x1A, 0x50, 0x60, 0x02, 0x00, 0x00,
0x00, 0x00, 0x0B, 0x40, 0x00, 0xFF

When i pressed temp up 0x50 in spot 9 changed to 0x5B

@Klinenator
Copy link

Sorry i think those are for changing the temperature, disregard that

@gouldner
Copy link
Author

gouldner commented Sep 3, 2020

Mitsubishi split ac system remotes send all settings on any change. So temp change, set cool, set hot, fan speed, etc all send all settings.

You can verify this by doing the following. Point the remote away from AC or move to another room. Change several settings on the remote, things you can notice happening like change fan speed from 1 to 3, change vent from down to up etc. Now return to the AC and press temp change. Notice that the AC changes fan speed, vent direction etc with just the press of the temp change.

@Klinenator
Copy link

Klinenator commented Sep 3, 2020 via email

@gouldner
Copy link
Author

gouldner commented Sep 3, 2020

Is temp77-80 showing enough of a pattern to do any temp?

Does it look like you can map the current logic to the codes you are finding? I have tried changing the code somewhat but my attempts have always failed. I was just using a standard unix irc to read and it wasn't giving me meaningful output.

I then purchased some raspberry ir boards and the Analysis IR software but never got around to learning how to use it correctly. I will be thrilled if you and bt4wang can modify this base to get it working! If not I have to use all the stuff I bought to get it done :)

@Klinenator
Copy link

Klinenator commented Sep 3, 2020 via email

@bt4wang
Copy link
Contributor

bt4wang commented Sep 3, 2020 via email

@Klinenator
Copy link

These are the 16th and 17th bytes for temperature going from 75-81 any help in figuring out the ryhme or reason to this would be nice

00000000 01000000-75

00000000 01010000-76

00010000 01010000-77

00010000 01000000-78

00000100 01000000-79

00000100 01010000-80

01000000 00000101-81

@bt4wang
Copy link
Contributor

bt4wang commented Sep 4, 2020 via email

@Klinenator
Copy link

@bt4wang
Copy link
Contributor

bt4wang commented Sep 4, 2020 via email

@Klinenator
Copy link

Klinenator commented Sep 4, 2020 via email

@bt4wang
Copy link
Contributor

bt4wang commented Sep 4, 2020

No but I can

On Sep 4, 2020, at 1:24 AM, bt4wang @.> wrote:  Have you tried to dump raw code for mode change (heat/cool/auto/dry) and fan speed change? Klinenator @.> 于 2020年9月4日周五 13:16写道: > https://pastebin.com/aJ91Y6D0 > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#26 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ACR4R2JFKZ4UNMPGIIV6AELSEBZ25ANCNFSM4FQTP2PQ > . > — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

I'm afriad that you have your raw code miss converted. Your machine use BYTE7(0 based, aka BYTE0,...,BYTE17) to set temperature. I've done an ugly transform from BYTE7 to temperature, but I think there should be an pretty way to do that. I'm not from the US so I‘m not familiar with Fahrenheit, maybe someone else can improve this. Please see the attached pdf document for more details.

You could grab more raw code if you want. Then I may help to figure out other defines, such as mode/fan/vanne/timer.

IR CODE.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants