I completed a test with the Sketch located at: http://arduino.cc/en/Tutorial/WebClient
Uusing this Sketch, it is able to go out to the Internet, it is able to send a Query to Google for a search term and the contents of that search are sent back and sent out to the Serial monitor for me to view.
With that success, I modified the Sketch to attempt a Prowl notification, doing so worked multiple times, see example below;
connecting...
connected
HTTP/1.1 200 OK
Date: Sat, 24 Jan 2015 23:00:46 GMT
Server: Apache/2.2.3 (CentOS)
Vary: Accept-Encoding
Content-Length: 118
Connection: close
Content-Type: text/xml
<?xml version="1.0" encoding="UTF-8"?>
<prowl>
<success code="200" remaining="999" resetdate="1422144046" />
</prowl>
disconnecting.
The Arduino is capable or retrieving DHCP from my router, and it is able to both get to the Internet on and receive data back from a request.
I went back and started the door opener Sketch from the beginning, using the debug mode and viewing the serial port, I see the following below, but it still does not appear to actually send the Prowl notification:
*** ope*** open notification handler - detected an opened device/door @ pin #4 ***
*** open notification handler - sending notification ***
*** Push - server name: 'http://209.20.72.170' - apiKey: 'xxxx84ce805d7fxxxxf86edf29c12f1cf10cxxxx' - subject: 'MyDoorOpener Notification' - body: 'A door or device has just been opened.' ***
*** Push - completed ***
*** open notification handler - detected an opened device/door @ pin #4 ***
*** open notification handler - NOT sending notification ***
*** open notification handler - detected an opened device/door @ pin #4 ***
*** open notification handler - NOT sending notification ***
*** open notification handler - detected an opened device/door @ pin #4 ***
*** open notification handler - NOT sending notification ***
What can I do/check next?
Thank you,
Patrick