Re:IR-Controlling New Air Conditioner in Server Room
by danhor on Sunday October 16, 2022 @06:05PM
(#33227562)
Most modern LG TVs work via a wireless connection to the remote, not IR
Re:IR-Controlling New Air Conditioner in Server Room
by midoridensha on Monday October 17, 2022 @03:51AM
(#33230822)
Probably most others too. My new TCL TV uses a Bluetooth remote.
Re:IR-Controlling New Air Conditioner in Server Room
by ridgered4 on Monday October 17, 2022 @07:35AM
(#33232170)
My 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.
Re:IR-Controlling New Air Conditioner in Server Room
by r2_pilot on Sunday October 16, 2022 @06:21PM
(#33227692)
I 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.
Re:IR-Controlling New Air Conditioner in Server Room
by Mister_Snuggles on Sunday October 16, 2022 @08:21PM
(#33228523)
Based 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.
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.