robheyes / lifxcode

40 stars 21 forks source link

Can't Discover Working LIFX Bulb in a /23 Subnet #108

Open njoyzrd opened 3 years ago

njoyzrd commented 3 years ago

I checked the code (but I'm not a developer) looking for how the discovery process works. I found it odd that the subnets are input in the format of xxx.xxx.xxx rather than xxx.xxx.xxx.xxx/yy. My subnet is 192.168.10.0/23 so I'm currently trying to discover "192.168.10, 192.168.11" which does seem to scan both subnets.

My LIFX bulb is 192.168.11.17 which it fails to discover. Because my subnet is a /23, I'm not sure that this module is allowing my device to discover. The bulb is local to the same 192.168.10.0/23 subnet as the Hubitat hub. In case it matters, my gateway for this subnet is 192.168.10.250 and not .1 as may be guessed/expected.

The bulb works just fine through the LIFX app so I know it's working on the network. It could also be controlled with SmartThings (which I've since replaced with Hubitat).

Thanks for any help!

rumym commented 2 years ago

Same issue here, but the readme states that /24 is needed.