|
发表于 2018-7-16 01:36:31
|
显示全部楼层
我也遇到这个问题,请问有什么解决办法吗? 谢谢!!
Config.yaml 如下
remote:
- platform: xiaomi_miio
name: "IR_remote"
host: 192.168.31.166
token: fbd7c991bb5a02265626d96bd50fc3b1
slot: 15
timeout: 30
hidden: true
commands:
activate_tv_on:
command: Z6VLABMCAABaAgAAdwYAAKUIAAB9EQAAYSMAACCZAAA4dgEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFAQEhAQEhAQEhIQEhIQEhIQEhIQEhAQEBIQEBIQEhISFhNXE1AQ==
-------------------------------------------------------------
Script.yaml 如下
'1531656350015':
alias: open the tv
sequence:
- service: remote.send_command
entity_id: remote.xiaomi_ir_remote
data:
command: -'activate_tv_on'
------------------------------------
log 信息如下
Log Details (ERROR)
Mon Jul 16 2018 01:35:29 GMT+0800 (中國標準時間)
Transmit of IR command failed, -'activate_tv_on', exception: {'code': -5008, 'message': 'magic error'}
|
|