-
Notifications
You must be signed in to change notification settings - Fork 414
Description
Platform
- OS: macOS Tahoe 26.2 (Build 25C56)
- Hardware: MacBook
- App Version: 2025.11.2 (Build 1537)
- Installation Method: Homebrew Cask (
brew install --cask home-assistant)
Problem Description
The Home Assistant Companion app on macOS Tahoe cannot connect to local Home Assistant instances because it fails to request the "Local Network" permission during onboarding or normal operation.
Observed Behavior
- App never appears in: System Settings → Privacy & Security → Local Network
- Connection attempts fail with errors like:
NSURLErrorDomain -1003- "Unable to connect. The server with the specified hostname could not be found"
- Browser (Safari/Chrome) on same Mac successfully connects to
http://192.168.0.241:8123 - Home Assistant server is confirmed working (accessible from other devices)
Expected Behavior
- App should request local network permission during initial setup
- App should appear in Local Network privacy settings
- App should connect to local HA instance when on same network
Impact
Critical for Mac automation users: Cannot access Mac-specific sensors:
binary_sensor.active(Mac activity state)sensor.frontmost_app(current app)binary_sensor.camera_in_use/audio_input_in_usesensor.storage,sensor.displays, etc.
These sensors are essential for Mac presence detection, focus mode automations, and system monitoring.
Workarounds Attempted
- ✅ Server config: Added
internal_urlandserver_host = "0.0.0.0"to HA config - ❌ Remove/re-add server: Doesn't trigger permission prompt
- ✅ Browser access: Works, but loses all Mac sensor functionality
⚠️ Recovery mode reset: Requires booting to Recovery Mode and manually deleting/Volumes/Data/Library/Preferences/com.apple.networkextension.*.plist(see guide)
Technical Context
This appears to be a macOS Catalyst-specific issue affecting macOS Sequoia (15.x) and Tahoe (26.x). The iOS version of the app properly requests and obtains local network permissions.
Installation Method Note: App installed via Homebrew Cask, not Mac App Store. Both installation methods appear affected based on community reports.
Apple's Local Network Permission Requirements:
- Introduced in iOS 14 / macOS Big Sur
- Requires explicit user consent
- Cannot be manually granted without app requesting it
- Stored in SIP-protected files (not resettable via
tccutil)
Reproduction Steps
- Install HA Companion app via
brew install --cask home-assistant(or Mac App Store) - Launch app and attempt to connect to local HA instance (e.g.,
http://192.168.0.241:8123) - Observe connection failure
- Check System Settings → Privacy & Security → Local Network
- Note: App is not listed
Additional Information
- Same issue reported in Community Forum (Jan 2025)
- No existing GitHub issue tracking this problem
- Affects both fresh installs and upgrades
- Affects both Homebrew and App Store installations
Suggested Fix
App should explicitly request local network access using NSLocalNetworkUsageDescription and trigger the system permission prompt during:
- Initial onboarding when entering local URL
- First connection attempt to local network address
- Optionally: Add manual "Request Permission" button in settings
Note: This prevents macOS users from leveraging the full Home Assistant ecosystem for Mac automation and sensor integration.