I’m configuring an ESP32 controller to send IR signals to my air conditioning units. Each signal sent contains a different signal for every setting on the unit which means there are 100s of different combinations.
I’m somewhat new to ESPHome but I’m hoping there is a way I can simply expose the 12 different settings to HA (temperature, fan speed, mode, swing, etc.) and then calculate the correct signal to send via the IR transmitter. I’m a developer and happy to write the code but need to know it is possible in the first place. My hope is to avoid having to expose 100s of entities to HA and then connect up every single one in order to point to the correct configuration entry on the ESP controller.
Interesting - thanks for that. It looks like I can then use global variables, lambdas and include a custom component to generate the correct IR signal. I’ll give it a go and report back if I can create something that might be useful for others.
What is model of Aircon you plan to control ? as ESPHome is already able to control quite a few different ones with bi-directional IR which allows you to get a real thermostat easily in HA
Thanks. Yes, after researching more I came across the built in supported options which covered most of what I needed and saved me a ton of work.
It was still good to investigate the other options available and just how flexible ESPHome can be.