SOLVED Home Assistant on TrueNAS Scale: Port 5353 In Use (for HomeKit Controller)

Ralphshep

Dabbler
Joined
Apr 28, 2020
Messages
45
I have Home Assistant installed on TrueNAS Scale using the official image from IX System and I have host network enabled for better support for finding local smart home devices. Now the problem I'm running into is the HomeKit Bridge in Home Assistance needs access to port 5353 which is currently used by TrueNAS Scale for mDNS (see Isof lookup below), and I like being able to access my TrueNAS WebUI through the more user friendly hostname and it showing under Locations in Finder on macOS.
root@truenas-home[/nonexistent]# lsof -i :5353
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
avahi-dae 3878476 avahi 13u IPv4 54997419 0t0 UDP *:mdns
avahi-dae 3878476 avahi 14u IPv6 54997420 0t0 UDP *:mdns

Is there a way I can change the port on one of these or do I have to choose one to disable?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Either:

Run HomeAssisiant on it's own IP address (even though it's janky and means packets will leave your NAS to go from one app to another via the router). Only possible with the TrueCharts version.

or

Turn off mDNS under Network | Global Configuration in TrueNAS.
 

Oleksiy

Cadet
Joined
Aug 17, 2023
Messages
1
@Ralphshep have you managed to make HomeKit bridge being accessible in Apple Home app? I'm struggling with it for several days playing with network and HA configs, but my iPhone cannot connect to the devices by QR code.
 

Ralphshep

Dabbler
Joined
Apr 28, 2020
Messages
45
@Ralphshep have you managed to make HomeKit bridge being accessible in Apple Home app? I'm struggling with it for several days playing with network and HA configs, but my iPhone cannot connect to the devices by QR code.
Yes, I ended up having to disable mDNS in TrueNAS Scale like mentioned above.
 
Top