Cercando, mi pare che dalla guida manchi questa parte: https://www.home-assistant.io/addons/google_assistant/
Oppure sono io che non ci sto capendo più nulla...
Aggiornamento:
Ho appena provato a seguire i passi iniziali della guida che ho linkato
To enable access to the Google Assistant API, do the following:
In the Cloud Platform Console, go to the Projects page. Select an existing project or create a new project
Open the project. In the top of the page search for Google Assistant API or use this link and enable it.
Create an OAuth Client ID, pick type “Other”, click “Create” and download the JSON file by clicking the Download JSON button on the right side.
Ma l'errore che ricevo, dopo aver premuto Authentication è il medesimo:
[font=arial, sans-serif]401. That’s an error.[/font]
[font=arial, sans-serif]Error: disabled_client[/font]
[font=arial, sans-serif]A native application: project-numeroprogettochenonsoseèsensibile[/font]
[font=arial, sans-serif]You can email the developer of this application at: unconfiguredapp@google.com[/font]
[font=arial, sans-serif]This app is not yet configured to make OAuth requests. To do that, set up the app’s OAuth consent screen in the Google Cloud Console.[/font]
:dodgy: :@
Ciao, sembra che non riesce a continuare per mancanza di un collegamento per l'account.
Prova a mettere la tua email come mostrato in foto in allegato.
[attachment=37]
PS Se dovesse funzionare, sappi che, per inviare i messaggi di testo, non va, perchè bisogna modificare "broadcast" con "di a tutti:" nel file python dello sviluppatore. Ma si può ovviare con il send command, basta anteporre alla frase da leggere, di a tutti:
NB Ricordo che attualmente, il messaggio è preceduto da "C'è un messaggio da nome_utente" e poi il tuo testo
In sostanza le frasi sono da comporre con uno dei seguenti suffissi... [font=Consolas,]fai sapere a tutti/di a tutti/comunica a tutti/annuncia a tutti + [/font]il messaggio da riprodurre.
Per inviare i messaggi preconfigurati, basta usare frasi del genere: comunica sveglia, annuncia che è pronto da mangiare, comunica buonanotte etcetc.
Configurazione per le notifiche:
notify:
- name: Google Assistant Command
platform: rest
resource: http://tuoip:5000/command
Esempio uso notifiche:
- service: notify.google_assistant_command
data_template:
message: >-
di a tutti: {{ speech_message }}