Long delay on Google Home voice notifications
Posted: Wednesday 04 December 2019 10:05
Hi all,
I am using Node-Red to send a voice notification to my Google Home Mini when a doorbell is pushed in Domoticz.
This set-up with the Google Home Notify node is working allright but it seems to me there is a long delay between the moment of pressing the doorbell and the actual spoken notification on the Google Home Mini (approx. 7-8 seconds). Not so very effective.
When I output the message via the Play Audio node, the audio message comes through immediately (on my monitor in this case).
Obviously the route to the Google servers and the translation from text-to-speech (TTS) is taking a long time.
My question is: 1. Are there more users with the same experience? and 2. Is there is a solution for this behaviour?
The Node-Red flow I am using:
I am using Node-Red to send a voice notification to my Google Home Mini when a doorbell is pushed in Domoticz.
This set-up with the Google Home Notify node is working allright but it seems to me there is a long delay between the moment of pressing the doorbell and the actual spoken notification on the Google Home Mini (approx. 7-8 seconds). Not so very effective.
When I output the message via the Play Audio node, the audio message comes through immediately (on my monitor in this case).
Obviously the route to the Google servers and the translation from text-to-speech (TTS) is taking a long time.
My question is: 1. Are there more users with the same experience? and 2. Is there is a solution for this behaviour?
The Node-Red flow I am using:
Code: Select all
[{"id":"13e317fc.3295e","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"617706bf.40a8e","type":"mqtt in","z":"13e317fc.3295e","name":"","topic":"domoticz/out","qos":"2","datatype":"auto","broker":"da355387.6ab0e8","x":130,"y":180,"wires":[["b4e236bf.60b238"]]},{"id":"c716740f.d9cb5","type":"switch","z":"13e317fc.3295e","name":"","property":"payload.idx","propertyType":"msg","rules":[{"t":"eq","v":"47","vt":"num"},{"t":"eq","v":"53","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":430,"y":180,"wires":[["7fd7a2b8.c6210c","6d3a12e5.c7694c"],[]]},{"id":"7fd7a2b8.c6210c","type":"debug","z":"13e317fc.3295e","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":610,"y":174,"wires":[]},{"id":"b4e236bf.60b238","type":"json","z":"13e317fc.3295e","name":"","property":"payload","action":"","pretty":false,"x":290,"y":180,"wires":[["c716740f.d9cb5"]]},{"id":"cb54564d.210728","type":"play audio","z":"13e317fc.3295e","name":"","voice":"1","x":650,"y":240,"wires":[]},{"id":"6d3a12e5.c7694c","type":"change","z":"13e317fc.3295e","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"front door","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":460,"y":240,"wires":[["fe164df4.ceead8"]]},{"id":"fe164df4.ceead8","type":"googlehome-notify","z":"13e317fc.3295e","server":"b24bbd5a.8161b8","name":"","x":680,"y":300,"wires":[]},{"id":"da355387.6ab0e8","type":"mqtt-broker","z":"","name":"mqtt broker testpi","broker":"0.0.0.0","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"b24bbd5a.8161b8","type":"googlehome-config-node","z":"","ipaddress":"0.0.0.0","name":"","language":"nl"}]