本帖最后由 coriding 于 2020-3-24 22:43 编辑
小米万能遥控无法使用xiaomi IR 无法发送命令
环境
homeassistant版本103.6
小米万能遥控是
配置文件
remote:
- platform: xiaomi_miio
host: 192.168.31.111
name: "bathroom remote"
token: 8a4a67ec05bce12331101d9cb1e65a
slot: 1
timeout: 30
commands:
trun_on_sharp:
command:
- raw:mU2mEsmM4mUwlgBBzecADlNJhLJxMAB/AH2YzgAQgOfAZ0ErwOtAQqYQAA==
trun_off_sharp:
command:
- raw:mU2mEsmM4mUwlkym8wlk3ADIBA5vOAB/AHYB9gMIA58BDwUvAg8BAphAAA==
错误日志
2020-03-24 22:05:12 ERROR (SyncWorker_8) [miio.device] Unable to discover a device at address 192.168.31.111
2020-03-24 22:05:12 ERROR (SyncWorker_8) [homeassistant.components.xiaomi_miio.remote] Transmit of IR command failed, mU2mEsmM4mUwlgBBzecADlNJhLJxMAB/AH2YzgAQgOfAZ0ErwOtAQqYQAA==, exception: Unable to discover the devic
e 192.168.31.111
2020-03-24 22:05:12 ERROR (SyncWorker_7) [miio.device] Unable to discover a device at address 192.168.31.111
2020-03-24 22:05:12 ERROR (SyncWorker_7) [homeassistant.components.xiaomi_miio.remote] Transmit of IR command failed, mU2mEsmM4mUwlgBBzecADlNJhLJxMAB/AH2YzgAQgOfAZ0ErwOtAQqYQAA==, exception: Unable to discover the devic
e 192.168.31.111
日志说无法发现设备,但是学码,又能通过
xiaomi_miio.remote_learn_command 进行学码
能学码说明token应该是对的吧
发送的时候,灯也会闪一下蓝色
我看了GitHub上相关问题,貌似主要是这个 Unable to discover a device at address 192.168.31.111 的问题
但是一直不能控制。求大佬指点
|