stringandstickytape / MaxLifx

Windows app to control LIFX bulbs
GNU General Public License v2.0
66 stars 17 forks source link

No bulbs detected #7

Open Bandit opened 6 years ago

Bandit commented 6 years ago

I'm on ethernet, while my bulbs are on wifi (same network though) - is that likely the cause?

lifxDynamic and the official Lifx windows app don't have any issues detecting

stringandstickytape commented 6 years ago

Not as such, that's the same setup I use.

Possibly wifi isolation is preventing PC -> bulb LAN communication, which (I think) the official Lifx app will work around by using the HTTP API.

Suggest investigating your router and any possible wifi isolation stuff therein. Also try (if you didn't already) the "Advanced Discover" thing. I think it worked for one or two users with the same sorts of problems. You could also try connecting your PC via wifi as a test, if you have a wifi adapter. Also be sure any other Lifx-controlling apps are closed before starting MaxLifx. Let me know how you get on...

nfsmaster208 commented 6 years ago

I use a custom script, a wireless network adapter for my desktop, and a program called "iNetFusion" to get around this. Try disabling your ethernet adapter on the PC and reopening LIFX on your computer's WiFi. If the lights show up, you're golden.

Let me know if you need the script.


From: James Nisbet notifications@github.com Sent: Thursday, January 11, 2018 2:22:43 AM To: stringandstickytape/MaxLifx Cc: Subscribed Subject: [stringandstickytape/MaxLifx] No bulbs detected (#7)

I'm on ethernet, while my bulbs are on wifi (same network though) - is that likely the cause?

lifxDynamic and the official Lifx windows app don't have any issues detecting

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/stringandstickytape/MaxLifx/issues/7, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALT6Ca__KaoFm_hx7MeK6NMxqvoPeEOAks5tJbbDgaJpZM4RaawO.

Bandit commented 6 years ago

I don't have wifi on my PC unfortunately (it's a custom built desktop). I've checked that wifi isolation isn't enabled (it isn't). I can see other wifi devices on my network such as my Chromecast etc so I don't think it's that.

Is there any way I can enable logging or debug the detection? I'll also try the app on a different computer to see if it's that.

nfsmaster208 commented 6 years ago

Not to sound like an advertisement, but here is the same adapter that I use for my desktop in question, in case you'd like a stop gap measure to get it up and running in the meanwhile.

I guarantee you will be able to make it work with a Wi-Fi adapter, and I know this one works well:

Edimax EW-7811Un 150Mbps 11n Wi-Fi USB Adapter, Nano Size Lets You Plug it and Forget it, Ideal for Raspberry Pi / Pi2, Supports Windows, Mac OS, Linux (Black/Gold) https://www.amazon.com/dp/B003MTTJOY/ref=cm_sw_r_fm_apa_W8mwAbKW7YK8J

Marcus


From: James Nisbet notifications@github.com Sent: Thursday, January 11, 2018 4:11:26 PM To: stringandstickytape/MaxLifx Cc: nfsmaster208; Comment Subject: Re: [stringandstickytape/MaxLifx] No bulbs detected (#7)

I don't have wifi on my PC unfortunately (it's a custom built desktop). I've checked that wifi isolation isn't enabled (it isn't). I can see other wifi devices on my network such as my Chromecast etc so I don't think it's that.

Is there any way I can enable logging or debug the detection? I'll also try the app on a different computer to see if it's that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/stringandstickytape/MaxLifx/issues/7#issuecomment-357062642, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALT6CUvjnbmZ3Vg83q2ZvPGi4u05Jh3Hks5tJnj-gaJpZM4RaawO.

AbbieGator commented 6 years ago

So I'm having the same problem. Advanced looks like it does the same as regular.

Found the reason why, it's picking the wrong local IP. Trying to work out how to make it pick the other one. I blame TunnelBear for part of it.

Fix for multiple IP's

// LocalIPAddress from https://github.com/PhilWheat/LIFX-Control public static string LocalIPAddress() { string localIP; using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, 0)) { socket.Connect("8.8.8.8", 65530); IPEndPoint endPoint = socket.LocalEndPoint as IPEndPoint; localIP = endPoint.Address.ToString(); } return localIP; }

stringandstickytape commented 6 years ago

This is added to v0.6. Hopefully working now. Thx Clarkinator! :D

Bandit commented 6 years ago

Hey now I can detect a single bulb. I have 5 total. The one it detects is actually my oldest bulb.

Only thing I can think of is the bulb it detects is the only one I left in the 'default' group - I moved all the others.

nfsmaster208 commented 6 years ago

@Bandit Have you tried soft resetting the lamps themselves? I.e. flipping power to the lamp to reset to the standard color and brightness setting? I've seen this happen before and I just needed to reset the lamps so they started communicating normally again. Haven't had to do so in awhile, but it does happen.

Bandit commented 6 years ago

Doesn't work. In fact when I tried it today the one bulb it did detect has disappeared 😭

vascozorrinho commented 6 years ago

maybe if we had an option to add bulbs manually specifying the IP it would be better to discover to them

RandyHRus commented 6 years ago

Does this program support the LIFX mini? I can't seem to discover my bulb either. I'm on same wifi.

niXta1 commented 5 years ago

All mine works fine. mini’s, original, 1000, Z, tile. Did you get them working? Sometimes I have to turn them off for 10s to make them work. It also happens with other softwares that communicates by lifx lan protocol.

tchesket commented 5 years ago

nfsmaster208 Do you still have useful info to share regarding a script/wifi-isolation/etc? I think that might be my problem as well.

tchesket commented 5 years ago

Is it not possible to incorporate the same http api workaround that the official app uses into this one?