Closed smartmatic closed 6 months ago
Core of the issue seems to be FileNotFoundError: gdjb.podbean.com/973de4fc-b80a-3254-9d1f-8f50e9d95eca
I am now curious if this is an atv issue or a tts.cloud_say
issue. What integration provides that service?
atv could maybe use some better error handling here tho, so I will tag it atv anyway
Hey there @postlund, mind taking a look at this issue as it has been labeled with an integration (apple_tv
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
apple_tv documentation apple_tv source (message by IssueLinks)
Core of the issue seems to be
FileNotFoundError: gdjb.podbean.com/973de4fc-b80a-3254-9d1f-8f50e9d95eca
I am now curious if this is an atv issue or a
tts.cloud_say
issue. What integration provides that service?
I think HA. The services i am using are scene.create and scene.turn_on May be an atv issue. I see in the automation trace that only the last action fails with error:
Stopped because an error was encountered at 26. Januar 2024 um 09:14:19 (runtime: 38.26 seconds)
gdjb.podbean.com/973de4fc-b80a-3254-9d1f-8f50e9d95eca
I just pointed to the right line in the logs, it's complaining about that the file is not found, so: is the file generated correctly? That's done by the tts.cloud_say
afaict
Hmm, which file? So i hear the TTS message.
Please read my first comment again. A file is generated with your message and sent to the apple_tv, but that can't play it because it can't find the file
Please read my first comment again. A file is generated with your message and sent to the apple_tv, but that can't play it because it can't find the file
That's understood and i read your first comment but i don't know what i should answer. I have attached the yaml from the automation in the issue description. Does a TTS message create a file?
tts.cloud_say
is apparently generating a file gdjb.podbean.com/973de4fc-b80a-3254-9d1f-8f50e9d95eca
and sending that to the apple_tv. but it can't find it
Yes but for me it's a strange behaviour as the automation sends the notification (TTS). That part works. Why this file is send again to apple_tv does not make sense for me. The last action in my automation is not working and thats the restore of the created scene from the first action.
Can you send the scene?
For whatever reason currently not. I got a message that my media player is already playing a stream but the device is idle.
No I mean, can you send it here?
No I mean, can you send it here?
Unfortunately not, i can only execute the scene but not open it to.
Where does this scene come from?
It's created when you define the action. You get only the new scene if you run once the action. Then the scene will be cretaed.
Oooh, I get it now.
I think the media source you were connecting to just isn't available anymore, causing this behaviour
Like I don't know what you were listening, but that was available at that URL. but it wasn't anymore after the notification
So it's a bug or can scene.create with snapshots only used for lights? I tought thats the trick that the snapshot records the state which contains the information what i am listening?
I mean it does restore the state, because it tries to play the same thing but the file it was playing (file/url) is not found.
How can it solved?
I mean it does what you want but it can't be found. Again, I don't know what file or media you were playing when you executed this. This might work with some media and might not with others
Different sources like radio stations selected with the radio browser but also apple music or apple podcasts.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
I've created an automation which creates a snapshot of my homepods before sending a TTS. But there are issues to restore the snapshot that the music is played again after the TTS message.
What version of Home Assistant Core has the issue?
2024.1.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Automation
Link to integration documentation on our website
https://www.home-assistant.io/docs/automation/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response