Been trying to get homebridge working for the last 2 nights with no luck… tried all the hints and tips, tried different settings but nothing. I have at times had homeassistant come up when I add accessory then code but never get a successful connection.
I am running homeassistant (0.57.3) using Hass.io/ docker/ Ubuntu svr 16.04 on a EXSI VM.
Current homebridge setup:
Options.
{
“log_level”: “debug”,
“avahi_interfaces”: “”,
“avahi_hostname”: “”,
“avahi_domainname”: “local”,
“enable_ipv6”: false,
“packages”: ,
“init_commands”: ,
“plugins”:
}
Config.json file
{
“bridge”: {
“name”: “Home Assistant”,
“username”: “00:0C:29:4B:F2:43”,
“port”: 51826,
“pin”: “609-51-859”
},
“description”: “Homebridge for Home Assistant”,
“accessories”: ,
“platforms”: [
{
“platform”: “HomeAssistant”,
“name”: “HomeAssistant”,
“host”: “https://mydomain.duckdns.org”,
“password”: “mypassword”,
“default_visibility”: “visible”,
“supported_types”: [
“automation”,
“binary_sensor”,
“climate”,
“cover”,
“device_tracker”,
“fan”,
“group”,
“input_boolean”,
“light”,
“lock”,
“media_player”,
“remote”,
“scene”,
“script”,
“sensor”,
“switch”,
“vacuum”
],
“logging”: true,
“verify_ssl”: true
}
]
}
Shouldn’t docker show port/s like mosquitto?
I thought the problem was maybe related to the firewall so I tried disabling but it didn’t help. I am worried the problem has something to do with docker/ Ubuntu but I don’t understand enough about docker and how the network/ports work etc.
Strange thing is when I open the home app homebridge sometimes appears as an accessory and sometimes it doesn’t- no consistency. when it does appear and I try to connect it says some trust disclaimer do you want to connect anyway and i enter the pin then I get “could not connect”.
Not sure what else to try… I do remember when I did have homebridge running on a standalone ubuntu vm it was tricky to get going but when I did eventually get it going it was quite robust.
any help appreciated.