absalom-muc / MHI-AC-Ctrl

Reads and writes data (e.g. power, mode, fan status etc.) from/to a Mitsubishi Heavy Industries (MHI) air conditioner (AC) via SPI controlled by MQTT
MIT License
269 stars 61 forks source link

MHI-AC-Ctrl in a multi-split configuration #48

Closed pdufrenne closed 3 years ago

pdufrenne commented 3 years ago

Hi, Great work you have done. I appreciate your effort for this project.

Question though: Has this solution even been deployed in a multi-split system (one outside unit with multiple inside convertors).

One convertor works fine. The moment I connect the second one, MQTT reports AC "connected = 0" and the MQTT broker is flooded with this connect message. Sometime "1" but most of the time "0".

Which part of the code is responsible for retransmitting the "connected" status?

Thanks,

Peter

absalom-muc commented 3 years ago

Hi Peter, I believe you are the first one using MHI-AC-Ctrl with a Multi-Split-System. In this code line it is checked if there is still a MQTT connection and - if needed - a reconnect is triggered. But I believe this information will not help you.

I assume you have one MHI-AC-Ctrl PCB per indoor unit, if this is correct have you used different HOSTNAMES for the different MHI-AC-Ctrl PCBs? If not then you have competing devices trying to establish a connection to the MQTT broker and I could comprehend the behaviour you describe. Good luck! absalom

pdufrenne commented 3 years ago

Hi Absalom,

It works now. Giving a unique HOSTNAME to every PCB did the trick.

Schermafbeelding 2020-10-16 om 16 42 19

The third one still needs to be installed so that one is not connected yet.

Thanks for the help and response.

BTW: The OTA functionality is really handy in this case!

Have a nice weekend, Peter

absalom-muc commented 3 years ago

Hi Peter, Thanks for your feedback - glad to hear that it works 👍