Light show in the office

So I’m trying to create a bit of a light show in the office that can be triggered from Slack and am currently using the HTTP API. Just wondering if there’s a more efficient way than how I’m scripting it so far.

A better way is to use the LAN protocol which is much faster (20 operations / second) than the HTTP protocol you are using above which is limited to 1 operation / second but in practice ends up being 1 operation / two seconds or you risk having it ‘jam’ and drop packets until it recovers.

Several python implementations exist like:

Or you could do it all in bash as in the examples given here:

Finally, you could use the free iOS app I wrote “LIFX Ambience” that lets you sync your lights to music with a built-in custom music player:
http://lifx.technicallycorrectman.com/

1 Like