Comments (8)
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.
@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.
@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.
I updated the node-lifx-lan. Now it supports multihomed host. Try the latest version (v.0.2.0).
from node-lifx-lan.
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.
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.
@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.
@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)
- Takes forever to load lights list HOT 4
- multiZoneSetColorZones() does not support CSS (as per LifxLanColor) HOT 9
- Question - how to create morph effect HOT 1
- CreateDevice
- Tile support
- Support for firmware effects? HOT 1
- Custom Wave Animation HOT 1
- Timeout on createDevice: no wait parameter HOT 1
- Activating scenes HOT 4
- How to define res_required HOT 2
- Missing dgram dependency HOT 2
- discover stops working if first calling on different network than the one with lifx devices on it HOT 4
- createDevice
- Toggle Power Function
- WSL
- Duration Cannot Be >65,535
- Repeat Discover Error - "Error: send EACCES " HOT 1
- it won't install ENOSELF error
- bind EADDRINUSE 0.0.0.0:56700 HOT 6
- Broadcast addrerss is not being set correctly for /26 netmask
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-lifx-lan.