Coder Social home page Coder Social logo

Comments (21)

djsheetu avatar djsheetu commented on August 20, 2024 3

@Hypnos3
You are the MAN!!!

I wasn't reading (understanding) the process correctly and was assuming i have to scan for open ports by using some other "program" instead of clicking the "search button". I was using my Router to find the IP of my google homes...

Thanks heaps for being patient and pointing this out and guiding me through.

I have 5 Goggle Homes and one chromecast audio and have created 3 different groups. Once I clicked search button there were some 125-130 entries in the drop down box with a lot of them repeating the same IP and ports. Most of them spit out an error ""Client error reported:connect ECONNREFUSED XX.XX.XX.XX:PortNo".

Took me a while to find the ones that actually works. I believe "IP and port no combo" using the the IP of the google home/chromecast which was added first while creating the "cast group" works. Hope this helps.

Thanks again for your efforts and I can confirm casting to the groups works.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024 1

OK, I must implement the device scanner, but this will take a while (>2 weeks).
I will let you know when this is ready.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

The node sends the data directly to a device without involving google server.
Immediately I would not know how to go and therefore I would have to test here. Since I only have one device, unfortunately I can not test anything there.

releated issues/solutions:
https://github.com/thibauts/node-castv2-client/wiki/How-to-discover-&-update-audio-groups
thibauts/node-castv2-client#45
xat/chromecast-scanner#4

from node-red-contrib-cast.

GrahamP-P avatar GrahamP-P commented on August 20, 2024

If you can tell me how to test I'd gladly assist, as I have multiple devices in groups.

from node-red-contrib-cast.

AndrewBarfield avatar AndrewBarfield commented on August 20, 2024

Thank you for working on this. If I can help somehow, please let me know.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Unfortunately, due to lack of time, I am currently unable to do so. Therefore, it will take some time.

from node-red-contrib-cast.

arachnida avatar arachnida commented on August 20, 2024

Not exactly the same as what GrahamP-P wanted but similar, could you implement the broadcast function?

from node-red-contrib-cast.

Martin-Dolan avatar Martin-Dolan commented on August 20, 2024

Yes, Broadcast or send to a group would be great as I want it to announce things throughout the house on the google home devices without killing the music playing on the chromecast audio.
If tell it to output to a bunch of google home devices via their IP address they will all play out of sync

Intended use is to announce someone at the door etc. (doorbell that can be heard throughout the house)

from node-red-contrib-cast.

tomas-bara avatar tomas-bara commented on August 20, 2024

This node is best (without bugs), but I used different one before, after scanning my google home devices i found on one of them one more opened port and when i streamed to this port it played on speaker group, this node will fail when streaming to this port.

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

What is the different port?

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

With Version 0.2.6 it is possible to cast to groups. You need to select Port of the Group.

from node-red-contrib-cast.

djsheetu avatar djsheetu commented on August 20, 2024

First of all congratulations for getting this resolved.

Can i please request you to point me in the direction how I can find the "different port" of the home group?

Thanks

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

I was told that you can address the group by choosing a different port. There is now the selection of the ports in the configuration.

Since I have only one Google Home Mini, I can not test it myself and therefore I can not describe it more accurately. I have not received any donations, so I can not buy any more.

from node-red-contrib-cast.

djsheetu avatar djsheetu commented on August 20, 2024

Thanks for the reply. But AFAIK there is no way to find out port number in the google home app. There should be a way to "scan" the ports some how. Thanks for your efforts.

I will keep looking...

from node-red-contrib-cast.

djsheetu avatar djsheetu commented on August 20, 2024

@tomas-bara

This node is best (without bugs), but I used different one before, after scanning my google home devices i found on one of them one more opened port and when i streamed to this port it played on speaker group, this node will fail when streaming to this port.

Could you please advise how you "scanned" the google home devices?

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

Does the Button in the settings of the node not working?
image

from node-red-contrib-cast.

Hypnos3 avatar Hypnos3 commented on August 20, 2024

@tomas-bara The Bug with selecting different Port is fixed in the meantime.

from node-red-contrib-cast.

tomas-bara avatar tomas-bara commented on August 20, 2024

@Hypnos3 I'm so sorry, i missed notifications, I actually used nmap (https://nmap.org/) to scan my master google home device for opened ports and I tried all of them (just few ports) until I mapped what port is used for what group.

Thank you for port selection fix. :-)

from node-red-contrib-cast.

marc-gist avatar marc-gist commented on August 20, 2024

@tomas-bara what ports did they end up being on? none of the 5 ports that show up i nmap work (except the 8009 of course)... all my devices show the same ports.

edit: found in need to scan more on the device: > nmap -p 1-65535
takes time, then it was the larger port for me, in the 42000 range.

from node-red-contrib-cast.

RichardUUU avatar RichardUUU commented on August 20, 2024

I have a group with three home minis. Using the search button next to IP for this node I get an IP for one of the three minis with a port in the 40000 area. Casting to that only goes to the mini for that IP address.

from node-red-contrib-cast.

MostHated avatar MostHated commented on August 20, 2024

Just in case anyone comes across this in the future, as I did, this tool called NetBrowse helped me find my cast group info extremely easily.

https://github.com/Ewpratten/netbrowse

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.