tag:blogger.com,1999:blog-6290460055564328832.post3970035182404811411..comments2022-03-25T14:12:26.680-05:00Comments on Iowa Aquaponics: Aquaponics: Arduino Email & Text MessagingAnonymoushttp://www.blogger.com/profile/08892645183186982054noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6290460055564328832.post-84893233871192983222013-05-15T15:36:48.397-05:002013-05-15T15:36:48.397-05:00I see now, I missed the GSM/GPRS Shield part. Unf...I see now, I missed the GSM/GPRS Shield part. Unfortunately, none of us here have experience with these shields. From a quick glance at the official Arduino GSM Shield:<br /><br />"You can only place and receive SMS with other SIMs on the Bluevia network. It's not possible to create a server that accepts incoming requests from the public internet. However, the Bluevia SIM will accept incoming requests from other SIM cards on the Bluevia network."<br /><br />http://arduino.cc/en/Main/ArduinoGSMShieldAnonymoushttps://www.blogger.com/profile/08892645183186982054noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-4183916892951411972013-05-15T14:21:48.027-05:002013-05-15T14:21:48.027-05:00This comment has been removed by the author.barhttps://www.blogger.com/profile/01781467160437722622noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-67216063786052923352013-05-08T15:14:23.082-05:002013-05-08T15:14:23.082-05:00I don't think I understand what you are trying...I don't think I understand what you are trying to do. Can you explain a little bit more?Anonymoushttps://www.blogger.com/profile/08892645183186982054noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-22257149257276804612013-05-07T15:01:17.179-05:002013-05-07T15:01:17.179-05:00This comment has been removed by the author.barhttps://www.blogger.com/profile/01781467160437722622noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-45401620046426652692013-05-04T13:12:10.540-05:002013-05-04T13:12:10.540-05:00Hi!
Thanks a lot for your prompt answer!
I did a...Hi!<br /><br />Thanks a lot for your prompt answer!<br /><br />I did a small mistake while modifying my e-mail address and application name in the log extract.<br />The 2 "a" in the application name was actually a typo.<br /><br />Nevertheless I took a few more time in researching errors, and there were more than a few:<br />1. A few typos from myself when typing the code<br /><br />2. in app.yaml<br />Was missing the url to the alert app<br />- url: /alerts.*<br /> script: alerts.app<br /><br />3. in alerts.py<br />a) Missed the webapp.WSGIApplication statement at the end of the Alert class:<br />app = webapp.WSGIApplication([('/alerts', Alert)], debug=True)<br />b) The SendAlert function had to be placed before the Alert class, otherwise the class would not find the function (elementary!)<br /><br />4. in main.py<br />Was missing the SaveAddress Class/url information in:<br />app = webapp.WSGIApplication([('/', MainHandler), ('/SaveAddress', SaveAddress)], debug=True)<br /><br />5. in main.js<br />Error from the tutorial in the saveEmailAddr javascript function on the url var definition<br />var url = '/saveAddress?Address=' + escape(address) + '&Type=email'<br />Correct should be (just one character should have been in upper case);<br />var url = '/SaveAddress?Address=' + escape(address) + '&Type=email'<br /><br />I spent quite a few time in debugging, but the Google App Engine Log function was very helpful.<br />My Arduino, connected to a PING))) ultrasonic sensor is now able to send me an email but also a text message whenever the level of water (I plan to install it on a water tank) reaches a critical value!<br /><br />I would to thank you again for the "Aquaponics Arduino Email and Text Messaging" tutorial.<br />This help me a lot! Keep the good work going!<br /><br />Kind regards from France,<br />PascalPascalLinderhttps://www.blogger.com/profile/14933447487564638161noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-1592561629980318062013-05-02T14:59:41.919-05:002013-05-02T14:59:41.919-05:00Hi Pascal,
It looks like the server is sending yo...Hi Pascal,<br /><br />It looks like the server is sending you a 404 message - the link isn't found. From what you put in the log above, it looks like you might have a spelling error:<br /><br />"http://myapplication.appspot.com/"<br />"myaaplication.appspot.com"<br /><br /><br />The default code does not display the return message when you save your email address. If you look at Step 6, bullet point two, you'll see the five lines of JavaScript for saving an email or text address.<br /><br />If you want to see the 'Saved' message, add this line between steps four and five (making it number five).<br /><br />// 5. Display return message<br /> request.onreadystatechange = function() {<br /> if (request.readyState == 4 && request.status == 200) {<br /> alert(request.responseText);<br /> }<br /> }<br /><br />Let me know if this works for you.<br />Anonymoushttps://www.blogger.com/profile/08892645183186982054noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-55308473064978760202013-05-02T11:12:22.341-05:002013-05-02T11:12:22.341-05:00Hello,
Excellent tutorial. I was since a certain t...Hello,<br />Excellent tutorial. I was since a certain time looking for an elegant way to send emails when my Arduino's measured value exceeds a certain threshold.<br />Unfortunately I am stuck (GAE and Python are new to me) in the email address and text address save process, nothing happens when I hit the "save" button. It should display the "Saved" message .... :-(<br />Can you help me? <br />I was wondering if you could eventually make the source code available for download.<br /><br />When I press the save button, in the app engine log I only get:<br />2013-05-02 18:02:10.079 /saveAddress?Address=my.address@gmail.com&Type=email 404 52ms 0kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31<br />83.203.223.86 - - [02/May/2013:09:02:10 -0700] "GET /saveAddress?Address=my.address@gmail.com&Type=email HTTP/1.1" 404 188 "http://myapplication.appspot.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31" "myaaplication.appspot.com" ms=53 cpu_ms=0 cpm_usd=0.000021 app_engine_release=1.7.7 <br /><br />Thanks!<br />Kind regards,<br />PascalPascalLinderhttps://www.blogger.com/profile/14933447487564638161noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-42488243842481011662013-05-01T16:03:32.558-05:002013-05-01T16:03:32.558-05:00Not that we have found.
If you want to send comma...Not that we have found.<br /><br />If you want to send commands at will to the Arduino from AppEngine, you can implement REST, which requires port forwarding on your wireless router.Anonymoushttps://www.blogger.com/profile/08892645183186982054noreply@blogger.comtag:blogger.com,1999:blog-6290460055564328832.post-22464965024326194402013-05-01T15:59:24.541-05:002013-05-01T15:59:24.541-05:00Is it possible to send commands via sms?Is it possible to send commands via sms?Albarra Harahaphttp://sharemyeyes.blogspot.com/noreply@blogger.com