1、一直出现 fetching homeassistant devices.

原因: config.json 里面 host 不能写成 hass.io,要写成 ip 地址,否则就会出现这种情况。

2、遇到如下错误:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 10-homebridge: applying...
[fix-attrs.d] 10-homebridge: exited 0.
[fix-attrs.d] 20-dbus: applying...
[fix-attrs.d] 20-dbus: exited 0.
[fix-attrs.d] 30-avahi: applying...
[fix-attrs.d] 30-avahi: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
[03:13:35+0000] ERROR ----> Something went wrong contacting the API
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...
ERROR: Something went wrong contacting the API
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 20-dbus.sh: executing...
[cont-init.d] 20-dbus.sh: exited 0.
[cont-init.d] 30-avahi.sh: executing...
DEBUG: Detected Avahi interfaces: eth0
ERROR: Something went wrong contacting the API
[cont-init.d] 30-avahi.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

原因:homebridge 里的 avahi_hostname 要设置为 hassio