Actron Aircon / ESP32 Controller Help

While I wait for my post cooldown I should clarify that I have tried running the ESP32 from both panel locations as a substitute for a panel, and also tried it piggybacking off the AM24 panel (as it lives right now). Behaviour of the last 4 zones ‘flipping’ in HA seems the same in all 3 scenarios.

And here is the AM24 panel (upstairs).

Yep, that’s how it should be from what I understand.
In your led_proto2.h file in ESP code there should be a section doing publishing:

      cool->publish_state(ledProto.p[clsLedProto::COOL] != 0);
      auto_md->publish_state(ledProto.p[clsLedProto::AUTO] != 0);
      room5->publish_state(ledProto.p[clsLedProto::ROOM5] == 0);
      run->publish_state(ledProto.p[clsLedProto::RUN] != 0);
      room8->publish_state(ledProto.p[clsLedProto::ROOM8] == 0);
      room7->publish_state(ledProto.p[clsLedProto::ROOM7] == 0);
      room6->publish_state(ledProto.p[clsLedProto::ROOM6] == 0);
      timer->publish_state(ledProto.p[clsLedProto::TIMER] != 0);
      fan_cont->publish_state(ledProto.p[clsLedProto::FAN_CONT] != 0);
      fan_hi->publish_state(ledProto.p[clsLedProto::FAN_HI] != 0);
      fan_mid->publish_state(ledProto.p[clsLedProto::FAN_MID] != 0);
      fan_low->publish_state(ledProto.p[clsLedProto::FAN_LOW] != 0);
      room3->publish_state(ledProto.p[clsLedProto::ROOM3] != 0);
      room4->publish_state(ledProto.p[clsLedProto::ROOM4] != 0);
      room2->publish_state(ledProto.p[clsLedProto::ROOM2] != 0);
      heat->publish_state(ledProto.p[clsLedProto::HEAT] != 0);
      room1->publish_state(ledProto.p[clsLedProto::ROOM1] != 0);
      inside->publish_state(ledProto.p[clsLedProto::INSIDE] == 0);

Change “!=” to “==” for zones 5-8.

Hold down each button for long enough to get a stable voltage reading.

@everydayimhassling Thanks for the details.
I’ve just released a new version with updated code that flips those bits.
You might need to clear your cache when you rebuild in esphome but try without first as it will probably be faster

Thanks John, I have updated from your repo and the last 4 zones are correct in HA now. Much appreciated!

Hey John and @Breddo

Great progress on this. I too would love something a bit more professional and compact. Are you thinking of a custom PCB? If so, I’d certainly be interested also. If you were in Sydney I’d be happy to contribute to the cost of production on shipping.

Yep that did the trick, thank you!

@johnf
What a great thread and so much great work put in. I am fairly new to Home Assistant, but am going to jump in and give this a try :slight_smile:

I have ordered all the parts, just waiting for delivery before getting the soldering iron out.

Whilst waiting, I have installed the HACS package. One thing I did notice was a formatting error in the Actron Esphome card.

I have an 8-zone controller (5 zones active), and when configured for more than 4 zones, the zone buttons are not displayed correctly - they appear in the top half of the card.

Looks like it is an omission to define zones 5 through 8 in the src/styles.ts.

Need to add zones 5-8 in the .card-content layout and in the /* Zone Buttons */ section

Thanks again, really looking forward to getting this up and running

@NevilTh Thanks for the heads up. I’ve just deployed a new version and that should be fixed.