Giter Site home page Giter Site logo

Comments (9)

skorokithakis avatar skorokithakis commented on July 16, 2024 7

This is an issue for me as well, no chromecasts will be discovered (running latest master).

from pychromecast.

balloob avatar balloob commented on July 16, 2024

The problem is within my uPnP implementation.

The Cast platform started using zeroconf next to uPnP. I wouldn't be surprised if uPnP would eventually be deprecated. The plan for PyChromecast is to use python-zeroconf.

Migrating would also fix this bug as they just added preliminary support for multiple network interfaces.

from pychromecast.

balloob avatar balloob commented on July 16, 2024

I just upgraded PyChromecast to use python-zeroconf. The latest version of python-zeroconf on Pypi does not have support for multiple devices yet so this bug is not fixed yet.

from pychromecast.

pcnate avatar pcnate commented on July 16, 2024

I have the same issue. I ended up switching my cable to the other port and changing my network configuration to work around the issue for now.

from pychromecast.

j-mie avatar j-mie commented on July 16, 2024

Can confirm this is still an issue :(

from pychromecast.

rearchitec avatar rearchitec commented on July 16, 2024

I have the same issue.
Therefore, i can't use chromecasts as media_player on HA.

from pychromecast.

OttoWinter avatar OttoWinter commented on July 16, 2024

@fryyk0220 You can still add them manually. See host: on https://home-assistant.io/components/media_player.cast/

from pychromecast.

rearchitec avatar rearchitec commented on July 16, 2024

@OttoWinter Adding this setting to my config resolved the issue, Thank you for your advice.

from pychromecast.

JumpMaster avatar JumpMaster commented on July 16, 2024

I'm having the same issue using Home Assistant within Docker. Docker is running on the host network but can see all networks. After installing tcpdump I see the following when trying to discover Cast devices.

17:41:39.252896 IP 172.17.0.1.5353 > 224.0.0.251.5353: 0 PTR (QM)? _googlecast._tcp.local. (40) 17:41:40.254188 IP 172.17.0.1.5353 > 224.0.0.251.5353: 0 PTR (QM)? _googlecast._tcp.local. (40) 17:41:42.253728 IP 172.17.0.1.5353 > 224.0.0.251.5353: 0 PTR (QM)? _googlecast._tcp.local. (40)

My home network is on a 192.168.0.0/24 range but Zeroconf is using the IP from the default Docker bridge network. Pychromecast works correctly from a device with a single nic and the Home Assistant container is able to ping all Chromecast devices. I see it should be possible to manually set the interface within Zeroconf but I haven't been able to get it to work successfully. I'm not sure I'm adding the code correctly. If this were to work the IP could possibly be set via an environment variable?

from pychromecast.

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.