Skip to content

Commit 162769d

Browse files
authored
Merge pull request #1 from RobertJansen1/codegen_rework
Additional fixes, cleanups and docs!
2 parents dc99aff + 9881066 commit 162769d

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/ginkage)
22
[![paypal RobertJansen1](https://www.paypalobjects.com/en_GB/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=TL3SFZ4P6ZDHN)
33

4+
# How to get started
5+
6+
Create a new device within ESPHome builder and combine the yaml with one of the examples from the example directory, give your unit a name, configure OTA passwords and hotspot and add an api key and install!
7+
8+
external_sensor.yaml contains the basics to configure the room temperature using an external temperature sensor connected to Home Assistant.
9+
full.yaml contains all (20+!) of the metrics that are possibly in the unit and returns them.
10+
simple-energy-management.yaml contains the basics to get started with energy measuring (assuming a voltage of 230v to convert A to Wh)
11+
simple.yaml basic yaml to get started, contains climate and fan direction control
12+
413
# MHI-AC-Ctrl-ESPHome
514
This project is a simple integration of the amazing work [absalom-muc](https://github.com/absalom-muc) has done with his project [MHI-AC-Ctrl](https://github.com/absalom-muc/MHI-AC-Ctrl).\
615
It's supposed to simplify the [Home Assistant](https://www.home-assistant.io/) setup, while giving you OTA and auto-discovery with virtually zero effort and no MQTT needed, powered by [ESPHome](https://esphome.io/).\
716
MHI-AC-Ctrl-core.\* files were forked directly, with no modification, whereas your WiFi credentials should go into the \*.yaml file, and mhi_ac_ctrl.h is the core of the integration.\
8-
Create a new device within ESPHome and combine the yaml with example.yaml, rename example_ac and example-ac and install!
917

1018
# Fan Modes Up/Down Left/Right
1119
Most newer MHI units (the ones supporting the WF-RAC WiFi module) support fine grained vane control for Left/Right and Up/Down.
@@ -32,7 +40,7 @@ Has now 5 different fan modes but I'm not sure if the auto mode works proper, ke
3240

3341
**v4.0** (2025-04)
3442
- Compatibility with ESPHOME 2025.2+
35-
- Breaking change: the implementation is ported to the native ESPHome codeden
43+
- Breaking change: the implementation is ported to the native ESPHome codegen
3644
- The configuration file is significantly simplified
3745
- No need for custom code in the config file
3846
- Sensors are no longer positional

components/MhiAcCtrl/mhi_platform.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ void MhiPlatform::set_external_room_temperature_sensor(sensor::Sensor* sensor) {
3232
}
3333

3434
void MhiPlatform::loop() {
35-
3635
if (this->external_temperature_sensor_ != nullptr) {
3736
this->transfer_room_temperature(this->external_temperature_sensor_->state);
3837
this->room_temp_api_active_ = false;

0 commit comments

Comments
 (0)