Hi guys,
I have obtained a zigbee button, and plan to use it as a doorbell.
This button being pressed can then kick off an audio file / send notifications / flash lights / etc.
I can do most of these using node-RED, but I have a couple of questions really:
- The google speakers I have take a small delay to play the audio (~1 second)… It’s not much but it’s noticable, and of course a person could always be confused at the door if the button press has slow feedback… Can anyone think of any way to speed this up? I know the problem is really with getting the chromecast devices to pull in the MP3 file and start playing it (just like TTS renders to MP3 and then sends that to the chromecast devices), is there a way to cache it maybe?
- The audio playing will disrupt anything already playing, and then it won’t go back to the previous state (playing in a playlist etc)… I would propose storing the current state and then reverting back to the previous state afterwards - however there doesn’t appear to be any sort of linearity in the flows itself (eg: the action of kicking off the audio doesn’t stop the message from being passed onto the next node)… You’d have to use the wait node or something. Is there something built into the chromecast integration/API to make my life easier here?
Thanks
old486whizz