witnessmenow / push-notifications-arduino-esp8266 Goto Github PK
View Code? Open in Web Editor NEWExample of how to generate push notifications on your phone from your ESP8266 using the Arduino IDE.
Example of how to generate push notifications on your phone from your ESP8266 using the Arduino IDE.
On your example you said to use MyIdBot to know the ChatID but how? Ican use it to know my userID but I don't understand how use it to know the ChatID. I'd like send a notify on my chat bot.
Hi, I encountered this error while compiling the code in Arduino IDE:
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:11: warning: unknown escape sequence: '/'
105 | DynamicJsonBuffer jsonBuffer;
| ^~~~~~~~~~~~~~~~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:11: error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see https://arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp: In member function 'String IFTTTMaker::sendTriggerEventWithData(String, ArduinoJson::V6214PB2::JsonObject&)':
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:76:26: error: 'class ArduinoJson::V6214PB2::JsonObject' has no member named 'measureLength'
76 | int length = payload.measureLength();
| ^~~~~~~~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:82:13: error: 'class ArduinoJson::V6214PB2::JsonObject' has no member named 'printTo'
82 | payload.printTo(out);
| ^~~~~~~
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp: In member function 'bool IFTTTMaker::triggerEvent(String, String, String, String)':
C:\Users\Daryl\OneDrive - Nanyang Technological University\Documents\Arduino\libraries\IFTTTMaker\src\IFTTTMaker.cpp:105:21: error: 'jsonBuffer' was not declared in this scope; did you mean 'JsonBuffer'?
105 | DynamicJsonBuffer jsonBuffer;
| ^~~~~~~~~~
| JsonBuffer
exit status 1
Compilation error: exit status 1
Appreciate any advice, thanks!
Hi,
What wifi library library do I need to use if I am testing the example with Sparkung esp32 thing?
¡Thank you!
I'm trying this code.
I've written it on my D1 mini but it continuously rebooting after flashing.
can anyone help me?
here the error on the serial monitor
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00060610
~ld
ISR not in IRAM!
User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Abort called
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.