MHI-AC-Ctrl icon indicating copy to clipboard operation
MHI-AC-Ctrl copied to clipboard

3d auto and vanes l/r seems possible over CNS

Open sauermouth opened this issue 3 years ago • 29 comments

MHI has a (new?) WiFi module called WF-RAC. This module is connected to the CNS port of the airco. Then you can use the 'Smart M-air' app to control your airco. I've read a confirmation that 3D auto and vanes left/right is supported by the app and also works. I don't know if the app has more extra features.

I see some sites advertising the module should work with models SRKxxZS(X), SRKxxZR, SRRxxZS and SRFxxZSX.

The app has a demo, maybe it can be used to decompile the SPI commando's?

sauermouth avatar Jan 23 '22 21:01 sauermouth

Hi, I'm afraid app will only send WiFi instructions to the WF-RAC, SPI signal will be only between the WF-RAC and the airco But I like the idea of an external WiFi item, I intend to use a Wio Terminal beside the airco to be able to control it manually and remotely. This is just an idea for now

niclet avatar Jan 24 '22 05:01 niclet

MHI has a (new?) WiFi module called WF-RAC. This module is connected to the CNS port of the airco. Then you can use the 'Smart M-air' app to control your airco. I've read a confirmation that 3D auto and vanes left/right is supported by the app and also works. I don't know if the app has more extra features.

I've read here (German) contrary information, no support of 3D auto and vanes left/right

absalom-muc avatar Jan 24 '22 06:01 absalom-muc

That is the old module. The new module is a wired module. Here's is a manual: https://www.mhi-mth.co.jp/en/products/pdf/rkz012a105a_english.pdf

They can be bought in The Netherlands: https://www.coolmark.nl/nl/artnr/7140199

@niclet You are correct that the SPI commands will (probably) not be in the app, but in the module. But I believe absalom-muc and another user were investigating tapping into the signals between the wifi-module and the CNS-port.

sauermouth avatar Jan 24 '22 08:01 sauermouth

Here are a few screenshots of the app, with buttons for 3D Auto and vanes L/R. I also see support for fan speed 'AUTO'. That would be really nice! I would like to be able to slow down the fan speed on dinner times and revert it back to 'auto' after dinner. I also see inputs for creating a week schedule: https://gathering.tweakers.net/forum/list_message/70335624#70335624

The same user confirms on that forum the buttons really work.

sauermouth avatar Jan 24 '22 08:01 sauermouth

o.k. I see, thank you. That is the first time that I see that a wired module supports these commands. Then it should be not too complicated to snif the related SPI commands with the MHI-AC-Ctrl PCB and the SW here.

absalom-muc avatar Jan 24 '22 10:01 absalom-muc

Any updates on this ?? would be nice feature to have

picanl avatar Apr 28 '22 13:04 picanl

Any updates on this ?? would be nice feature to have

I'm also waiting. Also in cassette individual flap control for 4 flaps also possible thru wired controller... Need to find how to .. Power/econo Self clean Silent (outdoor) Auto fan

Left right vanes (7 ways and swing) Up down (5 ways and swing) - currently only 4 in mhi 3d auto

kARTechnology avatar May 04 '22 17:05 kARTechnology

You need a wired remote control supporting the interesting modes (i.e. the new WF-RAC mentioned above), where you can snif the SPI communication to implement it in MHI-AC-Ctrl.

absalom-muc avatar May 16 '22 18:05 absalom-muc

You need a wired remote control supporting the interesting modes (i.e. the new WF-RAC mentioned above), where you can snif the SPI communication to implement it in MHI-AC-Ctrl.

Regarding self clean, it is actually a mode like fan/cool/heat. As i told before the ac didn't respond to on/off from mqtt once it is in self clean by remote. Today i tried to change mode from mqtt when it is in self clean more and the ac responded as usual.

So it is concerned with the mode bits and not the power bits.

My other ac didn't have cns support and i installed ir-esp8266 control for it. And even in that, self clean, 3d auto, turbo, econo are supported fully, turbo, econo are also connected to the fan bits.

Is there a way for me to experiment by sending possible combinations of mode bits(cool dry auto) to find self clean? Also fan bits for turbo and econo.

Silent mode in remote Is limiting compressor to 40%. With which im able to run ac all day long with reduced power, but higher efficiency (cop is high for partial load as per spec)

kARTechnology avatar Jun 15 '22 01:06 kARTechnology

As you can see in the frame summary many bits of the frame are used by known functions (green), for some others (grey & white) I'm not aware if they are used or which function they have. Of course you could test different combinations - but as usual on your own risk. But maybe it is easier to record the MOSI frame and check what happens when self clean is activated. Maybe so far unknown frame bits are used.

absalom-muc avatar Jun 15 '22 20:06 absalom-muc

I had previously mosi bits, you were unable to find any changes in it..

On Thu, 16 Jun, 2022, 1:48 am absalom-muc, @.***> wrote:

As you can see in the frame summary https://github.com/absalom-muc/MHI-AC-Trace/blob/main/SPI.md#summary many bits of the frame are used by known functions (green), for some others (grey & white) I'm not aware if they are used or which function they have. Of course you could test different combinations - but as usual on your own risk. But maybe it is easier to record the MOSI frame and check what happens when self clean is activated. Maybe so far unknown frame bits are used.

— Reply to this email directly, view it on GitHub https://github.com/absalom-muc/MHI-AC-Ctrl/issues/77#issuecomment-1156891021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6ODFK3YAPM3FW5MB2JLW3VPI3CFANCNFSM5MT3PNNQ . You are receiving this because you commented.Message ID: @.***>

kARTechnology avatar Jun 16 '22 03:06 kARTechnology

Could somebody describe what is the difficulty to press interesting mode and snif it on SPI?

KostyaSha avatar Jun 28 '22 21:06 KostyaSha

As i see on screenshots AM-MHI-01 has auto fan button and left-right setting, isn't it?

KostyaSha avatar Jun 28 '22 21:06 KostyaSha

Could somebody describe what is the difficulty to press interesting mode and snif it on SPI?

No difficulty, you need only someone who has the wired remote control supporting the interesting cases and is willing to check it.

As i see on screenshots AM-MHI-01 has auto fan button and left-right setting, isn't it?

Not sure which sreenshots you mean

absalom-muc avatar Jun 29 '22 05:06 absalom-muc

He meant the mobile app i guess for the wifi remote control given by mhi

On Wed, 29 Jun, 2022, 11:15 am absalom-muc, @.***> wrote:

Could somebody describe what is the difficulty to press interesting mode and snif it on SPI?

No difficulty, you need only someone who has the wired remote control supporting the interesting cases and is willing to check it.

As i see on screenshots AM-MHI-01 has auto fan button and left-right setting, isn't it?

Not sure which sreenshots you mean

— Reply to this email directly, view it on GitHub https://github.com/absalom-muc/MHI-AC-Ctrl/issues/77#issuecomment-1169558304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6ODFIF4VEJJBGKWMKRUGLVRPPIVANCNFSM5MT3PNNQ . You are receiving this because you commented.Message ID: @.***>

kARTechnology avatar Jun 29 '22 05:06 kARTechnology

@absalom-muc If I can get my hands on a MHI WF-RAC, are you willing to implement the new features like 3D auto and Vanes if I provide you with the needed information? If yes, what do I need to build / flash in order to give you the needed information?

DYLaKo avatar Jul 20 '22 09:07 DYLaKo

@absalom-muc is it possible to sniff and log communication? I think we can then send single commands and verify how a/c reacts to them (i can join with testing soon (waiting d1 mini from post)).

KostyaSha avatar Jul 20 '22 12:07 KostyaSha

We actually need a mqqt command which we can use to send raw command to ac... If possible

On Wed, 20 Jul, 2022, 5:47 pm Kanstantsin Shautsou, < @.***> wrote:

@absalom-muc https://github.com/absalom-muc is it possible to sniff and log communication? I think we can then send single commands and verify how a/c reacts to them (i can join with testing soon (waiting d1 mini from post)).

— Reply to this email directly, view it on GitHub https://github.com/absalom-muc/MHI-AC-Ctrl/issues/77#issuecomment-1190208158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6ODFKKNDNCIWYGXMADJQLVU7U43ANCNFSM5MT3PNNQ . You are receiving this because you commented.Message ID: @.***>

kARTechnology avatar Jul 20 '22 12:07 kARTechnology

@absalom-muc If I can get my hands on a MHI WF-RAC, are you willing to implement the new features like 3D auto and Vanes if I provide you with the needed information? If yes, what do I need to build / flash in order to give you the needed information?

yes, please check MHI-AC-Trace

absalom-muc avatar Jul 21 '22 20:07 absalom-muc

@absalom-muc If I can get my hands on a MHI WF-RAC, are you willing to implement the new features like 3D auto and Vanes if I provide you with the needed information? If yes, what do I need to build / flash in order to give you the needed information?

yes, please check MHI-AC-Trace

Ok, I might be able to get one. Not quite sure yet how to connect it, both the MHI-AC-Ctrl and the original controller need to be connected parallel? You mention the old version of the board, is there any image to explain it?

DYLaKo avatar Jul 21 '22 21:07 DYLaKo

Conncetion has to be parallel according to the diagram (just added) here.

absalom-muc avatar Jul 22 '22 21:07 absalom-muc

Just for information, I'm seeing a lot of development on the HomeAssistant forums with this new module - they seem to have decoded stuff. I placed a request to help out here... https://community.home-assistant.io/t/mitsubishi-wifi-module-wf-rac-smart-m-air/411025/76

Aesculapius avatar Aug 06 '22 13:08 Aesculapius

Would be great if someone with the new module could sniff out the unknowns. If someone has the new WiFi module and is able to send it to me (Netherlands), I am willing to take a stab at sniffing the SPI communication. I promise to send it back afterwards. :-)

arpiecodes avatar Oct 09 '22 19:10 arpiecodes

Would be great if someone with the new module could sniff out the unknowns. If someone has the new WiFi module and is able to send it to me (Netherlands), I am willing to take a stab at sniffing the SPI communication. I promise to send it back afterwards. :-)

I have one, managed to get my hands on one this summer but haven't found the time yet to sniff the commands. Maybe we can work something out with the module. How can i contact you?

DYLaKo avatar Oct 09 '22 19:10 DYLaKo

Would be great if someone with the new module could sniff out the unknowns. If someone has the new WiFi module and is able to send it to me (Netherlands), I am willing to take a stab at sniffing the SPI communication. I promise to send it back afterwards. :-)

I have one, managed to get my hands on one this summer but haven't found the time yet to sniff the commands. Maybe we can work something out with the module. How can i contact you?

Sounds good! You can contact me via redacted.

arpiecodes avatar Oct 09 '22 19:10 arpiecodes

Would be great if someone with the new module could sniff out the unknowns. If someone has the new WiFi module and is able to send it to me (Netherlands), I am willing to take a stab at sniffing the SPI communication. I promise to send it back afterwards. :-)

I have one, managed to get my hands on one this summer but haven't found the time yet to sniff the commands. Maybe we can work something out with the module. How can i contact you?

Sounds good! You can contact me via redacted.

Mail sent. :)

DYLaKo avatar Oct 09 '22 19:10 DYLaKo

I can be the tester

On Wed, 20 Jul, 2022, 2:49 pm DYLaKo, @.***> wrote:

@absalom-muc https://github.com/absalom-muc If I can get my hands on a MHI WF-RAC, are you willing to implement the new features like 3D auto and Vanes if I provide you with the needed information? If yes, what do I need to build / flash in order to give you the needed information?

— Reply to this email directly, view it on GitHub https://github.com/absalom-muc/MHI-AC-Ctrl/issues/77#issuecomment-1190035270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6ODFJHTQG3S2NRSV44WWTVU7ABHANCNFSM5MT3PNNQ . You are receiving this because you commented.Message ID: @.***>

kARTechnology avatar Oct 11 '22 08:10 kARTechnology

@kARTechnology I guess the more the merrier. DYLaKo is also lending his WF-RAC to me so I can do some SPI sniffing as well. If you'd do the same at least we have a very broad data set to reverse engineer upon. :-)

arpiecodes avatar Oct 11 '22 08:10 arpiecodes

Sure. i would be available after few days for testing

Pls check the outdoor silent option, which actually caps the compressor power to max 40% irrespective of set temperature. Though The room will take longer time to cool the efficiency is higher

On Tue, 11 Oct, 2022, 2:04 pm Jorrit Pouw, @.***> wrote:

@kARTechnology https://github.com/kARTechnology I guess the more the merrier. DYLaKo is also lending his WF-RAC to me so I can do some SPI sniffing as well. If you'd do the same at least we have a very broad data set to reverse engineer upon. :-)

— Reply to this email directly, view it on GitHub https://github.com/absalom-muc/MHI-AC-Ctrl/issues/77#issuecomment-1274310788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6ODFLAPROJRBB5TOGWBETWCURBTANCNFSM5MT3PNNQ . You are receiving this because you were mentioned.Message ID: @.***>

kARTechnology avatar Oct 11 '22 08:10 kARTechnology

@absalom-muc So @DYLaKo has sent his MHI official WiFi remote to me to do some SPI Spy'ing for you. I've also bought some JST-XH connectors so I can hook it up with a MHI-AC-Spy in between without cutting up any cables. If I understand correctly, I can simply hook both the official WiFi remote and the MHI-AC-Ctrl loaded with MHI-AC-Trace software up in parallel by soldering two JST-XH 5p female connectors to a JST-XH 5p male connector?

Also, could you give me some instructions what would help best for your/our investigations while recording SPI traffic? Your documentation is pretty thorough so I could probably figure some things out myself, but it'll probably go faster with an extra pair of (trained) eyes.

Some extra details; I have a SRK 50ZS-W and a SRK 25ZS-W.

arpiecodes avatar Nov 08 '22 20:11 arpiecodes