ferdies Posted May 14, 2014 Posted May 14, 2014 Hi, Any who has tried sending SMS to Rogers number? Some details: https = Net::HTTP.new('www.rogerscatalyst.com', 443) https.use_ssl = true request = Net::HTTP::Post.new('/SendSmsService/REST_v0_91/sms') request.basic_auth SystemConfig.configForKey("NAME"), SystemConfig.configForKey("PASSWORD") request.set_form_data({'address'=>'tel:+16479989122xxxxxxx&+1416xxxxxxx', 'message'=>txtMsg}, '&') request.set_content_type 'application/x-www-form-urlencoded' response = https.request(request) How do I convert this into an ISY networking resource? I am stuck on how to do this -> request.set_form_data({'address'=>'tel:+16479989122xxxxxxx&+1416xxxxxxx', 'message'=>txtMsg}, '&') Thanks.
larryllix Posted May 14, 2014 Posted May 14, 2014 Are you looking for email addresses to convert to SMS? http://martinfitzpatrick.name/list-of-email-to-sms-gateways/
Xathros Posted May 15, 2014 Posted May 15, 2014 You don't use network resources for that. Instead, use custom notifications to send email to the provider's email to sms gateway. Try @pcs.rogers.com as the address. -Xathros Sent from my iPhone using Tapatalk
ferdies Posted May 15, 2014 Author Posted May 15, 2014 Yes, I have been using @pcs.rogers.com. However, my concern was that one has to reply "Read" to get the ISY message. I also tried using Tropo and it sent "text messaging" without the need of "Read." Thus, I am thinking of using Rogers REST SMS API to send sms. If there's an equivalent command for Rogers that would be great. http://www.twilio.com/docs/api/rest Another option I am thinking of is Voip.ms http://wiki.voip.ms/article/SMS
Xathros Posted May 15, 2014 Posted May 15, 2014 I don't see enough info in your previous post to help you form a resource rule. Need a complete url to start with. Be aware that you will only be able to build static messages with the current net resource capabilities as we have no access to substitution variable in the resources yet. -Xathros Sent from my iPhone using Tapatalk
larryllix Posted May 15, 2014 Posted May 15, 2014 Yes, I have been using @pcs.rogers.com. However, my concern was that one has to reply "Read" to get the ISY message. I also tried using Tropo and it sent "text messaging" without the need of "Read." http://wiki.voip.ms/article/SMS Rogers still pulling that garbage? Another reason I dumped them. Try Virgin Mobile. They are all open usage AFAIK. xxxxxxxxxx@vmobile.ca or here is another list http://www.emailtextmessages.com/
snowtech Posted May 15, 2014 Posted May 15, 2014 If you have Iphone, why dont you try Prowl ?! I was going through same issue with rogers... Prowl is the best as it shows as notification... Let me know if you find a solution .
Xathros Posted May 15, 2014 Posted May 15, 2014 If you have Iphone, why dont you try Prowl ?! I was going through same issue with rogers... Prowl is the best as it shows as notification... Let me know if you find a solution . I can second that suggestion. In addition, you can embed URL's in a prowl notification to: Display images/video from a network accessible camera, Launch a specific app on the iPhone, Issue a /rest call back to the ISY to perform an action, whatever you can dream up... The prowl notifications are much more reliable and timely than MMS/SMS at least on the AT&T network here in the states. That said, there have been a few times that I have seen "late" prowl notifications. Those times have been far less frequent than the times I have encountered late or never delivered SMS/MMS messages on my phone. There are other alternatives as well: Push4.0, Boxcar and a few others that I can't remember at the moment all do push notifications much like prowl. Prowl is free - some of the others are as well I believe. MWareman put together a nice writeup on this in the WiKi here:http://www.universal-devices.com/mwiki/index.php?title=ISY-99i_Series_INSTEON:Networking:Mobile_Notification -Xathros
switches Posted May 20, 2014 Posted May 20, 2014 Yes, I have been using @pcs.rogers.com. However, my concern was that one has to reply "Read" to get the ISY message. I also tried using Tropo and it sent "text messaging" without the need of "Read." Thus, I am thinking of using Rogers REST SMS API to send sms. If there's an equivalent command for Rogers that would be great. http://www.twilio.com/docs/api/rest Another option I am thinking of is Voip.ms http://wiki.voip.ms/article/SMS I had that issue in the past and changing from @pcs.rogers.com to @sms.rogers.com fixed it. Give it a try.
switches Posted May 21, 2014 Posted May 21, 2014 Thanks, Switches! It works the way it should. Glad I could help! And for anyone who might be interested I believe Fido works the same way (use sms instead of pcs to get around the respond with 'READ' issue).
DarkCanuck Posted October 11, 2015 Posted October 11, 2015 (edited) I had that issue in the past and changing from @pcs.rogers.com to @sms.rogers.com fixed it. Give it a try. Same here, works, but it also doesn't send the message from the same number, so it doesn't group them in my text messaging app. That may be a deal breaker for me since I have a separate sound for ISY notifications and it won't work if the sender keeps changing. Back to the drawing board (with Android)... Edited October 11, 2015 by DarkCanuck
Recommended Posts