# Node-red-contrib-google-home-notify no longer working

**URL:** <https://discourse.nodered.org/t/node-red-contrib-google-home-notify-no-longer-working/38233>\
**Category:** General\
**Created:** [29 December 2020 19:58 UTC](https://discourse.nodered.org/t/node-red-contrib-google-home-notify-no-longer-working/38233 "2020-12-29T19:58:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncherry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ncherry/32/27_2.png) [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Post date:** [29 December 2020 19:58 UTC](https://discourse.nodered.org/t/node-red-contrib-google-home-notify-no-longer-working/38233/1 "2020-12-29T19:58:34Z")

</div>

Not sure what happened but after an update I get TypeError: Googletts is not a function. When I look into the google-home-notify code I see the require but when I look into the google-tts-api I've noticed that it has changed from the last version to the current.

Is node-red-contrib-google-home-notify working for anyone else?

Catch: Google Home Tab  
Org topic: home/google/hub  
TTS: Test message  
Type: googlehome-notify  
Name: Google Nest Hub  
Message: TypeError: Googletts is not a function  
Stack:  
TypeError: Googletts is not a function at getSpeechUrl (/home/njc/.node-red/node\_modules/google-home-notify/google-home-notifier.js:31:5) at GoogleHomeNotifier.notify (/home/njc/.node-red/node\_modules/google-home-notify/google-home-notifier.js:19:5) at GoogleHomeNotifier.\_inputCallback (/home/njc/.node-red/node\_modules/node-red-contrib-google-home-notify/node-red-google-home-notify.js:111:33) at hooks.trigger (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:203:26) at Object.trigger (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/hooks.js:113:9) at GoogleHomeNotifier.Node.\_emitInput (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:195:11) at GoogleHomeNotifier.Node.emit (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:179:25) at GoogleHomeNotifier.Node.receive (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:476:10) at Immediate.\_onImmediate (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/Flow.js:657:52) at runCallback (timers.js:705:18)

Input msg JSON{"topic":"home/google/hub","payload":"Test message","qos":0,"retain":false,"\_msgid":"7c95e26d.ab536c","error":{"message":"TypeError: Googletts is not a function","source":{"id":"51ac1d46.934514","type":"googlehome-notify","name":"Google Nest Hub","count":1},"stack":"TypeError: Googletts is not a function\n at getSpeechUrl (/home/njc/.node-red/node\_modules/google-home-notify/google-home-notifier.js:31:5)\n at GoogleHomeNotifier.notify (/home/njc/.node-red/node\_modules/google-home-notify/google-home-notifier.js:19:5)\n at GoogleHomeNotifier.\_inputCallback (/home/njc/.node-red/node\_modules/node-red-contrib-google-home-notify/node-red-google-home-notify.js:111:33)\n at hooks.trigger (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:203:26)\n at Object.trigger (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/hooks.js:113:9)\n at GoogleHomeNotifier.Node.\_emitInput (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:195:11)\n at GoogleHomeNotifier.Node.emit (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:179:25)\n at GoogleHomeNotifier.Node.receive (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/nodes/Node.js:476:10)\n at Immediate.\_onImmediate (/usr/local/lib/node\_modules/node-red/node\_modules/@node-red/runtime/lib/flows/Flow.js:657:52)\n at runCallback (timers.js:705:18)"}}

---

<div class="post-metadata">

**Author:** ![ncherry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ncherry/32/27_2.png) [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Post date:** [29 December 2020 20:11 UTC](https://discourse.nodered.org/t/node-red-contrib-google-home-notify-no-longer-working/38233/2 "2020-12-29T20:11:28Z")

</div>

Okay, I've looked at the Change ([https://github.com/zlargon/google-tts/blob/master/CHANGELOG.md](https://github.com/zlargon/google-tts/blob/master/CHANGELOG.md)) log for google-tts-api and there's breakage.  
I'll notify the maintainer of google-home-notify and node-red-contrib-google-home-notify.

---

<div class="post-metadata">

**Author:** ![ncherry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ncherry/32/27_2.png) [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Post date:** [31 December 2020 16:29 UTC](https://discourse.nodered.org/t/node-red-contrib-google-home-notify-no-longer-working/38233/3 "2020-12-31T16:29:07Z")

</div>

Okay, seems that node-red-contrib-google-home-notify is no longer supported. The git repo recommends using cast instead. There is also a castv2. I'll give those a try.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 March 2021 16:29 UTC](https://discourse.nodered.org/t/node-red-contrib-google-home-notify-no-longer-working/38233/4 "2021-03-01T16:29:10Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
