toddmedema / echo

For controlling local devices with the Amazon Echo
207 stars 84 forks source link

Add name_port_gpio.py to this repo. Someone else might find useful. #2

Closed liketed closed 8 years ago

liketed commented 8 years ago

Maybe someone finds this script useful, it allows multiple instances of the script to run controlling accepting different names and controlling gpio from the command line, something like this should work:

/usr/bin/python /home/pi/echo/echo-master/name_port_gpio.py coffeemachine 52000 3 & /usr/bin/python /home/pi/echo/echo-master/name_port_gpio.py toaster 52001 5 &