Setting up to receive Twilio SMS in node-red

1,157 views
Skip to first unread message

Ian Eagland

unread,
Jun 13, 2015, 3:54:07 AM6/13/15
to node...@googlegroups.com
Hi

I have succesfully set up the node-red Twilio output node. I have my sms based controller receiving messages via Twilio and reacting accordingly. I have also set up the controller to send an acknowledging sms reporting current state back to Twilio and I can see that message in the Twilio log. I would like to get that message back into node-red but don't know how to do it. I have googled but don't understand the answers I find. I realise it must be an HTTP request but I don't know how to set up the node-red request or the URL in Twilio. My node-red is on a static ip address if that makes a difference. Any guidance much appreciated.

Regards

Ian

Mark Setrem

unread,
Jun 13, 2015, 5:42:41 AM6/13/15
to node...@googlegroups.com
I think there's a flow in the flow library (flows.nodered.org)
that might give you an idea of how to do what you want.

http://flows.nodered.org/flow/637b5f6128a8d423503f


Ian Eagland

unread,
Jun 15, 2015, 3:38:09 AM6/15/15
to node...@googlegroups.com
Thanks, I had found that but did not really understand it.

I have followed this up on the twilio forum and have made some progress but still haven't grasped how you setup the correct url in twilio and then how you access it with the node-red HTTP node.

Regards

Ian

Andrew Lindsay

unread,
Jun 16, 2015, 1:25:27 AM6/16/15
to node...@googlegroups.com
It can take a bit of setup on both Twilio and your inbound router port forwarding to get it to bwork. I have it handling both SMS and voice calls.

Andrew

Ian Eagland

unread,
Jun 16, 2015, 6:44:39 AM6/16/15
to node...@googlegroups.com
 
Hi Andrew

Could you tell me the basic steps. I have a static IP and I am familiar with port forwarding. Where I am lost at the moment is setting up on Twilio.

Is my understanding correct that you have Twilio posting to a url and node-red picks up the information from that url. If so where does that url exist, on the same computer as node-red?

Ian 

 

Andrew Lindsay

unread,
Jun 20, 2015, 4:29:52 PM6/20/15
to node...@googlegroups.com
I've updated a post I did in 2013 to include a bit more info on the Twilio side http://blog.thiseldo.co.uk/?p=1090

Let me know if this covers it.

thanks

Andrew
Reply all
Reply to author
Forward
0 new messages