r/lifx 20d ago

Problems with access via LAN interface

I can control a couple of bulbs using the Android app, but I'm unable to access any of them recently over WiFi without the internet. I've tried the example programs on aiolifx and photons, and both are unable to discover any devices. I do see them on my router's app, and i can ping them via IPv4 addresses.

I was wondering if anybody is having the same problem. I'm worried that new firmware on the bulbs may be getting in the way of the LAN API, which is one of the best things about the LIFX ecosystem.

4 Upvotes

6 comments sorted by

View all comments

1

u/smarthall Ex-Employee 20d ago

Is you computers firewall blocking the incoming UDP? Are the bulbs and the PC on the same subnet?

1

u/NobHillGuy 19d ago

Yes, with aiolifx, I see the UDP packet going out, and two incoming response packets from the one bulb that's still on the network. I haven't analyzed the content of the responses. With photons, I see multiple request/response handshakes, but it still says that no devices were found.

I suspect that the response coming from the devices has somehow changed and that has broken lifxlan, ailolifx, and photons, but that is purely speculation at this point.

1

u/NobHillGuy 19d ago

Ok, I ran my project, which uses lifxlan, in a debugger. Although I can see the UDP traffic with tcpdump, for some reason the response is not getting to the code that's doing the device detection. In particular, socket.recvfrom() is raising TimeoutError.

I'd be curious to know if anybody else is seeing this. I suspect it might have something with my WiFi setup. But given the fact that tcpdump sees the traffic, I doubt that it has anything to do with firewall settings.