This is a simple Go library which integrates YeeLights. The code is working so far, but not all functions are implemented yet. Discovery part is fully implemented, like most of the commands.
Documentation can be generated with go doc.
In the cmd folder you have a couple of simple examples using the library.
discoverfinds all device in your local network, printing their IPs. It closes after 30 seconds.sendCommandsends a command to a specified device. So fat justtoggleis implemented. Run it with--helpoption to have a detailed description.