Comments (4)
The UDP port used for the discovery is 56700. See https://github.com/LIFX/lifx-protocol-docs/blob/master/workflows.md
from node-lifx.
It's probably firewall blocking the Node process. You'll need certain UDP port range to be open for incoming packages. I don't remember it just now but try disabling the firewall for a moment to verify the cause if it's possible for you to do so.
from node-lifx.
I noticed this in my console when running with debug: true
on init
:
DEBUG - 24000034d84a563100000000000000000000000000000000000000000000000002000000 to 255.255.255.255
DEBUG - 240000346ea6b48a00000000000000000000000000000022000000000000000002000000 from 10.1.0.5
DEBUG - 24000034d84a563100000000000000000000000000000000000000000000000002000000 to 255.255.255.255
DEBUG - 240000346ea6b48a00000000000000000000000000000022000000000000000002000000 from 10.1.0.5
DEBUG - 24000034d84a563100000000000000000000000000000000000000000000000002000000 to 255.255.255.255
DEBUG - 240000346ea6b48a00000000000000000000000000000022000000000000000002000000 from 10.1.0.5
DEBUG - 24000034d84a563100000000000000000000000000000000000000000000000002000000 to 255.255.255.255
...
That IP is the Raspberry Pi I have running this library. After shutting it down, those logs are removed, I only get the DEBUG ... to 255.255.255.255
lines afterward.
Looks like it's sending out the packets, but getting no responses right?
from node-lifx.
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
because of that.
Do you know what might be the issue now since we can narrow it down to Docker?
from node-lifx.
Related Issues (20)
- ES6 syntax HOT 3
- Implement infrared color packets to control LIFX+ HOT 5
- MultiZone Packets for LIFX Z HOT 8
- powerOn or powerOff with duration set to 0 is not instant HOT 2
- Consider usage with promises HOT 3
- Constant disconnecting HOT 2
- Multiple node-lifx client instances on the same ip address HOT 3
- Create event for state changed of bulb HOT 3
- add light.setPower() HOT 1
- manually send a udp command to node-lifx to turn on a light HOT 4
- IR capable lights timeout when light.getMaxIR is called HOT 5
- getAmbientLight always returns 0 on BR30+ (IR capable)
- getColorZones doesn't return all zones. HOT 1
- light.getState(), light.getLabel(), light.getHardwareVersion(), ... , time out HOT 3
- light-online firing incorrectly HOT 2
- Constants wrong for LIFX Mini Day & Night HOT 1
- Using Buffer is deprecated
- Do you need someone to take over the project? HOT 11
- Please update vulnerable dependencies
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.