AirCondServer turns an ESP8266/ESP32 into a local Wi-Fi to infrared bridge for Gree air conditioners. The included browser dashboard lets you power the unit on or off and set its mode and target temperature without a cloud account.
IRServer_AJAX.ino— Arduino firmware and HTTP endpoints.IR_Server_AJAX_page.html— responsive control dashboard.
- Install the Arduino libraries
IRremoteESP8266and the matching ESP board package. - Set
kSsidandkPasswordin the firmware, then flash the board. - Confirm the IR LED is connected to GPIO 4 (D2 on many ESP8266 boards) and that the device receives
192.168.1.232on your LAN. - Open the dashboard and update
ESP_ADDRESSnear the bottom of the HTML if your device uses another IP or hostname.
The firmware exposes GET /ir?code=... for raw Gree IR values and GET /ir2?temp=26&mode=heat for climate settings. Both return a small XML response used by the dashboard.
This is designed for a trusted local network. The HTTP API has no authentication, and the static IP must be available on your network. Never commit real Wi-Fi credentials to the repository.