Page 1 of 1

Prowl notifications not sending

PostPosted: Sat Sep 19, 2015 7:17 pm
by johnt365
Hi,

I've had a great time setting up this project and Prowl notifications are all that remain.

* I am able to access the Xboard from the iPhone app and control the door.
* I also have a sensor that reports open and closed correctly in the app. (I did have to change it to NORMALLY_OPENED to report)
* I am able to receive a Prowl notification using the Prowl API email address.
* I am using port 80

I am not sure what I am missing or could it be that my ISP does not allow this or requires some other setting? I use Time Warner Cable for an ISP. Curious if anybody has any tips or experience with this matter.

Thank you for any help you can offer.

Cheers!
John

Here is how I have things set up.

#define STATUS_STRATEGY_NORMALLY_OPENED // alternate approach - uses digitalRead to interpret door/device status (opened == GND, closed == high-impedance)

// Analog boundary value (0-1023) used to distinguish between device/door status == opened and closed. Only applicable
// when STATUS_STRATEGY_3VCLOSED_5VOPENED or STATUS_STRATEGY_5VCLOSED_3VOPENED is being used.

#define STATUS_OPEN_TRESHOLD 1000

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

// if defined, will fire a notification when any door/device stays open more than the specified number of minutes
// #define NOTIFICATIONS_WATCHDOG_MINUTES 5

// if defined, will fire a notification every time and as soon as any door/device gets opened
#define NOTIFICATIONS_OPEN

//*******************************************************************
// 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[] = "025c3bxxxxxxxxxxxxxxxxxxb2b8XXXX";

// 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 = 80;

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

#endif

Re: Prowl notifications not sending

PostPosted: Sun Sep 20, 2015 9:15 am
by support
Hey,

Glad to hear you're having fun playing around with this ...

Have you searched this forum for similar issues. There are few other threads on this particular topic and for some users,
they needed to change the MyDoorOpenerServer constructor, to use that one where you can specify DNS and Gateway.

Try looking into that and see if that works for you as well. Best regards,

Re: Prowl notifications not sending

PostPosted: Mon Sep 21, 2015 6:07 pm
by johnt365
Hello Support,

I found this on the second tab. This is now it is configured now. Does this look correct or does it need to be changed?

I am not really familiar with this programming and would appreciate any guidance if edits are needed to the code below.

// start web server

if (dns != NULL)
{
if (gateway != NULL)
Ethernet.begin(mac, ip, dns, gateway);
else
Ethernet.begin(mac, ip, dns);
}
else
Ethernet.begin(mac, ip);

server.begin();

Re: Prowl notifications not sending

PostPosted: Mon Sep 21, 2015 7:58 pm
by support
No, you don't need to change that code per say, but instead change the constructor used (which will indeed have that code your found, executed).

Look at this specific post/reply:
viewtopic.php?f=2&t=316#p785

Re: Prowl notifications not sending

PostPosted: Wed Sep 23, 2015 7:52 pm
by johnt365
Thanks again for the help. I am afraid my lack of programming knowledge is showing. Would you be able to point specifically to the area that needs to be changed and let me know what to change it to? I am not sure if I am even close. I am really driving blind at this point and could use all the help you can offer.

Image

Thank you again for helping me get this far.

Best regards,
John

Re: Prowl notifications not sending

PostPosted: Wed Sep 23, 2015 8:34 pm
by TVTuga
John,

did you enter the Router IP Address as the Gateway , attached is the screen shot of my set up

Re: Prowl notifications not sending

PostPosted: Wed Sep 23, 2015 10:03 pm
by johnt365
Hi,

Thank you very much for the clarification. I have a minor networking question now. Here is how my network settings look now.

Image

My local IP is the same as you set for your gateway. However, my gateway and Local DNS are just 0.0.0.0

How do you know what to put there or can I leave it as 0.0.0.0?

I tried to set the gateway and local Ip as the same number but that did not send the notifications.

Thank you again on this the screen shot was a big help

John

Re: Prowl notifications not sending

PostPosted: Thu Sep 24, 2015 8:50 pm
by TVTuga
Hi John

The Gateway is the Router IP Address , and the IP Address is the IP that you want to give it to the MyDoorOpener


Regards
Victor

Re: Prowl notifications not sending

PostPosted: Tue Oct 06, 2015 9:52 pm
by johnt365
Thank you again for all of the help.

Victor I really appreciate you sharing your experience with me. I would not have figured this one out by myself.

Best regards,

John