Deepgram Aura Smart-Home-Integration, kostenlos und Open Source

Deepgram Aura-2 voices for Gladys announcements, with your own API key.
Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.
Gives Gladys the Deepgram Aura-2 voices for its announcements (the "Play a notification" scene action) and the voice assistant reply, with the API key of your own Deepgram project. Unofficial: not affiliated with Deepgram.
This integration has never been tested with a real Deepgram account yet: it was built from the Deepgram documentation (developers.deepgram.com, "Text to Speech REST", "Voices and languages", "Errors", December 2026) 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 Aura-2 voice you chose for that language (French, English or German; the "Language when unknown" voice otherwise), asks Deepgram for an MP3 clip and hands it to Gladys, which plays it on your speakers. Each language only offers the voices Deepgram made for it (2 French, 41 English, 7 German): the French voice is always a French one, and so on.
Then, in Gladys, open Integrations → Artificial Intelligence, card Voice, and select Deepgram Aura.
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
Deepgram bills text to speech per character of text, from the credit of your project: 0.030 USD per 1,000 characters for Aura-2 on pay as you go (deepgram.com/pricing, December 2026). A new account gets a trial credit.
To keep the bill under control:
- Maximum length of a text (default 1,000 characters, about a minute of speech; Deepgram takes 2,000 at most): a longer text is cut before it is sent, at a space when there is one in the second half.
- Daily limit (default 10,000 characters, about 0.30 USD a day at most), over any 24 hours (a sliding window
counted per minute, never reset at midnight): before each request leaves, the
integration reserves the size of the text in UTF-8 bytes (an accented letter counts 2, never fewer than
Deepgram's count), in memory and in
/data(the write waited for 1 s at most); when Deepgram answers with the number of characters it counted (dg-char-countheader), the count is set to that number, but never below the characters of the text: a header out of proportion with the text (below its characters, or more than twice the reservation and more than 2,000) is ignored, the reservation kept and a warning logged. Once the limit is reached, nothing more is sent until characters counted 24 hours ago free up, or a higher limit; the count is kept in/dataacross a restart. A request that may have been billed stays counted: no answer, connection cut, unusable clip, and every answer Deepgram's text-to-speech documentation does not describe as "not processed": 400, 401, 402, 403, 415, 422, 429, 5xx, any other status (even a refusal by the nature of the error, since the documentation does not say it is not billed; the 402 is only documented for speech to text). Only HTTP 413 ("the audio file won't be created") and a connection that never opened give the characters back. An announcement is not held up by/datamore than 3 s (2 s at most for the first read, 1 s for a write). As long as/datacould not be read (unreadable, read-only, mounted wrongly) or cannot be written, the count could be lost at a restart, so the integration only has a reserve budget over any 24 hours: the smaller of your daily limit and 1,000 characters (about 0.03 USD), every request counted in memory. Past it, nothing is sent and the status says so; it lifts as soon as/datais read again or written again. A/datathat is really empty (first start) keeps the normal limit. 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 (7 days, 50 clips, lost at a restart), not billed 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 (Deepgram allows 15 per project) and 8 waiting; more at the same moment are refused ("Too many announcements").
- No retry: a request that may have left is not sent again by the integration (a retry could be billed twice).
Create the API key
- Create an account on console.deepgram.com (a trial credit comes with it).
- In your project, open API Keys and create a key (the "Member" role is enough).
- Paste it in the API key field, then pick a voice per language (the defaults are Deepgram's featured voices: Agathe in French, Thalia in English, Julius in German).
Configuration
| Field | What it does |
|---|---|
| API key | Kept by Gladys in its database, never shown again, sent only to Deepgram (Authorization: Token). |
| French / English / German voice | An Aura-2 voice of that language (all the same price). Defaults: Agathe, Thalia, Julius. |
| Language when unknown | The voice used when Gladys sends no language or another one. |
| Daily limit (characters) | 200 to 5,000,000; default 10,000. |
| Maximum length of a text (characters) | 100 to 2,000; default 1,000. |
The Test the voice button asks Deepgram for a short sentence (about 45 billed characters) with the saved settings and says how many characters Deepgram counted and how long it took. Nothing is played. It counts against the daily limit and waits for a pause like an announcement.
When something goes wrong
The status of the Configuration screen says why:
- Deepgram refused this API key (HTTP 401: wrong, deleted or expired key, or a key without the right to use
text to speech): 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 prints of a salted hash of the refused key, never the key: a new key is tried at once; after a restart, another key has 1 chance in 65,536 to look refused, and the Test button then clears it. - Not enough credit (HTTP 402): add credit in the Deepgram console. No request for 60 s, then 2, 4… minutes up to 1 hour while it goes on; the Test button waits too. This is not a refusal of the key. The characters of that request stay counted.
- No access to this voice (HTTP 403): not a refusal of the key; the next announcement tries again. The characters of that request stay counted.
- Slow down / Deepgram failed (HTTP 429 or 5xx): no request for 60 s, then 2, 4… minutes up to 1 hour if it
goes on (longer when the answer has a
Retry-After, 6 hours at most); the Test button waits too. The pause is kept in/dataacross a restart; a success ends it. The characters of that request stay counted. - Deepgram refused the request (HTTP 413: given back; 400, 415, 422, 404 or another status: kept counted): only the status code is shown (the body of the answer could quote your text).
- 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.
- Not an MP3 clip: the answer was refused (and stays counted: it may have been billed).
Privacy
The text to speak is sent to Deepgram. The integration never writes it to the logs or to /data (only its length
in characters); the clips stay in memory only. A redirect from the Deepgram address is never followed, so the key
goes nowhere else. The integration does not opt out of Deepgram's Model Improvement Program (mip_opt_out), since
Deepgram says opting out changes the price: see Deepgram's own terms.
Konfigurationseinstellungen
Diese Einstellungen fragt Deepgram Aura in seinem Konfigurationsbildschirm in Gladys ab.
| Einstellung | Typ | Pflichtfeld | Beschreibung |
|---|---|---|---|
| Your Deepgram project | section | Nein | Deepgram bills text to speech per character of text, from the credit of your project: 0.030 USD per 1,000 characters for Aura-2 on pay as you go (December 2026). Create an API key in the Deepgram console (project, API Keys); a new account gets a trial credit. |
| API key | secret | Ja | Kept by Gladys in its database, never shown again, sent only to Deepgram. |
| French voice | select | Nein | The Aura-2 voice that says the announcements in this language (all Aura-2 voices cost the same). |
| English voice | select | Nein | The Aura-2 voice that says the announcements in this language (all Aura-2 voices cost the same). |
| German voice | select | Nein | The Aura-2 voice that says the announcements in this language (all Aura-2 voices cost the same). |
| Language when unknown | select | Nein | The voice used when Gladys sends no language, or another one. |
| Daily limit (characters) | number | Nein | Nothing more is sent to Deepgram once this many characters were counted over the last 24 hours (a sliding window). The default, 10,000 characters, costs about 0.30 USD a day at most. A clip served from memory (the same sentence again) is not counted. |
| Maximum length of a text (characters) | number | Nein | A longer text is cut (at a space when possible) before it is sent: 1,000 characters is about a minute of speech. Deepgram takes 2,000 at most. |
So installierst du Deepgram Aura in Gladys
- Öffne in Gladys Integrationen: Deepgram Aura erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
- Klicke auf Installieren. Gladys lädt das Docker-Image (
ghcr.io/lm1lc3n7/gladys-deepgram-aura: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-deepgram-aura.
Deepgram Aura 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
Deepgram Aura 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