Close

Programming the Lutron IOT System

A project log for Lord of the Rings

Utilizing 8 accelerometers mounted on 3D printed rings, LOTR gives users the ability to type anywhere and anyway.

rishi-salwiRishi Salwi 10/16/2017 at 03:280 Comments

The Lutron board required telnet to be connected. We used a shell script and a python script to connect with the Lutron. The shell script read a few variables from the python script and fed them into the telnet commands that would turn the lights on and off. The python script actually did most of the work, parsing the commands from the glove. Whenever the user typed a certain string, a set of variables would be issued to the shell script which would affect the Lutron. For example, typing “light1.” at any point would act a switch to turn the lightbulb on or off. We could easily configure it to give the user more control as well. For example, he could type “light1 50.” in another version of the script and it would set the Lutron to light level 50. 

Discussions