Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not finding chromecast #160

Open
bonelifer opened this issue May 27, 2023 · 6 comments
Open

Not finding chromecast #160

bonelifer opened this issue May 27, 2023 · 6 comments

Comments

@bonelifer
Copy link

Xubuntu 22.04
go version go1.19 linux/amd64
latest version from releases: go-chromecast_0.3.1_linux_amd64.tar.gz

My Pixel 3xl is able to see and interface with the Chromecast with Google TV.

@vishen
Copy link
Owner

vishen commented May 27, 2023

This sometimes happens when go-chromecast is looking on a different network interface than what the chromecast is connected to. Can you confirm that go-chromecast has access to the network interface that the chromecast network is on? If so, you can try passing through an --iface flag to help go-chromecast discover the chromecast.

@bonelifer
Copy link
Author

bonelifer commented May 27, 2023

go-chromecast ls --iface 192.168.1.0/24? or go-chromecast ls --iface wlp3s0? Not sure of the format needed,

@vishen
Copy link
Owner

vishen commented May 28, 2023

$ go-chromecast ls --iface wlp3s0 is the correct format. Does that work for you?

@bonelifer
Copy link
Author

No. It is the correct device from the ip a command

@vishen
Copy link
Owner

vishen commented May 28, 2023

The other thing would be to check if you have any firewall rules setup on Xubuntu that might be dropping the traffic. go-chromecast uses mDNS to discover devices on the network. I don't have an ubuntu to try, but according to https://superuser.com/questions/1453910/linux-command-to-get-mdns-service-discovery-and-to-get-its-ip-address there is a tool to check for mDNS, go-chomrecast uses _googlecast._tcp to try and discover the IP address.

@johnd0e
Copy link

johnd0e commented Aug 1, 2023

I have somewhat similar issue.
The app does not see my "Chromecast with Google TV" device.
But it sees my "Google Nest Mini" device ok.

I have tried to use https://github.com/home-assistant-libs/pychromecast, and it sees both my devices without problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants