JanM321 / esphome-lg-controller

Wired controller for LG HVAC units using ESPHome and ESP32
BSD Zero Clause License
107 stars 21 forks source link

ESP-IDF compatibility #59

Closed pinhao closed 5 months ago

pinhao commented 5 months ago

Slight changes to the code to make it compatible with ESP-IDF. The main advantage is to be able to use bluetooth proxy with BLE temperature sensors. I've been using framework esp-idf to compile the code for 7 LG AC units for a couple of months with no issues.

JanM321 commented 5 months ago

Thanks, this is great!

For checking the pin value, I've looked into using esphome::GPIOPin before. I'll see if we can use that so that we don't need to implement the low-level APIs ourselves.