At the beggining of the Youtube video You will see how its working, Also at this video I’ve showed how to build it.
It often happens that we want to get a notification on the phone when an ESP (or RPi) comes to an event, regardless of whether the application is running or when the phone is idle. In this tutorial I will show you how to do it using push notifications (it works on the android, and all links to open in the smartphone open (preferably) in the chrome browser – has the best support so far for the PWA application and push notifications from them)
In the RemoteMe platform, click:
Connections tab we have a connection schematic:
We connect a button and a LED according to the scheme (you can use any module with ESP8266 or ESP32)
Build It step, we complete the network name and password (you can then complete it directly in the code in the Arduino IDE)
Then click “
Next Step” until you reach the last step.
Here click “
We download and unpack the “Arduino IDE” and upload to ESP remember before installing the libraries listed in the window that appeared while downloading the sources.
After uploading the program, the icon of our device will change to connected:
Now it’s time to install the Android application click on the icon for installation on the smartphone, we choose Android:
Then in the window that appears, click Configure, we scan the QR code that appears and open in the smartphone best in the Chrome browser.
The application will appear on our screen:
and after it opens:
It is important that the icon of notification be green and disappear – it means that notifications work if you do not click on the bell or refresh the application (dragging your finger from the top to the bottom).
We close applications.
After clicking on the button next to ESP, the LED will change to the opposite state and we will receive notifications on the phone:
Link from the application installation on android:
Then we will also receive notifications on the PC 🙂
The code on ESP has comments, where more complicated fragments have been discussed, I encourage you to modify and play with the project 🙂