The Coolest Character Display for Arduino!
· · ·
GETTING STARTED
· · ·
LIBRARY DOCS
· · ·
DATASHEET
· · ·
OSHW
· · ·
PURCHASE
· · ·
Make sure to follow our Twitter for updates and fun discussions! @lixielabs
Arduino library for sending email and SMS from nothing but the ESP8266!
License: GNU General Public License v3.0
The Coolest Character Display for Arduino!
· · ·
GETTING STARTED
· · ·
LIBRARY DOCS
· · ·
DATASHEET
· · ·
OSHW
· · ·
PURCHASE
· · ·
Make sure to follow our Twitter for updates and fun discussions! @lixielabs
deleted
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.
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
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?
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?
in line 66 of the example, you have
if(config_pin == LOW){ // Short pin to GND for config AP
now shouldn't that be
if (DigitalRead(config_pin)==LOW){
?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.