|
发表于 2018-6-23 22:11:20
|
显示全部楼层
使用樹莓派
HA設定檔設定好後...image_processing:
- platform: baidu_face_indentify
app_id: '11*****82'
api_key: 'k6A2V**********pftV5wUby1'
secret_key: 'y*****************5wbvtC84iaflplH30s'
snapshot_filepath: '/home/homeassistant/.homeassistant/facerecognition'
resize: 0
detect_top_num: 3
ha_url: 'http://192.168.*.*:8123'
ha_password: '******'
scan_interval: 1
source:
- entity_id: camera.door_camera
name: faceRec
出現這樣的錯誤
Testing configuration at /home/homeassistant/.homeassistant
ERROR:homeassistant.util.yaml:while parsing a block mapping
in "/home/homeassistant/.homeassistant/configuration.yaml", line 1, column 1
expected <block end>, but found '<block mapping start>'
in "/home/homeassistant/.homeassistant/configuration.yaml", line 645, column 2
Failed config
General Errors:
- while parsing a block mapping
in "/home/homeassistant/.homeassistant/configuration.yaml", line 1, column 1
expected <block end>, but found '<block mapping start>'
in "/home/homeassistant/.homeassistant/configuration.yaml", line 645, column 2
Successful config (partial)
請問是甚麼問題呢?
|
|