3 ms·
I've got two portable air conditioners, an LG in a living space, and a "Comfee" (which is made by Midea) for my home office/server room. The Comfee was very ea
by Mister_Snuggles 4y ago
I've got two portable air conditioners, an LG in a living space, and a "Comfee" (which is made by Midea) for my home office/server room.
The Comfee was very easy to automate. I just grabbed an ESP32 board that I had handy, some parts out of my bins, and soldered up a working IR blaster. ESPHome provided all of the hard parts, Home Assistant provided the UI. It works brilliantly. I have the air conditioner on a smart outlet which gives me real-time power consumption information, from here it's easy to determine what the machine is doing. I also have a Xiaomi temperature/humidity/pressure sensor, which I can use to feed into automations to control the unit if I want to.
So far I've been unsuccessful at using an IR blaster to control the LG - ESPHome, out of the box, can't seem to control this unit. I haven't gone down the rabbit hole of capturing IR codes, but that's the next step once I get the appropriate parts.
- danhor 4y agoMost modern LG TVs work via a wireless connection to the remote, not IR
- midoridensha 4y agoProbably most others too. My new TCL TV uses a Bluetooth remote.
- ridgered4 4y agoMy LG TV actually had support for control by serial communication, provided I plugged in a USB to serial converter. It allowed me to move volume control to my HTPC and largely dump the remote. I kind of doubt an air conditioner has the same feature though.
- r2_pilot 4y agoI too have an LG. I tried to control it with a Flipper Zero but it didn't respond well. I figure the codes are more of a state machine rather than simply replaying them. I didn't pursue it further though.
- Mister_Snuggles 4y agoBased on the behaviour of the remote and the AC unit, it works just like the Comfee unit where the remote sends the whole state (mode, temperature setpoint, fan speed) to the AC unit. The remote has a display on it showing the mode, fan speed, temperature, etc. That doesn't tell me anything about how the actual protocol works though. I still need to buy an IR receiver and start decoding the protocol.