All commands will be executed through the first user in the config file if no user is provide.
I assumed that groovy would work in a way that would let parameters be optional so you wouldn’t have to pass it if you didnt want to, however it seems it doesn’t work this way.
There is probably a way to do it, I just need to figure out how…
Cool, good to know. For now I’ll run w/my edited DTH and if you are able to make the user optional I’ll be OK, and if not I’ll just keep editing it out of the DTH (or leave it in and update my pistons if I decide I want/need multi-user).
A different question all together.
I have a couple cast enabled speakers in different rooms of the house (Sony SGH1) that I use to have the all house playing the same music wherever as I have defined them as groups.
Would you know if there is a way to send the broadcast to a specific group?
Currently only the Google home plays the broadcast.
I’m receiving a few google mini Next Week or so and can test this further as well.
You can ask your Google Home or Assistant to play music on a specific speaker or group of speakers, but you can’t broadcast to a specific speaker at all.
The SDK though doesn’t let you start music playing. I tried to implement it and then it failed when I realised it wasnt possible
Updated to new DTH and downloaded zip of the project from your github and updated, edited config for my info. and BOOM - all is working, including customBroadcast w/out user parameter.
Fantastic - thanks very much @ghesp & @hmin03 for working this out.
Ok so just had a little chat with google rep, the broadcast command will trigger all google home devices under your account, no way around this
THey told me that the “intercom” feature MIGHT be the solution for this, but its all speculation at this point
OH well!
I actually use this for individual home notifications (for speaker groups as well). I’ll use that until this is at release level (just in case pistons have to be redone at some point @Danabw) .