For a specific use case I want to be able to make my Echo Dot speak a line at 100% volume. One solution is to…
- Save the current volume in a variable…
- … turn up the volume to 100%…
- … speak whatever needs to be spoken…
- … and then turn back the volume back to the original volume.
In the documentation of the Amazon Echo Contro-binding, however, there’s an explanation for a json-based formating, which (if I understand things correctly) allows for speaking things in dedicated volumes. See here: Amazon Echo Control - Bindings | openHAB
However, I don’t get this to work, neither in the provided DSL-example, nor in a javascript test rule. If the Echo says something, it just read out the json string.
This is (among other options) what I tried:
Echo_Dot_Bad_Speak.sendCommand('{ "speak":"Test", "volume": 20}')
Am I missing something?