Zig Smart Lights; Zapping the Snake ⚡

I’ve blogged my journey learning UDP sockets, threads, and packed structs in Zig.

I’m a Zig beginner so this is not a “how-to” more like a “how?!” I managed to build something that works. This project allowed me to replace Home Assistant with a small Zig service to control the few smart lights I have.

Code is on GitHub if anyone happens to own the same brand of LIFX light!

8 Likes