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:
[font=courier]
[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[/font]
The setup:
Item:
[font=courier]Switch RunScript “Run A Script” (gSettings)[/font]
Rule:
[font=courier]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[/font]
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