Files
IRremoteESP8266/examples/Web-AC-control
David Conran 4e6784f9bf v2.7.15 release (#1411)
##_v2.7.15 (20210213)_

**[BREAKING CHANGES]**
- Some Daikin2 constants have been changed. (#1393)

**[Features]**
- Experimental basic support for EcoClim 56 & 15 bit protocols. (#1397 #1410)
- MITSUBISHI_AC: Add support for enabling Weekly Timer. (#1403 #1404)
- Mitsubishi ACs: Improve handling swing/vane settings. (#1399 #1401)
- MITSUBISHI_AC: Add support for half degrees. (#1398 #1400)
- Add `irutils::addSwing[V|H]ToString()` and adjust some constants (#1365 #1393)
- SharpAc: Add support for model A903, and improve `IRac` fan & power control. (#1387 #1390)
- Experimental support for Milestag2 (#1360 #1380)

**[Misc]**
- Improve `IRac::sendAc()` documentation. (#1408 #1409)
- refactor ir_Transcold (#1407)
- refactor ir_Toshiba (#1395)
- Fix Travis-CI build issues. (#1396)
- refactor ir_Teco (#1392)
- Fujitsu A/C: Add warning/suggestions for AR-RAH1U devices (#1376 #1386)
- refactor ir_Technibel (#1385)
- Add the new logo and banner 🎉 (#1371 #1372)
- Update references to sbprojects website. (#1381 #1383)
- refactor ir_Tcl (#1379)
2021-02-13 20:12:36 +10:00
..
2021-02-13 20:12:36 +10:00
2019-09-04 23:40:31 +10:00

esp8266-AC-control

This is just a web interface for the IRremoteESP8266 library.

Web Gui Preview

Instructions:

  • Connect IR led to one GPIO pin (recommended pin is GPIO4)

  • Edit esp8266-AC-control.ino header marked as "User space". You will need to import the library dedicated for your AC model. Every library has its own commands for AC mode and fan speed that will need to be replace according to commands available in .h file of the library.

  • Flash the firmware in ESP board using 1M or 2M of SPIFFS storage.

  • Connect the board to your wifi network (look for "AC Remote Control" SSID and follow WiFi Manager wizard)

  • Upload web application files in SPIFFS storage using build in web form located at /file-upload path.

REST API:

Browser console will show the ajax calls to ESP8266 board. Running configuration can be displayed with GET request to /state path, any value can be changed with http PUT request to same path.

Ex:

➜  ~ curl 192.168.0.71/state
{"mode":2,"fan":0,"temp":27,"power":true}%
➜  ~ curl -X PUT -d '{"temp":22}' 192.168.0.71/state
{"temp":22}%
➜  ~ curl 192.168.0.71/state
{"mode":2,"fan":0,"temp":22,"power":true}%

DEBUG:

Use mobile phone camera to see if the led is sending any IR signals when buttons are pressed. This will show if the circuit was properly made and the selected GPIO pin is the correct one.

Credits:

Interface: https://github.com/ael-code/daikin-control