node-red-contrib-google-home-notify icon indicating copy to clipboard operation
node-red-contrib-google-home-notify copied to clipboard

Get Key Failed From Google issue come back!

Open edmarts opened this issue 4 years ago • 9 comments

Hi! I'm having a problem with "Get Key Failed From Google"

The plugin works normally and after a while it stops and displays this error message. After I restart the homebridge and node-red it will work for a while and then stop again.

I already updated node.js but the error continues. Any tips?

edmarts avatar Nov 15 '20 22:11 edmarts

I am having the same issue.

cheechie avatar Nov 30 '20 13:11 cheechie

This is because a dependency updates from 0.0.4 to 0.0.5. The developer should adjust this in his package. I tried to do this manually without any success.

https://github.com/noelportugal/google-home-notifier/issues/46

tomdk avatar Dec 02 '20 14:12 tomdk

Same issue. Not very familiar with this. Can it be done by changing dependency to 0.0.5 ?

kneibdev avatar Dec 02 '20 23:12 kneibdev

The problem ist the google-tts-api package inside the dependency google-home-notify. I updated it manually to version 0.0.6. After that the error is gone.

PR is created. https://github.com/nabbl/google-home-notifier/pull/2 After that this module can be updated.

cmuench avatar Dec 10 '20 20:12 cmuench

@cmuench How to upgrade to 0.0.6? Could you help?

edmarts avatar Dec 11 '20 10:12 edmarts

Edit .node-red/node_modules/google-home-notifier-volume-adjustable/package.json:

  "dependencies": {
    "bluebird": "3.5.1",
    "castv2-client": "^1.2.0",
    "google-tts-api": "0.0.6"
  },

and then

npm update

And then restart node-red. Works for me! Thanks @cmuench for the help!

kneibdev avatar Dec 11 '20 10:12 kneibdev

I use the docker version.

Please note that a manual change of a npm managed package is not the right way. I changed that to investigate the issue. So... change it on your own risk.

  1. cd /data/node_modules/google-home-notify
  2. open "packages.json"
  3. Change "google-tts-api" dependency to "0.0.6"
  4. Run "npm update"

cmuench avatar Dec 11 '20 10:12 cmuench

Yeah you're right...but I needed a quick solution for now.

kneibdev avatar Dec 11 '20 10:12 kneibdev

I'm using this now: https://github.com/Hypnos3/node-red-contrib-cast

Works much better!!!

edmarts avatar Dec 11 '20 10:12 edmarts