December 2, 2014

Controlling limitless LED lights from raspberry pi cli

So I was inspired yesterday to create a bash script in which I can control my limitlessLED lights from my raspberry pi (cli). I always have a ssh connection open to my pi while at work, and when I’m at home I always have a terminal windows open, and tinkering around. So I though, why not?

It’s still a work in progress at the moment, but basic functionality is there for now :)

https://github.com/mrwhale/limitlessled-bash

Inspiration came from this guys: http://smileytechadventures.blogspot.com.au/2013/07/control-limitless-led-from-linux-bash.html

But it only did the white ones, and I have both RGBW and White - So eventually you will be able to do everything from my script (change colours, brightness etc)

There is also a command-line program on the limitlessled website under the api section http://www.limitlessled.com/dev/, but this only does the RGBW ones. It does include the source code, but its in C. So I didn’t particularly want to have to remember C from first year uni..So I decided with bash - its easy, and I know my way around it

Enjoy!

Edit Just found someone else’s work on the subject on github, has done a similar thing to smileytech, few more options, but still very simple. And hasn’t been updated for year now https://github.com/danielfaulknor/limitless-php/blob/master/sendcmd.sh