Releasing new version. Notes below. Also created a related project which spits out the GPIO statuses into a SmartThings Device image tile. See the related project link below. One HUGE improvement that I have not seen much in these forums is the fact that I change the DEVICEID to some random number after execution. This allows you to point more than one ST device to an internal IP:
v1.0.20160410 - Changing device ID to random number at end of execution so multiple devices can point to one IP. Amazon Echo can run both ON/main and OFF/custom functions. Added ability to output GPIO status in PHP. Releasing another ST device that will pull the image and control the installation of required packages hence the reset of device ID.