We have moved at community.getvera.com

Author Topic: sendMiosAction reporting an error  (Read 881 times)

Offline nwootton

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
sendMiosAction reporting an error
« on: May 28, 2015, 05:26:23 am »
With the release of 1.7 I'm finally moving my Sonos 'say' scenes across from my Veralite to my OH.

I'm trying to trigger a simple voice test when a button is pressed on the screen, but trying to get the MiOS action to generate a spoken output is throwing an error:

[ERROR] [o.o.c.s.ScriptExecutionThread ] - Error during the execution of rule 'Test voice system': Could not invoke method: org.openhab.action.mios.internal.MiosAction.sendMiosAction(org.openhab.core.items.Item,java.lang.String,java.util.List) on instance: null


The setup:

Item:
Switch  RunScript "Run A Script" (gSettings)


Rule:
rule "Test voice system"

when

Item RunScript received command ON

then

sendMiosAction(25, "Sonos/Say", newArrayList('Text' -> 'This is voice test one.', 'Volume' -> 25))

end


25 is the Device ID on the Veralite for my Sonos device.

Both MiOS jars are in the addons directory and configured. Other Z-Wave devices attached to the Veralite are working properly.
org.openhab.action.mios-1.7.0.jar
org.openhab.binding.mios-1.7.0.jar

What stupid thing have I done/forgotten this time?  :-[

I've also posted this on the OH Google Group.
Nick

Offline guessed

  • Moderator
  • Master Member
  • *****
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: sendMiosAction reporting an error
« Reply #1 on: May 28, 2015, 10:05:44 am »

Offline nwootton

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
Re: sendMiosAction reporting an error
« Reply #2 on: May 28, 2015, 10:11:15 am »
Many thanks.