-
Notifications
You must be signed in to change notification settings - Fork 25
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
Mp3 file only got play for 1 second. #110
Comments
are you on the latest version of the package? And can you provide traces of the Resume Script and Resume Helper Script as well? |
trace automation.google_home_automatic_resume 2024-12-07T14_25_02.816605+00_00.json Just got chance to test again today and download the trace. I only have the resume script but no helper script. |
You've sent me a trace for the automation in which you call the script, but not the trace for the script itself (and the helper script). |
trace script.google_home_resume 2024-12-07T14_25_01.086577+00_00.json I see.. sorry for the confusion.. Here you go. |
On line 759 of the last version there is a short delay (of 2 seconds) which should ensure the playback of the TTS or other media file has started, and then the script should wait until that one is stopped before resuming. You could try increasing that delay with a few more seconds. https://github.com/TheFes/Google-Home-Resume/blob/main/google_home_resume.yaml#L759 |
I increased to 5s and restarted the HA. It still played 1-2s of the mp3 file. The playback does start, I guess that's not the problem. If the google home is not playing youtube music, the doorbell mp3 will play completely. |
did you reload scripts after making the change? |
Yes. Reload script, and tried restart the HA as well |
can you send a new trace for the helper script? |
Hi,
I just created a straightforward door bell setup with all default settings, the mp3 file only played for 1 sec and the music resume is on. Any idea what I did wrong?
Thank you
trace automation.someone_at_the_door 2024-12-04T02_40_49.227729+00_00.json
The text was updated successfully, but these errors were encountered: