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

Init packet can differ between different units #212

Open
DavidKarlas opened this issue Jan 13, 2024 · 0 comments
Open

Init packet can differ between different units #212

DavidKarlas opened this issue Jan 13, 2024 · 0 comments

Comments

@DavidKarlas
Copy link

DavidKarlas commented Jan 13, 2024

I spent some time banging my head against the wall, before I figured this out, almost gave up... Tried with pullups, without, rechecked wires, changed boards.... :D
Turns out, not all CN105 are same as I though... They can have different connect packets...
This repo uses 0xfc, 0x5a, 0x01, 0x30, 0x02, 0xca, 0x01, 0xa8, but apparently my Ecodan ERST20C heat pump totally ignores this.
Luckily I tried also https://github.com/m000c400/Mitsubishi-CN105-Protocol-Decode which uses 0xfc, 0x5a, 0x02, 0x7a, 0x02, 0xca, 0x01, 0x5d and it worked... In code it actually has 5 different Init sequences defined https://github.com/m000c400/Mitsubishi-CN105-Protocol-Decode/blob/5d11f087dab622532904c4976a84d3dd5978772c/Ecodan.cpp#L27-L31 but only this one used...

Code in this repo already has retry logic on connect for 2 different baud rates, I suggest also trying different connect sequences.
There are 2 possible things after successful connection, if rest of protocol is different:

  1. Go forward with communication and all works
  2. Second option easier to implement for time being, "Throw exception" saying you should use different library for this heat pump.
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

1 participant