GithubHelp home page GithubHelp logo

alertme's Introduction

alertme's People

Contributors

connornishijima avatar drderiv avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alertme's Issues

Constant resets after second upload.

Arduino IDE 1.8.4
on a Wemos D1 R2

Library compiles and works as expected, configuration via 'AlertMe Configuration' AP with scanning is smooth (and is a fantastic feature!) and I am receiving the emails/texts just fine. The issue comes if I modify the Arduino sketch and re-upload...this causes the board to go into a (seemingly) endless cycle of resets. Power cycling doesn't fix it, nor does uploading the example sketch, nor does shorting the config_pin (which I defined as D6 on the Wemos).

What does reliably work is to upload an empty SPIFFS image and then re-upload the sketch.

Once things go pear-shaped, this is what I see in the serial monitor:

⸮���������������������������������������������������������������⸮HP⸮⸮`M,⸮⸮lC�d⸮⸮Hh⸮⸮⸮⸮⸮ѥ⸮⸮⸮to WIFI/SMTP...
Exception (28):
epc1=0x4000bf3c epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont 
sp: 3fff2390 end: 3fff2610 offset: 01a0

>>>stack>>>
3fff2530:  3fff2568 3fff4008 3fff3f5c 4020831d  
3fff2540:  3ffea0d8 00000000 000003e8 00000100  
3fff2550:  3fff3f1c 3fff2ff4 3fff2568 3fff3ff6  
3fff2560:  3fff3fc2 feefef0a 3ffe98d8 3fff15e4  
3fff2570:  3fff3ffc 00000200 3fff34ac 4021102b  
3fff2580:  3ffe90e0 00000000 3fff1118 3fff15e4  
3fff2590:  3fffdad0 00000000 3fff1118 40208d1e  
3fff25a0:  3fffdad0 3fff1118 3fff1528 40206afc  
3fff25b0:  feefeffe feefeffe feefeffe feefeffe  
3fff25c0:  feefeffe feefeffe feefeffe feefeffe  
3fff25d0:  feefeffe feefeffe feefeffe feefeffe  
3fff25e0:  feefeffe feefeffe feefeffe 3fff15e4  
3fff25f0:  3fffdad0 00000000 3fff15dd 40210514  
3fff2600:  feefeffe feefeffe 3fff15f0 40100718  
<<<stack<<<
R�⸮⸮Lv⸮0UHh⸮⸮⸮⸮⸮ѥ⸮⸮⸮to WIFI/SMTP...
Exception (28):
epc1=0x4000bf3c epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont 
sp: 3fff2390 end: 3fff2610 offset: 01a0

>>>stack>>>
3fff2530:  3fff2568 3fff4008 3fff3f5c 4020831d  
3fff2540:  3ffea0d8 00000000 000003e8 00000100  
3fff2550:  3fff3f1c 3fff2ff4 3fff2568 3fff3ff6  
3fff2560:  3fff3fc2 feefef0a 3ffe98d8 3fff15e4  
3fff2570:  3fff3ffc 00000200 3fff34ac 4021102b  
3fff2580:  3ffe90e0 00000000 3fff1118 3fff15e4  
3fff2590:  3fffdad0 00000000 3fff1118 40208d1e  
3fff25a0:  3fffdad0 3fff1118 3fff1528 40206afc  
3fff25b0:  feefeffe feefeffe feefeffe feefeffe  
3fff25c0:  feefeffe feefeffe feefeffe feefeffe  
3fff25d0:  feefeffe feefeffe feefeffe feefeffe  
3fff25e0:  feefeffe feefeffe feefeffe 3fff15e4  
3fff25f0:  3fffdad0 00000000 3fff15dd 40210514  
3fff2600:  feefeffe feefeffe 3fff15f0 40100718  
<<<stack<<<

(lather, rinse, repeat)

I will have a different ESP8266 board soon to test against. I'll let you know if it produces different results.

loading smtp port and server

Is there a way to load the smtp port and server information without having to do it through the AP? I am developing a board for automating a daily function and if something goes wrong with the equipment I would like to send a SMS and your library is exactly what I am looking for. I just don't want to incorporate the AP function. I am going to have all of the details of my machine set up in a web page, including the local wifi set-up and I would include all of the information you require, I save it to eprom for safety.

Thanks

Can't get it to work with default settings

I tried it with my own smtp info, no luck. I could not connect to my smtp.

Next, I created a gmail email address, set less security access, rebooted, etc. I used the default gmail settings. Altered the program with my email and sms info. Wemos D1 would mount the SPIFFS file (all data read correctly), connect to my WiFi network, and fail to connect to smtp.

Connecting to WIFI/SMTP...*ALERTME: Mounting SPIFFS...
*ALERTME: Mounted file system.
*ALERTME: Reading alertme_config.json...
*ALERTME: Opened config file!
*ALERTME: Parsed config:
{"smtp_server":"smtp.gmail.com","smtp_port":465,"smtp_email":"[email protected]","smtp_password":"RXXXXXX"}*ALERTME:

*ALERTME: Connecting to your WiFi network...
*ALERTME: Testing SMTP connection...
*ALERTME: Connecting to :
*ALERTME: smtp.gmail.com
Failed to connect to SMTP, config AP active at: 'AlertMe Configuration'

I just go round and round back to the config AP. Cannot connect to smtp. Am I missing something?

email_and_sms.zip

AlertMe Configuration has password

Hello, it seems after the first time I configure the device and power cycle it, there is a password set on the access point. Can anyone help me understand what this password is so I can gain access again?

URL redirection is corrupted

Everytime I connect to the AP it redirects me to http://smtp.gmail.com192.168.4.1/.
Even if I try to enter the IP manually.

Debug lines:

*ALERTME: Mounting SPIFFS...
*ALERTME: Mounted file system.
*ALERTME: Reading alertme_config.json...
*ALERTME: Opened config file!
*ALERTME: Parsed config:
{"smtp_server":"smtp.gmail.com","smtp_port":465,"smtp_email":"****","smtp_password":"****"}*ALERTME: 

*ALERTME: Connecting to your WiFi network...

Failed to connect to WiFi, config AP active at: 'AlertMe Configuration'

Any idea how to resolve it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.