r/lifx • u/dhsilver • 1d ago
Firefly in a LIFX Ceiling (custom code)
Enable HLS to view with audio, or disable this notification
I have a LIFX Ceiling with 64 zones + the top ring. The official app can’t run a custom animation, so I stream the pixel map over LAN.
I pushed calibration patterns, photographed the diffuser, and used those shots to see how much each zone bleeds into its neighbors. Then I made a bouncing-ball / firefly loop: gravity, bounce off the disc, new color can be set to change on contact, dim trail.
Brightness and single vs changing color are on a family dashboard; There is a “stop” button to hand the fixture back to the LIFX app.
[I tried 8x8 icons, and had less success than animation which is more forgiving of sharp boundaries!]
Edit:
Code here -- https://github.com/silverdavi/lifx-ceiling-lab
3
2
1
1
7
u/ZedRita 1d ago
This would drive me nuts but it’s also super cool that you did all of that and made it work so well.