Giter VIP home page Giter VIP logo

Comments (8)

futomi avatar futomi commented on July 29, 2024 1

Though VMware and VirtualBox creates Ethernet adapters too, they don't prevent multicasting. I don't know why the Ethernet adapter of Docker prevents multicasting.

from node-lifx-lan.

ristomatti avatar ristomatti commented on July 29, 2024

@Sawtaytoes I suggest to try with firewall disabled if you have one on. LIFX apps need to bind to some UDP port to get the responses back from the lights. If disabling firewall helps then it should be easy to fix by tuning the firewall settings.

from node-lifx-lan.

futomi avatar futomi commented on July 29, 2024

@ristomatti, thank you for your advice.
@Sawtaytoes, there is another possible reason why the discover() method does not work well in your host computer. Does your host computer have multiple network interfaces? If so, the node-lifx-lan possibly does not work well. I'm trying to fix the issue. See the issues #7 for details.

from node-lifx-lan.

futomi avatar futomi commented on July 29, 2024

I updated the node-lifx-lan. Now it supports multihomed host. Try the latest version (v.0.2.0).

from node-lifx-lan.

Sawtaytoes avatar Sawtaytoes commented on July 29, 2024

I tried out node-lifx-lan 0.2.1 in Node 10.7.0 and was unable to see any lights.

I do have multiple network interfaces because of Hyper-V (from installing Docker), and both a physical Ethernet and Wi-Fi adapter on this machine. Docker is not running, only installed. Hyper-V is enabled in the Windows configuration, but not running anything either.

Disabling Windows Defender Firewall on my private network did not show any lights.

The Windows Universal App for LIFX does load the lights so Windows should be able to access them. In the "Allow apps to communicate through Windows Defender Firewall" section, Node.js shows up in the list.

from node-lifx-lan.

Sawtaytoes avatar Sawtaytoes commented on July 29, 2024

I figured it out! It's something to do with Docker.

To fix the issue, I had to uninstall Docker. Something about the Ethernet adapter it installs or something else related to it are causing problems. I wonder if it has an internal subnet it designates to itself that is incompatible with my home subnet and prevents multicasting from node-lifx-lan because of that.

Do you know what might be the issue now since we can narrow it down to Docker?

from node-lifx-lan.

Venryx avatar Venryx commented on July 29, 2024

@Sawtaytoes Before you uninstalled Docker, did you try just disabling the Ethernet adapter it installed?

The reason I ask is that the broadcast packets are failing on my network as well, and I'd rather not uninstall the various VPN adapters I have available, but disabling them to test is fine. (I've done so with no improvement, but perhaps uninstalling them all the way would resolve it? My guess is that the cause is actually something else in my case, but I figured it's worth asking -- of whether you tried just disabling the Docker adapter and whether that changed anything.)

from node-lifx-lan.

Sawtaytoes avatar Sawtaytoes commented on July 29, 2024

@Venryx It's been so long, I no longer know. I also don't have Docker installed on any of my machines either.

from node-lifx-lan.

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.