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

Use LifxLanDevice directly? #4

Closed
MarcGodard opened this issue Jun 7, 2018 · 5 comments
Closed

Use LifxLanDevice directly? #4

MarcGodard opened this issue Jun 7, 2018 · 5 comments

Comments

@MarcGodard
Copy link

Is it possible to store the device ip and mac then just make calls without the discovery process?

Will attempt it and report back.

@MarcGodard
Copy link
Author

Doesn't look possible without some reengineering of the lib.

@futomi
Copy link
Owner

futomi commented Jun 7, 2018

Is it possible to store the device ip and mac then just make calls without the discovery process?

No.
But that is a nice idea.
I'll put the idea to my to-do-list.
Thank you for your feedback.

Futomi

@MarcGodard
Copy link
Author

@futomi Thanks, I think its a good idea, discovering can take a while sometime, and you have to wait till it finds an already known device.

If I can help with anything let me know. I have a cool app I am working on that could use this feature.

Also thinking of another app to run on the kodi system that will make the lights match the average colors of the movie playing... I think that might make it more of an immersive experience while watching tv and just be awesome.

@futomi
Copy link
Owner

futomi commented Jun 9, 2018

I newly added the createDevice() method to the LifxLan object. This method allows you to obtain the LifxLanDevice object without the discovery process if you have already known the IPv4 address and the MAC address of the targeted device.

I hope that this method satisfies your demand.

@futomi futomi closed this as completed Jun 9, 2018
@MarcGodard
Copy link
Author

@futomi Awesome, thank you very much. This saves me some effort.

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

2 participants