VoiceRSS Smart-Home-Integration, kostenlos und Open Source

VoiceRSS text-to-speech for Gladys announcements, 40+ languages, with your own free API key.
Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.
Gives Gladys the voices of VoiceRSS for its announcements (the "Play a notification" scene action) and the voice assistant reply, with your own VoiceRSS API key (free plan: 350 requests a day). Unofficial: not affiliated with VoiceRSS.
This integration has never been tested with a real VoiceRSS key yet: it was built from the VoiceRSS API documentation (voicerss.org/api) and tested against a local imitation of that API.
What it does
Gladys sends a text (2,000 characters at most) and the language of the user. The integration picks the voice you chose for that language (French, English or German; the "Language when unknown" voice otherwise), asks VoiceRSS for an MP3 clip (24 kHz, 16 bit, mono) and hands it to Gladys, which plays it on your speakers.
Gladys itself speaks French, English and German. For another language (Spanish, Italian, Dutch, Polish, Japanese… 49 languages and 100 voices in all), choose it in Every announcement in this voice: every announcement is then spoken by that voice, whatever the language Gladys sends; write the texts of your scenes in its language.
Then, in Gladys, open Integrations → Artificial Intelligence, card Voice, and select VoiceRSS.
Limits of Gladys itself (not of this integration): the clip is served to speakers on your local network, and the voice assistant reply stays in text in an HTTPS page (see the Gladys documentation).
What it costs
VoiceRSS counts requests per day (plans, December 2026): the free plan gives 350 requests a day; Advanced 1,000 (5 USD a month), Premium 5,500 (15 USD)… One announcement is one request, whatever its length (100 KB of text at most for VoiceRSS, 2,000 characters from Gladys).
To keep within the quota:
- Daily limit (default 350 requests, the free plan): counted in memory before each request leaves, and
written to
/data(the write waited for 1 s at most); once reached, nothing more is sent until the next day (UTC) or a higher limit. VoiceRSS does not say at what hour its own day starts: keep a margin. A request that may have been counted (no answer, connection cut, unusable clip) stays counted; a request VoiceRSS answered with an error is given back. An announcement is never blocked by/data(delayed 3 s at most): when it is not read yet (2 s at most), read-only or slow, the request leaves all the same and the status says "the daily counter is not saved: the limit is only guaranteed until the next restart" (the pause and a refusal kept there may be unknown too). A cut of power or a crash at the wrong moment can lose the count of one request. - The same text in the same voice is played again from memory (24 hours, 20 clips), not asked twice; asked several times at once (a scene announcing on several speakers), it makes one request whose answer all share.
- At most 2 requests at once and 8 waiting; more at the same moment are refused ("Too many announcements").
- No retry: a failed request is not sent again by the integration (a retry would spend one more request).
- The Test button counts as one request.
Get the API key
- Create a free account on voicerss.org (Register).
- Once signed in, copy the API key shown on your account page.
Configuration
| Field | What it does |
|---|---|
| API key | Kept by Gladys in its database, never shown again, sent only to VoiceRSS (in the body of an HTTPS request, never in an address). |
| French / English / German voice | The voice for each language, among the variants of that language (France, Canada, Switzerland; US, UK…; Germany, Austria…). |
| Every announcement in this voice | "No" by default; otherwise one of the 100 voices, used for every announcement. |
| Language when unknown | The voice used when Gladys sends no language or another one. |
| Speaking rate | From -10 (slowest) to 10 (fastest); 0 is the normal rate. |
| Daily limit (requests) | 1 to 1,000,000; default 350 (the free plan). |
The Test the voice button asks VoiceRSS for a short sentence (one request) with the saved settings and says how long it took. Nothing is played.
When something goes wrong
The status of the Configuration screen says why:
- VoiceRSS refused this API key (VoiceRSS answered "The API key is not available" or "The account is
inactive"): nothing more is sent with it, even after a restart (once
/datais read), until you enter another key or the Test button succeeds (it sends anyway)./datakeeps only two 8-bit fingerprints (different labels) of a salted hash of the refused key, never the key: after a restart, another key has 1 chance in 65,536 to look refused; the Test button then clears it. While the integration runs, the refused key is compared in memory only. - The daily requests of the plan are used up, or the subscription expired (VoiceRSS says so): no request for
1 hour, then 2, 4 and 6 hours if it goes on; the Test button waits too. The pause is kept in
/dataacross a restart; a success ends it. - Slow down / VoiceRSS failed (HTTP 429 or 5xx): no request for 60 s, then 2, 4… minutes up to 1 hour if it
goes on (longer when VoiceRSS asks for it with
Retry-After, 6 hours at most). Kept in/datatoo. - VoiceRSS denied the request (HTTP 401 or 403 without a VoiceRSS error text): not taken as a refusal of the key; the next announcement tries again.
- VoiceRSS refused the request (an unsupported language, a text too long, another error): only a short code
is shown (
language,too_long,unknown_error…), never the answer itself. - Could not be reached, or the connection was cut: a cut after the request left stays counted.
- Did not answer in time: Gladys waits 30 s; the integration gives up at 25 s.
Privacy
The text to speak is sent to VoiceRSS. The integration never writes it to the logs or to /data (only its
length); the clips stay in memory only. The key travels in the body of an HTTPS POST request, not in the address:
it does not appear in an address, a proxy log or an error message. A redirect from the VoiceRSS address is never
followed, so the key goes nowhere else.
Konfigurationseinstellungen
Diese Einstellungen fragt VoiceRSS in seinem Konfigurationsbildschirm in Gladys ab.
| Einstellung | Typ | Pflichtfeld | Beschreibung |
|---|---|---|---|
| Your VoiceRSS account | section | Nein | VoiceRSS gives a free API key with 350 requests a day (one request per announcement; a repeated sentence is served from memory). Create an account on voicerss.org, then copy the API key shown on your account page. |
| API key | secret | Ja | Kept by Gladys in its database, never shown again, sent only to VoiceRSS (in the body of the request, never in an address). |
| French voice | select | Nein | The voice of announcements Gladys sends in this language. |
| English voice | select | Nein | The voice of announcements Gladys sends in this language. |
| German voice | select | Nein | The voice of announcements Gladys sends in this language. |
| Every announcement in this voice | select | Nein | For a language Gladys does not offer (Spanish, Italian, Dutch…): every announcement is spoken by this voice, whatever the language Gladys sends. Write the texts of your scenes in its language. |
| Language when unknown | select | Nein | The voice used when Gladys sends no language, or another one. |
| Speaking rate | number | Nein | From -10 (slowest) to 10 (fastest); 0 is the normal rate. |
| Daily limit (requests) | number | Nein | Nothing more is sent to VoiceRSS once this many requests were sent in the day (UTC): one per announcement not served from memory, the Test button included. The default, 350, is the free plan; set the number of requests of your plan (1,000 for Advanced, 5,500 for Premium…). |
So installierst du VoiceRSS in Gladys
- Öffne in Gladys Integrationen: VoiceRSS erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
- Klicke auf Installieren. Gladys lädt das Docker-Image (
ghcr.io/lm1lc3n7/gladys-voicerss:0.1.1) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration). - Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
- Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/LM1LC3N7/gladys-voicerss.
VoiceRSS benötigt Gladys >=5.3.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.
Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.
Über externe Integrationen
VoiceRSS ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von LM1LC3N7 veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.
- Alle Integrationen durchsuchen, native und aus der Community
- Deine eigene externe Integration bauen und veröffentlichen
- Quellcode auf GitHub — Quelle dieser Dokumentation