Author Topic: How to invoke Sonos Plugin's "Say" Action?  (Read 839 times)

Offline nwootton

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
How to invoke Sonos Plugin's "Say" Action?
« on: January 19, 2015, 03:14:34 pm »
Firstly a big thanks to @guessed for this excellent binding. 

Is there anyway to use the 'say' functionality of the Vera Sonos plugin via the OpenHAB MiOS binding? I know I can setup lua/luup scenes that use 'say' that I can trigger from OpenHAB, but I want to be able to pass dynamic text to the say function - trying to pre-configure every possible vocal alert would be a nightmare!

I guess this question may cross over in to @lolodomo's expertise.

Offline guessed

  • Moderator
  • Master Member
  • *****
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: How to invoke Sonos Plugin's "Say" Action?
« Reply #1 on: January 19, 2015, 03:30:12 pm »
I'm writing the callMios() function at the moment.  Once that's done, there will be a really easy way to do it in rules.

Until then, it would be similar to the example above, using custom _defaultCommand entries in a .map file bound to a 'dummy' Item, and dummyItem.sendCommand("say this")
« Last Edit: January 29, 2015, 11:38:21 am by guessed »

Offline nwootton

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
Re: How to invoke Sonos Plugin's "Say" Action?
« Reply #2 on: January 20, 2015, 04:11:13 am »
@guessed Ok thanks, I 'think' I understand the suggestion... I'll give it a go.