Dynamically choose player for announcements #3427
Shogun1978
started this conversation in
Feature requests and ideas
Replies: 1 comment 5 replies
-
Your point 1 is an open issue #3274 For everything else they are generally questions for HA but I will check if there is any limitation with templating in the MA actions |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
currently I am using the MusicServer4Home server (https://music-server.net/). I am planing to move to music assistant. Right now, I have two issues/use cases I can't realize with music assistant:
In my home I have presence detectors for every room. In the ceilings, there are speakers that are controlled bei Home Assistant (currently MusicServer4Home which is running a LMS beyond). In the "Music Assistant: Play announcement" action, I can select the rooms, but this can't be done dynamically. Is there way to realize this?
In the MusicServer4Home, all players have a number and you can trigger the announcement based on the numbers. I build a template sensor the rooms/zones:
Room 1 will play always (livingroom), office and bar just if occupied. The announcement will be played by a rest command:
I will give volume of the announcement, ringtone, zones (which are the occupied rooms) as variables to the rest command. Volume and ringtone can be passed to the "play announcement" of the music assistant instance. But players can't - at least I didn't get it working.
Might be a good thing if you can add something similar to music assistant.
Regards,
Harald
Beta Was this translation helpful? Give feedback.
All reactions