Skip to content

LouisLee985/Homekit_ESP_AC_IRemote

Repository files navigation

Homekit_ESP_AC_IRemote

Release


  • When your ESP starts up, it sets it up in Station mode and tries to connect to a previously saved Access Point
  • if this is unsuccessful (or no previous network saved) it moves the ESP into Access Point mode and spins up a DNS and WebServer (default ip 192.168.4.1)
  • using any wifi enabled device with a browser (computer, phone, tablet) connect to the newly created Access Point
  • because of the Captive Portal and the DNS server you will either get a 'Join to network' type of popup or get any domain you try to access redirected to the configuration portal
  • choose one of the access points scanned, enter password, click save
  • ESP will try to connect. If successful, it relinquishes control back to your app. If not, reconnect to AP and reconfigure.
  • There are options to change this behavior or manually start the configportal and webportal independantly as well as run them in non blocking mode.

HomeKit setup

In your iOS device, open Home App and follow normal steps to add a new accessory.

  • Homekit Normal Code:

    985-21-985
    
  • Homekit QR-Code:


 

空调功能

  1. Apple Homekit App 空调功能:开机,关机,制冷,制热,风速,当前环境温湿度显示。
    基于 HomeKit Accessory Protocol Specification(Noncommercial Version) Release R2 ,有 此配件尚未经过认证可与Homekit配合使用, 因此部分功能可能不可用。 字样。
  2. 如果需要出门在外时远程控制 HomeKit 配件,请将 HomePod、HomePod mini、Apple TV 或 iPad 设置为家居中枢。
  3. 红外信号反馈:普通空调遥控器进行 开机,关机,制冷,制热,风速等 Apple Homekit 协议支持的动作时,Homekit App 会同步更新状态。



Button IO0 按键定义

  1. 长按 IO0 按键5-10S,LED 2/S 闪烁,松开按键, 空调遥控识别:15S 内普通空调遥控器对准此项目上的遥控接收头(IR_R)按一下开关机键,等待 LED 闪烁停止。IRremoteESP8266 库,支持市场上绝大多数空调品牌
  2. 长按 IO0 按键 10-15S,LED 2/S 闪烁,4/S 闪烁,松开按键,恢复设置:抹除 Homekit 配对信息,抹除 Wifi 连接信息,抹除空调遥控识别信息。

Thanks