Tried chime and it doesn't work for ESP Muse as target device
def1149 opened this issue · comments
System Health details
System Information
version | core-2023.9.2 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.5 |
os_name | Linux |
os_version | 6.1.21-v8 |
arch | aarch64 |
timezone | America/Chicago |
config_dir | /config |
Home Assistant Community Store
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
GitHub API Calls Remaining | 4942 |
Installed Version | 1.32.1 |
Stage | running |
Available Repositories | 1288 |
Downloaded Repositories | 8 |
AccuWeather
can_reach_server | ok |
---|---|
remaining_requests | 23 |
Home Assistant Cloud
logged_in | true |
---|---|
subscription_expiration | October 2, 2023 at 7:00 PM |
relayer_connected | true |
relayer_region | us-east-1 |
remote_enabled | true |
remote_connected | true |
alexa_enabled | true |
google_enabled | false |
remote_server | us-east-1-8.ui.nabu.casa |
certificate_status | ready |
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 10.5 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.09.2 |
agent_version | 1.5.1 |
docker_version | 23.0.6 |
disk_total | 229.2 GB |
disk_used | 13.5 GB |
healthy | true |
supported | true |
board | yellow |
supervisor_api | ok |
version_api | ok |
installed_addons | File editor (5.6.0), Advanced SSH & Web Terminal (15.0.8), Home Assistant Google Drive Backup (0.111.1), Mosquitto broker (6.3.1), Z-Wave JS (0.1.90), Network UPS Tools (0.12.1), SQLite Web (3.9.3), JupyterLab (0.12.0), Piper (1.3.2), Airthings (1.2.0), ESPHome (2023.8.3), AWNET to HASS (1.0.1) |
Dashboards
dashboards | 2 |
---|---|
resources | 2 |
views | 2 |
mode | storage |
Recorder
oldest_recorder_run | September 11, 2023 at 9:23 PM |
---|---|
current_recorder_run | September 22, 2023 at 9:38 PM |
estimated_db_size | 147.96 MiB |
database_engine | sqlite |
database_version | 3.41.2 |
Checklist
- I have enabled debug logging for my installation.
- I have filled out the issue template to the best of my ability.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- This issue is not a duplicate issue of currently previous issues..
Describe the issue
Using Choose Device to select the ESP Muse or choosing area doesn't work but choosing Entity ESP Muse does work
Using developer tools to call service with piper tts
Reproduction steps
...
Debug logs
No debug information that I could find for Chime
Diagnostics dump
No response
Found log entries
Failure:
2023-09-22 21:58:31.395 DEBUG (MainThread) [custom_components.chime_tts] Service call #0 was added to the queue.
2023-09-22 21:58:31.396 DEBUG (MainThread) [custom_components.chime_tts] Executing queued job #0
2023-09-22 21:58:31.396 DEBUG (MainThread) [custom_components.chime_tts] ----- Chime TTS Say Called -----
2023-09-22 21:58:31.396 DEBUG (MainThread) [custom_components.chime_tts] * entity_ids = []
2023-09-22 21:58:31.396 DEBUG (MainThread) [custom_components.chime_tts] * hass = <homeassistant.core.HomeAssistant object at 0x7fa6781510>
2023-09-22 21:58:31.396 DEBUG (MainThread) [custom_components.chime_tts] * chime_path = custom_components/chime_tts/mp3s/bells.mp3
2023-09-22 21:58:31.396 DEBUG (MainThread) [custom_components.chime_tts] * end_chime_path = custom_components/chime_tts/mp3s/bells_2.mp3
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * delay = 450.0
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * message = this is a test
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = tts.piper
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * tts_playback_speed = 100.0
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * volume_level = 1.0
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * join_players = False
2023-09-22 21:58:31.397 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2023-09-22 21:58:31.398 DEBUG (MainThread) [custom_components.chime_tts] * announce = False
2023-09-22 21:58:31.398 DEBUG (MainThread) [custom_components.chime_tts] * gender = male
2023-09-22 21:58:31.398 DEBUG (MainThread) [custom_components.chime_tts] ------
2023-09-22 21:58:31.398 ERROR (MainThread) [custom_components.chime_tts] No valid media player found
2023-09-22 21:58:31.407 DEBUG (MainThread) [custom_components.chime_tts] Removing current queued service call.
2023-09-22 21:58:31.407 DEBUG (MainThread) [custom_components.chime_tts] Queue emptied. Reinitializing values.
success:
2023-09-22 21:59:42.892 DEBUG (MainThread) [custom_components.chime_tts] Service call #0 was added to the queue.
2023-09-22 21:59:42.892 DEBUG (MainThread) [custom_components.chime_tts] Executing queued job #0
2023-09-22 21:59:42.892 DEBUG (MainThread) [custom_components.chime_tts] ----- Chime TTS Say Called -----
2023-09-22 21:59:42.892 DEBUG (MainThread) [custom_components.chime_tts] * entity_ids = ['media_player.raspiaudio_muse_luxe_bbc618_raspiaudio_muse_luxe']
2023-09-22 21:59:42.892 DEBUG (MainThread) [custom_components.chime_tts] * hass = <homeassistant.core.HomeAssistant object at 0x7fa6781510>
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * chime_path = custom_components/chime_tts/mp3s/bells.mp3
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * end_chime_path = custom_components/chime_tts/mp3s/bells_2.mp3
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * delay = 450.0
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * message = this is a test
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * tts_platform = tts.piper
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * tts_playback_speed = 100.0
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * volume_level = 1.0
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * join_players = False
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * cache = False
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * announce = False
2023-09-22 21:59:42.893 DEBUG (MainThread) [custom_components.chime_tts] * gender = male
2023-09-22 21:59:42.894 DEBUG (MainThread) [custom_components.chime_tts] ------
2023-09-22 21:59:42.894 WARNING (MainThread) [custom_components.chime_tts] Media player "media_player.raspiaudio_muse_luxe_bbc618_raspiaudio_muse_luxe" does not support changing volume levels
2023-09-22 21:59:42.899 DEBUG (MainThread) [custom_components.chime_tts] async_get_playback_audio_path
2023-09-22 21:59:42.899 DEBUG (MainThread) [custom_components.chime_tts] get_audio_from_path("custom_components/chime_tts/mp3s/bells.mp3", 0, audio)
2023-09-22 21:59:42.900 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "custom_components/chime_tts/mp3s/bells.mp3"...
2023-09-22 21:59:43.522 DEBUG (MainThread) [custom_components.chime_tts] - ...audio with duration 0.944s retrieved successfully
2023-09-22 21:59:43.522 DEBUG (MainThread) [custom_components.chime_tts] async_request_tts_audio(hass, tts_platform="tts.piper", message="this is a test", cache="False", language="None", tld="None", gender="male", tts_playback_speed="100.0"))
2023-09-22 21:59:43.523 DEBUG (MainThread) [custom_components.chime_tts] - Generating TTS audio...
2023-09-22 21:59:49.915 DEBUG (MainThread) [custom_components.chime_tts] - ...TTS audio completed in 6392.416 ms
2023-09-22 21:59:49.917 DEBUG (MainThread) [custom_components.chime_tts] get_audio_from_path("custom_components/chime_tts/mp3s/bells_2.mp3", 450.0, audio)
2023-09-22 21:59:49.918 DEBUG (MainThread) [custom_components.chime_tts] - Retrieving audio from path: "custom_components/chime_tts/mp3s/bells_2.mp3"...
2023-09-22 21:59:50.258 DEBUG (MainThread) [custom_components.chime_tts] - ...audio with duration 1.279s retrieved successfully
2023-09-22 21:59:50.276 DEBUG (MainThread) [custom_components.chime_tts] - Final audio created:
2023-09-22 21:59:50.276 DEBUG (MainThread) [custom_components.chime_tts] - Duration = 4.472s
2023-09-22 21:59:50.278 DEBUG (MainThread) [custom_components.chime_tts] Creating final audio file
2023-09-22 21:59:50.280 DEBUG (MainThread) [custom_components.chime_tts] - Creating temp folder: /media/sounds/temp/chime_tts/
2023-09-22 21:59:50.281 DEBUG (MainThread) [custom_components.chime_tts] - Temp folder created
2023-09-22 21:59:50.282 DEBUG (MainThread) [custom_components.chime_tts] - Creating temporary mp3 file...
2023-09-22 21:59:50.284 DEBUG (MainThread) [custom_components.chime_tts] - temp_obj = <tempfile._TemporaryFileWrapper object at 0x7f8003e150>
2023-09-22 21:59:50.284 DEBUG (MainThread) [custom_components.chime_tts] - Filepath = '/media/sounds/temp/chime_tts/ujlas5jd.mp3'
2023-09-22 21:59:50.666 DEBUG (MainThread) [custom_components.chime_tts] - File saved successfully
2023-09-22 21:59:50.667 DEBUG (MainThread) [custom_components.chime_tts] - audio_dict = {'audio_path': '/media/sounds/temp/chime_tts/ujlas5jd.mp3', 'audio_duration': 4.472}
2023-09-22 21:59:50.667 DEBUG (MainThread) [custom_components.chime_tts] Calling media_player.play_media service with data:
2023-09-22 21:59:50.667 DEBUG (MainThread) [custom_components.chime_tts] - media_content_type: music
2023-09-22 21:59:50.667 DEBUG (MainThread) [custom_components.chime_tts] - media_content_id: media-source://media_source/local/sounds/temp/chime_tts/ujlas5jd.mp3
2023-09-22 21:59:50.667 DEBUG (MainThread) [custom_components.chime_tts] - entity_id: ['media_player.raspiaudio_muse_luxe_bbc618_raspiaudio_muse_luxe']
2023-09-22 21:59:50.677 DEBUG (MainThread) [custom_components.chime_tts] ...media_player.play_media completed.
2023-09-22 21:59:50.678 DEBUG (MainThread) [custom_components.chime_tts] Waiting 4.472s for audio playback to complete...
2023-09-22 21:59:55.152 DEBUG (MainThread) [custom_components.chime_tts] ----- Chime TTS Say Completed in 12259.973 ms -----
2023-09-22 21:59:55.153 DEBUG (MainThread) [custom_components.chime_tts] Removing current queued service call.
2023-09-22 21:59:55.153 DEBUG (MainThread) [custom_components.chime_tts] Queue emptied. Reinitializing values.
Also found this
Logger: custom_components.chime_tts
Source: custom_components/chime_tts/init.py:122
Integration: Chime TTS (documentation, issues)
First occurred: September 22, 2023 at 9:40:05 PM (30 occurrences)
Last logged: September 22, 2023 at 10:08:25 PM
No valid media player found
Media player "media_player.raspiaudio_muse_luxe_bbc618_raspiaudio_muse_luxe" does not support changing volume levels
I don't see anything in the debug logs which indicates what the issue might be.
To rule out whether the issue is Piper-specific, can you please try using another TTS platform other than Piper?
The volume warning likely isn't relevant.
I have not heard back from you therefore I am closing the issue.
Please reply if/when you have additional information to assist me in addressing the issue.