Ahh, this looks useful . I have a square plus now an IKEA “hack” , I have a daemon which drives the square based in a build system status (Jenkins) . I’m trying to get it to work with the IKEA strip…which I can drive fine, I jsut can’t see how to determine which device I have . I see you have methods to check that, which I’ll be able to try in the IKEA strip now. Extra kudos for using automake, thanks a lot.
AFYI. I plan to make the daemon into a .deb package soon.
I have bsdaemon ported to use this API. I did also manage to get a .deb produced, during our 2 day hackathon, but it’s not as I would like. It just installs the binary. I’d like to get at least the udev rules installed as well. I had a “half-mind” to make the act of plugging in the USB device actually launch the daemon, but that needs some “thought” as just monitoring an “empty” file is of little use. Also since the .deb package also installs l the lib and the bs, lsbs etc samples, it may be folks don’t intend to run the daemon.