[APP][Pro] Apple TV & HomePod

Apple TV & HomePod 1.7.8

  • Fixed a device discovery issue.

https://homey.app/a/com.basmilius.apple/

Hi, any idea of adding the possibility to play soundboard sounds in the HomePod?

@Joep_Vullings I actually worked on that and have a working version. There is however one downside in that it requires an additional permission. The documentation mentions that if you change permissions, the app won’t auto-update on existing installs. So still debating what to do here…

I managed to play a sound on my HomePods via the Play URL logic (as a doorbell function). But the sound is very very loud! It looks like it is ignoring the volume setting?

how?!

If [someone presses the doorbell] then [PLAY url] on [HomePod] Standard flow function from Bas’ great app. The URL can point to a bell tone mp3 on the web, for example: http://homeycornelisse.nl/wp-content/uploads/2019/12/Deurbel-ding-dong-single.mp3

But with the current setting, you want to create a daytime only window because the sound will wake up the entire block :slight_smile: But I assume ignoring the volume setting is a little bug.

@Nils_Kijkuit Thanks for reporting… Apparently there’s a difference in the protocol so I had to divide by 100 in that particular case… :slight_smile:

Will be fixed in the next release, maybe tonight otherwise tomorrow!

Haha. So my Homepod was playing 100x too loud :smile:

Glas you found it.

btw, i am not able to point to a local file (this would improve response time). Any way to enable that?

@Nils_Kijkuit 100 times too loud OOF :rofl:

It currently works by fetching the URL and streaming the audio data to the HomePod. By local you mean a local webserver or something or a physical file on the Homey itself?

Any local storage. Like file://

That only works on web browsers.

@Nils_Kijkuit Like @smarthomesven said, that won’t work… A local webserver would work, as long as it’s available from your Homey.

Apple TV & HomePod 1.7.12

  • Fixed Play URL at volume being too loud.
  • Optimize app size. This improves ram usage as well.
  • Update dependencies.

https://homey.app/a/com.basmilius.apple/

Hi! I was wondering if the app only works with a physical Apple TV, or is it also possible to interact with the Apple TV app that can be installed on Smart TVs (in my case, Samsung).

Thanks everyone for your help!

@BasMilius Hi Bas, would it be possible to add an (AND) option where lights can react differently /trigger according to the APP that is currently used on the Apple TV? Something like this.

image

I’m currently using this option in the Apple TV app that is in TEST mode. I know that this is a different app, but would appreciate if you can explore the option to add this to the Apple TV & HomePod app.

Thanks in advance for exploring this option.

@Alessandro_Rossi This will only work with an physical Apple TV :slight_smile:

@DayLei I’ll see what I can do!

Apple TV & HomePod 1.8.0 – TEST

  • Introduces a new “Now playing app becomes [app]” trigger.
  • Introduces a new “Now playing app is [app]” condition.

cc @DayLei

Hi @BasMilius, thanks for the fast reply/action. For some reason is does not trigger any Apps and thus not trigger any THEN actions. I would be glad to continue to test new versions of this functionality.

Update:

When using WHEN, (see below) the correct lights/flow seems to be triggered. I noticed that when a certain action is triggered the cards keeps flashing with (unavailable cards). So far it works when using the WHEN cards. Hopefully this information helps. @BasMilius

So, if someone is curious how to use your HomePods as a chime using Bas’ great app (now with correct volume settings too :slight_smile: ). But maybe I am the last person in the world to figure this out. In that case, ignore my post.

  • create a mini web server using python (there are other options, Claude or Gemini is your friend here) on your computer. In my case :
python3 -m http.server portnumber
  • download a small sound file, in my case [bell.mp3] to a shared folder on your computer

  • create a flow if [Doorbell is pressed] than [play url http://your_computer_ip_address : port number/bel.mp3]

  • make sure there is no port-forward to the port you have created for you webserver, otherwise it is exposed to the cruel world. It is just for communications between your Homey and your local computer

…and [ding dong] Bob is your uncle