Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character usage to HA #97

Open
3 tasks done
Fred-DTV opened this issue Feb 10, 2024 · 3 comments
Open
3 tasks done

Character usage to HA #97

Fred-DTV opened this issue Feb 10, 2024 · 3 comments

Comments

@Fred-DTV
Copy link

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

running out of credits

Describe the solution you'd like

Would it be possible to get the current amount of characters left on the plan into HA?

Describe alternatives you've considered

.

Additional context

.

@Tahutipai
Copy link

Dito. This is a great component, but when it fails, it just seems to fail silently (i.e no issue in HA).

Would it be possible to get some sort of feedback system or error raising when out of credits? e.g we could have an automation that switches back to another TTS service when ElevenLabs is out of credits - then reverts back to ElevenLabs once the next billing cycle starts / or account has been upgraded with more credits.

@carleeno
Copy link
Owner

Hi, apologies for the very slow response.

I've been traveling full-time since November, and so I don't currently use HA and have little time to contribute to this project. My focus at this time is simply to "keep the lights on" so to speak.

However, if anybody would like to add this feature and submit a PR, I'll be happy to merge it in.

Also, there is currently progress towards making an official elevenlabs integration for HA here, once it's added this custom integration will be deprecated and focus will move to improving the official integration.

@sorgfresser
Copy link

Hi! I opened a PR for something like this in the ElevenLabs integration in HA now. In case this is something you are still interested in, I would be happy to have your thoughts about the exact implementation (i.e. whether Sensors are the best choice, and what time windows to support). home-assistant/core#133240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants