When I try to connect Home Assistant to Home App at first start it says error username. I set a random username in config.json file (A-f 0-9), no more errors appear. Here is the log
starting version 3.2.2
[ADD-ON] Ensuring old PID files are absent
[ADD-ON] Ensuring D-Bus unique ID exists
[ADD-ON] Starting D-Bus daemon
[ADD-ON] Starting Avahi daemon
Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
Successfully dropped root privileges.
avahi-daemon 0.6.32 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
Loading service file /services/sftp-ssh.service.
Loading service file /services/ssh.service.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface hassio.IPv4 with address 172.30.32.1.
New relevant interface hassio.IPv4 for mDNS.
Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.0.2.
New relevant interface wlan0.IPv4 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.9.
New relevant interface eth0.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for fe80::9c9b:a0ff:fe5c:308f on veth7d5e4a8.*.
Registering new address record for fe80::4494:6cff:fe79:ca94 on vethab56e06.*.
Registering new address record for fe80::42:77ff:fe9e:f570 on hassio.*.
Registering new address record for 172.30.32.1 on hassio.IPv4.
Registering new address record for fe80::42:57ff:fe72:15af on docker0.*.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for fe80::c8c7:cfcb:a47:3a3e on wlan0.*.
Registering new address record for 10.0.0.2 on wlan0.IPv4.
Registering new address record for fe80::1c03:af6e:76ec:3d4a on eth0.*.
Registering new address record for 10.0.0.9 on eth0.IPv4.
Server startup complete. Host name is hassio.local. Local service cookie is 1796144574.
[ADD-ON] Applying HAP NodeJS IPV6 HOTFIX
patching file /usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js
[ADD-ON] Starting Homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[9/26/2017, 9:25:07 PM] Loaded plugin: homebridge-homeassistant
[9/26/2017, 9:25:07 PM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[9/26/2017, 9:25:07 PM] ---
[9/26/2017, 9:25:07 PM] Loaded config.json with 0 accessories and 1 platforms.
[9/26/2017, 9:25:07 PM] ---
[9/26/2017, 9:25:07 PM] Loading 1 platforms...
[9/26/2017, 9:25:07 PM] [HomeAssistant] Initializing HomeAssistant platform...
[9/26/2017, 9:25:07 PM] [HomeAssistant] Fetching HomeAssistant devices.
[9/26/2017, 9:25:07 PM] Loading 0 accessories...
[9/26/2017, 9:25:07 PM] [HomeAssistant] Received event: ping
[9/26/2017, 9:25:07 PM] [HomeAssistant] Initializing platform accessory 'TRADFRI bulb E27 WS opal 980lm 2'...
[9/26/2017, 9:25:07 PM] [HomeAssistant] Initializing platform accessory 'TRADFRI bulb E27 WS opal 980lm'...
[9/26/2017, 9:25:07 PM] [HomeAssistant] Initializing platform accessory 'camera Filippo'...
[9/26/2017, 9:25:07 PM] [HomeAssistant] Initializing platform accessory 'all lights'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 150-52-236 │
└────────────┘
[9/26/2017, 9:25:07 PM] Homebridge is running on port 51826.
[9/26/2017, 9:25:30 PM] [HomeAssistant] Received event: {"event_type": "state_changed", "data": {"entity_id": "sun.sun", "old_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -24.92, "azimuth": 295.33, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:24:30.151238+00:00"}, "new_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.08, "azimuth": 295.55, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:25:30.151399+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-26T19:25:30.151551+00:00"}
[9/26/2017, 9:26:20 PM] [HomeAssistant] Received event: ping
[9/26/2017, 9:26:30 PM] [HomeAssistant] Received event: {"event_type": "state_changed", "data": {"entity_id": "sun.sun", "old_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.08, "azimuth": 295.55, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:25:30.151399+00:00"}, "new_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.24, "azimuth": 295.76, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:26:30.153223+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-26T19:26:30.153378+00:00"}
[9/26/2017, 9:27:20 PM] [HomeAssistant] Received event: ping
[9/26/2017, 9:27:30 PM] [HomeAssistant] Received event: {"event_type": "state_changed", "data": {"entity_id": "sun.sun", "old_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.24, "azimuth": 295.76, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:26:30.153223+00:00"}, "new_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.39, "azimuth": 295.98, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:27:30.151830+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-26T19:27:30.151984+00:00"}
[9/26/2017, 9:28:20 PM] [HomeAssistant] Received event: ping
[9/26/2017, 9:28:30 PM] [HomeAssistant] Received event: {"event_type": "state_changed", "data": {"entity_id": "sun.sun", "old_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.39, "azimuth": 295.98, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:27:30.151830+00:00"}, "new_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.55, "azimuth": 296.19, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:28:30.152432+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-26T19:28:30.152586+00:00"}
[9/26/2017, 9:29:20 PM] [HomeAssistant] Received event: ping
[9/26/2017, 9:29:30 PM] [HomeAssistant] Received event: {"event_type": "state_changed", "data": {"entity_id": "sun.sun", "old_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.55, "azimuth": 296.19, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:28:30.152432+00:00"}, "new_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.71, "azimuth": 296.41, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:29:30.151952+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-26T19:29:30.152103+00:00"}
[9/26/2017, 9:30:20 PM] [HomeAssistant] Received event: ping
[9/26/2017, 9:30:30 PM] [HomeAssistant] Received event: {"event_type": "state_changed", "data": {"entity_id": "sun.sun", "old_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.71, "azimuth": 296.41, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:29:30.151952+00:00"}, "new_state": {"entity_id": "sun.sun", "state": "below_horizon", "attributes": {"next_dawn": "2017-09-27T04:37:15+00:00", "next_dusk": "2017-09-27T17:32:51+00:00", "next_midnight": "2017-09-26T23:04:54+00:00", "next_noon": "2017-09-27T11:05:03+00:00", "next_rising": "2017-09-27T05:06:57+00:00", "next_setting": "2017-09-27T17:03:09+00:00", "elevation": -25.86, "azimuth": 296.63, "friendly_name": "Sun"}, "last_changed": "2017-09-26T18:46:14.178697+00:00", "last_updated": "2017-09-26T19:30:30.153080+00:00"}}, "origin": "LOCAL", "time_fired": "2017-09-26T19:30:30.153225+00:00"}
[9/26/2017, 9:31:21 PM] [HomeAssistant] Received event: ping
Now, when I use the app I see Home Assistant, I insert the password but it can't connect! I don't know why, seems fine to me..
I did insert the pin that appeared.
I expect a connection with Home iOS App.
Appears error "Is not possible to add Home Assistant. Home App is not capable of connecting to accessory"