cashoefman Posted May 29, 2011 Posted May 29, 2011 Here is a Tutorial on how How to send SMS Messages from a Universal Devices ISY-99 using the Tropo API, checkout: http://xs.la/MTY4
Michel Kohanim Posted May 29, 2011 Posted May 29, 2011 Hello cashoefman, Thank so very much for your contribution! With kind regards, Michel
hoopty Posted January 5, 2012 Posted January 5, 2012 Be aware that there are some errors in his instructions. I have made the corrections below and commented on his site. I am using this setup and it works very nicely. In the example PHP script, -- it should be '+1' instead of "+1" -- it should be => "SMS" instead of =--> "SMS" When you add the telephone number to the URL, do not include the 1 as it is covered by the '+1' in the script. When setting up the network resource, set the Protocol to HTTPS. The image does show HTTPS, however the text states HTTP. Also, it should be mentioned that this method of sending texts does require the network module for the ISY-99i (which is an extra $49 if you don't already have it installed). Here is an example of the code I'm using. Code: <?php call('+1'.$number, array( "network" => "SMS")); if ($event == 1) {say ("The ".$size." garage door is now ".$status.".");} else if ($event == 2) {say ("One of the motion sensors has a low battery!");} else if ($event == "3") {say ("placeholder for next alert type");} ?> I'm using the $event variable to allow for multiple alert types and still use the same phone number assigned by tropo. If you used different apps for different events, then you will have a different number assigned to each. All of the variables get taken care of in the network resources setup. Hope this helps. ~hoopty
Recommended Posts