SwiCago / HeatPump

Arduino library to control Mitsubishi Heat Pumps via connector cn105
GNU General Public License v3.0
846 stars 232 forks source link

Process standy packet #185

Closed einstine909 closed 2 years ago

einstine909 commented 2 years ago

See comment below.

einstine909 commented 2 years ago

Sorry, I closed thinking that I was merging into master on my fork. Anyway, this pull is to process the standby (0x09) packet type. I am still testing this change, so this pull should probably be held open while I test.

For background: I have a minisplit system with multiple heads, and when one head is attempting to cool and another is trying to heat, the system locks up. I am exposing the data in the standby packet to aid in debugging the system, and possibly to allow for logic to prevent/recover from this lock up.

SwiCago commented 2 years ago

Resubmit your pull when it is ready and well tested. Not before. BTW, you cannot have two or more heads in different modes. It will wait indefinitely, until all are set to off and then you can switch modes. I have 6 units and that is how it works on mine, but I never have the lockout issue as they are never in different modes due to my custom automation software I use.