Trouble with triggering SMS/SMTP

General support questions and discussions.

Trouble with triggering SMS/SMTP

Postby TVTuga » Sun Jan 25, 2015 1:14 pm

Ok guys ,

I got all the functionalities on my system working except for the Notifications, done everything i could think to try get it to work but still no Notifications being sent out via SMS or SMTP.

I am using 2.4 and my config is as listed , an i missing something ? or is the notifications not working on this Ver 2.4 ?

Let me know if you want me to post the entire config but from what i read this section is the only one need to be edited for this to work.

Thanks


//*******************************************************************
// Notifications
//*******************************************************************

// if defined, will fire a notification when any door/device stays open more than the specified number of minutes
#define NOTIFICATIONS_WATCHDOG_MINUTES 2
//*******************************************************************
// SMS notifications (via carrier provided SMS gateway, relies on SMTP)
//*******************************************************************

// if defined, will fire notifications using SMS notifications (uncomment to turn ON - rember to adjust SMTP settings too)
#define SMS_NOTIFICATIONS

#if defined(SMS_NOTIFICATIONS)

// using http://en.wikipedia.org/wiki/List_of_SMS_gateways set to match your mobile carrier and phone number
char smtpToForSms[] = "0123456789@vtext.com";

#endif

//*******************************************************************
// SMTP email notifications (also used for SMS notifications)
//*******************************************************************

// if defined, will fire notifications using SMTP notifications (uncomment to turn ON)
#define SMTP_NOTIFICATIONS

#if defined(SMTP_NOTIFICATIONS) || defined(SMS_NOTIFICATIONS)

// set to your ISP's SMTP server name
char smtpServerName[] = "smtp.comcast.net";

// set to your ISP's SMTP server port (typically port 25)
int smtpServerPort = 25; //tried several Ports (465) but still no go

// set to the email address you want notifications sent to
char smtpToForEmail[] = "My_Email@comcast.net";

#endif
TVTuga
 
Posts: 15
Joined: Sun Jan 25, 2015 12:56 pm

Re: Trouble with triggering SMS/SMTP

Postby support » Sun Jan 25, 2015 10:37 pm

Do you know if your SMTP host requires SSL or TLS or any other secured channel for communications? If so,
the Arduino won't support it as it doesn't have such supporting capabilities.
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm

Re: Trouble with triggering SMS/SMTP

Postby TVTuga » Tue Jan 27, 2015 9:50 pm

Support , thanks for the reply

Cosmast Ports
Port 587 requires your security option to be TLS
Port 465 requires your security option to be SSL

So i guess my other option is Prowl ? as long i can use Prowl i will Purchase it but would be nice if you guys could integrate this Prowl Notification within the MyDoorOpener App
TVTuga
 
Posts: 15
Joined: Sun Jan 25, 2015 12:56 pm

Re: Trouble with triggering SMS/SMTP

Postby support » Tue Jan 27, 2015 10:08 pm

We'd like to include native notifications in our app but for the same reason we can't. Apple's notification platform requires
clients to push notifications using an HTTPS pipe. Since the Arduino doesn't have SSL, we're screwed.

Prowl exposes a non-SSL client API and then forwards to Apple using an HTTPS connection, so that's what saves us for the time being.

We will be looking at porting our backend stack to the Raspberry Pi (instead of Arduino) at some point and then, we'll be able to
have a more evolved platform that fully supports SSL and many other cool features. But we're not there yet, unfortunately.

Best regards,
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm

Re: Trouble with triggering SMS/SMTP

Postby TVTuga » Thu Jan 29, 2015 12:07 am

Ok i went a head and got Prowl, after i entered my API Key i am still not getting Notification

Any Suggestions ? i can send Alerts from the Prowl Site to the Phone so that is working , its something wrong with 2.4 that's not sending out the Alerts?


//*******************************************************************
// iOS push notifications (via Prowl)
//*******************************************************************

// if defined, will fire notifications using iOS push notifications (uncomment to turn ON)
#define PUSH_NOTIFICATIONS

#if defined(PUSH_NOTIFICATIONS)

// after installing Prowl (iTunes store) on your iPhone, set to match the Prowl API key that was
// assigned for your iPhone http://www.prowlapp.com/api_settings.php
char prowlApiKey[] = "0245660d3791228210af6b042c3fb4d8789a01ca";

// set to Prowl HTTP server name (typically api.prowlapp.com)
char prowlServerName[] = "api.prowlapp.com";

// set to Prowl HTTP port number (typically port 80)
int prowlServerPort = 82;

// set to Prowl API base url (typically /publicapi/add)
char prowlApiBaseUrl[] = "/publicapi/add";

#endif
TVTuga
 
Posts: 15
Joined: Sun Jan 25, 2015 12:56 pm

Re: Trouble with triggering SMS/SMTP

Postby support » Fri Jan 30, 2015 10:32 am

Have you tried what's outlined on the last post of this thread?
viewtopic.php?f=2&t=316#p785
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm

Re: Trouble with triggering SMS/SMTP

Postby TVTuga » Sun Feb 01, 2015 1:39 am

Thanks Support for the help ,finally got all functionalities working , running Ver 2.4 with two Doors , Sensors Notifications via Prowl , now is time to install all the Hardware in its Fix locations for good.

:)
TVTuga
 
Posts: 15
Joined: Sun Jan 25, 2015 12:56 pm

Re: Trouble with triggering SMS/SMTP

Postby support » Sun Feb 01, 2015 2:11 pm

Cool! Happy that all working for you ... Remember to please provide an hopefully positive review on the Apple iTunes store. We need
those reviews as they are our only promotion, and this is what guarantees future developments to the application ... Thanks!
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm


Return to Support



cron