nimroddolev / chime_tts

A custom Home Assistant integration to play combined audio files before and/or after text-to-speech (TTS) messages
https://nimroddolev.github.io/chime_tts/
MIT License
196 stars 14 forks source link

Not able to get this to work. #26

Closed sheminasalam closed 1 year ago

sheminasalam commented 1 year ago

Checklist

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

Not working. I am sharing the logs from the integration.

Describe the solution you'd like

no

Describe alternatives you've considered

no

Additional context

This error originated from a custom integration.

Logger: custom_components.chime_tts Source: custom_components/chime_tts/init.py:949 Integration: Chime TTS (documentation, issues) First occurred: 9:33:45 AM (1 occurrences) Last logged: 9:33:45 AM

An error occurred: Unknown source directory.

nimroddolev commented 1 year ago

Hi @sheminasalam.

The issue might be that your Home Assistance instance cannot access the media folder.

To see if this is the cause, please add the following YAML to your configurations.yaml file:

homeassistant:
  media_dirs:
    local: /media

and then restart your Home Assistant.

It could be helpful to enable debug logging for Chime TTS before calling the service to get a full picture of what's going on:

  1. Go to the Developer tools menu item, and then select the SERVICES tab

  2. Enable debug logging by calling this service:

service: logger.set_level
data:
  custom_components.chime_tts: debug
  1. With debugging now enabled, run the chime_tts.say service.

  2. Navigate to your Home Assistant log: _https://**[YOUR_HA_INSTANCE]**:8123/config/logs?filter=chime_tts_

  3. Press the LOAD FULL LOGS button.

sheminasalam commented 1 year ago

It worked with adding the directory. thanks. appreciate the good work man.