Skip to content
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

[Feature Request] Delay HTTP Response until the announcement has finished. #3

Open
CyaOnDaNet opened this issue Feb 25, 2020 · 2 comments

Comments

@CyaOnDaNet
Copy link

CyaOnDaNet commented Feb 25, 2020

I wanted to be able to chain an announcement with an audio clip but the second call occurs without checking if the first announcement ever finished. The only way I have found to make it wait is using the delay node. I tried using the home assistant wait until node but as far as I can tell, there is no attribute of the announcement ever recorded to the entity. This is not ideal as I intended on using it with announcements of varying lengths. If you could maybe make the payload wait to continue until after the announcement finishes then they could be chained.

Edit: I have used this in Node Red for so long (Thanks by the way) I forgot that its just a simple HTTP request and not a node red palette. Ignore everything from above because it's not relevant. I guess what I want is for it to return the HTTP statusCode 200 after the announcement has finished playing and not immediately after receiving... Does that make sense?

@CyaOnDaNet CyaOnDaNet changed the title [Feature Request] Delay the payload from continuing until the announcement is finished. [Feature Request] Delay HTTP Response until the announcement has finished. Feb 25, 2020
@Letrab
Copy link

Letrab commented May 14, 2020

You want to play it simultaneously? Or sequentially (whatever that means)?

I am working on it.

@Letrab
Copy link

Letrab commented May 14, 2020

jeffothy pushed a commit to jeffothy/hassio-addons that referenced this issue Sep 5, 2022
…_yarn/sonos-audioclip-tts/dot-prop-4.2.1

Bump dot-prop from 4.2.0 to 4.2.1 in /sonos-audioclip-tts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants