路由器OpenWrt上安装hass0.93.2,接入iPhone 家庭APP时显示:
Couldn't add Home Assistant. Home couldn't connect to this accessory
homekit ip_address 改了之后没有任何变化。部分日志如下:
May 03 07:45:49 home hass[610]: 2018-05-03 07:45:49 DEBUG (MainThread) [pyhap.characteristic] Name: Set value to Home Assistant
May 03 07:45:49 home hass[610]: 2018-05-03 07:45:49 DEBUG (MainThread) [pyhap.characteristic] Model: Set value to homekit.bridge
May 03 07:45:49 home hass[610]: 2018-05-03 07:45:49 DEBUG (MainThread) [pyhap.characteristic] Manufacturer: Set value to HomeAssistant
May 03 07:45:49 home hass[610]: 2018-05-03 07:45:49 DEBUG (MainThread) [pyhap.characteristic] SerialNumber: Set value to 0000
May 03 07:45:49 home hass[610]: 2018-05-03 07:45:49 INFO (MainThread) [pyhap.accessory_driver] Storing Accessory state in `/root/.homeassistant/.homekit.state`
^OMay 03 07:46:06 home hass[610]: 2018-05-03 07:46:06 INFO (SyncWorker_7) [homeassistant.components.homekit.util] Pincode: 572-38-271
May 03 07:46:06 home hass[610]: 2018-05-03 07:46:06 DEBUG (SyncWorker_7) [homeassistant.components.homekit] Driver start
May 03 07:46:06 home hass[610]: 2018-05-03 07:46:06 INFO (SyncWorker_7) [pyhap.accessory_driver] Starting accessory 'Home Assistant' on address '10.101.199.241', port '51827'.
May 03 07:46:10 home hass[610]: 2018-05-03 07:46:10 INFO (Thread-12) [pyhap.hap_server] Got connection with ('10.101.199.242', 58062).
May 03 07:46:10 home hass[610]: 2018-05-03 07:46:10 DEBUG (Thread-13) [pyhap.hap_server] Request POST from address '('10.101.199.242', 58062)' for path '/pair-setup'.
May 03 07:46:10 home hass[610]: 2018-05-03 07:46:10 DEBUG (Thread-13) [pyhap.hap_server] Pairing [1/5]
May 03 07:46:10 home hass[610]: 2018-05-03 07:46:10 INFO (Thread-13) [pyhap.hap_server] 10.101.199.242 - "POST /pair-setup HTTP/1.1" 200 -
May 03 07:46:22 home hass[610]: 2018-05-03 07:46:22 DEBUG (Thread-13) [pyhap.hap_server] Request POST from address '('10.101.199.242', 58062)' for path '/pair-setup'.
May 03 07:46:22 home hass[610]: 2018-05-03 07:46:22 DEBUG (Thread-13) [pyhap.hap_server] Pairing [2/5]
May 03 07:46:22 home hass[610]: 2018-05-03 07:46:22 INFO (Thread-13) [pyhap.hap_server] 10.101.199.242 - "POST /pair-setup HTTP/1.1" 200 -
May 03 07:46:26 home hass[610]: 2018-05-03 07:46:26 DEBUG (Thread-13) [pyhap.hap_server] Request POST from address '('10.101.199.242', 58062)' for path '/pair-setup'.
May 03 07:46:26 home hass[610]: 2018-05-03 07:46:26 DEBUG (Thread-13) [pyhap.hap_server] Pairing [3/5]
May 03 07:46:26 home hass[610]: 2018-05-03 07:46:26 DEBUG (Thread-13) [pyhap.hap_server] Pairing [4/5]
May 03 07:46:26 home hass[610]: 2018-05-03 07:46:26 DEBUG (Thread-13) [pyhap.hap_server] Pairing [5/5]
May 03 07:46:26 home hass[610]: 2018-05-03 07:46:26 INFO (Thread-13) [pyhap.accessory_driver] Paired with 11111111-2222-3333-44444-000000000000.