Coder Social home page Coder Social logo

cast issue about node-red-contrib-cast HOT 19 CLOSED

hypnos3 avatar hypnos3 commented on August 20, 2024
cast issue

from node-red-contrib-cast.

Comments (19)

jkmaxwell avatar jkmaxwell commented on August 20, 2024 2

Just started happening to me tonight after months of working just fine.

from node-red-contrib-cast.

Bash- avatar Bash- commented on August 20, 2024 1

Same here. The error message switches from "Not able to get media file via google-tts:get key failed from google" when trying to execute it multiple times to sometimes to: "Client error reported:connect EHOSTUNREACH 192.168.174.108:8009"

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Yes, this is a issue because google has chaged something.
zlargon/google-tts#22

I already had try to fix this several days ago. Can you please test with the latest version 0.2.1?

from node-red-contrib-cast.

drose28357 avatar drose28357 commented on August 20, 2024

Version 0.2.1 fixed this issue

from node-red-contrib-cast.

kiai72 avatar kiai72 commented on August 20, 2024

hello, i have the same problem. i use version 0.2.4. it says: Not able to get media file via google-tts:get key failed from google

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Are you sure, that you have installed version 0.2.4?
I have tested it and have no problems.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Can you please check that you have installed google-tts-api version 0.0.4?

from node-red-contrib-cast.

drose28357 avatar drose28357 commented on August 20, 2024

I had also a cast client errot. It turned out that the ip adress has changed during DSL router reconfiguration.
Here is my debug log:
24.1.2019, 09:38:11node: Google Home mini
msg : string[62]
"Client error reported:connect EHOSTUNREACH 192.168.101.28:8009"

from node-red-contrib-cast.

kiai72 avatar kiai72 commented on August 20, 2024

Can you please check that you have installed google-tts-api version 0.0.4?

yes, i checked. i have cast 0.2.4 and google-tts-api 0.0.4. By the way: i checked to send a audio-file - that works.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

@kiai72: The node just simply do to convert the textz message by using google-tts-api to a audio file which is send to the cast device. So thee error "Not able to get media file via google-tts:get key failed from google" comes from google-tts-api. This error should be fixed in google-tts-api with version 0.0.4.

Sorry I can not help here.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

@drose28357: The Error "Client error reported:connect EHOSTUNREACH 192.168.101.28:8009" states, that the google home mini is not accessible at IP "192.168.101.28" from the Node-Red instance.

  • Is this the right IP Address of your Google Home Mini?
  • Has the new DSL Router any firewall settings that the Device running NodeRed can not access the Google Home mini with this IP?

from node-red-contrib-cast.

kiai72 avatar kiai72 commented on August 20, 2024

@kiai72: The node just simply do to convert the textz message by using google-tts-api to a audio file which is send to the cast device. So thee error "Not able to get media file via google-tts:get key failed from google" comes from google-tts-api. This error should be fixed in google-tts-api with version 0.0.4.

Sorry I can not help here.

sure! i just wonder, why it works for you. is there any setup for google-tts-api/key that i have to do ?
Bye the way: i know your tool "just sends a audio file" at the moment. Can we enhance it to send a broadcast message instead ? After a broadcast message - the previous stream continues! that would be helpful for my case.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Yes. Can you give me more information how to "send a broadcast message"?

I was not able to find an example.

from node-red-contrib-cast.

kiai72 avatar kiai72 commented on August 20, 2024

Yes. Can you give me more information how to "send a broadcast message"?

I was not able to find an example.

as far as i know broadcast is only possible between "assistant devices" (2 home, a google assist on android and a home, ...).
there a project that does this: https://github.com/greghesp/assistant-relay
it's standalone, not node-red. but maybe it's interessting for you?

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Yes this is interesting.

But I think that is a completely different approach. Here you have to get a google API key. That would be something for a new node and nothing for this.

Since I currently lack the time and I'm running too many projects at the same time, I can not say yet if and when I can take a closer look.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

I collecting that into this issue:
#35

from node-red-contrib-cast.

lyance avatar lyance commented on August 20, 2024

Same for me, it's been ok for a few months until the TTS errors start happening a couple of weeks ago. Casting audio files stored in Google drive is working though.

from node-red-contrib-cast.

atkinsonar avatar atkinsonar commented on August 20, 2024

Seeing the same issue with error "Not able to get media file via google-tts:get token key failed from google"

from node-red-contrib-cast.

Bash- avatar Bash- commented on August 20, 2024

I updated the cast plugin in NodeRed and it seems to work again

from node-red-contrib-cast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.