#media_player.sonos_woonkamer with alias

1 messages Β· Page 1 of 1 (latest)

opal hemlock
woeful kayak
#

when im trying in dutch "sorry, i cant find volume"

#

in english it works

opal hemlock
#

the sentences for Dutch are different. I wanted to say that in Dutch you could try "zet sonos volume naar 20" (mind you, I don't speak Dutch, so I may have written something stupid) but actually that also triggers brightness (cc @safe storm)

safe storm
#

let me check

woeful kayak
#

"sonos 20" "helderheid aangepast" πŸ™ƒ

safe storm
#

@woeful kayak which sentence did you use?

#

in Dutch

#

@opal hemlock something seems to be wrong

#

This is an example from the tests I used
Zet het volume op de TV omhoog naar 90%

#

So TV is the name

#

That's the exact same structure for the sentence, but it adds omhoog to the name it's looking for

#

If I remove that, it adds naar 10% to the name

woeful kayak
#

zet sonos volume 20Sorry, ik snap het niet
zet sonos volume naar 20Sorry, ik snap het niet
zet het volume op sonos naar 10%Sorry, ik kan geen apparaat vinden met de naam volume op sonos
sonos 20Helderheid aangepast

safe storm
#

are you on 2024.3?

#

and did you expose the sonos to Assist?

woeful kayak
#

yea

#

Isnt it possible through automations to set the volume ?

safe storm
#

it looks like the dutch intents are not updated

#

this is in my dev system (running nightly)

woeful kayak
#

Ahh

#

Roborock doesnt work aswell :p

#

"start roborock" / "stat stofzuiger"

safe storm
#

will check

woeful kayak
#

made an automation for that and it works great now for the roborock

#

zet volume naar 20

βœ…

Taal: Nederlands (nl)

  name: HassLightSet
slots:
  brightness: '20'
details:
  brightness:
    name: brightness
    value: 20
    text: '20'
targets: {}
match: false
sentence_template: >-
  [<doe>|<zou>] <name>[ ][<lamp>][ ][<helderheid>] [<naar>] <brightness>
  [[willen|kunnen] <doe>]
unmatched_slots:
  name: 'volume '
source: builtin ```
safe storm
#

the PR to include the new intents was created to late

#

the updates will be included in 2024.3.1

woeful kayak
#

Oki cool

#

when i talk to assist to turn brightness to 30% of a room it fails

#

it puts a , behind the room and before the number which result in a fail for me

#

slaapkamer groot 30% Helderheid aangepast
slaapkamer groot, 30% Sorry, ik snap het nie

safe storm
#

working fine here, are you using voice?

#

if so, it's an issue in your STT integration

woeful kayak
#

STT ?

safe storm
#

Speech to Text

#

the integration which converts your spoken words to text

woeful kayak
#

when i use voice it adds a comma between "martijn & 30% "

safe storm
#

yeah, it should not do that

woeful kayak
#

in your cae

#

using home assistant cloud as stt

safe storm
#

well, I think we should just ignore commas

#

for me it does that

woeful kayak
#

i cant send pictures πŸ˜„

#

slaapkamer groot 30%Helderheid aangepastslaapkamr groot, 31%Sorry, ik snap het nietslaapkamer groot, 31%Sorry, ik snap het niet

#

Odd

gleaming kindleBOT
#

Please use imgur or other image sharing web sites, and share the link here.

Image posting is blocked in most channels to discourage people from sharing text as images. Sharing text as images assumes that everybody sees the world as you do, which isn't the case. Some people are colour blind, or have visual impairment that means they can't make sense of an image of text.

woeful kayak
#

Your using whisper or HA Cloud ?

safe storm
#

HA Cloud as well

woeful kayak
#

slaapkamer groot, 31%Sorry, ik snap het nietslaapkamer, groot, 31%Helderheid aangepast

#

haha

#

this is so odd

#

with 1 comma it fails and with 2 commas it succeeds

safe storm
#

same in English BTW

woeful kayak
#

but when i use assist it seems to always adds a comma before the number

#

there are some more quirks i found out today.. Dno if this was before... But also when i say for ex "werkkamer martijn lamp aan" it doesnt work aswell.. Dont know if this is intended or not

#

But adding the "lamp" fails

#

also doesnt work in alias for me

safe storm
#

can't reproduce that

woeful kayak
#

mm seems fine now for me aswell odd πŸ˜’

#

Slaapkamer, groot lamp uit.UitgezetAchtertuin lamp aan?Sorry, ik kan geen light vinden in achtertuin

safe storm
#

well, that seems clear, no lights are added to that area

woeful kayak
#

light.achtertuin is an entity ^

safe storm
#

okay, but it tries to match the area achtertuin, and then looks for all lights in that area

woeful kayak
#

Ahhh okayy

safe storm
#

what's the name of that light?

#

is it Achtertun?

woeful kayak
#

yea

safe storm
#

it should work with zet <name> lamp aan as well

woeful kayak
#

when i put them into the room achtertuin it does work

safe storm
#

πŸ‘

woeful kayak
#

im fine with that πŸ™‚

#

Thx for your help

safe storm
#

no problem

woeful kayak
#

And those other issues will be "fixed" with the next update?

safe storm
#

Mike (the main developer for Assist) will look into the comma thing

#

and the vacuum and media player intents will also be included in the next release

woeful kayak
#

Oki cool thxπŸ‘

woeful kayak
#

Hey Fes,
"Zet sonos volume naar 10%" works now πŸ™‚ Is it also possible to do "sonos volume 10%" ?

safe storm
#

Yes, that would be possible

woeful kayak
#

doesnt work πŸ˜„

#

Hoe kan ik helpen?
sonos volume 10%
Sorry, ik snap het niet

safe storm
#

well, I meant it is possible to add it to the sentences

#

but it is not added now

woeful kayak
#

where can i add it myself ? ^^

safe storm
#

you can create a custom intent if you want to add it yourself

#

you can also create a PR on that repo and I will check and merge it πŸ™‚

#

but I will add it now

#

not sure if there will be an intents update on 2024.4 though

woeful kayak
#

custom intent you mean automation i guess?

safe storm
#

After the next intents update, it will work for everyone, I expect that'll be in 2024.4 which will be released next week