Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
node-red-contrib-sonospollytts
Advanced tools
This node uses Polly TTS api and Node Sonos api.
This is a very early alpha, so use at your own risk!
Do you want to support us?
Please see the Changelog
USE: Set the configuration of Polly (you need the free Amazon AWS credentials), then set your Sonos IP Address (Sonos doesn't allow to set a fixed IP to the sonos's device, so you need to reserve an IP using the DHCP Reservation function of your router/firewall's DHCP Server).
Send to the node, a payload with the text you want to speed out. For example {payload:"Hello there!"}
.
You can send multiple messages at once. The node will handle the queue.
CONFIG:
Polly Config: create a config with your AWS credentials
Polly Voice: select your preferred voice
Polly Cache: leave it as is
Sonos IP: insert your sonos's IP
Sonos Volume: set the preferred TTS volume, from 0 to 100
Sonos Hailing: before the first TTS message of the message queues, Sonos will play an "hailing" sound. Leave blank for disabling the hailing. Put again hailing.mp3 to restore the hailing
Node-Red IP: set IP of your node-red
Node-Red Port: normally 1880. If you've changed the default port, adjust this field consequently
Known issues:
- If the Sonos device is set to LineIn, TVin or other physical input, the node doesn't work. You need to play something via Sonos App, then stop the play. Then the node will work again
SAMPLE FLOW:
[
{
"id": "2a7223f6.d28e0c",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "7948293a.159a68",
"type": "inject",
"z": "2a7223f6.d28e0c",
"name": "",
"topic": "",
"payload": "true",
"payloadType": "bool",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 70,
"y": 120,
"wires": [
[
"140491c3.4c7e0e"
]
]
},
{
"id": "140491c3.4c7e0e",
"type": "function",
"z": "2a7223f6.d28e0c",
"name": "",
"func": "node.send({payload:\"Ciao, volevo dire una cosa molto importante. Sa, la dico lostesso, vado? Si, vado. Io sono una riga molto lunga e posso avere lo stato playing\"});\nnode.send({payload:\"Riga12\"});\nnode.send({payload:\"Altra riga molto lunga, con stato playing sicuramente trappato. Altrimenti va da via i ciap.\"});",
"outputs": 1,
"noerr": 0,
"x": 210,
"y": 120,
"wires": [
[
"4e75a6d3.bc73c8"
]
]
},
{
"id": "4e75a6d3.bc73c8",
"type": "sonospollytts",
"z": "2a7223f6.d28e0c",
"name": "",
"voice": "0",
"ssml": false,
"dir": "/tmp",
"sonosipaddress": "192.168.1.109",
"noderedipaddress": "192.168.1.131",
"noderedport": "1880",
"config": "ea5ffe92.83e9",
"x": 420,
"y": 140,
"wires": []
},
{
"id": "ea5ffe92.83e9",
"type": "sonospollytts-config",
"z": "",
"name": "bbb"
}
]
FAQs
DEPRECATED. PLEASE INSTALL node-red-contrib-tts-ultimate INSTEAD.
The npm package node-red-contrib-sonospollytts receives a total of 119 weekly downloads. As such, node-red-contrib-sonospollytts popularity was classified as not popular.
We found that node-red-contrib-sonospollytts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.