-
Notifications
You must be signed in to change notification settings - Fork 27
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
Room temperature formula #8
Comments
Hi, |
Hi, For now, I have started from scratch. If you're interested, please take care of voltage, I have burned many components. Still many work :) |
If you want someone to test I have some NodeMCUs and an MHI AC, willing to test if you want to share your code. |
Thanks :) |
I have received wired remote and interface. I can now monitor CLK, MOSI and MISO correctly. |
niclet, did you managed to get any additional info about the protocol now that you have wired remote and interface? Which exactly remote do you have? |
riov, unfortunately, I had not enough time to work correctly on this project, but I will continue as soon as possible. |
niclet, unfortunately, you have bought an older wired remote control. It does not support many features like automatic fan speed, control of L/R louvers, hi-power mode and so on. |
Yes, I have a Saleae with 8 pins (official product). Do you analyse data between MHI and interface without remote or do you have another remote control? All help is welcome :) |
niclet, I intercept data between the AC unit and official WiFi module. |
Oh, OK. Do you have a link for the official WiFi module ? Seems I started in wrong direction with the wired remote. |
Or http://www.mitsubishi-electric.co.nz/heatpump/i/69744/wi-fi-interface |
I have this one, and it does support your AC. I am not sure if you will get much more extra insight in MHI's data protocol by purchasing it. Just as your current wired remote control, it does not support many features. The only hope is the latest wired remote control RC-EX3. |
Ok. For now, without Seleae, I already get binary data blocks like this: |
Based on the data you have provided, I can say the following about your AC: power is off, mode: Heat, fan speed is ULo, U/D vanes swing, setpoint temp is 21C, room temp is 23C. |
I extract same info from the binary data. |
I think I will have to use a hair dryer to create a matching table and try to extract a formula. |
Yes, I use the same formula and it looks to be working great in my case. If you can capture a data packet that is giving you a wrong temp, please provide it. |
niclet, do you have any updates? Have you managed to figure out what is wrong with your temp? |
I have used an hair dryer and got following data (byte 7 in hex = displayed temp = formula) So formula seems to be quite good. And while looking at the formula, I was thinking about the conversion between Celsius and Fahrenheit : If we consider T(°F) = byte7 / 2, it is nearly the formula. But I think it may have a link with F and C. By the way, the wired remote can't display temperature higher than 35°C even if temperature is higher. |
I will try to switch the wired remote in Fahrenheit to check values. |
Byte7 could also be the direct value of the temperature sensor maybe like a resistor. |
Some temperature samples with remote in Fahrenheit c0 = 92°F |
One thing I would like to point out is that you need to let the temperature rest before taking measurements. I was capturing continuous communication with Saleae for long time periods and I have noticed that quite often indoor temp was fluctuating by 0.25 degrees multiple times within one second. What I am trying to say is that it is possible RC-E5 does not update indoor temp value immediately. The best way to find out how exactly does RC-E5 convert byte 7 to temp would be to connect Arduino directly to it (its interface module) and make it a SPI master. That way you could feed predetermined data and see how it decodes it. By the way, are you sure your RC-E5 displays air temperature, not its own temperature? More info. |
For now, I already decode SPI myself with ESP32 and temperature change on the remote occurs really just after a change in the SPI data and remains stable for a while. But I have very few time to work on it unfortunately. |
Well, it looks like it is a dead end. I was hoping to find out more about this protocol than it is already known. Unfortunately, without having the latest wired remote control it is next to impossible to draw any conclusions about what is really happening apart from stating the obvious, like byte #12 is always If you find any spare time to build a prototype that allows you to send data directly to your RC-E5 please let us know. Not only it would interesting to see how exactly does room temperature map to byte # 7, but it would also be interesting to try out different values for bytes #12, #18 etc. Long data captures made with Saleae would also be helpful. |
Through the wired remote, we can configure many things, like for example : use the temperature sensor of the remote by adding 3° to it. There are many parameters. |
I have just restarted from scratch with a clean breadboard. |
Well, you need to try toggling unknown bits in MOSI and see how remote reacts to that. That's not complicated given that you have already managed to modify MOSI stream before. That will safe us a lot |
I have just received the RC-EX3. |
Great news. Please try if you can set automatic fan speed, L/R louvers' position, hi-power mode. That's very odd that you have not received a CD with software. I have looked all over the web, software is not available for download. More importantly, there is no place where you can fill out a request to provide you a download link. |
A quick test for fan speed, it deals with byte 4, as already discovered. 28 (1000) = fan speed 1 Regarding HiPower, More tests later :) |
I guess, softwares name can be "PC-Remote" or "*eco*-*touch* remote
control *utility software"* .
It appears like:
https://www.mhi-systems.ru/images/article/RC-EX1/rc-ex1-data.jpg
https://www.mhi-systems.ru/images/article/RC-EX1/rc-ex1-pc-remote.jpg
Russian source
https://www.mhi-systems.ru/index.php/documentations/stati/186-provodnoj-pult-rc-ex1
You can download software from:
https://www.mhi-systems.ru/uploads/newcat2017/apps/PC-RemoteSetup1_2.exe
пн, 18 нояб. 2019 г. в 18:09, niclet <[email protected]>:
… I have just received the RC-EX3.
No software provided for USB connection. The manual says it is available
on web site, but don't know which.
I'll try to take some time for some quick test tonight :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=ACXOLE4UVBYVHPXPMFZGF23QUK43JA5CNFSM4G3KLM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEK64XY#issuecomment-555085407>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXOLE3YBFK2GNSPWAI7WJTQUK43JANCNFSM4G3KLM4A>
.
|
one more link:
https://www.mhi-systems.ru/uploads/newcat2017/apps/RC-EX1_Utility_Software_Manual.pdf
пн, 18 нояб. 2019 г. в 18:09, niclet <[email protected]>:
… I have just received the RC-EX3.
No software provided for USB connection. The manual says it is available
on web site, but don't know which.
I'll try to take some time for some quick test tonight :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=ACXOLE4UVBYVHPXPMFZGF23QUK43JA5CNFSM4G3KLM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEK64XY#issuecomment-555085407>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXOLE3YBFK2GNSPWAI7WJTQUK43JANCNFSM4G3KLM4A>
.
|
@loki-amorf, thanks for the help. Is it compatible with the latest wired remote control (RC-EX3) and does it support all its new features? The title of that software says it is for RC-EX1. |
I could’t find exact software for the rc-ex3 model remote control, but you
can try this one, while you are searching native software. They look very
similar.
…On Wed, 20 Nov 2019 at 21:52, riov ***@***.***> wrote:
@loki-amorf <https://github.com/loki-amorf>, thanks for the help. Is it
compatible with the latest wired remote control (RC-EX3) and does it
support all its new features? The title of that software says it is for
RC-EX1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=ACXOLE6LZGLKZVPQINHHKI3QUWIOHA5CNFSM4G3KLM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEUJ6OA#issuecomment-556310328>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXOLEZX7QKFGNOQC6IJ5EDQUWIOHANCNFSM4G3KLM4A>
.
|
What is discovered up until now is this. It is the first two bits of 4th byte and the 6th bit of 9th byte. Can you please clarify? By the way, if I set fan speed to Auto with my remote control, I see no changes in CNS protocol. What about controlling position of L/R louvers? |
Quick update for tonight. Regarding L/R or U/L, I don't understand. It is not proposed on the remote, and according to the manual, it means the unit doesn't support it. But the "3D Auto" setting is available on the IR remote and turn on/off a LED on the unit when activated/deactivated. I don't have the "3D Auto" on the RC-EX3 because it is part of the same settings as L/R U/L. |
Actually I can change L/R and U/D with IR remote, the unit reacts accordingly, but nothing changes on the MOSI line. This is probably why the RC-EX3 doesn't show this setting. |
Yes, I know that MOSI line does not change when L/R direction is set with a remote control. The same happens if you set Fan speed to Auto. However, RC-EX3 allows you to set this mode. So, I was hopping it will allow you to control L/R louvers as well (its user manual says it has such capability). Is there anything extra you can do with RC-EX3 that you was not able with RC-E5? For example, can you select between five (not four) U/D directions. Can you enable/disable Silent mode? Is there anything else you can do? |
For now, I confirm that fan speed is set on bits 0,1,2 of byte 4, nothing changes on byte 9 in my case. In my case, the RC-EX3 doesn't allow me to change L/R or U/D, the manual says that the availability of the setting depends on the unit. This is strange, since my unit supports it with IR remote. Regarding HiPower and Eco, I feel that RC-EX3 only changes temperature and fan speed. Actually, it doesn't seem to really activate these modes on the unit (HiPower LED is not turned on and Run LED doesn't turn from GREEN to BLUE in ECO mode, contrary to activation of these modes with IR remote) For now, only the IR remote gives access to all settings. And I have not found any way to turn off BEEP when using it. It might be possible with some modification inside the unit itself. |
What about Silent mode? It is described on page 64 in the RC-EX3 user's manual. |
Silent mode is only available for external unit. Request is sent through MISO line, whose data already fluctuates all the time, I can't identify anything. |
RC-E5 has same behaviour as RC-EX3. U/D is available but not L/R (mistake from my side regarding RC-EX3 when I said U/D was not available), this is what we already knew: b3[6] b4[45] U/D position (1-4) is still valid when swing is ON in order to get previous position back when swing is turned OFF Regarding error codes, I don't want to modify internal connections of the unit, it could lead to unexpected behaviour and require intervention of the installer. And it won't help me to replace the IR remote (this is my own goal) |
Guys, |
What do you expect to find out from that log? What is important is CNS communication. If command is sent over the USB or XY lines, but it is not translated and sent over the CNS, how will it help us?
Yes it is. What software do you use to control your RC-EX3? Does it allow to control all the features that RC-EX3 offers? |
The question was a bit offtopic, but I'm working at home on my MHI A/C it has the CNS connector. |
I see, please provide the logs. I doubt it will help much, but just in case. @niclet, do you think there is anything else we can do to further investigate the protocol? Maybe you would be willing to lend me your RC-EX3 + interface module for a week or two? |
The error code is coded in DB4 (byte 7 of the MOSI frame). btw: I created a new Github repository. There is a ESP8266 software to control the AC and the documentation of the known frame bytes. |
@niclet can try modifying DB4 byte and see what error message is shown on RC-EX3 for each value. |
Due to update from niclet in the thread rjdekker/MHI2MQTT#8 (comment)
@PureDJ Did you have any trouble running the PC-Remote software? |
Actually yes, I tried everything on Windows 10 and 7 without luck... I had an old XP machine laying arround, used that one and it worked. |
Can you possibly share your findings, don't want to take over this git though so maybe best to start your own repository. Alternatively I am starting to collect my findings here (https://github.com/Meesen0743/MHI-RC-to-MQTT) |
Interesting stuff. I liked the hairdryer activity. I have a large 3-phase ducted MHI aircon, and looking forward to getting somewhere with it. I downloaded the entire MHI manual. The two boards approach by rjdekker looks pretty good. I was hoping that I emulate my hard-wired controller, and access all of the test data that it sees like the half a dozen thermistor temps etc etc. |
bit late to the thread.. i've been using this on my ex3 - rc-ex3-esp |
Hi,
Thanks for you excellent work.
I'm trying to make it work on ESP8266 directly.
But in my case, the room temperature seems to be not very accurate.
Do you remember why the formula was set to
//Calculate current room temperature in degrees Celsius from bitfield 7 using:
// (BF7 - 61) / 4 (note: Calibration of temperature needs to be checked further)
Is it estimated or is there any "reason" for this formula, especially the "- 61" ?
Or does it mean my aircon is not correctly calibrated ?
Best regards.
The text was updated successfully, but these errors were encountered: