A homebridge-plugin
for Mi Universal Remote devices: chuangmi.ir.v2
chuangmi.remote.h102a03
chuangmi.remote.v2
chuangmi.remote.h102c01
foaked from
homebridge-mi-ir-remote
andhomebridge-mi-ir-electrolux
.
Install homebridge
.
sudo npm install -g --unsafe-perm homebridge
Install miio
and the plugin packages.
sudo npm install -g miio homebridge-mi-remote
Get the token of your Mi Universal Remote device. Follow the instruction.
miio --discover
Add the configuration into the config.json
file.
Learn raw codes from each command by IR remote controllers. To obtain the code stored in the log file (e.g., '/var/log/homebridge.log'
), run the bash script as below:
tail <'/var/log/homebridge.log'> | grep -oe 'Learned Code:.*' | cut -d ' ' -f3 | tail -1
See the instruction for details.
Example:
"platforms": [
{
"platform": "MiRemote",
"ip": "***.***.***.***",
"token": "********************************",
"hideLearn": false,
"deviceCfgs": [
{
"type": "Switch",
"data": {
}
},
{
"type": "Projector",
"data": {
}
},
{
"type": "Light",
"data": {
}
},
{
"type": "AirConditioner",
"data": {
}
},
{
"type": "Custom",
"data": {
}
},
{
"type": "MomentarySwitch",
"data": {
}
},
{
"type": "LGAirConditioner",
"name": "Thermostat",
"info": {
"Manufacturer": "LG Electronics Inc.",
"Model": "S-W096AAW",
"SerialNumber": "AKB73675605"
},
"hidePlasma": false,
"hideJetPower": false,
"hideLight": true
}
]
}
]
python-miio
: Python library & console tool for controlling Xiaomi smart applianceshomebridge-mi-aqara homebridge plugin for XiaoMi Aqara plugin. 小米/绿米网关的HomeBridge插件。 Thanks fornfarina(the author of homebridge),snOOrz(the author of homebridge-aqara),licuhui,攀旺智能,magaHH,isundaylee,i
homebridge-mi-airpurifier XiaoMi air purifier plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), licuhui, superszy, all other developer
homebridge-mi-acpartner English Version | 中文版 小米空调伴侣的Homebridge插件 感谢takatost,miio,YinHangCode和所有测试开发人员提供支持。 注意:此插件于0.6.0版本后修改了配置文件,请根据本文修改你的配置文件使插件正常工作。 若要查看抓包教程,请访问此项目Github的Wiki页面 Support(支持) 空调伴侣型号
homebridge-mi-hygrothermograph Homebridge plugin for exposing measured temperature and humidity from Xiaomi sensors as HomeKit accessories. Supported sensors: Xiaomi Mi Bluetooth Temperature and Hu
homebridge-mi-fan XiaoMi fan plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), ABC, 小马哥, all other developer and testers. Note: If you
homebridge-mi-outlet XiaoMi outlet plugins for HomeBridge. Thanks for nfarina(the author of homebridge), OpenMiHome, aholstenson(the author of miio), all other developer and testers. Note: I have only