在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:bwv1041/homebridge-mi-remote开源软件地址:https://github.com/bwv1041/homebridge-mi-remote开源编程语言:JavaScript 100.0%开源软件介绍:Xiaomi IR Remote platformA
InstallationInstall sudo npm install -g --unsafe-perm homebridge Install 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 Supported typesMiLearnLearn raw codes from each command by IR remote controllers. To obtain the code stored in the log file (e.g., tail <'/var/log/homebridge.log'> | grep -oe 'Learned Code:.*' | cut -d ' ' -f3 | tail -1 Bundled accessoriesSee the instruction for details.
Additional supported devices
ConfigurationExample: "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
}
]
}
] Related websites
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论