GUI-O PUSH NOTIFICATIONS

Push notifications are urgent and personal alerts that appear on a user's mobile device even when the GUI-O application is not actively in use. Additionally, if the mobile device is offline, push notifications will be delivered once an internet connection is re-established. This ensures that users always stay informed about the status and performance of their connected devices.


NOTE: Push notifications feature is only available in PRO version (minimal required version of GUI-O application is v1.0.61).

How do GUI-O push notifications work?

GUI-O push notifications are based on FCM (Firebase Cloud Messaging) in conjunction with our server. A unique Firebase token is generated and is stored on our server along with the application's universally unique identifier (UUID). The UUID is used to send push notifications to a specific recipient through our server using a simple HTTPS request. For additional information, see Push notifications done properly section in the manual.


IMPORTANT NOTE: GUI-O application never retrieves any personal information! Only the Firebase token and application UUID is stored on our server. When re-installing GUI-O application (or application clearing data) a new Firebase token and UUID are generated.

Never share your application UUID with a third party. You can revoke and regenerate the application UUID by clearing the GUI-O application data or reinstalling the application.

GUI-O push notifications principle of operation

GUI-O Push notifications diagram

GUI-O & Postman tutorial

The following tutorial shows how to quickly test GUI-O push notifications feature without any additional hardware. In this example, Postman platfrom is used, but any other platform capable of creating POST requests is suitable for testing.

Prerequisites

Step 1: Retrieve application's universally unique identifier (UUID)

Step 2: Create push notification request

GUI-O basic push notification example

The following example shows how to create a HTTPS push notification request using the Arduino environment. Of course, any other device that is able to make HTTPS requests can be used with GUI-O push notifications framework.

Prerequisites

Step 1: Retrieve application's universally unique identifier (UUID)

Step 2: Modify and upload the code

Step 3: Send a push notification

NOTE: Customize the sound, vibration, LED light, and priority of GUI-O app notifications by navigating to "Android settings -> Apps -> Manage apps".

ESP32 & Arduino & GUI-O push notifications

The ESP32 examples can be easily expanded to also include push notifications. Follow the instructions to setup the board and libraries required for the ESP32 MQTT example first, then see the steps below.

Step 1: Retrieve application's universally unique identifier (UUID)

Step 2: Create tokens for MQTT communication

Step 3: Modify and upload the code

Step 4: Using GUI-O application to interact with ESP32

Connect . Create . Control

Connect . Create . Control

YouTube channel