#Voice assist area awareness beyond lights

1 messages · Page 1 of 1 (latest)

unreal dragon
#

Hi all. I'd like to use music assistant with voice assist and have music default to a speaker in the same room as the microphone. I've been told by the guys who develop music assistant that HA doesn't yet support that.

Is this possible in any way?

I'd like to say "play queen"

Rather than "play queen in the study" as HA "should" know I'm in the study with the voice satellite and the study speaker!

burnt crow
slate violet
#

It does work in MA, but it's sort of hit/miss. If I just say "Play <some song, artist, album, etc>" it would play where I made the request if no other media player has recently been interacted with, otherwise it seems HA assumes you want to continue controlling the last media player interacted with. However what does work (at least for me) is adding "in here" to my command. So I can say "Play my liked songs playlist in here", and it knows "in here" is whatever area the satellite I am talking to is assigned to.

#

I also tried modifying my LLM prompt to tell it to assume all commands I issue are for the area I am in unless specified otherwise, but that doesn't seem to always work either.

burnt crow
#

(i think that) OP was referring to the built-in intents, not LLM-powered agents and their query included a search string ("queen"). none of that is possible at the moment out of the box

unreal dragon
#

Thanks all. I did wonder about trying to get the LLM to assume "study" unless otherwise stated as a fudge but it would be nice if this works oob. Is this a planned feature any time soon?

lyric quiver
#

Yeah i use custom intent with <area> slot from device context. Use it everywhere i can, it's awesome 🙂

unreal dragon
#

Thanks @lyric quiver I don't suppose you could share what you mean?

lyric quiver
#

@unreal dragon like this:

  PlayMedia:
    data:
      - sentences:
        - "play {media}"
        requires_context:
          area:
            slot: true
      - sentences:
        - "play {media} in [the | a] <area>"

Pay attention to first sentence.

unreal dragon
lyric quiver
unreal dragon
#

Cheers, I'm on it 😃

burnt crow
#

heads up @unreal dragon : in the second sentence, what you get back is the name you called your area (if you said it)
if, for example, you have aliases for an area, you'll get back whatever alias you used, not the area ID or canonical friendly name

lyric quiver
bronze ice
atomic oracle
#

I hope this gets picked up now that a lot more people are getting their hands on the HA Voice PE. People will probably stumble on this one more often.

#

At least that's how I got here.

bronze ice
#

Well i tried getting mass geting to work with voice when it was still in beta.

There might always be errors in the artist name and the search of mass isnt selecting original material fist.

I have all my artists in a sql database with a levenheid (something) function to get the 1st best close match.

Tried giving lots of feedback to mass when it still has beta. They did nothing with it and told the LLM integrarion was the only way to get mass working with voice.

atomic oracle
#

I'm more talking about getting area aliases to work in custom intents.