Closed gadgethome closed 10 years ago
We are deliberately suppressing duplicate messages from speaking in the text-to-speech node. It was driving us crazy with repeating sensor data. We should probably make that a checkbox so that they user can allow or disallow duplicate messages.
Forgot to document this.
You can override the suppressing of same messages with
msg.canRepeat = true;
Put that in a function block somewhere before the tts node.
Also agree that it should have a checkbox for this option.
I did 2 injects. First with a payload of On and second as Off. Then a switch and then a function comparison and then speech and debug.
When you click the inject for On, it speaks "on" and debug outputs on. Also works for off but if you run "on" and then "on" again, the second on does not speak but does output to the debug window. Same when you inject "off" twice.
thanks