Apple Music for Mac (Modern)
The ultimate local integration for macOS Music users
Hi everyone! ![]()
Tired of slow or cloud-based solutions to control your Mac's music? I've built a fast, local, and modern HACS integration to bring your macOS Music app (formerly iTunes) directly into your Home Assistant dashboard.
GitHub Repository: GitHub - leguernadrian-boop/apple-music-mac-ha: Intégration moderne Apple Music pour Home Assistant (2026). · GitHub
Why use this integration?
•
Zero Latency: No cloud, no delay. Everything stays on your local network.
•
HD Artworks: Automatically fetches high-resolution covers via iTunes API.
•
Full Control: Play, pause, skip tracks, and adjust volume with precision.
•
Live Metadata: Real-time updates for Title, Artist, and Album.
Quick Start Guide
- The Mac Side (The Bridge)
This integration uses a lightweight Node.js server to talk to macOS.
-
Install Node.js.
-
Setup your folder and run npm install express.
-
Launch your server.js (code available on GitHub) with: node server.js.
-
The Home Assistant Side
-
HACS: Add the link above as a Custom Repository.
-
Install: Download the integration and restart HA.
-
Config: Go to Settings > Devices & Services and add the integration.
-
Link: Enter your Mac's IP and port 8181.
Important: macOS Permissions
To allow the server to "speak" to the Music app, don't forget this step:
Go to System Settings ➔ Privacy & Security ➔ Automation ➔ Enable Music for your Terminal.
I'm 16 and this is my first major contribution, so feel free to give me feedback or open an issue on GitHub!
Developed with
by @adrianleguern