Sending Garage door open/close announcements to Sonos via TTS or a .wav or .mp3 file

Just getting started with Node Red/HA Rpi/Shelly. I've written a garage door status flow that works now. A first.

I'm hoping to find out how to send Garage door open/close announcements to Sonos via TTS or a .wav or .mp3 file.

Much appreciated Thanks

Have a look at this node node-red-contrib-tts-ultimate (node) - Node-RED

1 Like

Thanks. How exactly do i import it into my pallet? Is it just the cli command and that makes appear in the pallet after a restart?

In the dropdown menu select Manage Palette and you can install it from there.

I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot in about 1 hour. A small investment for a lot of gain.

1 Like

I tried to install from the drop down menu and looks like it failed. Here's the log.. The videos are good but they don't help much when problems are encountered. That's what I'm finding most times.

Hoping you can help me interpret it and what needs to be done to resolve it.

Thanks

-----------------------------------------------------------
2022-07-15T00:26:02.153Z Install : node-red-contrib-tts-ultimate 1.0.49

2022-07-15T00:26:02.483Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-tts-ultimate@1.0.49
2022-07-15T00:26:08.950Z [err] npm
2022-07-15T00:26:08.952Z [err]  WARN
2022-07-15T00:26:08.953Z [err]  config production Use `--omit=dev` instead.
2022-07-15T00:27:05.086Z [err] npm
2022-07-15T00:27:05.088Z [err]  WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
2022-07-15T00:27:06.024Z [err] npm
2022-07-15T00:27:06.025Z [err]  WARN deprecated uuid@3.3.2: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
2022-07-15T00:27:07.198Z [err] npm WARN
2022-07-15T00:27:07.199Z [err]  deprecated formidable@1.2.2: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau'

No errors there, just warnings.

1 Like

It works like a charm! I really appreciate the time you put into this!

Thanks again and all the best!!

1 Like

One last question. Everything is working but I get this error each time I deploy.

I'm guessing it's being thrown by TTS-ultimate.

Here are my current settings:

Thanks

I rewatched the Node-RED Essentials video playlist again. I watched it a week ago but that was before I had any working flows. Today less of it went over my head. I'll have to go over them each week after gaining more traction. Unfortunately I don't have any JSON experience which some of the videos expect. It's less of a swirl as each day passes. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.