Hello Everyone,
I'm trying to build a simple textbox to speech application. I am new to node-red and need some help on fundamentals. I have created a website to type the message I want to be sent and am just trying to get everything to work.
Hello Everyone,
I'm trying to build a simple textbox to speech application. I am new to node-red and need some help on fundamentals. I have created a website to type the message I want to be sent and am just trying to get everything to work.
You have not supplied much info, like any errors or debug info. It is very difficult to see what you are doing wrong.
upload your flow and debug of nodes giving you issue
In the meantime, the ui dashboard node will do this very easily.
[{"id":"b3aa869b.cb8048","type":"inject","z":"5a245aa1.510164","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"hello world","payloadType":"str","x":160,"y":2640,"wires":[["98153b94.abdd9"]]},{"id":"98153b94.abdd9","type":"ui_text_input","z":"5a245aa1.510164","name":"","label":"enter","tooltip":"","group":"8b5cde76.edd58","order":4,"width":0,"height":0,"passthru":true,"mode":"text","delay":"0","topic":"topic","topicType":"msg","x":310,"y":2640,"wires":[["c6d88212.aa24a8"]]},{"id":"c6d88212.aa24a8","type":"ui_audio","z":"5a245aa1.510164","name":"","group":"8b5cde76.edd58","voice":"moz-tts:android:en_GB","always":true,"x":460,"y":2640,"wires":[]},{"id":"8b5cde76.edd58","type":"ui_group","name":"","tab":"8f03e639.85956","order":1,"disp":true,"width":"6","collapse":false},{"id":"8f03e639.85956","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
Here a little more information:
this is the error i get
this is the website i created
and here is the function to capture the message
When you click the send button on website, where does it send?
It does not show up properly
You are using the wrong node. use the http in node and a http response node.. Not a http request node.
e.g.
[{"id":"c832ae5b.33946","type":"http in","z":"5a245aa1.510164","name":"","url":"chatbox","method":"get","upload":false,"swaggerDoc":"","x":140,"y":880,"wires":[["e0c6904d.ab26","68c63513.ac1214"]]},{"id":"e0c6904d.ab26","type":"http response","z":"5a245aa1.510164","name":"","statusCode":"","headers":{},"x":340,"y":920,"wires":[]},{"id":"68c63513.ac1214","type":"function","z":"5a245aa1.510164","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":380,"y":860,"wires":[[]]}]
Also are node-red and the web page on the same machine?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.