Giter Site home page Giter Site logo

homeassistant-azure-tts's Introduction

💫 About Me:

Software Development Architect with a strong Cloud automation background and 7+ years of experience designing, implementing, and managing cutting-edge solutions.

🌐 Socials:

LinkedIn

💻 Tech Stack:

Python AWS Azure Cloudflare OpenStack Bootstrap DjangoREST Django Express.js FastAPI Flask NodeJS Next JS NPM Symfony Vue.js Vuetify Nginx Jenkins Apache Apache Airflow AmazonDynamoDB MariaDB Redis MongoDB Pandas NumPy Plotly Arduino Jira Kubernetes ElasticSearch Terraform Raspberry Pi

📊 GitHub Stats:



✍️ Random Dev Quote


homeassistant-azure-tts's People

Contributors

yassineselmi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

hieronymusde

homeassistant-azure-tts's Issues

init and concatenate str error

Hi, i got two errors with your integration:
my configuration.yaml is:

    #https://github.com/yassineselmi/homeassistant-azure-tts
  - platform: azure_tts
    service_name: tts_microsoft_noemi_notok
    cache: false
    api_key: ####################
    language: hu-HU
    gender: Female
    #type: hu-HU-NoemiNeural
    type: NoemiNeural
    rate: 100
    volume: 100
    pitch: default
    contour: (0, 0) (100, 100)
    region: westeurope

my automation is:

alias: Announcement, Time (Microsoft)
description: ''
trigger:
  - platform: time_pattern
    minutes: /15
condition: []
action:
  - service: tts.tts_microsoft_noemi_notok
    data:
      entity_id: media_player.living_room_speaker, media_player.bedroom_speaker
      message: {{ now().hour}} óra {{ "%0.02d" | format(now().strftime("%-M") | int) }} perc
mode: single

Error1

Error on init TTS: No TTS from azure_tts for 'message: 20 óra 30 perc'
8:30:51 PM – (ERROR) Text-to-Speech (TTS)

Logger: homeassistant.components.tts
Source: components/tts/__init__.py:188
Integration: Text-to-Speech (TTS) (documentation, issues)
First occurred: 8:30:51 PM (1 occurrences)
Last logged: 8:30:51 PM

Error on init TTS: No TTS from azure_tts for 'message: 20 óra 30 perc'

Error2

Error occurred for Azure TTS: can only concatenate str (not "bytes") to str
8:30:51 PM – (ERROR) azure_tts (custom integration)

Logger: custom_components.azure_tts.tts
Source: custom_components/azure_tts/tts.py:415
Integration: azure_tts (documentation, issues)
First occurred: 8:30:51 PM (1 occurrences)
Last logged: 8:30:51 PM

Error occurred for Azure TTS: can only concatenate str (not "bytes") to str

do you have a solution for this issue?

also id like to change the ptch of the voice a bit deeper, and at sample site (microsoft) and in azur, its posible to change this attribute. id like to use 0.9 for pitch and 1.2 for speed

Thanks,
Zoltan

ps:
with his integration it works:
https://github.com/georgezhao2010/azure_cognitive_speech

  - platform: azure_cognitive_speech
    service_name: tts_microsoft_noemi
    cache: false
    api_key: #############
    region: westeurope
    default_voice: Noemi

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.