TTS Device

So there is a sale right now on Sonos.. And my TTS adventures with Alexa have been hit or miss..

So I snagged one just for TTS.. It won't be doing any other task but making HE talk.. In fact I got the microphone free one because I have alexa in the same room ..

So what fun TTS stuff have ya'll been doing?

1 Like

So I know you don't do Node-RED. But I want to share one thing that I do with Node-RED and Sonos.

I have a hard time going to bed. It definitely helps that I have CT bulbs in my nightstand that I gradually decrease the kelvin value and level after I say "Alexa, goodnight". This made things better, but adding the following node-red sequence has made it dramatically better.

Now when I say good night, soft piano music starts playing on my bedroom Sonos at a volume of 20. Over 25 minutes, the volume reduces using an "easeIn" algorithm from 20 to 2. It then stays at 2 for 2 hours and then reduces to zero.

These days I am fast asleep about 20 minutes after it reaches "2". No melatonin. No second (or third or fourth) nightcap.

3 Likes

Garage door left open
Windows and doors open when the AC turns on
leak detected
People arriving
Fridge temperature above a certain temp
Bedtime for my daughter

I try to keep the TTS down to not have it become a ignore.

2 Likes

Ha.. it's easier to screenshot it :slight_smile:


image

I have a couple of other apps, like Leak Guardian' that also speak :slight_smile:
and a couple that are Mp3's that use a different app to play

2 Likes

Dang @Cobra.. Your house talks a lot.. :rofl:

1 Like

Yep!
it's not very often quiet here :slight_smile:

Actually, it's not that bad
A lot are only occasional :slight_smile:
And some are for pushover messages.

1 Like

TTS:
Motion events from outside cameras.

I just don't have a whole lot of TTS... hmm... maybe I need more.

The whole family's favorite so far is the Sonos auto play in the bathroom when the door is closed. Walk in lights are on close the door and Sonos plays. Door opens and Sonos stops.

1 Like

Best WAF for me was laundry completed messages.

3 Likes

Our machines play a music tone when they're done so I've never looked into any of the laundry finished integrations...

2 Likes

Been playing with stereo dogs barking when anyone comes near my front door :smile: currently assessing the relative merits of Google Home Mini dashund yapping compared with Sonos rottweiler growling ha ha ha :rofl:

4 Likes

The dogs are also nice as a demo for visitors (whenever that happens again),

2 Likes

I have this automation already.. 2 Real dogs that go nutz when anyone gets near the house :crazy_face:

6 Likes

As someone who does not have any dogs, would anyone be willing to PM an audio file they use and like for this use case? I love it. Beats my techno/house song I play for this scenario. lol

3 Likes

Here you go:

http://soundbible.com/tags-dog.html

4 Likes

Kool site. My little dog REALLY didn't like the cow. Go figure.

3 Likes

One of my cats didn't like any of the dogs. The other two (older ones) didn't give a damn.

2 Likes

This has to be part of the fun, finding dog sounds that irritate the cats lol :smile:

2 Likes

I am very interested in your nose-red routine.

2 Likes

Here you go:

It's triggered via an MQTT-in node and then does what I described. Here's an image of the sequence:

Here's the sequence itself:

Sequence
[
    {
        "id": "b82e4b00.99bb4",
        "type": "sonos-http-api-control",
        "z": "8d29897f.b9b538",
        "confignode": "bd37bdf5.2ce998",
        "name": "Bedroom",
        "mode": "",
        "track": "",
        "volume": "",
        "clipall_value": "",
        "volume_value": "",
        "player": "Bedroom",
        "x": 1160,
        "y": 300,
        "wires": [
            [],
            []
        ]
    },
    {
        "id": "1e176801.9afc58",
        "type": "mqtt in",
        "z": "8d29897f.b9b538",
        "name": "Sonos/Sleep - in",
        "topic": "Sonos/Sleep",
        "qos": "2",
        "datatype": "auto",
        "broker": "40144fb8.a1c1e",
        "x": 220,
        "y": 340,
        "wires": [
            [
                "4450430d.486994",
                "26598745.cbebf",
                "85a62614.123a98",
                "ca2aaa61.21f7c8"
            ]
        ]
    },
    {
        "id": "4450430d.486994",
        "type": "delay",
        "z": "8d29897f.b9b538",
        "name": "2 hrs",
        "pauseType": "delay",
        "timeout": "2",
        "timeoutUnits": "hours",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "x": 470,
        "y": 249,
        "wires": [
            [
                "4f90786d.952d6"
            ]
        ]
    },
    {
        "id": "26598745.cbebf",
        "type": "change",
        "z": "8d29897f.b9b538",
        "name": "vol 20",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "20",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 470,
        "y": 300,
        "wires": [
            [
                "b82e4b00.99bb4"
            ]
        ]
    },
    {
        "id": "85a62614.123a98",
        "type": "delay",
        "z": "8d29897f.b9b538",
        "name": "5 mins",
        "pauseType": "delay",
        "timeout": "5",
        "timeoutUnits": "minutes",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "x": 470,
        "y": 349,
        "wires": [
            [
                "fbba378d.383b28"
            ]
        ]
    },
    {
        "id": "ca2aaa61.21f7c8",
        "type": "delay",
        "z": "8d29897f.b9b538",
        "name": "5 secs",
        "pauseType": "delay",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "x": 470,
        "y": 400,
        "wires": [
            [
                "1a4faf94.bb116"
            ]
        ]
    },
    {
        "id": "4f90786d.952d6",
        "type": "change",
        "z": "8d29897f.b9b538",
        "name": "vol 0",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "0",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 990,
        "y": 249,
        "wires": [
            [
                "b82e4b00.99bb4"
            ]
        ]
    },
    {
        "id": "fbba378d.383b28",
        "type": "change",
        "z": "8d29897f.b9b538",
        "name": "Vol 20-2 (30 mins)",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "{\t   \"from\": 20,\t   \"to\": 2,\t   \"duration\": 1800000\t}",
                "tot": "jsonata"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 650,
        "y": 349,
        "wires": [
            [
                "ec8de7e4.7ec1a8"
            ]
        ]
    },
    {
        "id": "1a4faf94.bb116",
        "type": "change",
        "z": "8d29897f.b9b538",
        "name": "favourite:SoloPiano",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "{\"favourite\":\"SoloPiano\"}",
                "tot": "json"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 670,
        "y": 400,
        "wires": [
            [
                "6616e576.9366fc"
            ]
        ]
    },
    {
        "id": "f1da5755.fa3e4",
        "type": "string",
        "z": "8d29897f.b9b538",
        "name": "to string",
        "methods": [],
        "prop": "payload",
        "propout": "payload",
        "object": "msg",
        "objectout": "msg",
        "x": 980,
        "y": 349,
        "wires": [
            [
                "b82e4b00.99bb4"
            ]
        ]
    },
    {
        "id": "ec8de7e4.7ec1a8",
        "type": "easing",
        "z": "8d29897f.b9b538",
        "name": "",
        "easingType": "easeInQuad",
        "outputType": "overTime",
        "duration": 1000,
        "interval": "5000",
        "numberOfValues": 10,
        "x": 830,
        "y": 349,
        "wires": [
            [
                "f1da5755.fa3e4"
            ]
        ]
    },
    {
        "id": "6616e576.9366fc",
        "type": "sonos-http-api-queue",
        "z": "8d29897f.b9b538",
        "confignode": "bd37bdf5.2ce998",
        "songuri": "",
        "position": "favourite",
        "favourite": "",
        "positioninqueue": "",
        "name": "Sonos Queue",
        "player": "Bedroom",
        "x": 900,
        "y": 400,
        "wires": [
            []
        ]
    },
    {
        "id": "bd37bdf5.2ce998",
        "type": "sonos-http-api-config",
        "z": "",
        "name": "Sonos",
        "ip": "http://192.168.1.4:5005",
        "username": "",
        "password": ""
    },
    {
        "id": "40144fb8.a1c1e",
        "type": "mqtt-broker",
        "z": "",
        "name": "",
        "broker": "127.0.0.1",
        "port": "1883",
        "tls": "",
        "clientid": "",
        "usetls": false,
        "compatmode": false,
        "keepalive": "15",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthRetain": "false",
        "birthPayload": "",
        "closeTopic": "",
        "closeRetain": "false",
        "closePayload": "",
        "willTopic": "",
        "willQos": "0",
        "willRetain": "false",
        "willPayload": ""
    }
]
2 Likes

ha ha ha, love it.
:lying_face: :japanese_goblin: ???

1 Like