Supergiovane / node-red-contrib-tts-ultimate

This node transforms a text into a speech audio. You can hear the voice natively through Sonos or external players.
MIT License
22 stars 5 forks source link

Muted Speaker #43

Closed Rink76 closed 2 years ago

Rink76 commented 2 years ago

Hi,

Thanks for the awesome node you created, not sure if it possible, but I have a feature request.

Sometimes I mute my Sonos speaker and forget to unmute them. If I then send a text to it, including volume level, logically no sound comes out of the speaker (case it's muted). Would it be possible to add a function that checks on forehand whether the speaker is muted and then unmute it

Steps to reproduce the behavior:

  1. With the Sonos App mute a speaker
  2. With TTS-Ultimate send text to the muted speaker
  3. TTS-Ultimate seems to work correctly, but no sound is actually played

Expected behavior An option to unmute a muted speaker

Are you running node-red behind homematic, docker or anything similar? Node-Red running on Hassio

Supergiovane commented 2 years ago

Hi, will check what "Een optie om het dempen van een gedempte luidspreker op te heffen" means and i'll take a look.

Rink76 commented 2 years ago

Hi, will check what "Een optie om het dempen van een gedempte luidspreker op te heffen" means and i'll take a look.

Sorry, updated the text in english.

Supergiovane commented 2 years ago

Hi Rink node-red-contrib-tts-ultimate@1.0.35 is out. Please see the README about new "Unmute" option. Basically, just enable it in the config window. If not already done, please STAR my node. Thanks.

Rink76 commented 2 years ago

@Supergiovane Wooow that fast 💯 Thnx, I'll give it a try 👍

Rink76 commented 2 years ago

@Supergiovane

Tried the note with unmute true, but it doesn't seem to work ? Did i configure it incorrect ?

image

Supergiovane commented 2 years ago

You don't need to pass unmute in the message. This is only for temporary purpose. Change the config directly in the configuration window.

Supergiovane commented 2 years ago
Node-RED
Rink76 commented 2 years ago

Thnx again, tested and indeed works like a charm!