LASER-Yi / homebridge-mi-acpartner

XiaoMi AC Partner plugins for HomeBridge(https://github.com/nfarina/homebridge).
MIT License
263 stars 36 forks source link

Customize IR Signal #12

Closed cjinsider closed 6 years ago

cjinsider commented 6 years ago

hello! In the section of adding IR commands instruction and an example of a configuration file, the values FE018254234ON and FE019205313OFF are indicated. Where can they be found?

LASER-Yi commented 6 years ago

you can get it the same method as customize AC signal. Or you can use learnIR button. But there's some bug in that button so I don't recommand you use it.

cjinsider commented 6 years ago

Ок. How can I get methods as customize AC signal?

tkmark commented 6 years ago

you need to use an android simulator on PC and capture the packet that MI home app communicated with your device, then use miio toolkit to analyze the data captured. You can find the full instruction on the wiki page.