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

Multiple node-lifx client instances on the same ip address #49

Open
weedgrease opened this issue Dec 4, 2016 · 3 comments
Open

Multiple node-lifx client instances on the same ip address #49

weedgrease opened this issue Dec 4, 2016 · 3 comments

Comments

@weedgrease
Copy link

Hey Marius,
Thanks for your hard work on this awesome library. I have a couple projects that use your package but I get an error that the port is taken when I spin up another project using the same package.

When I change the port in Client.init(), it starts fine but never receives any messages or events. Can only one instance consume messages from the bulbs on port 56700?

@weedgrease weedgrease changed the title Multiple node-lifx client instances on the same network Multiple node-lifx client instances on the same ip address Dec 4, 2016
@MariusRumpf
Copy link
Owner

Hey,
a instance of the library does take control over the lifx port 567000, which cannot be done twice correct. In order to archive multiple instances there must be some abstraction layer on top of this module, but this is out of the range of this module I think.

@MariusRumpf
Copy link
Owner

With PR #59 it is possible to run multiple node-lifx client instances on the same ip address.

@ristomatti
Copy link
Collaborator

@kevingelion I've merged @jasoncodes PR #59. Could you test if it solves the issue for you?

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