Skip to main content Using the Apple Homepod in HA : r/homeassistant
r/homeassistant icon
Go to homeassistant

Using the Apple Homepod in HA

Personal Setup

This turned out pretty nice.

I’ve been using Apple Home for a long time.

To control Apple Music on my homepod I’ve configured a couple of Aqara switches, 6 buttons, to play certain playslists.

Two weeks ago I made the switch over to Home Assistant, and didn’t know how to integrate the Homepod or if I had to replace it.

What I did was setting up ssh from my HA/Synology NAS to an iMac that is always on.

Configured a couple of services on HA for running a ssh-script. These scripts run an applescript on my iMac.

Connected those services to the Aqara switch using automations in HA.

On my iMac I created corresponding Applescripts that starts playing a playlist in Apple Music and forwards the audio using Airplay.

Besides scripts for playing a playlist I also create a “Pause-script”, which is configured to double-clicking a button.

This works better than expected. It’s pretty fast.

I also added this functionality to my mobile dashboard so I can control the music, including the volume, from my phone.

r/homeassistant - Using the Apple Homepod in HA
Archived post. New comments cannot be posted and votes cannot be cast.
Always come home to a well-lit house with Caséta smart lighting controls. Schedule lights that turn on at sunset and off at sunrise, automatically adjusting as the seasons change. Ensure that you and your loved ones don’t have to come back to a dark home!
Thumbnail image: Always come home to a well-lit house with Caséta smart lighting controls. Schedule lights that turn on at sunset and off at sunrise, automatically adjusting as the seasons change. Ensure that you and your loved ones don’t have to come back to a dark home!
Sort by:
Best
Open comment sort options

I am using the Apple Integration in HA to manage my home pod and can accomplish the same behavior using HA automation! You can then create an automation for each button that triggers playing a specific playlist. Have you tried this approach?

@sbehta Can you share an example automation for this?

I've added my homepod using the Apple Integration, but I haven't figured out how to play a playlist in HA...

It only appears as a media player.

How do you play a playlist with the Apple integration? All I can do is pause/unpause.

More replies

Seems a bit beyond me with AppleScript and I don’t have an always on iMac but that sounds pretty cool!

Is anybody’s TTS working with HomePod?

Yes, I use the nabu casa one and it plays fine.

More replies
[deleted]

Yes! Working fine.

More replies
More replies