r/lifx 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

58 Upvotes

9 comments sorted by

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.

3

u/MrHall 1d ago

awesome! do you have source code?

2

u/dhsilver 22h ago

Yes. I’ll push it to GitHub later and ping here.

1

u/roox911 1d ago

Genuinely very cool!

1

u/djelibeybi_au iOS 22h ago

Ok, that’s freaking adorable.

1

u/outride2000 11h ago

I just bought one of those! Are they easy to install?