Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

How do you connect the lightbulb to the lan to begin with? #4

Closed
phillip-haydon opened this issue Mar 24, 2014 · 11 comments
Closed

How do you connect the lightbulb to the lan to begin with? #4

phillip-haydon opened this issue Mar 24, 2014 · 11 comments

Comments

@phillip-haydon
Copy link

Looking through everything I can't seem to see anything which addresses the issue of connecting the lightbulb to the wifi.

This is still seems completely useless for me since I do not have an iPhone or Android phone...

@chendo
Copy link
Contributor

chendo commented Mar 24, 2014

I had the assumption that people would have already on boarded their bulbs
with their iOS or Android device as our bulbs were officially controllable
from there...

I can whip up a tool to do that for you. How's that? Might be a couple of
days though.

On Monday, March 24, 2014, Phillip Haydon notifications@github.com wrote:

Looking through everything I can't seem to see anything which addresses
the issue of connecting the lightbulb to the wifi.

This is still seems completely useless for me since I do not have an
iPhone or Android phone...

Reply to this email directly or view it on GitHubhttps://github.com//issues/4
.

@phillip-haydon
Copy link
Author

I would love to create an App for Windows Phone that can function like the iPhone/Android app, I'm too lazy to reverse engineer the official Android app tho, I want to play around with the bulb itself and do sync it up to Team City for failed builds, etc. :)

It would definitely be a big help if you can whip up something! My bulbs are currently sitting on my desk as paper weights :(

@chendo
Copy link
Contributor

chendo commented Mar 24, 2014

I think people are looking to make a .NET library already based on the SDKs we just shipped today.

Are you running Ruby on Windows or something else? I'm not entirely sure if it'll run on Windows just yet.

@phillip-haydon
Copy link
Author

I run both Windows and OSX. But I'm a .NET dev.

I have no problems running up Ruby on OSX, and can port it to .NET and send you a PR so you can have something others can use also if you like.

@dune73
Copy link

dune73 commented Mar 24, 2014

Jack,
Great to see the official API is out. I have an android phone control my lights. But what I want is my server to control the lights (too). And the documentation to set that up is not yet there it seems.
I am not sure how that relates to the boarding tool you propose above.

@phillip-haydon
Copy link
Author

@dune73 - Once the lightbulb is attached to the network then the API will discover bulbs on the LAN and will send the required packets to manipulate the different controls.

So the API as far as I know is mostly functional and/or complete.

The issue is I don't own an iPhone or Android phone anymore so I cannot connect my bulb to the wifi for it to be discovered. That's what the little program will be for.

@dune73
Copy link

dune73 commented Mar 24, 2014

@phillip: thanks for making that clear.

@chendo
Copy link
Contributor

chendo commented Mar 25, 2014

@phillip-haydon: Sorry, but this stage we're only supporting onboarding through our official apps. The easiest ways to get your bulbs on to your network would be to borrow a friend's iOS/Android device. If you'd like to talk about this further, please email support@lifx.co.

@phillip-haydon
Copy link
Author

:( Looks like I'm subjected to just reverse engineering your Android app and porting it to Windows Phone then.

@ThrosturX
Copy link

Phillip, you can connect to your bulb with the lifx-console gem or with

client = LIFX::Client.lan
begin
  client.discover! do |c|
    c.lights.first
  end
rescue LIFX::Client::DiscoveryTimeout
  $stderr.puts("None found")
  exit 1
end

@phillip-haydon
Copy link
Author

@ThrosturX I threw the lifx bulb away, its basically useless without a proper API to play around with. The fact I need a device to just start using it with the API is hugely retarded. Had I known I would need a specific device to begin with I wouldn't have backed the project. I would have loved to have made a Windows Phone or Windows Store App for lifx. Such a shame.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants