Giter Club home page Giter Club logo

ha-google-cloud-stt's Introduction

ha-google-cloud-stt's People

Contributors

chatziko avatar felipecrs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ha-google-cloud-stt's Issues

.

sorry my mistake, everything works fine!

Error when validating the yaml file

Hi, i'm getting the following error message when validating the yaml file:

Package stt setup failed. Component stt cannot be merged. Expected a dict.

yaml:

stt:
  - platform: google_cloud_stt
    key_file: google_service_account.json
    model: command_and_search

Unexpectedly high Google API costs

Google charged me $19 for speech-to-text on the 23rd-31st Dec for 609 minutes usage over 6200 requests. I didn't spend 10 hours talking, and nor did I use if that many times since I installed on the 28th. Do you have any thoughts on what might be happening? I have it hooked up to a Pi running satellite and 2 M5 atom echo devices. It looks like the bulk of the costs were for that first install day, but I can't find a graph that shows calls rather than latency, etc. It seems to have settled down since then, but is possibly charging me a few cents a day, whereas I would expect to be within the free quota.

I've not had to use Google's billing much before, so I'm trying to put in some limits, but they don't make it easy.

Error message, when save configuration

Platform error tts.google_cloud_stt - No module named 'custom_components.google_cloud_stt.tts'

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1910, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1950, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 887, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/homeassistant/init.py", line 316, in async_handle_reload_all
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Cannot quick reload all YAML configurations because the configuration is not valid: Platform error tts.google_cloud_stt - No module named 'custom_components.google_cloud_stt.tts'

Language Support?

I have google_cloud_stt configured as my speech to text agent in Home Assistant's Voice Assistant. However, there are no other languages available (like Hindi) besides different variations of English. I have tried using both command_and_search and latest_short models both of which support a ton of languages besides English and its variants. Is this a limitation of Home Assistant or the custom integration?

The stt integration does not support any configuration parameters

I'm receiving this error in my HA logs. Maybe some HA breaking change? I'm currently running with 2023.7.1.

Logger: homeassistant.helpers.config_validation
Source: helpers/config_validation.py:1065
First occurred: 9 de julho de 2023 às 13:01:36 (1 occurrences)
Last logged: 9 de julho de 2023 às 13:01:36

The stt integration does not support any configuration parameters, got [{'platform': 'google_cloud_stt', 'key_file': 'google-cloud-service-account.json', 'model': 'latest_short'}]. Please remove the configuration parameters from your configuration.

Error: stt-stream-failed - Unexpected error during speech-to-text wit ATOM Echo

Did anyone encounter this issue? Home Assistant v2024.6.2 and Atom Echo:
[10:03:23][D][voice_assistant:502]: State changed from STOPPING_MICROPHONE to AWAITING_RESPONSE
[10:03:23][D][voice_assistant:625]: Event Type: 0
[10:03:23][E][voice_assistant:755]: Error: stt-stream-failed - Unexpected error during speech-to-text
[10:03:23][D][voice_assistant:618]: Signaling stop...

I have configured STT plugin (via hacs + configuration.yaml:
stt:

  • platform: google_cloud_stt
    key_file: googlecloud.json
    model: command_and_search

and followed Google Cloud tts/sst guide. The googlecloud.json is send to config folder where configuration.json is visible. I can select google_cloud_stt in Assist's Speech to text so from HA perspective I am good to go.
Whenever I try to speak the voice is automatically shut down and error comes:
Error: stt-stream-failed - Unexpected error during speech-to-text

I tried with Piper and it is working (of course it is not accurate with my local language and works 5-6 seconds until output)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.